]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Avoid busy loop in wordexp when substituted command closed its stdout
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ab087e0a
AS
12013-01-21 Andreas Schwab <schwab@suse.de>
2
3 [BZ #15020]
4 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5 closed its stdout.
6
ed689c2f
AS
72013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8
9 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10 "mpa2.h".
11 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12
31d470ac
JM
132013-01-18 Joseph Myers <joseph@codesourcery.com>
14 Mark Mitchell <mark@codesourcery.com>
15 Tom de Vries <tom@codesourcery.com>
16 Paul Pluzhnikov <ppluzhnikov@google.com>
17
18 * debug/tst-backtrace2.c: New file.
19 * debug/tst-backtrace3.c: Likewise.
20 * debug/tst-backtrace4.c: Likewise.
21 * debug/tst-backtrace5.c: Likewise.
22 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23 (CFLAGS-tst-backtrace3.c): Likewise.
24 (CFLAGS-tst-backtrace4.c): Likewise.
25 (CFLAGS-tst-backtrace5.c): Likewise.
26 (LDFLAGS-tst-backtrace2): Likewise.
27 (LDFLAGS-tst-backtrace3): Likewise.
28 (LDFLAGS-tst-backtrace4): Likewise.
29 (LDFLAGS-tst-backtrace5): Likewise.
30 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31 tst-backtrace4 and tst-backtrace5.
32
90567f30 332013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
34 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35
36 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42 "+r" and remove output regs list as redundant. Add explicit inline
43 asm to specify register of return val to work around compiler codegen
44 bug. Remove (int) cast on return value. Add return type parameter to
45 use in macro so that this macro does not truncate return value for
46 64-bit values.
47 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48 pass to INTERNAL_VSYSCALL_NCS.
49 (INLINE_VSYSCALL): Add 'long int' as return type to
50 INTERNAL_VSYSCALL_NCS macro invocation.
51 (INTERNAL_VSYSCALL): Add 'long int' as return type to
52 INTERNAL_VSYSCALL_NCS macro invocation.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54
d3b9ea61
SP
552013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
56
0b57daeb
SP
57 [BZ #14496]
58 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
59 Fix application of SIMD FP exception mask.
60
caa99d06
SP
61 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
62 mp_no from a power of two.
63 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64 __mpexp_twomm1. Use __pow_mp.
65
d3b9ea61
SP
66 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
67 multiplication.
68
1dbaee3c
DM
692013-01-17 David S. Miller <davem@davemloft.net>
70
71 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72
728d7b43
JM
732013-01-17 Joseph Myers <joseph@codesourcery.com>
74
75 [BZ #15023]
76 * include/complex.h: Condition contents on [!_COMPLEX_H].
77 (__kernel_casinhf): New prototype.
78 (__kernel_casinh): Likewise.
79 (__kernel_casinhl): Likewise.
80 * math/Makefile (libm_calls): Add k_casinh.
81 * math/k_casinh.c: New file.
82 * math/k_casinhf.c: Likewise.
83 * math/k_casinhl.c: Likewise.
84 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
85 finite nonzero arguments.
86 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
87 finite nonzero arguments.
88 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
89 finite nonzero arguments.
90 * math/s_casinh.c: Do not include <float.h>.
91 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
92 * math/s_casinhf.c: Do not include <float.h>.
93 (__casinhf): Move code for finite nonzero arguments to
94 k_casinhf.c.
95 * math/s_casinhl.c: Do not include <float.h>.
96 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
97 redefine.
98 (__casinhl): Move code for finite nonzero arguments to
99 k_casinhl.c.
100 * math/libm-test.inc (cacos_test): Add more tests.
101 * sysdeps/i386/fpu/libm-test-ulps: Update.
102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
103
2a26ef3a
PT
1042013-01-17 Pino Toscano <toscano.pino@tiscali.it>
105
106 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
107 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
108 [!HAVE_MREMAP]: Remove [defined linux] case.
109 * malloc/arena.c: Do not include <malloc-sysdep.h>.
110
a897655d
SP
1112013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
112
113 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
114
881ebe89 1152013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
116
117 * elf/elf.h (R_386_SIZE32): New relocation.
118 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
119 R_386_SIZE32.
120 (elf_machine_rela): Likewise.
121 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
122 R_X86_64_SIZE64 and R_X86_64_SIZE32.
123
59981e9b
JM
1242013-01-17 Joseph Myers <joseph@codesourcery.com>
125
126 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
127 (FP_FAST_FMA): Do not define.
128 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
129 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
130 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
131 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
132 !_SOFT_FLOAT]: Likewise.
133 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
134 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
135 value.
136 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
137 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
138 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
139 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
140 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
141 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
142 file.
143
cfa8054f
AS
1442013-01-16 Andreas Schwab <schwab@suse.de>
145
146 [BZ #14327]
147 * include/stdlib.h (__mktemp): Add declaration.
148 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
149 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
150
dd930cc5
SP
1512013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
152
881ebe89
SP
153 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
154 definitions.
155 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
156 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
157 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
158 definitions here.
159 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
160 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
161 definitions.
162 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
163 and ONE.
164 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
165 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
166 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
167 definitions.
168 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
169 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
170 definitions.
171 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 172
dd930cc5
SP
173 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
174
c19a9f89
DM
1752013-01-15 David S. Miller <davem@davemloft.net>
176
1aa61767
DM
177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
178 trunc{,f} to libm-sysdep_routes.
179 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
181 file.
182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
184 file.
185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
186 file.
187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
189 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
190 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
191 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
192 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
193 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
194 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
195
c42d5e98
DM
196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
197 nearbyint{,f} to libm-sysdep_routes.
198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
200 New file.
201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
202 file.
203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
204 New file.
205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
206 file.
207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
209 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
210 file.
211 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
212 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
213 file.
214 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
215 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
216 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
217
c19a9f89
DM
218 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
219 libc_feholdexcept and libc_fesetenv.
220
357679d2
MF
2212013-01-15 Mike Frysinger <vapier@gentoo.org>
222
223 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
224
65a82e3d
DM
2252013-01-14 David S. Miller <davem@davemloft.net>
226
8b954ab9
DM
227 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
228 (SPARC_ASM_VIS2_IFUNC): Likewise.
229 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
231 use of 'siam' instruction.
232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
233 Likewise.
234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
235 Likewise.
236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
237 Likewise.
238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
243 file.
244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
245 file.
246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
247 file.
248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
249 file.
250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
255 new VIS2 routines.
256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
259 Likewise.
260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
265 routines to libm-sysdep_routines.
266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
267
65a82e3d
DM
268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
269 fdim/fdimf to libm-sysdep_routines.
270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
271 file.
272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
274 file.
275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
278 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
279 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
280 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
281 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
282
e34ab705
SP
2832013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
284
2a91b573
SP
285 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
286 to optimize copies.
287
1066a534
SP
288 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
291
e34ab705
SP
292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
293 local variable MPTWO.
294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
295 Likewise.
296
aba5e596
MF
2972013-01-13 Mike Frysinger <vapier@gentoo.org>
298
299 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
300 GLOB_NOESCAPE.
301
e557e9e5
MF
3022013-01-13 Mike Frysinger <vapier@gentoo.org>
303
304 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
305
0428cec9
MF
3062013-01-13 Mike Frysinger <vapier@gentoo.org>
307
308 * manual/pattern.texi (glob_t): Document gl_flags.
309 (glob64_t): Likewise.
310
8794a964
DM
3112013-01-11 David S. Miller <davem@davemloft.net>
312
66438c3f
RM
313 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
314 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
315 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
316 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
317 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
318 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
319 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
320 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
321 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
322 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
323 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
324 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
325 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
326
4ae4244d
DM
327 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
328 sparc V9 rather than using V8 code.
329 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
330 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
331
8794a964
DM
332 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
333 Move to...
334 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
335 Here.
336
6270516e
RM
3372013-01-11 Roland McGrath <roland@hack.frob.com>
338
339 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
340 not in the main loop.
341 * configure: Regenerated.
342
6a57d931
JM
3432013-01-11 Joseph Myers <joseph@codesourcery.com>
344
345 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
346 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
347 to just #else.
348 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
349 [!__GLIBC_HAVE_LONG_LONG] case.
350 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
351 condition to just #else.
352 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
353 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
354 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
355 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
356 unconditional.
357 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
358 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
359 #elif condition to just #else.
360 * sysdeps/unix/sysv/linux/sys/sysmacros.h
361 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
362 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
363 #elif condition to just #else.
364
0e8529e9
SE
3652013-01-11 Steve Ellcey <sellcey@mips.com>
366
367 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
368 (EF_MIPS_ARCH_64): Fix value.
369 (EF_MIPS_ARCH_32R2): New.
370 (EF_MIPS_ARCH_64R2): New.
371
740b3dbe
L
3722013-01-11 H.J. Lu <hongjiu.lu@intel.com>
373
374 * Makeconfig (+link-pie-before-libc): New.
375 (+link-pie-after-libc): Likewise.
376 (+link-pie-tests): Likewise.
377 (+link-pie): Rewritten.
378 (link-before-libc): Remove $(config-LDFLAGS).
379 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
380 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
381 (config-LDFLAGS): Renamed to ...
382 (rtld-LDFLAGS): This.
383 (rtld-tests-LDFLAGS): New macro.
384 (link-libc-rpath-link): Likewise.
385 (link-libc-tests-rpath-link): Likewise.
386 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
387 (link-libc): Prepand $(link-libc-rpath-link).
388 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
389 (test-program-prefix): New macro.
390 (test-via-rtld-prefix): Likewise.
391 (test-program-cmd): Likewise.
392 (host-test-program-cmd): Likewise.
393 * Makefile ($(common-objpfx)testrun.sh): Replace
394 $(run-program-prefix) with $(test-program-prefix).
395 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
396 $(rtld-LDFLAGS).
397 ($(common-objpfx)shlib.lds): Likewise.
398 (build-module-helper): Likewise.
399 ($(common-objpfx)format.lds): Likewise.
400 * Rules (binaries-pie-tests): New.
401 (binaries-pie-notests): Likewise.
402 (binaries-pie): Rewritten.
403 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
404 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
405 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
406 (make-test-out): Replace $(host-built-program-cmd) with
407 $(host-test-program-cmd).
408 * config.make.in (build-hardcoded-path-in-tests): New variable.
409 * configure.in (--enable-hardcoded-path-in-tests): New configure
410 option.
411 (hardcoded_path_in_tests): New AC_SUBST.
412 * configure: Regenerated.
413 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
414 $(built-program-cmd) with $(test-program-cmd).
415 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
416 (test_program_cmd): This.
417 * elf/Makefile ($(objpfx)order.out): Run test with
418 $(test-program-prefix).
419 ($(objpfx)order2.out): Likewise.
420 ($(objpfx)tst-initorder.out): Likewise.
421 ($(objpfx)tst-initorder2.out): Likewise.
422 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
423 $(test-program-cmd).
424 ($(objpfx)tst-array1-static.out): Likewise.
425 ($(objpfx)tst-array2.out): Likewise.
426 ($(objpfx)tst-array3.out): Likewise.
427 ($(objpfx)tst-array4.out): Likewise.
428 ($(objpfx)tst-array5.out): Likewise.
429 ($(objpfx)tst-array5-static.out): Likewise.
430 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
431 $(test-program-cmd).
432 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
433 $(run-program-prefix) with $(test-program-prefix).
434 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
435 (test_program_prefix): This.
436 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
437 $(run-program-prefix) with $(test-program-prefix).
438 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
439 (test_program_prefix): This.
440 * iconvdata/tst-tables.sh: Likewise.
441 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
442 $(run-program-prefix) with $(test-program-prefix).
443 ($(objpfx)tst-translit.out): Likewise.
444 ($(objpfx)tst-gettext2.out): Likewise.
445 ($(objpfx)tst-gettext4.out): Likewise.
446 ($(objpfx)tst-gettext6.out): Likewise.
447 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
448 (test_program_prefix): This.
449 * intl/tst-gettext2.sh: Likewise.
450 * intl/tst-gettext4.sh Likewise.
451 * intl/tst-gettext6.sh: Likewise.
452 * intl/tst-translit.sh: Likewise.
453 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
454 with $(test-program-cmd).
455 * libio/Makefile ($(objpfx)test-freopen.out): Replace
456 $(run-program-prefix) with $(test-program-prefix).
457 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
458 (test_program_prefix): This.
459 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
460 $(run-program-prefix) with $(test-program-prefix).
461 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
462 (test_program_prefix): This.
463 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
464 * posix/Makefile ($(objpfx)globtest.out): Replace
465 $(run-via-rtld-prefix) and $(test-wrapper) with
466 $(test-program-prefix) and $(test-via-rtld-prefix).
467 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
468 $(test-program-prefix).
469 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
470 $(host-test-program-cmd).
471 (tst-spawn-ARGS): Likewise.
472 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
473 $(test-program-prefix).
474 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
475 (test_via_rtld_prefix): This.
476 (test_wrapper): Renamed to ...
477 (test_program_prefix): This.
478 (run_program_prefix): Replaced by test_program_prefix.
479 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
480 (test_program_prefix): This.
481 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
482 with $(host-test-program-cmd).
483 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
484 $(run-program-prefix) with $(test-program-prefix).
485 ($(objpfx)tst-printf.out): Likewise.
486 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
487 $(test-program-cmd).
488 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
489 (test_program_prefix): This.
490 * stdio-common/tst-unbputc.sh: Likewise.
491 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
492 $(run-program-prefix) with $(test-program-prefix).
493 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
494 (test_program_prefix): This.
495 * string/Makefile ($(objpfx)tst-svc.out): Replace
496 $(built-program-cmd) with $(test-program-cmd).
497
c6fe55cf
AJ
4982013-01-11 Andreas Jaeger <aj@suse.de>
499
500 [BZ #15003]
501 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
502 value. Sync with Linux 3.7.
503
9e6919c8
DM
5042013-01-10 David S. Miller <davem@davemloft.net>
505
506 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
507 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
508 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
509
1c9f1a02
RM
5102013-01-10 Roland McGrath <roland@hack.frob.com>
511
512 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
513 never set.
514 * configure: Regenerated.
515
b9de2dde
DM
5162013-01-10 David S. Miller <davem@davemloft.net>
517
518 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
519 sparc V9 rather than using V8 code.
520 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
521 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
522
e7f68ef4
RM
5232013-01-10 Roland McGrath <roland@hack.frob.com>
524
525 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
526 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
527 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
528 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
529 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
530 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
531 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
532 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
533 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
534 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
535 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
536 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
537 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
538 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
539 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
540 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
541 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
542 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
543 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
544 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
545 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
546 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
547 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
548 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
549 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
550 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
551 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
552
5a47cc9c
DM
5532013-01-10 David S. Miller <davem@davemloft.net>
554
555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
556
4cf8f209
L
5572013-01-10 H.J. Lu <hongjiu.lu@intel.com>
558
559 * posix/Makefile (tests-static): New variable.
560 (tests): Add $(tests-static).
561 (tst-exec-static-ARGS): New variable.
562 (tst-spawn-static-ARGS): Likewise.
563 * posix/tst-exec-static.c: New file.
564 * posix/tst-spawn-static.c: Likewise.
565 * posix/tst-exec.c: Support run directly.
566 * posix/tst-spawn.c: Likewise.
567
fed0faa1
JM
5682013-01-10 Joseph Myers <joseph@codesourcery.com>
569
828beb13
JM
570 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
571 long.
572 * math/bits/mathcalls.h (llrint): Likewise.
573 (llround): Likewise.
574 * stdlib/stdlib.h (struct drand48_data): Likewise.
575 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
576 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
577 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
578 Likewise.
579 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
580 Likewise.
581 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
582 (elf_greg_t): Likewise.
583 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
584 (__jmp_buf): Likewise.
585 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
586 definitions.
587 (llrint): Likewise, for all definitions.
588 (llrintl): Likewise.
589
fed0faa1
JM
590 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
591 Remove [__GNUC__] condition.
592 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
593 condition to just [__USE_ISOC99].
594 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
595
1a20cb20
L
5962013-01-10 H.J. Lu <hongjiu.lu@intel.com>
597
598 [BZ #14200]
599 * sysdeps/unix/sysv/linux/x86/bits/environments.h
600 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
601 defined.
602 (_POSIX_V6_ILP32_OFF32): Likewise.
603 (_XBS5_ILP32_OFF32): Likewise.
604 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
605 (__ILP32_OFFBIG_LDFLAGS): Likewise.
606
751b85f7
SP
6072013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
608
7490eb81
SP
609 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
610
751b85f7
SP
611 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
612 doubles __mpexp_twomm1. Adjust usage.
613 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
614 Remove.
615
988197f0
AS
6162013-01-10 Andreas Schwab <schwab@suse.de>
617
618 [BZ #14964]
619 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
620 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
621
e83d7298
DM
6222013-01-09 David S. Miller <davem@davemloft.net>
623
034ed64b 624 [BZ #15003]
e83d7298
DM
625 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
626 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
627 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
628 TCP_FASTOPEN): Define.
629 (tcp_repair_opt): New structure.
630 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
631 enum values.
632 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
633 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
634 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
635 (tcp_cookie_transactions): New structure.
636
d5e0b9bd
AB
6372013-01-09 Anton Blanchard <anton@samba.org>
638
639 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
640 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
641 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
642 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
643
0c07e3ea
JM
6442013-01-09 Joseph Myers <joseph@codesourcery.com>
645
646 * include/features.h (__USE_ANSI): Remove.
647
232f7002
RM
6482013-01-09 Roland McGrath <roland@hack.frob.com>
649
ad98e30c
RM
650 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
651
232f7002
RM
652 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
653
950c99ca
SP
6542013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
655
b5792741
SP
656 * sysdeps/s390/fpu/libm-test-ulps: Update.
657
47cf2278
SP
658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
659
950c99ca
SP
660 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
661 (__acr): Likewise.
662 (__cpy): Likewise.
663 (norm): Likewise.
664 (denorm): Likewise.
665 (__mp_dbl): Likewise.
666 (__dbl_mp): Likewise.
667 (add_magnitudes): Likewise.
668 (sub_magnitudes): Likewise.
669 (__add): Likewise.
670 (__sub): Likewise.
671 (__mul): Likewise.
672 (__inv): Likewise.
673 (__dvd): Likewise.
674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
675 (__acr): Likewise.
676 (__cpy): Likewise.
677 (norm): Likewise.
678 (denorm): Likewise.
679 (__mp_dbl): Likewise.
680 (__dbl_mp): Likewise.
681 (add_magnitudes): Likewise.
682 (sub_magnitudes): Likewise.
683 (__add): Likewise.
684 (__sub): Likewise.
685 (__mul): Likewise.
686 (__inv): Likewise.
687 (__dvd): Likewise.
688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
689 (__acr): Likewise.
690 (__cpy): Likewise.
691 (norm): Likewise.
692 (denorm): Likewise.
693 (__mp_dbl): Likewise.
694 (__dbl_mp): Likewise.
695 (add_magnitudes): Likewise.
696 (sub_magnitudes): Likewise.
697 (__add): Likewise.
698 (__sub): Likewise.
699 (__mul): Likewise.
700 (__inv): Likewise.
701 (__dvd): Likewise.
702
eede9df9
JM
7032013-01-08 Joseph Myers <joseph@codesourcery.com>
704
705 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
706 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
707 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
708 2 && __USE_EXTERN_INLINES]: Likewise.
709
c40ea3d9
AJ
7102013-01-08 Andreas Jaeger <aj@suse.de>
711
712 [BZ# 14985]
713 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
714 Remove.
715 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
716 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
717
2ccdea26
AB
7182013-01-07 Anton Blanchard <anton@samba.org>
719
720 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
721 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
722 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
723 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
724 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
725 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
726 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
727 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
729 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
730 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
731 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
732 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
733 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
734 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
735 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
736 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
737 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
738 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
739 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
740 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
741 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
742 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
743 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
744 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
745 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
746 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
747 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
749 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
750 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
752 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
753 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
754 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
755 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
756 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
757 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
758 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
759 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
760 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
761 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
762 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
763
a9708fed
JM
7642013-01-07 Joseph Myers <joseph@codesourcery.com>
765
375607b9
JM
766 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
767 (__MALLOC_PMT): Likewise.
768 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
769 [__GNUC__], only on [_LIBC].
770 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
771 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
772 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
773 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
774 forward declaration.
775 (realloc_hook_ini): Likewise.
776 (memalign_hook_ini): Likewise.
777 (__libc_memalign): Do not use __MALLOC_PMT in variable
778 declaration.
779 (__libc_valloc): Likewise.
780 (__libc_pvalloc): Likewise.
781 (__libc_calloc): Likewise.
782 (__posix_memalign): Likewise.
783
a9708fed
JM
784 [BZ #14996]
785 * math/s_casinh.c: Include <float.h>.
786 (__casinh): Do not do computation with squaring and square root
787 for large arguments.
788 * math/s_casinhf.c: Include <float.h>.
789 (__casinhf): Do not do computation with squaring and square root
790 for large arguments.
791 * math/s_casinhl.c: Include <float.h>.
792 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
793 (__casinhl): Do not do computation with squaring and square root
794 for large arguments.
795 * math/libm-test.inc (casin_test): Add more tests.
796 (casinh_test): Likewise.
797 * sysdeps/i386/fpu/libm-test-ulps: Update.
798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
799
afec409a
L
8002013-01-04 H.J. Lu <hongjiu.lu@intel.com>
801
802 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
803 (__x86_64_raw_data_cache_size): Likewise.
804 (__x86_64_data_cache_size_half): Likewise.
805 (__x86_64_raw_data_cache_size_half): Likewise.
806 (__x86_64_shared_cache_size): Likewise.
807 (__x86_64_raw_shared_cache_size): Likewise.
808 (__x86_64_shared_cache_size_half): Likewise.
809 (__x86_64_raw_shared_cache_size_half): Likewise.
810 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
811 to ...
812 (__x86_data_cache_size): This.
813 (__x86_64_raw_data_cache_size): Renamed to ...
814 (__x86_raw_data_cache_size): This.
815 (__x86_64_data_cache_size_half): Renamed to ...
816 (__x86_data_cache_size_half): This.
817 (__x86_64_raw_data_cache_size_half): Renamed to ...
818 (__x86_raw_data_cache_size_half): This.
819 (__x86_64_shared_cache_size): Renamed to ...
820 (__x86_shared_cache_size): This.
821 (__x86_64_raw_shared_cache_size): Renamed to ...
822 (__x86_raw_shared_cache_size): This.
823 (__x86_64_shared_cache_size_half): Renamed to ...
824 (__x86_shared_cache_size_half): This.
825 (__x86_64_raw_shared_cache_size_half): Renamed to ...
826 (__x86_raw_shared_cache_size_half): This.
827 * sysdeps/x86_64/memcpy.S: Updated.
828 * sysdeps/x86_64/memset.S: Likewise.
829 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
830 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
831 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
832
0b3986d0
DM
8332013-01-04 David S. Miller <davem@davemloft.net>
834
835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
836
e47686e9
AS
8372013-01-04 Andreas Schwab <schwab@linux-m68k.org>
838
d643bac1
AS
839 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
840 1 to avoid redefinition warning.
841 (__USE_GNU): Don't define.
842 (init_signaling_nan): Protoize.
843
e47686e9
AS
844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
845
b18decba
SP
8462013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
847
fffb407f
SP
848 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
850 (__cpymn): Likewise.
851 (norm): Remove commented code.
852 (denorm): Likewise.
853 (__mp_dbl): Likewise.
854 (__inv): Likewise.
855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
856 (__cpymn): Likewise.
857 (norm): Remove commented code.
858 (denorm): Likewise.
859 (__mp_dbl): Likewise.
860 (__inv): Likewise.
861
b18decba
SP
862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
863 mp_no value for 1.0 and 2.0.
864 (norm): Use RADIXI instead of radixi.d.
865 (denorm): Likewise.
866 (__mul): Use 0.0 instead of zero.d.
867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
868 mp_no value for 1.0 and 2.0.
869 (norm): Use RADIXI instead of radixi.d.
870 (denorm): Likewise.
871 (__mul): Use 0.0 instead of zero.d.
872
cdc1c96f
JM
8732013-01-04 Joseph Myers <joseph@codesourcery.com>
874
875 [BZ #14994]
876 * math/s_casinh.c (__casinh): Reduce finite argument to first
877 quadrant then set signs of results at the end.
878 * math/s_casinhf.c (__casinhf): Likewise.
879 * math/s_casinhl.c (__casinhl): Likewise.
880 * math/libm-test.inc (casin_test): Add more tests.
881 (casinh_test): Likewise.
882 * sysdeps/i386/fpu/libm-test-ulps: Update.
883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
884
302913e1
SP
8852013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
886
6420d207
SP
887 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
888
a9e48ab4
SP
889 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
890
b7837264
SP
891 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
892 declarations.
893 (denorm): Likewise.
894 (__mp_dbl): Likewise.
895 (__inv): Likewise.
896
f8af25d2
SP
897 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
898 and adjust the header comment.
899
302913e1
SP
900 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
901 variable name from declaration.
902
5d7dd1ca
L
9032013-01-03 H.J. Lu <hongjiu.lu@intel.com>
904
905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
906 Initialize COMMON_CPUID_INDEX_7 element.
907 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
908 (CPUID_RTM): Likewise.
909 (HAS_RTM): Likewise.
910 (COMMON_CPUID_INDEX_7): New enum.
911
2f5f40f4
AS
9122013-01-03 Andreas Schwab <schwab@linux-m68k.org>
913
914 [BZ #14981]
915 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
916 size is zero, record memory as freed.
917
4056f4a0
AJ
9182013-01-03 Andreas Jaeger <aj@suse.de>
919
920 * po/ia.po: Add new Interlingua translation.
921
ab15736f 9222012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
923
924 * locale/programs/localedef.c: Fix description of '--posix' flag.
925
568035b7
JM
9262013-01-02 Joseph Myers <joseph@codesourcery.com>
927
e6898b8d
JM
928 * NEWS: Update dates in second copyright notice.
929 * README: Update copyright dates in example.
930 * manual/libc.texinfo: Update copyright dates.
931 * scripts/test-installation.pl: Update copyright date in --version
932 output.
933
0e2f9562
JM
934 * hurd/ctty-input.c: Fix copyright notice formatting.
935 * hurd/ctty-output.c: Likewise.
936 * hurd/dtable.c: Likewise.
937 * hurd/hurd-raise.c: Likewise.
938 * hurd/hurdprio.c: Likewise.
939 * hurd/msgportdemux.c: Likewise.
940 * misc/sys/file.h: Likewise.
941 * misc/sys/ioctl.h: Likewise.
942 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
943 * sysdeps/mach/hurd/chdir.c: Likewise.
944 * sysdeps/mach/hurd/fchdir.c: Likewise.
945 * sysdeps/mach/hurd/rename.c: Likewise.
946 * sysdeps/mach/hurd/rmdir.c: Likewise.
947 * sysdeps/mach/hurd/seekdir.c: Likewise.
948 * sysdeps/mach/hurd/setsid.c: Likewise.
949 * sysdeps/posix/wait3.c: Likewise.
950
568035b7
JM
951 * All files with FSF copyright notices: Update copyright dates
952 using scripts/update-copyrights.
953 * intl/plural.c: Regenerated.
954 * locale/programs/charmap-kw.h: Likewise.
955 * locale/programs/locfile-kw.h: Likewise.
956
da08f647
SP
9572013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
958
0f5477af
SP
959 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
960 four values.
961
44e0d4c2
SP
962 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
963 calculation loop and add branch prediction.
964
4d55b4e5
SP
965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
966 check access beyond bounds of m1np.
967
da08f647
SP
968 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
969 MPTWO.
970 (__inv): Remove local variable MPTWO to use the global
971 constant.
972 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
973 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
974 variable MPTWO.
975 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
976 MP3HALFS static const.
977
8e051029
DM
9782013-01-01 David S. Miller <davem@davemloft.net>
979
980 * po/ca.po: Update from translation team.
981
f4cf5f2d
JM
9822013-01-01 Joseph Myers <joseph@codesourcery.com>
983
984 * scripts/update-copyrights: New file.
985 * Makeconfig: Reformat copyright notice.
986 * ctype/ctype.h: Likewise.
987 * debug/swprintf_chk.c: Likewise.
988 * elf/dl-cache.c: Likewise.
989 * elf/dl-debug.c: Likewise.
990 * elf/dl-object.c: Likewise.
991 * grp/initgroups.c: Likewise.
992 * hurd/Makefile: Likewise.
993 * hurd/hurd/signal.h: Likewise.
994 * hurd/hurdfault.c: Likewise.
995 * hurd/hurdioctl.c: Likewise.
996 * hurd/hurdlookup.c: Likewise.
997 * hurd/intr-msg.c: Likewise.
998 * iconv/gconv_open.c: Likewise.
999 * libio/swprintf.c: Likewise.
1000 * locale/lc-ctype.c: Likewise.
1001 * locale/nl_langinfo.c: Likewise.
1002 * mach/Machrules: Likewise.
1003 * mach/Makefile: Likewise.
1004 * malloc/obstack.h: Likewise.
1005 * manual/Makefile: Likewise.
1006 * manual/tsort.awk: Likewise.
1007 * misc/bits/stab.def: Likewise.
1008 * nis/nis_print_group_entry.c: Likewise.
1009 * nis/nis_table.c: Likewise.
1010 * nis/nss_compat/compat-pwd.c: Likewise.
1011 * nis/nss_compat/compat-spwd.c: Likewise.
1012 * po/Makefile: Likewise.
1013 * posix/fnmatch.c: Likewise.
1014 * posix/regex.h: Likewise.
1015 * resolv/Makefile: Likewise.
1016 * resolv/nss_dns/dns-network.c: Likewise.
1017 * resolv/res_hconf.c: Likewise.
1018 * scripts/gen-sorted.awk: Likewise.
1019 * soft-fp/soft-fp.h: Likewise.
1020 * stdio-common/printf.h: Likewise.
1021 * stdlib/monetary.h: Likewise.
1022 * stdlib/random.c: Likewise.
1023 * stdlib/random_r.c: Likewise.
1024 * sysdeps/generic/Makefile: Likewise.
1025 * sysdeps/gnu/Makefile: Likewise.
1026 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1027 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1028 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1029 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1030 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1033 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1034 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1036 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1037 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1038 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1039 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1040 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1041 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1042 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1043 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1044 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1046 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1047 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1048 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1049 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1050 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1051 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1052 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1053 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1054 * sysdeps/mach/hurd/errnos.awk: Likewise.
1055 * sysdeps/mach/hurd/fork.c: Likewise.
1056 * sysdeps/mach/hurd/getcwd.c: Likewise.
1057 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1058 * sysdeps/mach/hurd/mmap.c: Likewise.
1059 * sysdeps/mach/hurd/utimes.c: Likewise.
1060 * sysdeps/mach/hurd/xmknod.c: Likewise.
1061 * sysdeps/posix/profil.c: Likewise.
1062 * sysdeps/posix/readdir_r.c: Likewise.
1063 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1064 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1065 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1066 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1068 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1069 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1070 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1072 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1073 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1074 * sysdeps/pthread/lio_listio.c: Likewise.
1075 * sysdeps/sparc/dl-procinfo.h: Likewise.
1076 * sysdeps/unix/i386/sysdep.S: Likewise.
1077 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1078 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1079 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1080 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1082 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1083 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1084 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1085 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1086 * sysdeps/wordsize-32/divdi3.c: Likewise.
1087 * time/sys/time.h: Likewise.
1088 * wcsmbs/Makefile: Likewise.
1089
0549fbba
DM
10902013-01-01 David S. Miller <davem@davemloft.net>
1091
a141f1a7
DM
1092 * po/fr.po: Update from translation team.
1093
0549fbba
DM
1094 * catgets/gencat.c: Update copyright year.
1095 * csu/version.c: Likewise.
1096 * debug/catchsegv.sh: Likewise.
1097 * debug/pcprofiledump.c: Likewise.
1098 * debug/xtrace.sh: Likewise.
1099 * elf/ldconfig.c: Likewise.
1100 * elf/ldd.bash.in: Likewise.
1101 * elf/pldd.c: Likewise.
1102 * elf/sotruss.ksh: Likewise.
1103 * elf/sprof.c: Likewise.
1104 * iconv/iconv_prog.c: Likewise.
1105 * iconv/iconvconfig.c: Likewise.
1106 * locale/programs/locale.c: Likewise.
1107 * locale/programs/localedef.c: Likewise.
1108 * login/programs/pt_chown.c: Likewise.
1109 * malloc/memusage.sh: Likewise.
1110 * malloc/memusagestat.c: Likewise.
1111 * malloc/mtrace.pl: Likewise.
1112 * nscd/nscd.c: Likewise.
1113 * nss/getent.c: Likewise.
1114 * nss/makedb.c: Likewise.
1115 * posix/getconf.c: Likewise.
1116
18ea052c
SP
11172012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1118
1119 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1120 numbers.
1121
9c89fca6
MF
11222012-12-30 Mike Frysinger <vapier@gentoo.org>
1123
1124 * math/bits/mathcalls.h (modf): Use __nonnull.
1125
085ec079
SP
11262012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1127
1128 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1129 (split): Use macro CN instead of the bare value.
1130 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1131 could be used.
1132 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1133 instead of the bare value.
1134 (power1): Likewise.
1135
6d9f97e1
SP
11362012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1137
d63f73be
SP
1138 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1139 __ATAN_TWOM.
1140 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1141
6d9f97e1
SP
1142 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1143 their values.
1144 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1145 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1146 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1147 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1148
4c4febf5
AJ
11492012-12-28 Andreas Jaeger <aj@suse.de>
1150
af5843ef
AJ
1151 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1152 values are from Linux 3.7.
1153
4c4febf5
AJ
1154 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1155 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1156
99136f82
SP
11572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1158
2f216c3c 1159 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1160 TRUE case.
1161
99136f82
SP
1162 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1163 (norm): Likewise.
1164 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1165 variables with preprocessor constants.
1166 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1167 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1168 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1169
7fffbdff
BH
11702012-12-27 Bruno Haible <bruno@clisp.org>
1171
1172 [BZ #14317]
1173 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1174 only if needed.
1175
b76eb5f0
SP
11762012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1177
31a7fe5c
SP
1178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1179 and use variable directly.
1180 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1181
b76eb5f0
SP
1182 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1183 MPONE.
1184 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1185 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1186 variable MPONE.
1187 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1188 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1189 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1190 include directive. Remove local variable MPONE.
1191 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1192 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1193 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1194
2c8bfe7d
DM
11952012-12-25 David S. Miller <davem@davemloft.net>
1196
1197 * version.h (RELEASE): Set to "development".
1198 (VERSION): Set to "2.17.90".
1199 * NEWS: Add 2.18 section.
1200
147d03b0
DM
12012012-12-21 David S. Miller <davem@davemloft.net>
1202
1203 * po/hr.po: Update from translation team.
1204
a8ebb2b9
AK
12052012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1206
1207 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1208
95b4f1b6
SE
12092012-12-19 Steve Ellcey <sellcey@mips.com>
1210
b2d94007 1211 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1212
cedb2a90
MS
12132012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1214
1215 * manual/contrib.texi (Contributors): Spelling correction.
1216
bbf527d6
DM
12172012-12-15 David S. Miller <davem@davemloft.net>
1218
1219 * po/ru.po: Update from translation team.
1220
bc38c906
DM
12212012-12-13 David S. Miller <davem@davemloft.net>
1222
85429b1a
DM
1223 * NEWS: Mention IFUNC testsuite enhancements.
1224
d283e353
DM
1225 * po/pl.po: Update from translation team.
1226 * po/bg.po: Likewise.
1227
bc38c906
DM
1228 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1229 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1230
a181b0d7
DM
12312012-12-11 David S. Miller <davem@davemloft.net>
1232
4641d57e
DM
1233 * po/sv.po: Update from translation team.
1234
f7bc6495
DM
1235 * po/vi.po: Update from translation team.
1236
6fc9048f
DM
1237 * po/cs.po: Update from translation team.
1238
a181b0d7
DM
1239 * po/de.po: Update from translation team.
1240 * po/eo.po: Likewise.
1241 * po/nl.po: Likewise.
1242
f70bfe80
SP
12432012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1244
3c8b4190
SP
1245 [BZ #14246]
1246 * manual/argp.texi (Argp Helper Functions): Move node to follow
1247 Argp Parsing State.
1248
f70bfe80
SP
1249 [BZ #14872]
1250 * manual/conf.texi (Limits on File System Capacity): Mention if
1251 terminating null is included in the max size.
1252
188f0adf
AJ
12532012-12-10 Andreas Jaeger <aj@suse.de>
1254
1255 * po/cs.po: Update from translation team.
1256
56e7d3ad
SP
12572012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1258
1259 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1260 void pointer and cast to uintptr_t.
1261 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1262 path.
1263 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1264 * sysdeps/s390/s390-64/memset.S: Likewise.
1265
76f2d2ea 12662012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1267
1268 [BZ #14833]
1269 * menual/message.texi (Message Translation): Fix typos.
1270 (Helper programs for gettext): Likewise.
1271
67cbf9a2
AS
12722012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1273
1274 [BZ #14898]
1275 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1276 Change to -1.
1277
682d0e9a
DM
12782012-12-07 David S. Miller <davem@davemloft.net>
1279
1280 * po/libc.pot: Update.
1281
573cd484
RH
12822012-12-07 Richard Henderson <rth@redhat.com>
1283
7e9da188 1284 [BZ #10114]
573cd484
RH
1285 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1286 normal/normal case to before the switch.
1287 (_FP_DIV): Likewise.
1288
e933a943
MF
12892012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1290 Mike Frysinger <vapier@gentoo.org>
1291
1292 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1293 check for __NR_fadvise64_64.
1294
82123268
CM
12952012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1296
1297 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1298 0, not just to plain "0" as a statement.
1299 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1300 with cw.
1301
d9814526
JM
13022012-12-06 Joseph Myers <joseph@codesourcery.com>
1303
1304 * NEWS: Use sourceware.org in Bugzilla URL.
1305
7728c574
SP
13062012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1307
f16946dd
SP
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1309 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1310
5704bbcb
SP
1311 * stdio-common/tst-put-error.c (do_test): Add newline to the
1312 padded test to ensure flush.
1313
17aa0516
JL
13142012-12-05 Jeff Law <law@redhat.com>
1315
1316 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1317
363313b5
JM
13182012-12-05 Joseph Myers <joseph@codesourcery.com>
1319
effbd42a
JM
1320 * README: Don't refer to ports add-on as distributed separately.
1321 Mention AArch64 in list of systems supported in the ports add-on.
1322
87600365
JM
1323 * LICENSES: Add more non-FSF copyright and license notices.
1324
a0d7066a
JM
1325 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1326 ((unused)).
1327
66ca5a5b
JM
1328 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1329
363313b5
JM
1330 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1331 10000 as width of padded output.
1332
b37984ad
JM
13332012-12-04 Joseph Myers <joseph@codesourcery.com>
1334
9003570a
JM
1335 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1336
b37984ad
JM
1337 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1338 variable LX with __attribute__ ((unused)).
1339 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1340 Likewise.
1341 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1342 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1343 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1344 with __attribute__ ((unused)).
1345
c8df52ec
DM
13462012-12-04 David S. Miller <davem@abraco.davemloft.net>
1347
1348 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1349
b3b099af
JM
13502012-12-04 Joseph Myers <joseph@codesourcery.com>
1351
c33aa6e3
JM
1352 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1353 (CFLAGS-nldbl-acos.c): New variable.
1354 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1355 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1356 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1357 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1358 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1359 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1360 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1361 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1362 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1363 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1364 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1365 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1366 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1367 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1368 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1369 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1370 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1371 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1372 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1373 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1374 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1375 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1376 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1377 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1378 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1379 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1380 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1381 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1382 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1383 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1384 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1385 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1386 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1387 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1388 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1389 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1390 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1391 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1392 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1393 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1394 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1395 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1396 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1397 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1398 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1399 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1400 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1401 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1402 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1403 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1404 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1405 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1406 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1407 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1408 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1409 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1410 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1411 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1412 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1413 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1414 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1415 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1416 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1417 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1418 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1419 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1420 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1421 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1422 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1423 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1424 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1425 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1426 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1427 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1428 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1429 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1430 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1431 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1432 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1433 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1434 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1435 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1436 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1437 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1438 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1439 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1440 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1441 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1442 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1443 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1444 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1445 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1446 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1447 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1448 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1449 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1450 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1451
20f0018d
JM
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1453 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1454
b3b099af
JM
1455 [BZ #14914]
1456 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1457 whole low double instead of just low 47 bits when splitting values
1458 into two parts.
1459
029264d1
AM
14602012-12-03 Allan McRae <allan@archlinux.org>
1461
1462 * manual/stdio.texi (Predefined Printf Handlers): Remove
1463 @hsep and @vsep usage.
1464
c9d6789e
MF
14652012-12-03 Mike Frysinger <vapier@gentoo.org>
1466
1467 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1468 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1469
4b7634a5
JL
14702012-12-03 Jeff Law <law@redhat.com>
1471
1472 * time/sys/time.h (settimeofday): Do not mark TV argument
1473 as __nonnull.
1474
eb6cbd24
MF
14752012-12-01 Mike Frysinger <vapier@gentoo.org>
1476
1477 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1478 when currently writing and seek to current position when not.
1479 * libio/Makefile (tests): Remove bug-fclose1.
1480 * libio/bug-fclose1.c: Delete.
1481
f638872a
JM
14822012-12-01 Joseph Myers <joseph@codesourcery.com>
1483
1484 * manual/arith.texi (feenableexcept): Fix typo.
1485 (fedisableexcept): Likewise.
1486
48085d14
RM
14872012-11-30 Roland McGrath <roland@hack.frob.com>
1488
1489 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1490 second, differently-typed declaration, rather than a cast.
1491
1a538b9f
SP
14922012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1493
1494 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1495 * include/rpc/svc.h: ... here.
1496
d07f2ff1 14972012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1498
1499 [BZ #13013]
1500 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1501 depending n and resplen2 to catch cases where answer
1502 equals answerp2.
1503
c93ec1f0
CD
15042012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1505
1506 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1507 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1508
37db69de
MF
15092012-11-29 Mike Frysinger <vapier@gentoo.org>
1510
1511 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1512
e10c4e4f
RM
15132012-11-29 Roland McGrath <roland@hack.frob.com>
1514
1515 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1516
2af1b328
JL
15172012-11-28 Jeff Law <law@redhat.com>
1518
1519 [BZ #13761]
1520 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1521 dataset_temporary. Track alloca usage into alloca_used.
1522 If dataset is large allocate and release it via malloc/free.
1523
111db5b1
FW
15242012-06-04 Florian Weimer <fweimer@redhat.com>
1525
f06cc227 1526 [BZ #14197]
111db5b1
FW
1527 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1528
dd694abd
DM
15292012-11-28 David S. Miller <davem@davemloft.net>
1530
1531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1532
9984dd01
JM
15332012-11-28 Joseph Myers <joseph@codesourcery.com>
1534
1535 [BZ #14803]
1536 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1537 of pi/2 rounded to nearest to 64 bits.
1538 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1539 nearest to 64 bits.
1540 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1541 bits.
1542
14bc93a9
JL
15432012-11-28 Jeff Law <law@redhat.com>
1544 Martin Osvald <mosvald@redhat.com>
1545
1546 [BZ #14889]
1547 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1548 * sunrpc/svc.c: Include time.h.
1549 (__svc_accept_failed): New function.
1550 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1551 any reason other than EINTR, call __svc_accept_failed.
1552 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1553 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1554
e3c6aa3a
AS
15552012-11-28 Andreas Schwab <schwab@suse.de>
1556
1557 * scripts/abilist.awk: Also handle indirect functions in .opd
1558 section.
1559
1bead169
JM
15602012-11-28 Joseph Myers <joseph@codesourcery.com>
1561
1562 [BZ #13881]
1563 * sysdeps/x86/fpu/powl_helper.c: New file.
1564 * sysdeps/x86/fpu/Makefile: Likewise.
1565 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1566 (p3): New object.
1567 (__ieee754_powl): Use __powl_helper for finite arguments except
1568 integer exponents below 8.
1569 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1570 (p3): New object.
1571 (__ieee754_powl): Use __powl_helper for finite arguments except
1572 integer exponents below 8.
1573 * math/libm-test.inc (pow_test): Add more tests and enable some
1574 previously disabled tests.
1575 * sysdeps/i386/fpu/libm-test-ulps: Update.
1576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1577
0817d63d
SP
15782012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1579 Carlos O'Donell <carlos_odonell@mentor.com>
1580
1581 * nss/makedb.c (is_prime): Assert that input is odd and greater
1582 than 4. Note that fact in a comment too.
1583 (next_prime): Add 4 to input.
1584
de2fd463
SP
15852012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1586
1587 [BZ #11741]
1588 * libio/Makefile (tests): Add test case tst-fwrite-error.
1589 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1590 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1591 * libio/tst-fwrite-error.c: New test case.
1592
c515fb51
L
15932012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1594
1595 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1596 before casting to void *.
1597 * include/libc-internal.h (__pointer_type): New macro.
1598 (__integer_if_pointer_type_sub): Likewise.
1599 (__integer_if_pointer_type): Likewise.
1600 (cast_to_integer): Likewise.
1601 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1602 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1603 before casting to atomic64_t.
1604 (atomic_exchange_acq): Likewise.
1605 (__arch_exchange_and_add_body): Likewise.
1606 (__arch_add_body): Likewise.
1607 (atomic_add_negative): Likewise.
1608 (atomic_add_zero): Likewise.
1609
4cf77aa9
JM
16102012-11-26 Joseph Myers <joseph@codesourcery.com>
1611
1612 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1613 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1614 (add_fdes): Likewise.
1615 (linear_search_fdes): Likewise.
1616 (binary_search_unencoded_fdes): Likewise.
1617
d260b3b4
AS
16182012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1619
1620 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1621
67060746
AC
16222012-11-24 Adam Conrad <adconrad@0c3.net>
1623
1624 * configure.in: Autodetect C++ header directories.
1625 * configure: Regenerated.
1626
800938a1
MF
16272012-11-23 Mike Frysinger <vapier@gentoo.org>
1628
1629 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1630
4e6e34e6
AS
16312012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1632
1633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1634
7c7feb47
JM
16352012-11-22 Joseph Myers <joseph@codesourcery.com>
1636
7184dcdf
JM
1637 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1638 LDBL_MANT_DIG == 106]: Disable some tests.
1639 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1640 Likewise.
1641 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1642 Likewise.
1643
0a42601f
JM
1644 [BZ #14871]
1645 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1646 input for small inputs. Return +/- pi/2 for large inputs.
1647 * math/libm-test.inc (atan_test): Add more tests.
1648
79c9b9fe
JM
1649 * sysdeps/generic/unwind-dw2-fde-glibc.c
1650 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1651 __attribute__ ((unused)).
1652
c60d3bf2
JM
1653 [BZ #14645]
1654 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1655 x * y if x and y are nonzero and z is zero.
1656
ef1e0867
JM
1657 [BZ #14811]
1658 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1659 nonzero exponents with absolute value below 0x1p-117 to +/-
1660 0x1p-117.
1661
1468ded3
JM
1662 [BZ #14869]
1663 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1664 up arguments below 2**-450, not just those below 2**-500.
1665 * math/libm-test.inc (hypot_test): Add another test.
1666
8e27e3cc
JM
1667 [BZ #14868]
1668 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1669 Return a+b for ratio over 2**120, not 2**60.
1670 * math/libm-test.inc (hypot_test): Add another test.
1671
c9c0279b
JM
1672 * math/libm-test.inc (clog_test): Use
1673 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1674 (clog10_test): Likewise.
1675
7c7feb47
JM
1676 [BZ #6778]
1677 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1678
fff1530e
AS
16792012-11-22 Andreas Schwab <schwab@suse.de>
1680
1681 * sysdeps/i386/fpu/libm-test-ulps: Update.
1682
94558d30
PT
16832012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1684
1685 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1686 printf output with newline.
1687
7e1be741
L
16882012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1689
6bfea974
L
1690 [BZ #14865]
1691 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1692 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1693 -z nodlopen, -z initfirst and -z execstack support.
1694 * configure: Regenerated.
1695
7e1be741
L
1696 * elf/elf.h (DF_1_NODIRECT): New macro.
1697 (DF_1_IGNMULDEF): Likewise.
1698 (DF_1_NOKSYMS): Likewise.
1699 (DF_1_NOHDR): Likewise.
1700 (DF_1_EDITED): Likewise.
1701 (DF_1_NORELOC): Likewise.
1702 (DF_1_SYMINTPOSE): Likewise.
1703 (DF_1_GLOBAUDIT): Likewise.
1704 (DF_1_SINGLETON): Likewise.
1705 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1706 DT_1_SUPPORTED_MASK bits.
1707 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1708
105ce2ce
CD
17092012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1710
1711 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1712
123be9de
TS
17132012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1714
d072f3f7
TS
1715 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1716 macro.
1717
123be9de
TS
1718 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1719 (sendmmsg): Move declarations...
1720 * socket/sys/socket.h: ... here.
1721 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1722 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1723 include it from...
1724 * socket/recvmmsg.c: ... this new file.
1725 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1726 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1727 definition of __sendmmsg hidden.
1728 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1729 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1730 Move ENOSYS stub into and include it from...
1731 * socket/sendmmsg.c: ... this new file.
1732 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1733 (sysdep_routines): Move recvmmsg and sendmmsg...
1734 * socket/Makefile (routines): ... here.
1735 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1736 (GLIBC_PRIVATE): Add __sendmmsg.
1737 * include/sys/socket.h (__sendmmsg): Add declarations.
1738 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1739 sendmmsg.
1740
cf9a5d18
JM
17412012-11-20 Joseph Myers <joseph@codesourcery.com>
1742
1743 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1744 variable I1 with __attribute__ ((unused)).
1745 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1746
ecd4caf9
JM
17472012-11-19 Joseph Myers <joseph@codesourcery.com>
1748
be14d48f
JM
1749 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1750 DUMMY variables with __attribute__ ((unused)).
1751
ecd4caf9
JM
1752 * bits/byteswap.h: Include <bits/types.h>.
1753 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1754
986cab95
PT
17552012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1756
1757 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1758 string_t. Do not manually set errno.
1759 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1760 length with __strnlen. Make sure to both set errno and return it on
1761 failure.
1762
6d33cc9d
DM
17632012-11-19 David S. Miller <davem@davemloft.net>
1764
1765 With help from Joseph Myers.
1766 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1767 very large arguments properly.
1768 * math/libm-test.inc (atan_test): New tests.
1769 (atan2_test): New tests.
1770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1772
ee663277
JM
17732012-11-19 Joseph Myers <joseph@codesourcery.com>
1774
877f2d8e
JM
1775 [BZ #14856]
1776 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1777 Define to 3.
1778
116fc08a
JM
1779 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1780 [POSIX] (EADDRNOTAVAIL): Likewise.
1781 [POSIX] (EAFNOSUPPORT): Likewise.
1782 [POSIX] (EALREADY): Likewise.
1783 [POSIX] (ECONNABORTED): Likewise.
1784 [POSIX] (ECONNREFUSED): Likewise.
1785 [POSIX] (ECONNRESET): Likewise.
1786 [POSIX] (EDESTADDRREQ): Likewise.
1787 [POSIX] (EDQUOT): Likewise.
1788 [POSIX] (EHOSTUNREACH): Likewise.
1789 [POSIX] (EIDRM): Likewise.
1790 [POSIX] (EISCONN): Likewise.
1791 [POSIX] (ELOOP): Likewise.
1792 [POSIX] (EMULTIHOP): Likewise.
1793 [POSIX] (ENETDOWN): Likewise.
1794 [POSIX] (ENETUNREACH): Likewise.
1795 [POSIX] (ENOBUFS): Likewise.
1796 [POSIX] (ENODATA): Likewise.
1797 [POSIX] (ENOLINK): Likewise.
1798 [POSIX] (ENOMSG): Likewise.
1799 [POSIX] (ENOPROTOOPT): Likewise.
1800 [POSIX] (ENOSR): Likewise.
1801 [POSIX] (ENOSTR): Likewise.
1802 [POSIX] (ENOTCONN): Likewise.
1803 [POSIX] (ENOTSOCK): Likewise.
1804 [POSIX] (EOPNOTSUPP): Likewise.
1805 [POSIX] (EOVERFLOW): Likewise.
1806 [POSIX] (EPROTO): Likewise.
1807 [POSIX] (EPROTONOSUPPORT): Likewise.
1808 [POSIX] (EPROTOTYPE): Likewise.
1809 [POSIX] (ESTALE): Likewise.
1810 [POSIX] (ETIME): Likewise.
1811 [POSIX] (ETXTBSY): Likewise.
1812 [POSIX] (EWOULDBLOCK): Likewise.
1813 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1814 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1815 [POSIX] (SEEK_CUR): Likewise.
1816 [POSIX] (SEEK_END): Likewise.
1817 [POSIX || UNIX98] (mode_t): Do not require.
1818 [POSIX] (off_t): Likewise.
1819 [POSIX] (pid_t): Likewise.
1820 [POSIX] (sys/stat.h): Do not allow header.
1821 [POSIX] (unistd.h): Likewise.
1822 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1823 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1824 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1825 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1826 require.
1827 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1828 sigevent): Specify elements.
1829 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1830 entry.
1831 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1832 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1833
a483863f
JM
1834 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1835 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1836 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1837 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1838 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1839 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1840 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1841 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1842 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1843 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1844 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1845 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1846 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1847 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1848 Likewise.
1849 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1850 Likewise.
1851 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1852 Likewise.
1853 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1854 Likewise.
1855 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1856 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1857 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1858 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1859 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1860 Specify lower bound on value.
1861 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1862 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1863 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1864 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1865 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1866 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1867 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1868 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1869 value.
1870 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1871 as optional.
1872 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1873 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1874 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1875 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1876 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1877 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1878 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1879 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1880 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1881 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1882 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1883 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1884 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1885 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1886 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1887 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1888 entry.
1889 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1890 optional.
1891 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1892 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1893 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1894 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1895 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1896 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1897 Likewise.
1898 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1899 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1900 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1901 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1902 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1903 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1904 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1905 as optional.
1906 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1907 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1908 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1909 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1910 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1911 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1912 specify as optional.
1913 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1914 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1915 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1916 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1917 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1918 [XPG3] (NL_LANGMAX): Likewise.
1919 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1920 [POSIX || XPG3] (NL_NMAX): Likewise.
1921 [POSIX || XPG3] (NL_SETMAX): Likewise.
1922 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1923 [XPG3] (NZERO): Likewise.
1924 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1925 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1926 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1927 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1928 (REG_ERANGE): Expect.
1929 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1930 optional-constant.
1931 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1932 Use (void) in prototype.
1933 [POSIX] (*_t): Allow.
1934 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1935 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1936 (WRDE_BADVAL): Expect.
1937
5ba924e3
JM
1938 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1939 expect.
1940 [XPG3 || XPG4] (O_RSYNC): Likewise.
1941 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1942 Likewise.
1943 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1944 [XPG3 || XPG4] (sigqueue): Likewise.
1945 [XPG3 || XPG4] (sigtimedwait): Likewise.
1946 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1947 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1948 [XPG3 || XPG4] (vsnprintf): Likewise.
1949 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1950 Likewise.
1951 [XPG3 || XPG4] (blksize_t): Likewise.
1952 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1953 Likewise.
1954 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1955 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1956 [XPG3 || XPG4] (struct itimerspec): Likewise.
1957 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1958 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1959 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1960 [XPG3 || XPG4] (clockid_t): Likewise.
1961 [XPG3 || XPG4] (timer_t): Likewise.
1962 [XPG3 || XPG4] (clock_getres): Likewise.
1963 [XPG3 || XPG4] (clock_gettime): Likewise.
1964 [XPG3 || XPG4] (clock_settime): Likewise.
1965 [XPG3 || XPG4] (nanosleep): Likewise.
1966 [XPG3 || XPG4] (timer_create): Likewise.
1967 [XPG3 || XPG4] (timer_delete): Likewise.
1968 [XPG3 || XPG4] (timer_gettime): Likewise.
1969 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1970 [XPG3 || XPG4] (timer_settime): Likewise.
1971 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1972 [XPG3 || XPG4] (getlogin_r): Likewise.
1973 [XPG3 || XPG4] (pread): Likewise.
1974 [XPG3 || XPG4] (pthread_atfork): Likewise.
1975 [XPG3 || XPG4] (pwrite): Likewise.
1976
ee663277
JM
1977 [BZ #14835]
1978 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1979 <bits/siginfo.h>.
1980
942caa16
PT
19812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1982
e19af380
PT
1983 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1984 finalizing MALLSTREAM.
1985
942caa16
PT
1986 * sysdeps/mach/hurd/syncfs.c: New file.
1987
cfde9b46
SP
19882012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1989
1990 [BZ #14719]
1991 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1992 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1993 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1994 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1995 (_nss_dns_gethostbyname4_r): Likewise.
1996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1997 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1998
f6da27e5
PH
19992012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2000
2001 [BZ #13763]
2002 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2003
6665d4a2
SM
20042012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2005
1f51ee92
SM
2006 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2007 * elf/cache.c (print_entry): Print ",AArch64" for
2008 FLAG_AARCH64_LIB64
2009
6665d4a2
SM
2010 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2011 * elf/cache.c (print_entry): Print ",hard-float" for
2012 FLAG_ARM_LIBHF.
2013
05b227bd
DM
20142012-11-18 David S. Miller <davem@davemloft.net>
2015
2016 With help from Joseph Myers.
2017 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2018 cutoff to 2**-13.
2019 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2020 cutoff to 2**-25.
2021 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2022 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2023 small.
2024 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2025 * math/libm-test.inc (y0_test): New tests.
2026 (y1_test): New tests.
2027 * sysdeps/i386/fpu/libm-test-ulps: Update.
2028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2030
786b0b67
AS
20312012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2032
2033 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2034 64-bit targets.
2035 * configure: Regenerated.
2036
8e18b86d
DM
20372012-11-17 David S. Miller <davem@davemloft.net>
2038
2039 [BZ #14811]
2040 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2041 nonzero exponents with absolute value below 0x1p-128 to +/-
2042 0x1p-128.
2043
531f1ae0
JM
20442012-11-17 Joseph Myers <joseph@codesourcery.com>
2045
12df29e2
JM
2046 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2047
150dc1a0
JM
2048 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2049
531f1ae0
JM
2050 * posix/getconf-speclist.c: New file.
2051 * posix/posix-envs.def: Likewise.
2052 * posix/confstr.c (START_ENV_GROUP): New macro.
2053 (END_ENV_GROUP): Likewise.
2054 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2055 (KNOWN_PRESENT_ENV_STRING): Likewise.
2056 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2057 (UNKNOWN_ENVIRONMENT): Likewise.
2058 (confstr): Include posix-envs.def instead of handling
2059 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2060 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2061 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2062 (END_ENV_GROUP): Likewise.
2063 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2064 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2065 (UNKNOWN_ENVIRONMENT): Likewise.
2066 (__sysconf): Include posix-envs.def instead of handling associated
2067 cases directly here.
2068 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2069 preprocessing getconf-speclist.c rather than running getconf or
2070 generating empty file.
2071
a93f9cbc
PT
20722012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2073
2074 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2075
d64d9f87
AL
20762012-11-16 Andrej Lajovic <natrij@gmail.com>
2077
2078 [BZ #14672]
2079 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2080
447885eb
DM
20812012-11-16 David S. Miller <davem@davemloft.net>
2082
2083 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2084 smaller than LDBL_EPSILON/2.0L, just return xm1.
2085
bcbf9830
L
20862012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2087
2088 * elf/tst-array1.c (init): Set constructor priority to 1000.
2089 (fini): Set destructor priority to 1000.
2090 * elf/tst-array2dep.c: Likewise.
2091
2b766585
SP
20922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2093
2094 [BZ #11741]
2095 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2096 (_IO_new_file_xsputn): Also return EOF if none of the input
2097 data was written when overflow failed.
2098 * libio/iopadn.c (_IO_padn): Likewise.
2099 * libio/iowpadn.c (_IO_wpadn): Likewise.
2100 * stdio-common/tst-put-error.c: Add copyright notice.
2101 (do_test): Add case for printing padded string.
2102 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2103 _IO_padn returned error.
2104 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2105 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2106 return EOF.
2107
b1848fde
SP
21082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2109
2110 * libio/libioP.h: Add comment note that the references to C++
2111 bits are now obsolete.
2112
2fd89785
MS
21132012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2114
2115 * math/libm-test.inc (check_complex): Use asprintf.
2116
e3ea5409
JM
21172012-11-14 Joseph Myers <joseph@codesourcery.com>
2118
2119 * debug/pcprofiledump.c (print_version): Update copyright year.
2120 * malloc/memusagestat.c (print_version): Likewise.
2121
2e64d265
L
21222012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2123
2124 [BZ #14831]
2125 * elf/Makefile (tests): Add tst-audit8.
2126 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2127 ($(objpfx)tst-audit8.out): New target.
2128 (tst-audit8-ENV): New variable.
2129 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2130 audit if l_reloc_result is NULL.
2131 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2132 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2133 * elf/tst-audit8.c: New file.
2134
c485e4d2
MS
21352012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2136
2137 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2138 * misc/Makefile (CFLAGS-select.c): Define.
2139 * posix/Makefile (CFLAGS-pause.c): Define.
2140
3a0d900a
DM
21412012-11-13 David S. Miller <davem@davemloft.net>
2142
2143 * crypt/Makefile: Move test targets after toplevel Rules
2144 inclusion. Grab any necessary sysdep routines when linking.
2145 * crypt/md5.c (md5_process_block): Remove define, we will always
2146 name it __md5_process_block.
2147 (md5_finish_ctx): Update md5_process_block call.
2148 (md5_stream): Likewise.
2149 (md5_process_bytes): Likewise.
2150 (md5_process_block): Rename to __md5_process_block and move to ...
2151 * crypt/md5-block.c: ... here.
2152 * crypt/sha256.c (sha256_process_block): Move to ...
2153 * crypt/sha256-block.c: ... here.
2154 * crypt/sha512.c (sha512_process_block): Move to ...
2155 * crypt/sha512-block.c: ... here.
2156 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2157 path.
2158 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2159 * sysdeps/sparc/sparc64/multiarch/Makefile
2160 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2161 crypt subdir.
2162 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2163 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2164 multiarch changes.
2165 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2166 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2167 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2168 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2169 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2170 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2171 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2172 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2173 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2174 file.
2175 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2176 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2177 file.
2178 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2179
8ca89318
JM
21802012-11-13 Joseph Myers <joseph@codesourcery.com>
2181
e27d476a
JM
2182 * timezone/tzselect.ksh: Update from tzcode git revision
2183 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2184 * timezone/zdump.c: Likewise.
2185 * timezone/zic.c: Likewise.
2186 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2187 in TZVERSION setting, not $(PKGVERSION).
2188 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2189 REPORT_BUGS_TO settings.
2190
8ca89318
JM
2191 [BZ #14838]
2192 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2193 macro.
2194
47594329
MS
21952012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2196
2197 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2198 detection to immediately after _FP_ROUND().
2199 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2200 bits are 0.
2201
640ac3f1
DM
22022012-11-11 David S. Miller <davem@davemloft.net>
2203
2204 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2205 inttypes.h
2206 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2207 __close rather than their public counterparts.
2208
3d2577bb
JM
22092012-11-10 Joseph Myers <joseph@codesourcery.com>
2210
2211 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2212 file.
2213 [UNIX98] (sem_timedwait): Do not expect.
2214 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2215 [XPG4 || UNIX98] (sockatmark): Do not expect.
2216 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2217 (clock_getcpuclockid): Do not expect.
2218 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2219 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2220 Do not expect.
2221 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2222 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2223 [UNIX98] (vwscanf): Likewise.
2224 [UNIX98] (vswscanf): Likewise.
2225
fb1ae1ee
JM
22262012-11-09 Joseph Myers <joseph@codesourcery.com>
2227
9ec6f8bd
JM
2228 * timezone/version.h: Remove file.
2229 * timezone/README: Do not refer to version.h.
2230 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2231 $(objpfx)version.h.
2232 ($(objpfx)zdump.o): Likewise.
c3f81911 2233 ($(objpfx)version.h): New target.
9ec6f8bd 2234
0aa8f8a1
JM
2235 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2236 2012i.
2237 * timezone/README: Don't mention modification to tzselect.ksh.
2238 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2239 work on unmodified tzselect.ksh. Substitute version numbers in
2240 tzselect.ksh.
2241
4e87147f
JM
2242 * Makefile (format-me): Remove.
2243 (INSTALL): Adjust indentation. Use commands directly instead of
2244 using $(format-me).
2245
8b748aed
JM
2246 * aclocal.m4 (ACX_PKGVERSION): New macro.
2247 (ACX_BUGURL): Likewise.
2248 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2249 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2250 (REPORT_BUGS_TO): Likewise.
2251 * configure: Regenerated.
2252 * config.h.in (PKGVERSION): New macro.
2253 (REPORT_BUGS_TO): Likewise.
2254 * config.make.in (PKGVERSION): New variable.
2255 (PKGVERSION_TEXI): Likewise.
2256 (REPORT_BUGS_TO): Likewise.
2257 (REPORT_BUGS_TEXI): Likewise.
2258 * Makefile (format-me): Use -I$(common-objpfx)manual.
2259 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2260 ($(common-objpfx)manual/%): New target.
2261 (manual/%): Remove target.
2262 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2263 (print_version): Use PKGVERSION.
2264 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2265 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2266 and REPORT_BUGS_TO.
2267 ($(objpfx)xtrace): Likewise.
2268 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2269 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2270 (print_version): Use PKGVERSION.
2271 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2272 (do_version): Use PKGVERSION.
2273 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2274 REPORT_BUGS_TO.
2275 (common-ldd-rewrite): Likewise.
2276 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2277 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2278 (print_version): Use PKGVERSION.
2279 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2280 * elf/pldd.c (argp_program_bug_address): Remove variable.
2281 (more_help): New function.
2282 (argp): Use more_help.
2283 (print_version): Use PKGVERSION.
2284 * elf/sln.c (main): Use PKGVERSION.
2285 (usage): Use REPORT_BUGS_TO.
2286 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2287 (top level): Use PKGVERSION.
2288 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2289 (print_version): Use PKGVERSION.
2290 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2291 (print_version): Use PKGVERSION.
2292 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2293 (print_version): Use PKGVERSION.
2294 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2295 (print_version): Use PKGVERSION.
2296 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2297 (print_version): Use PKGVERSION.
2298 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2299 (print_version): Use PKGVERSION.
2300 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2301 and BUGURL.
2302 ($(objpfx)memusage): Likewise.
2303 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2304 (do_version): Use PKGVERSION.
2305 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2306 (print_version): Use PKGVERSION.
2307 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2308 ($PKGVERSION): New variable.
2309 ($REPORT_BUGS_TO): Likewise.
2310 (usage): Use $REPORT_BUGS_TO.
2311 (top level): Use $PKGVERSION.
2312 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2313 ($(objpfx)pkgvers.texi): New rule.
2314 ($(objpfx)stamp-pkgvers): Likewise.
2315 * manual/install.texi: Include pkgvers.texi.
2316 (--with-pkgversion): Document new configure option.
2317 (--with-bugurl): Likewise.
2318 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2319 than necessarily for this particular distribution. Use
2320 REPORT_BUGS_TO for where to report bugs.
2321 * INSTALL: Regenerated.
2322 * manual/libc.texinfo: Include pkgvers.texi.
2323 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2324 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2325 (print_version): Use PKGVERSION.
2326 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2327 (print_version): Use PKGVERSION.
2328 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2329 (print_version): Use PKGVERSION.
2330 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2331 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2332 macro.
2333 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2334 (print_version): Use PKGVERSION.
2335 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2336 (print_version): Use PKGVERSION.
2337 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2338 and PKGVERSION.
2339
92e4b6a9
JM
2340 * timezone/checktab.awk: Update from tzcode 2012i.
2341 * timezone/ialloc.c: Likewise.
2342 * timezone/private.h: Likewise.
2343 * timezone/scheck.c: Likewise.
2344 * timezone/tzfile.h: Likewise.
2345 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2346 (TZVERSION): Hardcode tzcode version number.
2347 * timezone/zdump.c: Update from tzcode 2012i.
2348 * timezone/zic.c: Likewise.
2349 * timezone/version.h: New file.
2350 * timezone/README: Describe version.h. Update upstream location.
2351
9bde902c
JM
2352 [BZ #14824]
2353 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2354 (mktemp): Enable declaration.
2355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2356 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2358 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2359 Likewise.
2360 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2361 Likewise.
2362 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2363 Likewise.
2364 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2365 Likewise.
2366 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2367 Likewise.
2368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2369 Likewise.
2370
fb1ae1ee
JM
2371 [BZ #14821]
2372 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2373 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2374 for copies of such integer values.
2375 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2376 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2377
2c1adbcb
AJ
23782012-11-09 Andreas Jaeger <aj@suse.de>
2379
2380 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2381 definitions and declarations that are provided by
2382 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2383
d0f8457e
AK
23842012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2385
3a235abb 2386 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2387 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2388 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2389 definition.
2390
57241e26
MS
23912012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2392
2393 * elf/elf.h: Update comment before AArch64 relocations.
2394
60e8270d
DM
23952012-11-07 David S. Miller <davem@davemloft.net>
2396
2397 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2398 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2399 (__start_context): Declare.
2400 (__makecontext_ret): Delete.
2401 (__makecontext): Hook up __start_context instead of
2402 __makecontext_ret.
2403 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2404 (sysdep_routines): Add __start_context when in stdlib.
2405
0fbb0fbc
JM
24062012-11-07 Joseph Myers <joseph@codesourcery.com>
2407
2408 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2409 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2410 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2411 hardcoded "nm".
2412 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2413 (READELF): New variable. Use it instead of hardcoded "readelf".
2414
eb48db7e
L
24152012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2416
2417 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2418 * sysdeps/x86/Makefile: Here.
2419 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2420 * sysdeps/x86/tst-xmmymm.sh: This.
2421
05bcf62a
JM
24222012-11-07 Joseph Myers <joseph@codesourcery.com>
2423
c4b6cf53
JM
2424 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2425 expectations.
2426 [UNIX98] (pthread_barrier_t): Do not expect.
2427 [UNIX98] (pthread_barrierattr_t): Likewise.
2428 [UNIX98] (pthread_spinlock_t): Likewise.
2429 [UNIX98] (pthread_barrier_destroy): Likewise.
2430 [UNIX98] (pthread_barrier_init): Likewise.
2431 [UNIX98] (pthread_barrier_wait): Likewise.
2432 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2433 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2434 [UNIX98] (pthread_barrierattr_init): Likewise.
2435 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2436 [UNIX98] (pthread_getcpuclockid): Likewise.
2437 [UNIX98] (pthread_mutex_timedlock): Likewise.
2438 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2439 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2440 [UNIX98] (pthread_sigmask): Likewise.
2441 [UNIX98] (pthread_spin_destroy): Likewise.
2442 [UNIX98] (pthread_spin_init): Likewise.
2443 [UNIX98] (pthread_spin_lock): Likewise.
2444 [UNIX98] (pthread_spin_trylock): Likewise.
2445 [UNIX98] (pthread_spin_unlock): Likewise.
2446 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2447 Do not expect.
2448 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2449 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2450 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2451 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2452 [XPG3 || XPG4] (pthread_key_t): Likewise.
2453 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2454 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2455 [XPG3 || XPG4] (pthread_once_t): Likewise.
2456 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2457 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2458 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2459 [XPG3 || XPG4] (pthread_t): Likewise.
2460
cbe6e120
JM
2461 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2462 not expect.
2463 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2464
1b126443
JM
2465 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2466 Change function return type to int.
2467
b961a573
JM
2468 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2469 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2470 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2471 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2472 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2473 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2474 [!POSIX] (posix_madvise): Likewise.
2475 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2476 && !UNIX98].
2477 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2478 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2479 (mode_t): Likewise.
2480 (posix_mem_offset): Likewise.
2481 (posix_typed_mem_get_info): Likewise.
2482 (posix_typed_mem_open): Likewise.
2483
9e188909
JM
2484 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2485 Change condition to [XOPEN2K8].
2486
05bcf62a
JM
2487 * conform/conformtest.pl: Preprocess allow-header data with -x c
2488 instead of from stdin.
2489 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2490 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2491 [C99-based standards] (cerfc): Likewise.
2492 [C99-based standards] (cexp2): Likewise.
2493 [C99-based standards] (cexpm1): Likewise.
2494 [C99-based standards] (clog10): Likewise.
2495 [C99-based standards] (clog1p): Likewise.
2496 [C99-based standards] (clog2): Likewise.
2497 [C99-based standards] (clgamma): Likewise.
2498 [C99-based standards] (ctgamma): Likewise.
2499 [C99-based standards] (cerff): Likewise.
2500 [C99-based standards] (cerfcf): Likewise.
2501 [C99-based standards] (cexp2f): Likewise.
2502 [C99-based standards] (cexpm1f): Likewise.
2503 [C99-based standards] (clog10f): Likewise.
2504 [C99-based standards] (clog1pf): Likewise.
2505 [C99-based standards] (clog2f): Likewise.
2506 [C99-based standards] (clgammaf): Likewise.
2507 [C99-based standards] (ctgammaf): Likewise.
2508 [C99-based standards] (cerfl): Likewise.
2509 [C99-based standards] (cerfcl): Likewise.
2510 [C99-based standards] (cexp2l): Likewise.
2511 [C99-based standards] (cexpm1l): Likewise.
2512 [C99-based standards] (clog10l): Likewise.
2513 [C99-based standards] (clog1pl): Likewise.
2514 [C99-based standards] (clog2l): Likewise.
2515 [C99-based standards] (clgammal): Likewise.
2516 [C99-based standards] (ctgammal): Likewise.
2517 * conform/data/inttypes.h-data [C99-based standards]: Include
2518 stdint.h-data. Remove all expectations for stdint.h contents.
2519 [C99-based standards] (PRI*): Do not allow.
2520 [C99-based standards] (SCN*): Likewise.
2521 [C99-based standards] (*_t): Likewise.
2522 [C99-based-standards] (PRId8): Expect macro.
2523 [C99-based-standards] (PRIi8): Likewise.
2524 [C99-based-standards] (PRIo8): Likewise.
2525 [C99-based-standards] (PRIu8): Likewise.
2526 [C99-based-standards] (PRIx8): Likewise.
2527 [C99-based-standards] (PRIX8): Likewise.
2528 [C99-based-standards] (SCNd8): Likewise.
2529 [C99-based-standards] (SCNi8): Likewise.
2530 [C99-based-standards] (SCNo8): Likewise.
2531 [C99-based-standards] (SCNu8): Likewise.
2532 [C99-based-standards] (SCNx8): Likewise.
2533 [C99-based-standards] (PRIdLEAST8): Likewise.
2534 [C99-based-standards] (PRIiLEAST8): Likewise.
2535 [C99-based-standards] (PRIoLEAST8): Likewise.
2536 [C99-based-standards] (PRIuLEAST8): Likewise.
2537 [C99-based-standards] (PRIxLEAST8): Likewise.
2538 [C99-based-standards] (PRIXLEAST8): Likewise.
2539 [C99-based-standards] (SCNdLEAST8): Likewise.
2540 [C99-based-standards] (SCNiLEAST8): Likewise.
2541 [C99-based-standards] (SCNoLEAST8): Likewise.
2542 [C99-based-standards] (SCNuLEAST8): Likewise.
2543 [C99-based-standards] (SCNxLEAST8): Likewise.
2544 [C99-based-standards] (PRIdFAST8): Likewise.
2545 [C99-based-standards] (PRIiFAST8): Likewise.
2546 [C99-based-standards] (PRIoFAST8): Likewise.
2547 [C99-based-standards] (PRIuFAST8): Likewise.
2548 [C99-based-standards] (PRIxFAST8): Likewise.
2549 [C99-based-standards] (PRIXFAST8): Likewise.
2550 [C99-based-standards] (SCNdFAST8): Likewise.
2551 [C99-based-standards] (SCNiFAST8): Likewise.
2552 [C99-based-standards] (SCNoFAST8): Likewise.
2553 [C99-based-standards] (SCNuFAST8): Likewise.
2554 [C99-based-standards] (SCNxFAST8): Likewise.
2555 [C99-based-standards] (PRId16): Likewise.
2556 [C99-based-standards] (PRIi16): Likewise.
2557 [C99-based-standards] (PRIo16): Likewise.
2558 [C99-based-standards] (PRIu16): Likewise.
2559 [C99-based-standards] (PRIx16): Likewise.
2560 [C99-based-standards] (PRIX16): Likewise.
2561 [C99-based-standards] (SCNd16): Likewise.
2562 [C99-based-standards] (SCNi16): Likewise.
2563 [C99-based-standards] (SCNo16): Likewise.
2564 [C99-based-standards] (SCNu16): Likewise.
2565 [C99-based-standards] (SCNx16): Likewise.
2566 [C99-based-standards] (PRIdLEAST16): Likewise.
2567 [C99-based-standards] (PRIiLEAST16): Likewise.
2568 [C99-based-standards] (PRIoLEAST16): Likewise.
2569 [C99-based-standards] (PRIuLEAST16): Likewise.
2570 [C99-based-standards] (PRIxLEAST16): Likewise.
2571 [C99-based-standards] (PRIXLEAST16): Likewise.
2572 [C99-based-standards] (SCNdLEAST16): Likewise.
2573 [C99-based-standards] (SCNiLEAST16): Likewise.
2574 [C99-based-standards] (SCNoLEAST16): Likewise.
2575 [C99-based-standards] (SCNuLEAST16): Likewise.
2576 [C99-based-standards] (SCNxLEAST16): Likewise.
2577 [C99-based-standards] (PRIdFAST16): Likewise.
2578 [C99-based-standards] (PRIiFAST16): Likewise.
2579 [C99-based-standards] (PRIoFAST16): Likewise.
2580 [C99-based-standards] (PRIuFAST16): Likewise.
2581 [C99-based-standards] (PRIxFAST16): Likewise.
2582 [C99-based-standards] (PRIXFAST16): Likewise.
2583 [C99-based-standards] (SCNdFAST16): Likewise.
2584 [C99-based-standards] (SCNiFAST16): Likewise.
2585 [C99-based-standards] (SCNoFAST16): Likewise.
2586 [C99-based-standards] (SCNuFAST16): Likewise.
2587 [C99-based-standards] (SCNxFAST16): Likewise.
2588 [C99-based-standards] (PRId32): Likewise.
2589 [C99-based-standards] (PRIi32): Likewise.
2590 [C99-based-standards] (PRIo32): Likewise.
2591 [C99-based-standards] (PRIu32): Likewise.
2592 [C99-based-standards] (PRIx32): Likewise.
2593 [C99-based-standards] (PRIX32): Likewise.
2594 [C99-based-standards] (SCNd32): Likewise.
2595 [C99-based-standards] (SCNi32): Likewise.
2596 [C99-based-standards] (SCNo32): Likewise.
2597 [C99-based-standards] (SCNu32): Likewise.
2598 [C99-based-standards] (SCNx32): Likewise.
2599 [C99-based-standards] (PRIdLEAST32): Likewise.
2600 [C99-based-standards] (PRIiLEAST32): Likewise.
2601 [C99-based-standards] (PRIoLEAST32): Likewise.
2602 [C99-based-standards] (PRIuLEAST32): Likewise.
2603 [C99-based-standards] (PRIxLEAST32): Likewise.
2604 [C99-based-standards] (PRIXLEAST32): Likewise.
2605 [C99-based-standards] (SCNdLEAST32): Likewise.
2606 [C99-based-standards] (SCNiLEAST32): Likewise.
2607 [C99-based-standards] (SCNoLEAST32): Likewise.
2608 [C99-based-standards] (SCNuLEAST32): Likewise.
2609 [C99-based-standards] (SCNxLEAST32): Likewise.
2610 [C99-based-standards] (PRIdFAST32): Likewise.
2611 [C99-based-standards] (PRIiFAST32): Likewise.
2612 [C99-based-standards] (PRIoFAST32): Likewise.
2613 [C99-based-standards] (PRIuFAST32): Likewise.
2614 [C99-based-standards] (PRIxFAST32): Likewise.
2615 [C99-based-standards] (PRIXFAST32): Likewise.
2616 [C99-based-standards] (SCNdFAST32): Likewise.
2617 [C99-based-standards] (SCNiFAST32): Likewise.
2618 [C99-based-standards] (SCNoFAST32): Likewise.
2619 [C99-based-standards] (SCNuFAST32): Likewise.
2620 [C99-based-standards] (SCNxFAST32): Likewise.
2621 [C99-based-standards] (PRId64): Likewise.
2622 [C99-based-standards] (PRIi64): Likewise.
2623 [C99-based-standards] (PRIo64): Likewise.
2624 [C99-based-standards] (PRIu64): Likewise.
2625 [C99-based-standards] (PRIx64): Likewise.
2626 [C99-based-standards] (PRIX64): Likewise.
2627 [C99-based-standards] (SCNd64): Likewise.
2628 [C99-based-standards] (SCNi64): Likewise.
2629 [C99-based-standards] (SCNo64): Likewise.
2630 [C99-based-standards] (SCNu64): Likewise.
2631 [C99-based-standards] (SCNx64): Likewise.
2632 [C99-based-standards] (PRIdLEAST64): Likewise.
2633 [C99-based-standards] (PRIiLEAST64): Likewise.
2634 [C99-based-standards] (PRIoLEAST64): Likewise.
2635 [C99-based-standards] (PRIuLEAST64): Likewise.
2636 [C99-based-standards] (PRIxLEAST64): Likewise.
2637 [C99-based-standards] (PRIXLEAST64): Likewise.
2638 [C99-based-standards] (SCNdLEAST64): Likewise.
2639 [C99-based-standards] (SCNiLEAST64): Likewise.
2640 [C99-based-standards] (SCNoLEAST64): Likewise.
2641 [C99-based-standards] (SCNuLEAST64): Likewise.
2642 [C99-based-standards] (SCNxLEAST64): Likewise.
2643 [C99-based-standards] (PRIdFAST64): Likewise.
2644 [C99-based-standards] (PRIiFAST64): Likewise.
2645 [C99-based-standards] (PRIoFAST64): Likewise.
2646 [C99-based-standards] (PRIuFAST64): Likewise.
2647 [C99-based-standards] (PRIxFAST64): Likewise.
2648 [C99-based-standards] (PRIXFAST64): Likewise.
2649 [C99-based-standards] (SCNdFAST64): Likewise.
2650 [C99-based-standards] (SCNiFAST64): Likewise.
2651 [C99-based-standards] (SCNoFAST64): Likewise.
2652 [C99-based-standards] (SCNuFAST64): Likewise.
2653 [C99-based-standards] (SCNxFAST64): Likewise.
2654 [C99-based-standards] (PRIdMAX): Likewise.
2655 [C99-based-standards] (PRIiMAX): Likewise.
2656 [C99-based-standards] (PRIoMAX): Likewise.
2657 [C99-based-standards] (PRIuMAX): Likewise.
2658 [C99-based-standards] (PRIxMAX): Likewise.
2659 [C99-based-standards] (PRIXMAX): Likewise.
2660 [C99-based-standards] (SCNdMAX): Likewise.
2661 [C99-based-standards] (SCNiMAX): Likewise.
2662 [C99-based-standards] (SCNoMAX): Likewise.
2663 [C99-based-standards] (SCNuMAX): Likewise.
2664 [C99-based-standards] (SCNxMAX): Likewise.
2665 [C99-based-standards] (PRIdPTR): Likewise.
2666 [C99-based-standards] (PRIiPTR): Likewise.
2667 [C99-based-standards] (PRIoPTR): Likewise.
2668 [C99-based-standards] (PRIuPTR): Likewise.
2669 [C99-based-standards] (PRIxPTR): Likewise.
2670 [C99-based-standards] (PRIXPTR): Likewise.
2671 [C99-based-standards] (SCNdPTR): Likewise.
2672 [C99-based-standards] (SCNiPTR): Likewise.
2673 [C99-based-standards] (SCNoPTR): Likewise.
2674 [C99-based-standards] (SCNuPTR): Likewise.
2675 [C99-based-standards] (SCNxPTR): Likewise.
2676 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2677 allow.
2678 * conform/data/stdint.h-data: Update comments to clarify
2679 requirements.
2680 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2681 type.
2682 [C99-based standards] (INT8_MAX): Likewise.
2683 [C99-based standards] (INT16_MIN): Likewise.
2684 [C99-based standards] (INT16_MAX): Likewise.
2685 [C99-based standards] (INT32_MIN): Likewise.
2686 [C99-based standards] (INT32_MAX): Likewise.
2687 [C99-based standards] (INT64_MIN): Likewise.
2688 [C99-based standards] (INT64_MAX): Likewise.
2689 [C99-based standards] (UINT8_MAX): Likewise.
2690 [C99-based standards] (UINT16_MAX): Likewise.
2691 [C99-based standards] (UINT32_MAX): Likewise.
2692 [C99-based standards] (UINT64_MAX): Likewise.
2693 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2694 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2695 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2696 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2697 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2698 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2699 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2700 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2701 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2702 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2703 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2704 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2705 [C99-based standards] (INT_FAST8_MIN): Likewise.
2706 [C99-based standards] (INT_FAST8_MAX): Likewise.
2707 [C99-based standards] (INT_FAST16_MIN): Likewise.
2708 [C99-based standards] (INT_FAST16_MAX): Likewise.
2709 [C99-based standards] (INT_FAST32_MIN): Likewise.
2710 [C99-based standards] (INT_FAST32_MAX): Likewise.
2711 [C99-based standards] (INT_FAST64_MIN): Likewise.
2712 [C99-based standards] (INT_FAST64_MAX): Likewise.
2713 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2714 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2715 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2716 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2717 [C99-based standards] (INTPTR_MIN): Likewise.
2718 [C99-based standards] (INTPTR_MAX): Likewise.
2719 [C99-based standards] (UINTPTR_MAX): Likewise.
2720 [C99-based standards] (INTMAX_MIN): Likewise.
2721 [C99-based standards] (INTMAX_MAX): Likewise.
2722 [C99-based standards] (UINTMAX_MAX): Likewise.
2723 [C99-based standards] (PTRDIFF_MIN): Likewise.
2724 [C99-based standards] (PTRDIFF_MAX): Likewise.
2725 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2726 [C99-based standards] (SIZE_MAX): Likewise.
2727 [C99-based standards] (WCHAR_MAX): Likewise.
2728 [C99-based standards] (WINT_MAX): Likewise.
2729 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2730 constraint on value.
2731 [C99-based standards] (WCHAR_MIN): Likewise.
2732 [C99-based standards] (WINT_MIN): Likewise.
2733 [C99-based standards] (*_t): Allow.
2734 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2735 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2736 Include math.h-data and complex.h-data. Remove all expectations
2737 of math.h and complex.h contents.
2738 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2739 at end of line.
2740 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2741 (struct tm): Expect tag.
2742 [C99-based-standards] (wcstof): Expect function.
2743 [C99-based-standards] (wcstold): Likewise.
2744 [C99-based-standards] (wcstoll): Likewise.
2745 [C99-based-standards] (wcstoull): Likewise.
2746 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2747 macro-int-constant. Specify type.
2748 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2749 constraint on value.
2750 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2751 Specify type.
2752 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2753 Specify value.
2754 [ISO C standards]: Do not allow headers.
2755 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2756 wcs[abcdefghijklmnopqrstuvwxyz]*.
2757 [ISO C standards] (*_t): Do not allow.
2758 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2759 Expect function.
2760 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2761 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2762 Specify type.
2763 [ISO C standards]: Do not allow headers.
2764 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2765 is[abcdefghijklmnopqrstuvwxyz]*.
2766 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2767 to[abcdefghijklmnopqrstuvwxyz]*.
2768 [ISO C standards] (*_t): Do not allow.
2769 * conform/data/stdalign.h-data: New file.
2770 * conform/data/stdbool.h-data: Likewise.
2771 * conform/data/stdnoreturn.h-data: Likewise.
2772
7514feb8
RM
27732012-11-07 Roland McGrath <roland@hack.frob.com>
2774
2775 [BZ #14815]
2776 * manual/filesys.texi (Directory Entries): Typo fix.
2777 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2778
19b2ecfc
MS
27792012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2780
2781 * elf/elf.h (EM_AARCH64): New macro.
2782 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2783 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2784 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2785 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2786 (R_AARCH64_TLSDESC): Likewise.
2787 (NT_ARM_TLS): Likewise.
2788 (NT_ARM_HW_BREAK): Likewise.
2789 (NT_ARM_HW_WATCH): Likewise.
2790
60e235ee
JM
27912012-11-07 Joseph Myers <joseph@codesourcery.com>
2792
2793 [BZ #14811]
2794 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2795 (__ieee754_powl): Saturate nonzero exponents with absolute value
2796 below 0x1p-79 to +/- 0x1p-79.
2797 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2798 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2799 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2800 nonzero exponents with absolute value below 0x1p-32 to +/-
2801 0x1p-32.
2802 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2803 (__ieee754_powl): Saturate nonzero exponents with absolute value
2804 below 0x1p-79 to +/- 0x1p-79.
2805 * math/libm-test.inc (pow_test): Add more tests.
2806
0ab234b7
AK
28072012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2808
2809 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2810 _dl_s390_cap_flags with kernel. Increase string length.
2811 (_dl_s390_platforms): Add z196 and zEC12.
2812
45832f74
JM
28132012-11-07 Joseph Myers <joseph@codesourcery.com>
2814
2815 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2816 Change XOPEN21K to XOPEN2K.
2817
19218757
MK
28182012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2819
2820 * string/memmove.c: Use memcpy when possible.
2821
c5f45721
AJ
28222012-11-06 Andreas Jaeger <aj@suse.de>
2823
2824 * po/eo.po: Update from translation team.
2825
82477c28
JM
28262012-11-06 Joseph Myers <joseph@codesourcery.com>
2827
2828 [BZ #14793]
2829 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2830 exponent and small x and y exponents, scale x or y up. Increase
2831 by 2 the exponent used in scaling up.
2832 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2833 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2834 * math/libm-test.inc (fma_test): Add more tests.
2835 (fma_test_towardzero): Likewise.
2836 (fma_test_downward): Likewise.
2837 (fma_test_upward): Likewise.
2838
99252c8c
JM
28392012-11-05 Joseph Myers <joseph@codesourcery.com>
2840
acfa885f
JM
2841 [BZ #14805]
2842 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2843 fenv_t *.
2844
99252c8c
JM
2845 [BZ #14801]
2846 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2847 namespace for names of struct fields.
2848 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2849 fenv_t fields.
2850 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2851 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2852
d6d98dea
ST
28532012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2854
2855 [BZ #3665]
2856 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2857
e10bb107
TS
28582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2859
2860 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2861 PTR_DEMANGLE.
2862
2863 [BZ #5246]
2864 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2865 PTR_DEMANGLE.
2866
a0c2940d
JM
28672012-11-04 Joseph Myers <joseph@codesourcery.com>
2868
2869 [BZ #14797]
2870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2871 definitely overflow as x * y not x * y + z.
2872 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2873 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2874 * math/libm-test.inc (fma_test): Add more tests.
2875 (fma_test_towardzero): Likewise.
2876 (fma_test_downward): Likewise.
2877 (fma_test_upward): Likewise.
2878
b830319d
TS
28792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2880
2881 [BZ #157]
2882
2883 * include/stub-tag.h: Remove file.
2884 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2885 '#include' of it.
2886 * manual/maint.texi (Porting): Don't reference it.
2887 * Makerules ($(objpfx)stubs): Likewise.
2888 * dirent/closedir.c: Don't include <stub-tag.h>.
2889 * dirent/dirfd.c: Likewise.
2890 * dirent/fdopendir.c: Likewise.
2891 * dirent/getdents.c: Likewise.
2892 * dirent/getdents64.c: Likewise.
2893 * dirent/opendir.c: Likewise.
2894 * dirent/readdir.c: Likewise.
2895 * dirent/readdir64.c: Likewise.
2896 * dirent/readdir64_r.c: Likewise.
2897 * dirent/readdir_r.c: Likewise.
2898 * dirent/rewinddir.c: Likewise.
2899 * dirent/seekdir.c: Likewise.
2900 * dirent/telldir.c: Likewise.
2901 * gmon/profil.c: Likewise.
2902 * grp/setgroups.c: Likewise.
2903 * inet/if_index.c: Likewise.
2904 * io/access.c: Likewise.
2905 * io/chdir.c: Likewise.
2906 * io/chmod.c: Likewise.
2907 * io/chown.c: Likewise.
2908 * io/close.c: Likewise.
2909 * io/dup.c: Likewise.
2910 * io/dup2.c: Likewise.
2911 * io/dup3.c: Likewise.
2912 * io/euidaccess.c: Likewise.
2913 * io/faccessat.c: Likewise.
2914 * io/fchdir.c: Likewise.
2915 * io/fchmod.c: Likewise.
2916 * io/fchmodat.c: Likewise.
2917 * io/fchown.c: Likewise.
2918 * io/fchownat.c: Likewise.
2919 * io/fcntl.c: Likewise.
2920 * io/flock.c: Likewise.
2921 * io/fstatfs.c: Likewise.
2922 * io/fstatfs64.c: Likewise.
2923 * io/fstatvfs.c: Likewise.
2924 * io/fstatvfs64.c: Likewise.
2925 * io/futimens.c: Likewise.
2926 * io/fxstat.c: Likewise.
2927 * io/fxstat64.c: Likewise.
2928 * io/fxstatat.c: Likewise.
2929 * io/fxstatat64.c: Likewise.
2930 * io/getcwd.c: Likewise.
2931 * io/isatty.c: Likewise.
2932 * io/lchmod.c: Likewise.
2933 * io/lchown.c: Likewise.
2934 * io/link.c: Likewise.
2935 * io/linkat.c: Likewise.
2936 * io/lseek.c: Likewise.
2937 * io/lseek64.c: Likewise.
2938 * io/lxstat64.c: Likewise.
2939 * io/mkdir.c: Likewise.
2940 * io/mkdirat.c: Likewise.
2941 * io/mkfifo.c: Likewise.
2942 * io/mkfifoat.c: Likewise.
2943 * io/open.c: Likewise.
2944 * io/open64.c: Likewise.
2945 * io/openat.c: Likewise.
2946 * io/openat64.c: Likewise.
2947 * io/pipe.c: Likewise.
2948 * io/pipe2.c: Likewise.
2949 * io/poll.c: Likewise.
2950 * io/posix_fadvise.c: Likewise.
2951 * io/posix_fadvise64.c: Likewise.
2952 * io/posix_fallocate.c: Likewise.
2953 * io/posix_fallocate64.c: Likewise.
2954 * io/read.c: Likewise.
2955 * io/readlink.c: Likewise.
2956 * io/readlinkat.c: Likewise.
2957 * io/rmdir.c: Likewise.
2958 * io/sendfile.c: Likewise.
2959 * io/sendfile64.c: Likewise.
2960 * io/statfs.c: Likewise.
2961 * io/statfs64.c: Likewise.
2962 * io/statvfs.c: Likewise.
2963 * io/statvfs64.c: Likewise.
2964 * io/symlink.c: Likewise.
2965 * io/symlinkat.c: Likewise.
2966 * io/ttyname.c: Likewise.
2967 * io/ttyname_r.c: Likewise.
2968 * io/umask.c: Likewise.
2969 * io/unlink.c: Likewise.
2970 * io/unlinkat.c: Likewise.
2971 * io/utime.c: Likewise.
2972 * io/utimensat.c: Likewise.
2973 * io/write.c: Likewise.
2974 * io/xmknod.c: Likewise.
2975 * io/xmknodat.c: Likewise.
2976 * io/xstat.c: Likewise.
2977 * io/xstat64.c: Likewise.
2978 * login/getpt.c: Likewise.
2979 * login/grantpt.c: Likewise.
2980 * login/unlockpt.c: Likewise.
2981 * math/e_acoshl.c: Likewise.
2982 * math/e_acosl.c: Likewise.
2983 * math/e_asinl.c: Likewise.
2984 * math/e_atan2l.c: Likewise.
2985 * math/e_atanhl.c: Likewise.
2986 * math/e_coshl.c: Likewise.
2987 * math/e_expl.c: Likewise.
2988 * math/e_fmodl.c: Likewise.
2989 * math/e_gammal_r.c: Likewise.
2990 * math/e_hypotl.c: Likewise.
2991 * math/e_j0l.c: Likewise.
2992 * math/e_j1l.c: Likewise.
2993 * math/e_jnl.c: Likewise.
2994 * math/e_lgammal_r.c: Likewise.
2995 * math/e_log10l.c: Likewise.
2996 * math/e_log2l.c: Likewise.
2997 * math/e_logl.c: Likewise.
2998 * math/e_powl.c: Likewise.
2999 * math/e_rem_pio2l.c: Likewise.
3000 * math/e_sinhl.c: Likewise.
3001 * math/e_sqrtl.c: Likewise.
3002 * math/fclrexcpt.c: Likewise.
3003 * math/fedisblxcpt.c: Likewise.
3004 * math/feenablxcpt.c: Likewise.
3005 * math/fegetenv.c: Likewise.
3006 * math/fegetexcept.c: Likewise.
3007 * math/fegetround.c: Likewise.
3008 * math/feholdexcpt.c: Likewise.
3009 * math/fesetenv.c: Likewise.
3010 * math/fesetround.c: Likewise.
3011 * math/feupdateenv.c: Likewise.
3012 * math/fgetexcptflg.c: Likewise.
3013 * math/fraiseexcpt.c: Likewise.
3014 * math/fsetexcptflg.c: Likewise.
3015 * math/ftestexcept.c: Likewise.
3016 * math/k_cosl.c: Likewise.
3017 * math/k_rem_pio2l.c: Likewise.
3018 * math/k_sinl.c: Likewise.
3019 * math/k_tanl.c: Likewise.
3020 * math/s_asinhl.c: Likewise.
3021 * math/s_atanl.c: Likewise.
3022 * math/s_cbrtl.c: Likewise.
3023 * math/s_erfl.c: Likewise.
3024 * math/s_expm1l.c: Likewise.
3025 * math/s_log1pl.c: Likewise.
3026 * math/s_tanhl.c: Likewise.
3027 * misc/acct.c: Likewise.
3028 * misc/brk.c: Likewise.
3029 * misc/chflags.c: Likewise.
3030 * misc/chroot.c: Likewise.
3031 * misc/fchflags.c: Likewise.
3032 * misc/fgetxattr.c: Likewise.
3033 * misc/flistxattr.c: Likewise.
3034 * misc/fremovexattr.c: Likewise.
3035 * misc/fsetxattr.c: Likewise.
3036 * misc/fsync.c: Likewise.
3037 * misc/ftruncate.c: Likewise.
3038 * misc/futimes.c: Likewise.
3039 * misc/futimesat.c: Likewise.
3040 * misc/getdomain.c: Likewise.
3041 * misc/getdtsz.c: Likewise.
3042 * misc/gethostid.c: Likewise.
3043 * misc/gethostname.c: Likewise.
3044 * misc/getloadavg.c: Likewise.
3045 * misc/getpagesize.c: Likewise.
3046 * misc/getsysstats.c: Likewise.
3047 * misc/getxattr.c: Likewise.
3048 * misc/gtty.c: Likewise.
3049 * misc/ioctl.c: Likewise.
3050 * misc/lgetxattr.c: Likewise.
3051 * misc/listxattr.c: Likewise.
3052 * misc/llistxattr.c: Likewise.
3053 * misc/lremovexattr.c: Likewise.
3054 * misc/lsetxattr.c: Likewise.
3055 * misc/lutimes.c: Likewise.
3056 * misc/madvise.c: Likewise.
3057 * misc/mincore.c: Likewise.
3058 * misc/mlock.c: Likewise.
3059 * misc/mlockall.c: Likewise.
3060 * misc/mmap.c: Likewise.
3061 * misc/mprotect.c: Likewise.
3062 * misc/msync.c: Likewise.
3063 * misc/munlock.c: Likewise.
3064 * misc/munlockall.c: Likewise.
3065 * misc/munmap.c: Likewise.
3066 * misc/preadv.c: Likewise.
3067 * misc/preadv64.c: Likewise.
3068 * misc/ptrace.c: Likewise.
3069 * misc/pwritev.c: Likewise.
3070 * misc/pwritev64.c: Likewise.
3071 * misc/readv.c: Likewise.
3072 * misc/reboot.c: Likewise.
3073 * misc/remap_file_pages.c: Likewise.
3074 * misc/removexattr.c: Likewise.
3075 * misc/revoke.c: Likewise.
3076 * misc/select.c: Likewise.
3077 * misc/setdomain.c: Likewise.
3078 * misc/setegid.c: Likewise.
3079 * misc/seteuid.c: Likewise.
3080 * misc/sethostid.c: Likewise.
3081 * misc/sethostname.c: Likewise.
3082 * misc/setregid.c: Likewise.
3083 * misc/setreuid.c: Likewise.
3084 * misc/setxattr.c: Likewise.
3085 * misc/sstk.c: Likewise.
3086 * misc/stty.c: Likewise.
3087 * misc/swapoff.c: Likewise.
3088 * misc/swapon.c: Likewise.
3089 * misc/sync.c: Likewise.
3090 * misc/syncfs.c: Likewise.
3091 * misc/syscall.c: Likewise.
3092 * misc/truncate.c: Likewise.
3093 * misc/ualarm.c: Likewise.
3094 * misc/usleep.c: Likewise.
3095 * misc/ustat.c: Likewise.
3096 * misc/utimes.c: Likewise.
3097 * misc/vhangup.c: Likewise.
3098 * misc/writev.c: Likewise.
3099 * posix/_exit.c: Likewise.
3100 * posix/alarm.c: Likewise.
3101 * posix/execve.c: Likewise.
3102 * posix/fexecve.c: Likewise.
3103 * posix/fork.c: Likewise.
3104 * posix/fpathconf.c: Likewise.
3105 * posix/getaddrinfo.c: Likewise.
3106 * posix/getegid.c: Likewise.
3107 * posix/geteuid.c: Likewise.
3108 * posix/getgid.c: Likewise.
3109 * posix/getgroups.c: Likewise.
3110 * posix/getlogin.c: Likewise.
3111 * posix/getlogin_r.c: Likewise.
3112 * posix/getpgid.c: Likewise.
3113 * posix/getpid.c: Likewise.
3114 * posix/getppid.c: Likewise.
3115 * posix/getresgid.c: Likewise.
3116 * posix/getresuid.c: Likewise.
3117 * posix/getsid.c: Likewise.
3118 * posix/getuid.c: Likewise.
3119 * posix/glob64.c: Likewise.
3120 * posix/nanosleep.c: Likewise.
3121 * posix/pathconf.c: Likewise.
3122 * posix/pause.c: Likewise.
3123 * posix/posix_madvise.c: Likewise.
3124 * posix/pread.c: Likewise.
3125 * posix/pread64.c: Likewise.
3126 * posix/pwrite.c: Likewise.
3127 * posix/pwrite64.c: Likewise.
3128 * posix/sched_getaffinity.c: Likewise.
3129 * posix/sched_getp.c: Likewise.
3130 * posix/sched_gets.c: Likewise.
3131 * posix/sched_primax.c: Likewise.
3132 * posix/sched_primin.c: Likewise.
3133 * posix/sched_rr_gi.c: Likewise.
3134 * posix/sched_setaffinity.c: Likewise.
3135 * posix/sched_setp.c: Likewise.
3136 * posix/sched_sets.c: Likewise.
3137 * posix/sched_yield.c: Likewise.
3138 * posix/setgid.c: Likewise.
3139 * posix/setlogin.c: Likewise.
3140 * posix/setpgid.c: Likewise.
3141 * posix/setresgid.c: Likewise.
3142 * posix/setresuid.c: Likewise.
3143 * posix/setsid.c: Likewise.
3144 * posix/setuid.c: Likewise.
3145 * posix/sleep.c: Likewise.
3146 * posix/spawni.c: Likewise.
3147 * posix/sysconf.c: Likewise.
3148 * posix/times.c: Likewise.
3149 * posix/wait.c: Likewise.
3150 * posix/wait3.c: Likewise.
3151 * posix/wait4.c: Likewise.
3152 * posix/waitpid.c: Likewise.
3153 * resolv/gai_sigqueue.c: Likewise.
3154 * resource/getpriority.c: Likewise.
3155 * resource/getrlimit.c: Likewise.
3156 * resource/getrusage.c: Likewise.
3157 * resource/nice.c: Likewise.
3158 * resource/setpriority.c: Likewise.
3159 * resource/setrlimit.c: Likewise.
3160 * resource/ulimit.c: Likewise.
3161 * rt/aio_cancel.c: Likewise.
3162 * rt/aio_fsync.c: Likewise.
3163 * rt/aio_read.c: Likewise.
3164 * rt/aio_sigqueue.c: Likewise.
3165 * rt/aio_suspend.c: Likewise.
3166 * rt/aio_write.c: Likewise.
3167 * rt/clock_getres.c: Likewise.
3168 * rt/clock_gettime.c: Likewise.
3169 * rt/clock_nanosleep.c: Likewise.
3170 * rt/clock_settime.c: Likewise.
3171 * rt/lio_listio.c: Likewise.
3172 * rt/mq_close.c: Likewise.
3173 * rt/mq_getattr.c: Likewise.
3174 * rt/mq_notify.c: Likewise.
3175 * rt/mq_open.c: Likewise.
3176 * rt/mq_receive.c: Likewise.
3177 * rt/mq_send.c: Likewise.
3178 * rt/mq_setattr.c: Likewise.
3179 * rt/mq_timedreceive.c: Likewise.
3180 * rt/mq_timedsend.c: Likewise.
3181 * rt/mq_unlink.c: Likewise.
3182 * rt/shm_open.c: Likewise.
3183 * rt/shm_unlink.c: Likewise.
3184 * rt/timer_create.c: Likewise.
3185 * rt/timer_delete.c: Likewise.
3186 * rt/timer_getoverr.c: Likewise.
3187 * rt/timer_gettime.c: Likewise.
3188 * rt/timer_settime.c: Likewise.
3189 * setjmp/__longjmp.c: Likewise.
3190 * setjmp/setjmp.c: Likewise.
3191 * signal/kill.c: Likewise.
3192 * signal/killpg.c: Likewise.
3193 * signal/raise.c: Likewise.
3194 * signal/sigaction.c: Likewise.
3195 * signal/sigaltstack.c: Likewise.
3196 * signal/sigblock.c: Likewise.
3197 * signal/sigignore.c: Likewise.
3198 * signal/sigintr.c: Likewise.
3199 * signal/signal.c: Likewise.
3200 * signal/sigpause.c: Likewise.
3201 * signal/sigpending.c: Likewise.
3202 * signal/sigqueue.c: Likewise.
3203 * signal/sigreturn.c: Likewise.
3204 * signal/sigset.c: Likewise.
3205 * signal/sigsetmask.c: Likewise.
3206 * signal/sigstack.c: Likewise.
3207 * signal/sigsuspend.c: Likewise.
3208 * signal/sigtimedwait.c: Likewise.
3209 * signal/sigvec.c: Likewise.
3210 * signal/sigwait.c: Likewise.
3211 * signal/sigwaitinfo.c: Likewise.
3212 * signal/sysv_signal.c: Likewise.
3213 * socket/accept.c: Likewise.
3214 * socket/accept4.c: Likewise.
3215 * socket/bind.c: Likewise.
3216 * socket/connect.c: Likewise.
3217 * socket/getpeername.c: Likewise.
3218 * socket/getsockname.c: Likewise.
3219 * socket/getsockopt.c: Likewise.
3220 * socket/isfdtype.c: Likewise.
3221 * socket/listen.c: Likewise.
3222 * socket/recv.c: Likewise.
3223 * socket/recvfrom.c: Likewise.
3224 * socket/recvmsg.c: Likewise.
3225 * socket/send.c: Likewise.
3226 * socket/sendmsg.c: Likewise.
3227 * socket/sendto.c: Likewise.
3228 * socket/setsockopt.c: Likewise.
3229 * socket/shutdown.c: Likewise.
3230 * socket/sockatmark.c: Likewise.
3231 * socket/socket.c: Likewise.
3232 * socket/socketpair.c: Likewise.
3233 * stdio-common/ctermid.c: Likewise.
3234 * stdio-common/cuserid.c: Likewise.
3235 * stdio-common/remove.c: Likewise.
3236 * stdio-common/rename.c: Likewise.
3237 * stdio-common/renameat.c: Likewise.
3238 * stdio-common/tempname.c: Likewise.
3239 * stdlib/getcontext.c: Likewise.
3240 * stdlib/makecontext.c: Likewise.
3241 * stdlib/setcontext.c: Likewise.
3242 * stdlib/swapcontext.c: Likewise.
3243 * stdlib/system.c: Likewise.
3244 * streams/fattach.c: Likewise.
3245 * streams/fdetach.c: Likewise.
3246 * streams/getmsg.c: Likewise.
3247 * streams/getpmsg.c: Likewise.
3248 * streams/putmsg.c: Likewise.
3249 * streams/putpmsg.c: Likewise.
3250 * sysdeps/unix/bsd/getpt.c: Likewise.
3251 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3252 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3253 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3255 Likewise.
3256 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3257 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3258 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3259 * sysvipc/msgctl.c: Likewise.
3260 * sysvipc/msgget.c: Likewise.
3261 * sysvipc/msgrcv.c: Likewise.
3262 * sysvipc/msgsnd.c: Likewise.
3263 * sysvipc/semctl.c: Likewise.
3264 * sysvipc/semget.c: Likewise.
3265 * sysvipc/semop.c: Likewise.
3266 * sysvipc/semtimedop.c: Likewise.
3267 * sysvipc/shmat.c: Likewise.
3268 * sysvipc/shmctl.c: Likewise.
3269 * sysvipc/shmdt.c: Likewise.
3270 * sysvipc/shmget.c: Likewise.
3271 * termios/tcdrain.c: Likewise.
3272 * termios/tcflow.c: Likewise.
3273 * termios/tcflush.c: Likewise.
3274 * termios/tcgetattr.c: Likewise.
3275 * termios/tcgetpgrp.c: Likewise.
3276 * termios/tcsendbrk.c: Likewise.
3277 * termios/tcsetattr.c: Likewise.
3278 * termios/tcsetpgrp.c: Likewise.
3279 * time/adjtime.c: Likewise.
3280 * time/clock.c: Likewise.
3281 * time/getitimer.c: Likewise.
3282 * time/gettimeofday.c: Likewise.
3283 * time/setitimer.c: Likewise.
3284 * time/settimeofday.c: Likewise.
3285 * time/stime.c: Likewise.
3286 * time/time.c: Likewise.
3287
32882012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3289
a20492cf
PT
3290 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3291 /usr/old/bin.
3292
72e182e3
PT
3293 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3294 instead of spaces.
3295 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3296
fbeafede
JM
32972012-11-03 Joseph Myers <joseph@codesourcery.com>
3298
5b5b04d6
JM
3299 [BZ #14796]
3300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3301 FE_TONEAREST before applying Dekker multiplication and Knuth
3302 addition. Clear inexact exceptions and check for exact zero
3303 results afterwards.
3304 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3305 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3306 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3307 * math/libm-test.inc (fma_test): Add more tests.
3308 (fma_test_towardzero): Likewise.
3309 (fma_test_downward): Likewise.
3310 (fma_test_upward): Likewise.
3311 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3312 function.
3313 (libc_fesetround): New macro.
3314 (libc_fesetroundf): Likewise.
3315 (libc_fesetroundl): Likewise.
3316 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3317 function.
3318 (libc_fesetround_387): Likewise.
3319 (libc_fesetroundf): New macro.
3320 (libc_fesetround): Likewise.
3321 (libc_fesetroundl): Likewise.
3322 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3323 function.
3324 (libc_fesetroundf): New macro.
3325 (libc_fesetround): Likewise.
3326 (libc_fesetroundl): Likewise.
3327 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3328 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3329 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3330 libm_hidden_ver.
3331 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3332 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3333 libm_hidden_def.
3334 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3335 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3336 libm_hidden_ver.
3337 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3338 libm_hidden_def.
3339
fbeafede
JM
3340 [BZ #3439]
3341 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3342 integer constant usable in #if and use that to give value to enum
3343 constant.
3344 (FE_DIVBYZERO): Likewise.
3345 (FE_UNDERFLOW): Likewise.
3346 (FE_OVERFLOW): Likewise.
3347 (FE_INVALID): Likewise.
3348 (FE_INVALID_SNAN): Likewise.
3349 (FE_INVALID_ISI): Likewise.
3350 (FE_INVALID_IDI): Likewise.
3351 (FE_INVALID_ZDZ): Likewise.
3352 (FE_INVALID_IMZ): Likewise.
3353 (FE_INVALID_COMPARE): Likewise.
3354 (FE_INVALID_SOFTWARE): Likewise.
3355 (FE_INVALID_SQRT): Likewise.
3356 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3357 (FE_TONEAREST): Likewise.
3358 (FE_TOWARDZERO): Likewise.
3359 (FE_UPWARD): Likewise.
3360 (FE_DOWNWARD): Likewise.
3361 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3362 (FE_DIVBYZERO): Likewise.
3363 (FE_OVERFLOW): Likewise.
3364 (FE_UNDERFLOW): Likewise.
3365 (FE_INEXACT): Likewise.
3366 (FE_TONEAREST): Likewise.
3367 (FE_DOWNWARD): Likewise.
3368 (FE_UPWARD): Likewise.
3369 (FE_TOWARDZERO): Likewise.
3370 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3371 (FE_UNDERFLOW): Likewise.
3372 (FE_OVERFLOW): Likewise.
3373 (FE_DIVBYZERO): Likewise.
3374 (FE_INVALID): Likewise.
3375 (FE_TONEAREST): Likewise.
3376 (FE_TOWARDZERO): Likewise.
3377 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3378 (FE_OVERFLOW): Likewise.
3379 (FE_UNDERFLOW): Likewise.
3380 (FE_DIVBYZERO): Likewise.
3381 (FE_INEXACT): Likewise.
3382 (FE_TONEAREST): Likewise.
3383 (FE_TOWARDZERO): Likewise.
3384 (FE_UPWARD): Likewise.
3385 (FE_DOWNWARD): Likewise.
3386 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3387 (FE_DIVBYZERO): Likewise.
3388 (FE_OVERFLOW): Likewise.
3389 (FE_UNDERFLOW): Likewise.
3390 (FE_INEXACT): Likewise.
3391 (FE_TONEAREST): Likewise.
3392 (FE_DOWNWARD): Likewise.
3393 (FE_UPWARD): Likewise.
3394 (FE_TOWARDZERO): Likewise.
3395
105ca950
CM
33962012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3397
3398 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3399
a542b389
AS
34002012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3401
3402 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3403 commands. Quote $PWD.
3404 (blacklist_exports): Don't use remove_newlines. Replace "declare
3405 -x" by "export".
3406 (remove_newlines): Remove.
3407
f62c8abc
L
34082012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3409
3410 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3411 * stdlib/stdlib.h (atof): Moved to ...
3412 * include/bits/stdlib-float.h: Here. New file.
3413 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3414 * stdlib/bits/stdlib-float.h: New file.
3415 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3416 -mno-sse -mno-mmx.
3417 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3418 <xmmintrin.h>.
3419
0155d5b2
JM
34202012-11-02 Joseph Myers <joseph@codesourcery.com>
3421
a68d0680
JM
3422 * conform/conformtest.pl (@headers): Add fenv.h.
3423 * conform/data/fenv.h-data: New file.
3424 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3425 include of <math/fenv.h>.
3426
caf7f573
JM
3427 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3428 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3429 && !UNIX98]. Enables tests for XOPEN2K8.
3430 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3431 POSIX2008]: Likewise.
3432
6c073ad6
JM
3433 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3434 (struct rusage): Do not expect type or its members.
3435
0155d5b2
JM
3436 [BZ #3439]
3437 * math/math.h (FP_NAN): Define macro to integer constant usable in
3438 #if and use that to give value to enum constant.
3439 (FP_INFINITE): Likewise.
3440 (FP_ZERO): Likewise.
3441 (FP_SUBNORMAL): Likewise.
3442 (FP_NORMAL): Likewise.
3443
b5dcacb4
AS
34442012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3445
3446 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3447 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3448 arguments.
3449
f7934be8
RM
34502012-11-02 Roland McGrath <roland@hack.frob.com>
3451
3452 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3453 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3454 autoconf-time if not.
3455 * configure.in: Remove AC_PREREQ.
3456
d7d08bde
TMQMF
34572012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3458
3459 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3460 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3461 of the internal implementation.
3462
dcdae19a
JM
34632012-11-02 Joseph Myers <joseph@codesourcery.com>
3464
3465 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3466 except include of <misc/sys/syslog.h>.
3467
d6cffd3e
AS
34682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3469
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3471 function returns with a NULL context exit with zero.
3472
b3563932
TMQMF
34732012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3474
3475 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3476
b288a93d
L
34772012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3478
3479 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3480 (run_program_cmd): This.
3481 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3482 (tst_langinfo): New variable. Use it.
3483
a2421a68
SAS
34842012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3485
3486 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3487 floating point opcodes.
3488
6f796e1b
TS
34892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3490
7402596b
TS
3491 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3492 variable.
3493
d0d4f868
TS
3494 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3495
6f796e1b
TS
3496 * sysdeps/mach/hurd/powerpc: Remove directory.
3497 * sysdeps/mach/powerpc: Likewise.
3498
4da224a2
AS
34992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3500
3501 * scripts/check-local-headers.sh: Ignore c++ headers.
3502
341dd673
TS
35032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3504
3505 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3506 __libc_cleanup_region_start argument.
3507
473611b2
JM
35082012-11-01 Joseph Myers <joseph@codesourcery.com>
3509
3510 [BZ #14784]
3511 [BZ #14785]
3512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3513 x * y using scaling, not as x * y + z.
3514 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3515 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3516 * math/libm-test.inc (fma_test): Add more tests.
3517 (fma_test_towardzero): Likewise.
3518 (fma_test_downward): Likewise.
3519 (fma_test_upward): Likewise.
3520
4078da3d
TS
35212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3522
3523 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3524
903252aa
JM
35252012-10-31 Joseph Myers <joseph@codesourcery.com>
3526
3527 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3528 New variable.
3529
cbc818d0
TS
35302012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3531
3532 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3533
5a03cb1e
AS
35342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3535
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3537 Fix sort order.
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3539 Likewise.
3540
90aff2ff
TMQMF
35412012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3542
3543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3544 Fix the order of the list for glibc 2.17.
3545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3546 Likewise.
3547
1818fcb7
AS
35482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3549
3550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3551
ef82f4da
JM
35522012-10-31 Joseph Myers <joseph@codesourcery.com>
3553
16a0e2ec
JM
3554 [BZ #14610]
3555 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3556 for low part of x being zero before using __atanl (y).
3557 * math/libm-test.inc (atan2_test): Add another test.
3558
0eb69512
JM
3559 * manual/install.texi (Configuring and compiling): Document
3560 general use of test-wrapper and test-wrapper-env.
3561 * INSTALL: Regenerated.
3562
ef82f4da
JM
3563 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3564 (__fma): Do not extract and scale down low bits on after-rounding
3565 systems when result rounded to normal precision would have normal
3566 exponent.
3567 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3568 (__fmal): Do not extract and scale down low bits on after-rounding
3569 systems when result rounded to normal precision would have normal
3570 exponent.
3571 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3572 (__fmal): Do not extract and scale down low bits on after-rounding
3573 systems when result rounded to normal precision would have normal
3574 exponent.
3575 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3576 macro.
3577 (fma_test): Add more tests.
3578 (fma_test_towardzero): Likewise.
3579 (fma_test_downward): Likewise.
3580 (fma_test_upward): Likewise.
3581
954ef0d9
L
35822012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3583
3584 * sysdeps/i386/tininess.h: Renamed to ...
3585 * sysdeps/x86/tininess.h: This.
3586 * sysdeps/x86_64/tininess.h: Removed.
3587
df61ffb2
JM
35882012-10-30 Joseph Myers <joseph@codesourcery.com>
3589
3590 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3591 input. Use $(build-program-cmd).
3592 ($(objpfx)tst-array1-static.out): Likewise.
3593 ($(objpfx)tst-array2.out): Likewise.
3594 ($(objpfx)tst-array3.out): Likewise.
3595 ($(objpfx)tst-array4.out): Likewise.
3596 ($(objpfx)tst-array5.out): Likewise.
3597 ($(objpfx)tst-array5-static.out): Likewise.
3598
01767843
CM
35992012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3600
47cc1490
CM
3601 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3602 if defined.
3603
01767843
CM
3604 * nss/nsswitch.h (nss_interface_function): Provide new
3605 macro for use with NSS functions.
3606 * grp/initgroups.c: Use new macro.
3607 * nss/getXXbyYY.c: Likewise.
3608 * nss/getXXbyYY_r.c: Likewise.
3609 * nss/getXXent.c: Likewise.
3610 * nss/getXXent_r.c: Likewise.
3611 * sysdeps/posix/getaddrinfo.c: Likewise.
3612
8321aa97
AJ
36132012-10-30 Andreas Jaeger <aj@suse.de>
3614
3615 * po/ru.po: Update Russion translation from translation project.
3616
2a27fd6d
JM
36172012-10-30 Joseph Myers <joseph@codesourcery.com>
3618
8627a232
JM
3619 [BZ #14152]
3620 [BZ #14783]
3621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3622 result and shift together with sticky bit instead of replicating
3623 round-to-nearest rounding.
3624 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3625 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3626 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3627 missing underflow exceptions.
3628 (fma_test_towardzero): Add more tests.
3629 (fma_test_downward): Likewise.
3630 (fma_test_upward): Likewise.
3631
2a27fd6d
JM
3632 [BZ #14047]
3633 * sysdeps/generic/tininess.h: New file.
3634 * sysdeps/i386/tininess.h: Likewise.
3635 * sysdeps/sh/tininess.h: Likewise.
3636 * sysdeps/x86_64/tininess.h: Likewise.
3637 * stdlib/tst-strtod-underflow.c: Likewise.
3638 * stdlib/tst-tininess.c: Likewise.
3639 * stdlib/strtod_l.c: Include <tininess.h>.
3640 (round_and_return): Do not set errno for exact underflow cases.
3641 Force an underflow exception when setting errno for underflow.
3642 Determine underflow based on rounding to normal precision if
3643 TININESS_AFTER_ROUNDING.
3644 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3645 ERANGE for exact underflow cases.
3646 * stdlib/Makefile (tests): Add tst-tininess and
3647 tst-strtod-underflow.
3648 ($(objpfx)tst-tininess): Use $(link-libm).
3649 ($(objpfx)tst-strtod-underflow): Likewise.
3650
e7170363
AJ
36512012-10-30 Andreas Jaeger <aj@suse.de>
3652
e5088dc6
AJ
3653 [BZ#14767]
3654 * elf/Makefile (tests): Remove conditional for have-initfini-array
3655 since this is now always required and the variable does not exist
3656 anymore.
3657 (tests-static): Likewise.
3658 (modules-names): Likewise.
3659
e7170363 3660 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3661
3662 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3663 merged with constructor/destructor.
3664 (init_array): Likewise.
3665 * elf/tst-array2dep.c (fini_array): Likewise.
3666 (init_array): Likewise.
3667
60457d8a
MF
36682012-10-29 Mike Frysinger <vapier@gentoo.org>
3669
3670 * manual/message.texi: Delete @cartouche tags.
3671
8bece752
PT
36722012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3673
94ce799f
PT
3674 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3675 EOPNOTSUPP.
3676 * sysdeps/mach/hurd/fsync.c: Likewise.
3677
8bece752
PT
3678 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3679 [_POSIX_REALTIME_SIGNALS]: Change condition to
3680 [_POSIX_REALTIME_SIGNALS > 0].
3681
86ebe6b1
AJ
36822012-10-27 Andreas Jaeger <aj@suse.de>
3683
3684 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3685 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3687 [__WORDSIZE != 64]: Likewise.
3688
54399c08
L
36892012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3690
3691 * iconvdata/tst-table.sh: Remove ${SHELL}.
3692 * iconvdata/tst-tables.sh: Likewise.
3693
e2211bed
DM
36942012-10-25 David S. Miller <davem@davemloft.net>
3695
3696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3697 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3698 of strtoull.
3699
f303f97c
DM
3700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3701 ifunc-impl-list.c
3702 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3703 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3704 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3705 file.
3706
1e9d84cd
RM
37072012-10-25 Roland McGrath <roland@hack.frob.com>
3708
3709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3710 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3711 __getdirentries.
3712
df381762
JM
37132012-10-25 Joseph Myers <joseph@codesourcery.com>
3714 Jim Blandy <jimb@codesourcery.com>
3715
3716 * scripts/cross-test-ssh.sh: New file.
3717 * manual/install.texi (Configuring and compiling): Document use of
3718 cross-test-ssh.sh.
3719 * INSTALL: Regenerated.
3720
bff64913
PT
37212012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3722
3723 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3724 EOPNOTSUPP.
3725
25fe8932
JM
37262012-10-25 Joseph Myers <joseph@codesourcery.com>
3727
3728 * Makeconfig (run-program-prefix): Fix comment.
3729
cc1290d0
JM
37302012-10-24 Joseph Myers <joseph@codesourcery.com>
3731 Jim Blandy <jimb@codesourcery.com>
3732
3733 * Makeconfig (test-wrapper): New variable,
3734 (test-wrapper-env): Likewise.
3735 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3736 (run-built-tests): Define to yes.
3737 (run-program-prefix): Use $(test-wrapper).
3738 (built-program-cmd): Likewise.
3739 * Rules (make-test-out): Use $(test-wrapper-env) and
3740 $(host-built-program-cmd).
3741 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3742 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3743 tst-pathopt.sh.
3744 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3745 $(test-wrapper-env) to tst-rtld-load-self.sh.
3746 ($(objpfx)order2.out): Use $(test-wrapper).
3747 ($(objpfx)tst-initorder.out): Likewise.
3748 ($(objpfx)tst-initorder2.out): Likewise.
3749 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3750 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3751 (test_wrapper_env): New variable. Use it to run ld.so.
3752 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3753 Use it to run ld.so.
3754 (test_wrapper_env): Likewise.
3755 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3756 $(test-wrapper) to run-iconv-test.sh.
3757 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3758 (ICONV): Use $test_wrapper.
3759 * posix/Makefile ($(objpfx)globtest.out): Pass
3760 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3761 globtest.sh, not $(run-program-prefix).
3762 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3763 (test_wrapper): Likewise.
3764 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3765 set together with run_via_rtld_prefix.
3766 (run_program_prefix): Define in terms of test_wrapper and
3767 run_via_rtld_prefix.
3768
6e6249d0
RM
37692012-10-24 Roland McGrath <roland@hack.frob.com>
3770
3771 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3772 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3773 Targets removed.
3774
3775 [BZ #14743]
3776 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3777 Declare __clock_getres, __clock_gettime, __clock_settime,
3778 __clock_nanosleep, and __clock_getcpuclockid.
3779 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3780 Remove librt_hidden_def (clock_gettime).
3781 * sysdeps/unix/clock_gettime.c: Likewise.
3782 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3783 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3784 * rt/clock_getres.c: Define __clock_getres as an alias.
3785 * sysdeps/posix/clock_getres.c: Likewise.
3786 * rt/clock_settime.c: Define __clock_settime as an alias.
3787 * sysdeps/unix/clock_settime.c: Likewise.
3788 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3789 * sysdeps/unix/clock_nanosleep.c: Likewise.
3790 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3791 * rt/clock-compat.c: New file.
3792 * rt/Makefile (librt-routines): Add clock-compat and move
3793 $(clock-routines) to ...
3794 (routines): ... here, new variable.
3795 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3796 Don't add get_clockfreq here.
3797 * rt/Versions (libc: GLIBC_2.17): New version set.
3798 Add clock_* symbols here.
3799 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3800 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3801 (GLIBC_2.17): Add clock_* symbols.
3802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3804 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3806 Likewise.
3807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3808 Likewise.
3809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3813 * NEWS: Mention the move.
3814
3815 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3816 Use __open, __read, __close rather than their public counterparts.
3817 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3818 (__get_clockfreq_via_cpuinfo): Likewise.
3819 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3820 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3821
3822 * config.h.in (HAVE_IFUNC): New #undef.
3823 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3824 was successful.
3825 * configure: Regenerated.
3826
0cae3f4b
MF
38272012-10-24 Mike Frysinger <vapier@gentoo.org>
3828
3829 * configure.in: Move READELF check to start of file.
3830 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3831 libc_cv_asm_gnu_indirect_function in the process.
3832 * configure: Regenerated.
3833
8175a253
MF
38342012-10-24 Mike Frysinger <vapier@gentoo.org>
3835
3836 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3837 send the output to /dev/null.
3838 (libc_cv_cc_with_libunwind): Likewise.
3839 (libc_cv_as_noexecstack): Likewise.
3840 * configure: Regenerate.
3841
0708a7d1
JM
38422012-10-24 Joseph Myers <joseph@codesourcery.com>
3843
10b40d85
JM
3844 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3845
0708a7d1
JM
3846 * posix/globtest.sh (TMPDIR): Do not set.
3847 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3848 (testout): Likewise.
3849
9fddec1a
AJ
38502012-10-24 Andreas Jaeger <aj@suse.de>
3851
3a8db22f
AJ
3852 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3853 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3854 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3855 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3856 posix_fadvise64, posix_fallocate64.
3857
9fddec1a
AJ
3858 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3859 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3860 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3861 Likewise.
3862 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3863 Likewise.
3864 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3865
3866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3867 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3868 <bits/fcntl-linux.h>.
3869 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3870
3871 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3872 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3873 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3874 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3875 [__WORDSIZE != 64]: Likewise.
3876
ebfd1bbd
JM
38772012-10-23 Joseph Myers <joseph@codesourcery.com>
3878
03ac099f
JM
3879 * Makeconfig (run-built-tests): New variable.
3880 * Rules [$(cross-compiling) = yes]: Change condition to
3881 [$(run-built-tests) = no].
3882 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3883 to [$(run-built-tests) = yes].
3884 * elf/Makefile [$(cross-compiling) = no]: Likewise
3885 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3886 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3887 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3888 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3889 * io/Makefile [$(cross-compiling) = no]: Likewise.
3890 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3891 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3892 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3893 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3894 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3895 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3896 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3897 * string/Makefile [$(cross-compiling) = no]: Likewise.
3898
ebfd1bbd
JM
3899 * posix/Makefile ($(objpfx)globtest.out): Pass
3900 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3901 $(rtld-installed-name).
3902 * posix/globtest.sh (elf_objpfx): Remove variable.
3903 (rtld_installed_name): Likewise.
3904 (library_path): Likewise.
3905 (run_program_prefix): New variable. Use for running globtest
3906 binary.
3907
166bca24
JB
39082012-10-23 Jim Blandy <jimb@codesourcery.com>
3909 Joseph Myers <joseph@codesourcery.com>
3910
3911 * Makeconfig (host-built-program-cmd): New variable.
3912 * elf/Makefile (tst-stackguard1-ARGS): Use
3913 $(host-built-program-cmd).
3914 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3915 (tst-spawn-ARGS): Likewise.
3916 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3917
88866099
JM
39182012-10-23 Joseph Myers <joseph@codesourcery.com>
3919 Jim Blandy <jimb@codesourcery.com>
3920
3921 * Makeconfig (run-via-rtld-prefix): New variable.
3922 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3923 (built-program-cmd): Likewise.
3924
b4b4c296
AJ
39252012-10-22 Andreas Jaeger <aj@suse.de>
3926
3927 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3928 __O_RSYNC if it exists, otherwise to O_SYNC.
3929
6fb54a22
JB
39302012-10-22 Jim Blandy <jimb@codesourcery.com>
3931 Joseph Myers <joseph@codesourcery.com>
3932
3933 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3934 /dev/null.
3935 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3936 from /dev/null
3937 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3938 /dev/null.
3939
481b90b9
AJ
39402012-10-22 Andreas Jaeger <aj@suse.de>
3941
2a0e2669
AJ
3942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3943 Define always.
3944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3945
76e38f9a
AJ
3946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3947 bits/fcntl-linux.h.
3948
7cd37b43
AJ
3949 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3950 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3951
481b90b9
AJ
3952 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3953 to __O_LARGEFILE.
3954 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3955 to __O_LARGEFILE.
3956
aba75984
JB
39572012-10-21 Jim Blandy <jimb@codesourcery.com>
3958 Joseph Myers <joseph@codesourcery.com>
3959
3960 * config.make.in (NM): New variable.
3961
88d4247f
AJ
39622012-10-21 Andreas Jaeger <aj@suse.de>
3963
3964 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3965 definitions and declarations that are provided by
3966 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3967
f2eed205
L
39682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3969
3970 [BZ #14683]
3971 * elf/Makefile (tests-static): Add tst-leaks1-static.
3972 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3973 ($(objpfx)tst-leaks1-static): New rule.
3974 ($(objpfx)tst-leaks1-static-mem): Likewise.
3975 (tst-leaks1-static-ENV): New macro.
3976 * elf/dl-open.c (dl_open_worker): Check the main application
3977 only if SHARED is defined.
3978 * elf/tst-leaks1-static.c: New file.
3979
335e6931
AJ
39802012-10-20 Andreas Jaeger <aj@suse.de>
3981
3982 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3983 generic values for Linux.
3984 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3985 and declarations that are provided by <bits/fcntl-linux.h> and
3986 include <bits/fcntl-linux.h>.
3987 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3988 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3989
ac5c94d3
RM
39902012-10-20 Roland McGrath <roland@hack.frob.com>
3991
3992 * io/fcntl.h: Move include of <bits/types.h> to the top and
3993 include it unconditionally.
3994
de54b33a
L
39952012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3996
228cfb01
L
3997 * wcsmbs/Makefile (tests-ifunc): New variable.
3998 (tests): Add $(tests-ifunc).
3999 * wcsmbs/test-wcschr-ifunc.c: New file.
4000 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4001 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4002 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4003 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4004 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4005
69f07e5f
L
4006 * string/Makefile (tests-ifunc): New variable.
4007 (tests): Add $(tests-ifunc).
4008 * string/test-memccpy.c (TEST_NAME): New macro.
4009 * string/test-memchr.c (TEST_NAME): Likewise.
4010 * string/test-memcmp.c (TEST_NAME): Likewise.
4011 * string/test-memcpy.c (TEST_NAME): Likewise.
4012 * string/test-memmem.c (TEST_NAME): Likewise.
4013 * string/test-memmove.c (TEST_NAME): Likewise.
4014 * string/test-memset.c (TEST_NAME): Likewise.
4015 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4016 * string/test-stpcpy.c (TEST_NAME): Likewise.
4017 * string/test-stpncpy.c (TEST_NAME): Likewise.
4018 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4019 * string/test-strcasestr.c (TEST_NAME): Likewise.
4020 * string/test-strcat.c (TEST_NAME): Likewise.
4021 * string/test-strchr.c (TEST_NAME): Likewise.
4022 * string/test-strcmp.c(TEST_NAME): Likewise.
4023 * string/test-strcpy.c (TEST_NAME): Likewise.
4024 * string/test-strcspn.c (TEST_NAME): Likewise.
4025 * string/test-strlen.c (TEST_NAME): Likewise.
4026 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4027 * string/test-strncmp.c (TEST_NAME): Likewise.
4028 * string/test-strncpy.c (TEST_NAME): Likewise.
4029 * string/test-strnlen.c (TEST_NAME): Likewise.
4030 * string/test-strpbrk.c (TEST_NAME): Likewise.
4031 * string/test-strrchr.c (TEST_NAME): Likewise.
4032 * string/test-strspn.c (TEST_NAME): Likewise.
4033 * string/test-strstr.c (TEST_NAME): Likewise.
4034 * string/test-bcopy-ifunc.c: New file.
4035 * string/test-bzero-ifunc.c: Likewise.
4036 * string/test-memccpy-ifunc.c: Likewise.
4037 * string/test-memchr-ifunc.c: Likewise.
4038 * string/test-memcmp-ifunc.c: Likewise.
4039 * string/test-memcpy-ifunc.c: Likewise.
4040 * string/test-memmem-ifunc.c: Likewise.
4041 * string/test-memmove-ifunc.c: Likewise.
4042 * string/test-mempcpy-ifunc.c: Likewise.
4043 * string/test-memset-ifunc.c: Likewise.
4044 * string/test-rawmemchr-ifunc.c: Likewise.
4045 * string/test-stpcpy-ifunc.c: Likewise.
4046 * string/test-stpncpy-ifunc.c: Likewise.
4047 * string/test-strcasecmp-ifunc.c: Likewise.
4048 * string/test-strcasestr-ifunc.c: Likewise.
4049 * string/test-strcat-ifunc.c: Likewise.
4050 * string/test-strchr-ifunc.c: Likewise.
4051 * string/test-strchrnul-ifunc.c: Likewise.
4052 * string/test-strcmp-ifunc.c: Likewise.
4053 * string/test-strcpy-ifunc.c: Likewise.
4054 * string/test-strcspn-ifunc.c: Likewise.
4055 * string/test-strlen-ifunc.c: Likewise.
4056 * string/test-strncasecmp-ifunc.c: Likewise.
4057 * string/test-strncat-ifunc.c: Likewise.
4058 * string/test-strncmp-ifunc.c: Likewise.
4059 * string/test-strncpy-ifunc.c: Likewise.
4060 * string/test-strnlen-ifunc.c: Likewise.
4061 * string/test-strpbrk-ifunc.c: Likewise.
4062 * string/test-strrchr-ifunc.c: Likewise.
4063 * string/test-strspn-ifunc.c: Likewise.
4064 * string/test-strstr-ifunc.c: Likewise.
4065
de54b33a
L
4066 * debug/Makefile (tests-ifunc): New variable.
4067 (tests): Add $(tests-ifunc).
4068 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4069 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4070 * debug/test-stpcpy_chk-ifunc.c: New file.
4071 * debug/test-strcpy_chk-ifunc.c: Likewise.
4072
88481c16
SP
40732012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4074
4075 [BZ #13601]
4076 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4077 header is not read in.
4078
135948bd
JM
40792012-10-19 Joseph Myers <joseph@codesourcery.com>
4080
89f1c388
JM
4081 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4082 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4083 directly. Pass built executable to script as
4084 $(built-program-cmd).
4085 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4086 $testprogram without using LD_LIBRARY_PATH and $ldso.
4087
e40a0d21
JM
4088 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4089 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4090 $(rtld-installed-name).
4091 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4092 (rtld_installed_name): Likewise.
4093 (library_path): Likewise.
4094 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4095 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4096 $(run-program-prefix) to tst-tables.sh.
4097 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4098 it to run tst-table-from and tst-table-to.
4099 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4100 Pass it to tst-table.sh.
4101 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4102 $(run-program-prefix) to tst-gettext.sh.
4103 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4104 tst-translit.sh.
4105 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4106 tst-gettext2.sh.
4107 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4108 to run tst-gettext.
4109 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4110 to run tst-gettext2.
4111 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4112 to run tst-translit.
4113 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4114 $(run-program-prefix) to tst-mtrace.sh.
4115 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4116 to run tst-mtrace.
4117 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4118 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4119 $(rtld-installed-name).
4120 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4121 (rtld_installed_name): Likewise.
4122 (run_program_prefix): New variable. Use it to run wordexp-test.
4123
728e272a
JM
4124 * Makeconfig (ARCH): Remove all definitions.
4125 (machine): Likewise.
4126 [ARCH]: Remove conditional code.
4127 [!objdir]: Give error.
4128 [!objdir] (objpfx): Remove.
4129 [!objdir] (common-objpfx): Likewise.
4130 [!objdir] (common-objdir): Likewise.
4131 * configure.in (config_makefile): Remove. Hardcode Makefile in
4132 AC_CONFIG_FILES call.
4133 * configure: Regenerated.
4134
d528cdcf
JM
4135 [BZ #13888]
4136 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4137 or TMPDIR.
4138 (testout): Likewise.
4139
135948bd
JM
4140 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4141 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4142 $(rtld-installed-name).
4143 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4144 (rtld_installed_name): Likwise.
4145 (runit): Remove function.
4146 (run_getconf): New variable, Use it for running getconf binary.
4147
38c78296
L
41482012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4149
4150 [BZ #14716]
4151 * string/test-memmem.c (check_result): New function.
4152 (do_one_test): Use it.
4153 (check1): New function.
4154 (test_main): Use it.
4155
d077f65f
MT
41562012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4157
4158 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4159
ced52c71
JM
41602012-10-18 Joseph Myers <joseph@codesourcery.com>
4161
4162 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4163 (_G_LSEEK64): Likewise.
4164 (_G_MMAP64): Likewise.
4165 (_G_FSTAT64): Likewise.
4166 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4167 (_G_LSEEK64): Likewise.
4168 (_G_MMAP64): Likewise.
4169 (_G_FSTAT64): Likewise.
4170 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4171 unconditional. Call __mmap64 directly.
4172 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4173 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4174 __lseek64 directly.
4175 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4176 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4177 __mmap64 directly.
4178 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4179 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4180 __lseek64 directly.
4181 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4182 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4183 __lseek64 directly.
4184 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4185 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4186 __lseek64 directly.
4187 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4188 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4189 __fxstat64 directly.
4190 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4191 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4192 unconditional.
4193 (freopen64) [!_G_OPEN64]: Remove conditional code.
4194 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4195 unconditional.
4196 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4197 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4198 unconditional.
4199 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4200 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4201 unconditional.
4202 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4203 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4204 unconditional.
4205 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4206 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4207 unconditional.
4208 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4209 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4210 unconditional.
4211 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4212 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4213 unconditional.
4214 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4215
b741de23
SP
42162012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4217
4218 [BZ #12140]
4219 * manual/memory.texi (Malloc Tunable Parameters): Add note
4220 about free list pointers overwriting some perturb bytes.
4221 Wording suggested by Roland McGrath.
4222
f9b9d9c9
JM
42232012-10-17 Joseph Myers <joseph@codesourcery.com>
4224
4225 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4226 (lgamma_test): Likewise.
4227 (tgamma_test): Likewise.
4228
172a631a
FW
42292012-10-16 Florian Weimer <fweimer@redhat.com>
4230
4231 [BZ #14700]
4232 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4233 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4234
e9f37252
MK
42352012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4236
4237 * NEWS: Mention BZ #14716.
4238 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4239 when removing AVAILABLE1_USES_J macro.
4240
d394eb74
L
42412012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4242
4243 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4244 (__bswap_64): __uint64_t for unsigned 64-bit int.
4245
ca38dc17
AS
42462012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4247
4248 * include/string.h (memmem): Declare libc hidden alias.
4249 * string/memmem.c (memmem): Define libc hidden alias.
4250 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4251 __read, __close instead of open, read, close.
4252
9a387d1f
L
42532012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4254
ac49ecaf
L
4255 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4256 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4257 global and hidden.
4258 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4259 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4260 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4261 Likewise.
4262 (__rawmemchr_sse2): Likewise.
4263 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4264 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4265 (__strchr_sse2): Likewise.
4266 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4267 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4268 (__strcasecmp_sse2): Likewise.
4269 (__strncasecmp_sse2): Likewise.
4270 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4271 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4272 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4273 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4274 (__strrchr_sse2): Likewise.
4275 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4276 ifunc-impl-list.c.
4277 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4278 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4279 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4280 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4281 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4282 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4283 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4284 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4285 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4286 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4287 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4288 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4289 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4290 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4291 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4292 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4293 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4294 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4295 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4296 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4297 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4298 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4299 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4300 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4301 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4302 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4303 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4304 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4305 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4306 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4307
b090e8ea
L
4308 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4309 global and hidden.
4310 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4311 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4312 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4313 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4314 Likewise.
4315 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4316 Likewise.
4317 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4318 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4319 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4320 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4321 ifunc-impl-list.c.
4322 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4323 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4324 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4325 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4326 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4327 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4328 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4329 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4330 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4331 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4332 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4333 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4334 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4335 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4336 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4337 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4338 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4339 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4340 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4341 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4342 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4343 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4344 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4345 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4346 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4347 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4348 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4349 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4350 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4351 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4352 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4353 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4354 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4355 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4356 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4357 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4358 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4359 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4360 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4361 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4362 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4363
11dd4af6
L
4364 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4365 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4366 * include/ifunc-impl-list.h: New file.
4367 * misc/ifunc-impl-list.c: Likewise.
4368 * misc/Makefile (routines): Add ifunc-impl-list.
4369 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4370 * string/test-string.h: Include <ifunc-impl-list.h>.
4371 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4372 impl_array): New variables.
4373 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4374 are defined.
4375 (test_init): Call __libc_ifunc_impl_list to initialize
4376 func_list if TEST_IFUNC and TEST_NAME are defined.
4377
9a387d1f
L
4378 * string/Makefile (strop-tests): Add bcopy and bzero.
4379 * string/test-bcopy.c: New file.
4380 * string/test-bzero.c: Likewise.
4381 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4382 defined.
4383 * string/test-memset.c: Support bzero test if TEST_BZERO is
4384 defined.
4385 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4386 __libc_memmove.
4387 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4388 __libc_memset.
4389 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4390 of memset.
4391
472371b9
JM
43922012-10-10 Joseph Myers <joseph@codesourcery.com>
4393
1e4a9536
JM
4394 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4395 * configure: Regenerated.
4396
d173d12e
JM
4397 * Makeconfig (+link-static-before-libc): Don't include
4398 $(link-static-libc).
4399
472371b9
JM
4400 * libio/libio.h (_IO_pos_t): Remove.
4401
89a3ad0b
AO
44022012-10-10 Alexandre Oliva <aoliva@redhat.com>
4403
4404 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4405 McGrath.
4406
e7451425
AO
44072012-10-10 Alexandre Oliva <aoliva@redhat.com>
4408
4409 * crypt/crypt-entry.c: Include fips-private.h.
4410 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4411 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4412 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4413 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4414
4ba74a35
AO
44152012-10-10 Alexandre Oliva <aoliva@redhat.com>
4416
4417 * crypt/crypt-private.h: Include stdbool.h.
4418 (_ufc_setup_salt_r): Return bool.
4419 * crypt/crypt-entry.c: Include errno.h.
4420 (__crypt_r): Return NULL with EINVAL for bad salt.
4421 * crypt/crypt_util.c (bad_for_salt): New.
4422 (_ufc_setup_salt_r): Check that salt is long enough and within
4423 the specified alphabet.
4424 * crypt/badsalttest.c: New file.
4425 * crypt/Makefile (tests): Add it.
4426 ($(objpfx)badsalttest): New.
4427
f96f1242
MK
44282012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4429
4430 * NEWS: Add entry for BZ #14602.
4431
0e8e0c1c
JM
44322012-10-09 Joseph Myers <joseph@codesourcery.com>
4433
4434 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4435 type-generic.
4436 * math/libm-test.inc: Update comment listing what functions and
4437 macros are tested.
4438 (isgreater_test): New function.
4439 (isgreaterequal_test): Likewise.
4440 (isless_test): Likewise.
4441 (islessequal_test): Likewise.
4442 (islessgreater_test): Likewise.
4443 (isunordered_test): Likewise.
4444 (main): Call the new functions.
4445
273edc5e
RM
44462012-10-09 Roland McGrath <roland@hack.frob.com>
4447
b8493de0
RM
4448 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4449 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4450 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4451 * sysdeps/i386/configure: Regenerated.
4452 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4453 * sysdeps/mach/configure: Regenerated.
4454 * sysdeps/mach/hurd/configure: Regenerated.
4455 * sysdeps/powerpc/configure: Regenerated.
4456 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4457 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4458 * sysdeps/s390/s390-32/configure: Regenerated.
4459 * sysdeps/s390/s390-64/configure: Regenerated.
4460 * sysdeps/sh/configure: Regenerated.
4461 * sysdeps/sparc/configure: Regenerated.
4462 * sysdeps/unix/sysv/linux/configure: Regenerated.
4463 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4464 * sysdeps/x86_64/configure: Regenerated.
4465
273edc5e
RM
4466 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4467 defined. Don't check if MAP is NULL.
4468
c8450f70
JM
44692012-10-09 Joseph Myers <joseph@codesourcery.com>
4470
4471 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4472 (_G_stat64): Likewise.
4473 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4474 (_G_stat64): Likewise.
4475 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4476 instead of struct _G_stat64.
4477 * libio/fileops.c (mmap_remap_check): Likewise.
4478 (decide_maybe_mmap): Likewise.
4479 (_IO_new_file_seekoff): Likewise.
4480 (_IO_file_stat): Likewise.
4481 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4482 _G_off64_t.
4483 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4484 instead of struct _G_stat64.
4485 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4486
57e605ba
MK
44872012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4488
4489 [BZ #14602]
4490 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4491 Replace with ...
4492 (CHECK_EOL): New macro.
4493 (two_way_short_needle): Check beginning of haystack for EOL. Use
4494 CHECK_EOL.
4495 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4496 Replace with CHECK_EOL.
4497 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4498 Replace with CHECK_EOL.
4499
ef1bb361
JM
45002012-10-08 Joseph Myers <joseph@codesourcery.com>
4501
4502 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4503 type-generic.
4504 * math/libm-test.inc: Update comment listing what functions and
4505 macros are tested.
4506 (finite_test): New function.
4507 (isinf_test): Likewise.
4508 (isnan_test): Likewise.
4509 (fpclassify_test): Test subnormal input.
4510 (isfinite_test): Likewise.
4511 (isnormal_test): Likewise.
4512 (main): Call the new functions.
4513
55f11534
JN
45142012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4515
4516 [BZ #14660]
4517 * Makerules (%.dynsym): Force C locale when running
4518 $(OBJDUMP) --dynamic-syms.
4519
1ab29350
AS
45202012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4521
4522 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4523 <stdint.h>.
4524
f1ecb7ef
DM
45252012-10-06 David S. Miller <davem@davemloft.net>
4526
4527 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4528 upper 32-bits of the length value in %o2 since we use branch-on-register
4529 tests which consider the entire 64-bit register.
4530
5d41d91a
L
45312012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4532
4533 * string/test-strstr.c (check2): Add a test for page boundary.
4534
3baddb72
DM
45352012-10-05 David S. Miller <davem@davemloft.net>
4536
4537 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4538 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4539 file.
4540 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4541 sysdep_routines.
4542 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4543 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4544 and bzero when HWCAP_SPARC_CRYPTO is present.
4545
9cee5585
L
45462012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4547
d7e0dab9
L
4548 [BZ #14602]
4549 * string/test-strstr.c (check2): New function.
4550 (test_main): Call check2.
4551
03759f47
L
4552 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4553 and bug-strchr1.
4554 * string/bug-strcasestr1.c (do_test): Moved to ...
4555 * string/test-strcasestr.c (check1): Here. New function.
4556 (do_one_test): Break out result checking code into ...
4557 (check_result): This. New function.
4558 (do_one_test): Call check_result.
4559 (test_main): Call check1.
4560 * string/bug-strchr1.c (do_test): Moved to ...
4561 * string/test-strchr.c (check1): Here. New function.
4562 (do_one_test): Break out result checking code into ...
4563 (check_result): This. New function.
4564 (do_one_test): Call check_result.
4565 (test_main): Call check1.
4566 * string/bug-strstr1.c (main): Moved to ...
4567 * string/test-strchr.c (check1): Here. New function.
4568 (do_one_test): Break out result checking code into ...
4569 (check_result): This. New function.
4570 (do_one_test): Call check_result.
4571 (test_main): Call check1.
4572 * string/bug-strcasestr1.c: Removed.
4573 * string/bug-strchr1.c: Likewise.
4574 * string/bug-strstr1.c: Likewise.
4575
53cea63e
L
4576 * elf/Makefile (dl-routines): Add hwcaps.
4577 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4578 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4579 (_dl_important_hwcaps): Moved to ...
4580 * elf/dl-hwcaps.c: Here. New file.
4581 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4582
9cee5585 4583 [BZ #14557]
bb859b06
L
4584 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4585 if IS_IN_rtld isn't defined.
4586
9cee5585
L
4587 * elf/dl-support.c (_dl_sysinfo_map): New.
4588 Include "get-dynamic-info.h" and "setup-vdso.h".
4589 (_dl_non_dynamic_init): Call setup_vdso.
4590 * elf/dynamic-link.h: Don't include <assert.h>.
4591 (elf_get_dynamic_info): Moved to ...
4592 * elf/get-dynamic-info.h: Here. New file.
4593 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4594 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4595 * elf/setup-vdso.h: Here. New file.
4596 * elf/rtld.c: Include "setup-vdso.h".
4597 (dl_main): Call setup_vdso.
4598
23c31b76
JM
45992012-10-05 Joseph Myers <joseph@codesourcery.com>
4600
28234b07
JM
4601 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4602 creal in comment listing functions tested. List finite, isinf,
4603 isnan, isless, islessequal, isgreater, isgreaterequal,
4604 islessgreater, isunordered, lgamma_r and pow10 as functions and
4605 macros not tested. Mention which functions not tested are aliases
4606 for other functions. Fix typo. Note that signs of NaNs are not
4607 tested.
4608
23c31b76
JM
4609 * scripts/config.guess: Update from config.git.
4610 * scripts/config.sub: Likewise.
4611
9043e228
RM
46122012-10-04 Roland McGrath <roland@hack.frob.com>
4613
4614 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4615 * misc/madvise.c (madvise): Renamed to __madvise.
4616 Make madvise a weak alias.
4617 * include/sys/mman.h: Declare __madvise.
4618 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4619 * sysdeps/unix/syscalls.list
4620 (madvise): Make __madvise the strong name, and madvise a weak alias.
4621 * sysdeps/unix/sysv/linux/syscalls.list
4622 (madvise, mmap): Remove redundant entries.
4623 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4624 * malloc/malloc.c (mtrim): Likewise.
4625 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4626
f57f8055
RM
46272012-10-03 Roland McGrath <roland@hack.frob.com>
4628
4629 * sysdeps/mach/hurd/dl-cache.c: File removed.
4630 * config.h.in (USE_LDCONFIG): New #undef.
4631 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4632 * configure: Regenerated.
4633 * elf/Makefile (dl-routines): Add dl-cache only under
4634 [$(use-ldconfig) = yes].
4635 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4636 cache on [USE_LDCONFIG].
4637 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4638 [USE_LDCONFIG].
4639 * elf/rtld.c (dl_main): Likewise.
4640
5bb0c10a
PT
46412012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4642
4643 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4644 _SC_LEVEL4_CACHE_LINESIZE.
4645
010188c6
RM
46462012-10-03 Roland McGrath <roland@hack.frob.com>
4647
4648 * sysdeps/unix/bsd/confstr.h: File removed.
4649
b6c5ec07
AO
46502012-10-02 Alexandre Oliva <aoliva@redhat.com>
4651
4652 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4653 sys/sdt-config.h.
4654
408223d4
RM
46552012-10-02 Roland McGrath <roland@hack.frob.com>
4656
4657 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4658 Make 'mapoff' field ElfW(Off) rather than off_t.
4659
bb9510dc
DL
46602012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4661
fc997c6e
DL
4662 * nscd/Makefile: Remove nscd-cflags and all its users.
4663 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4664 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4665
bb9510dc
DL
4666 [BZ #10631]
4667 * malloc.c (malloc_printerr): Clarify error message.
4668
05699367
L
46692012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4670
4671 [BZ #14648]
4672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4673 Set bit_FMA_Usable if FMA is supported.
4674 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4675 macro.
4676 (bit_FMA4_Usable): Updated.
4677 (index_FMA_Usable): New macro.
4678 (CPUID_FMA): Likewise
4679 (HAS_FMA): Defined with bit_FMA_Usable.
4680
51367701
RM
46812012-10-01 Roland McGrath <roland@hack.frob.com>
4682
4683 * bits/types.h (__swblk_t): Type removed.
4684 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4685 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4686 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4687 (__SWBLK_T_TYPE): Likewise.
4688 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4689 (__SWBLK_T_TYPE): Likewise.
4690 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4691 (__SWBLK_T_TYPE): Likewise.
4692 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4693 (__SWBLK_T_TYPE): Likewise.
4694
4d57bf63 46952012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4696 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4697
4698 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4699 (xdr_mapname): Use YPMAXMAP as maxsize.
4700 (xdr_peername): Use YPMAXPEER as maxsize.
4701 (xdr_keydat): Use YPAXRECORD as maxsize.
4702 (xdr_valdat): Use YPMAXRECORD as maxsize.
4703
93c65d43
RM
47042012-10-01 Roland McGrath <roland@hack.frob.com>
4705
497a03d6
RM
4706 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4707
93c65d43
RM
4708 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4709 * csu/init-first.c: ... here.
4710 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4711 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4712 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4713 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4714 * sysdeps/i386/init-first.c: File removed.
4715 * sysdeps/sh/init-first.c: File removed.
4716
bec749fd
JM
47172012-10-01 Joseph Myers <joseph@codesourcery.com>
4718
4719 [BZ #14645]
4720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4721 if x * y might underflow to zero and z is zero.
4722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4723 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4724 * math/libm-test.inc (min_subnorm_value): New variable.
4725 (fma_test): Add more tests.
4726 (fma_test_towardzero): Likewise.
4727 (fma_test_downward): Likewise
4728 (fma_test_upward): Likewise.
4729 (initialize): Set min_subnorm_value.
4730
8ec5b013
JM
47312012-09-29 Joseph Myers <joseph@codesourcery.com>
4732
4733 [BZ #14638]
4734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4735 0 + 0.
4736 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4737 mode for addition resulting in exact zero.
4738 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4739 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4740 exact 0 + 0.
4741 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4742 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4743 * math/libm-test.inc (fma_test): Add more tests.
4744 (fma_test_towardzero): New function.
4745 (fma_test_downward): Likewise.
4746 (fma_test_upward): Likewise.
4747 (main): Call the new functions.
4748
b1fa802e
DM
47492012-09-28 David S. Miller <davem@davemloft.net>
4750
4751 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4752
d3b9fd9e
RM
47532012-09-28 Roland McGrath <roland@hack.frob.com>
4754
ea4d37b3
RM
4755 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4756 instead of SIGALRM.
4757
ac51c949
RM
4758 * sysdeps/gnu/_G_config.h: Moved to ...
4759 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4760 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4761 * sysdeps/generic/_G_config.h: ... here.
4762
28c195f7
RM
4763 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4764
848917f9
RM
4765 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4766
6bacf05b
RM
4767 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4768 Conditionalize target on [libnss_test1.so-version].
4769
91363dbb
RM
4770 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4771
cc87f7d8
RM
4772 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4773 (elfobjdir): Move out of conditionals.
4774
b1c608fe
RM
4775 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4776 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4777 (__nss_lookup_function): Conditionalize label remove_from_tree on
4778 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4779
1d9a6d96
DM
47802012-09-28 David S. Miller <davem@davemloft.net>
4781
4782 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4783 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4784 file.
4785 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4786 sysdep_routines.
4787 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4788 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4789 when HWCAP_SPARC_CRYPTO is present.
4790
72581615
PT
47912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4792
4793 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4794
715a900c
JL
47952012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4796
4797 [BZ #6530]
4798 * stdio-common/vfprintf.c (process_string_arg): Revert
4799 2000-07-22 change.
4800
48012011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4802
4803 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4804 for testcase.
4805 * stdio-common/tst-sprintf.c: Include <locale.h>
4806 (main): Test sprintf's handling of incomplete multibyte
4807 characters.
4808
9bac1d86
L
48092012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4810
4811 * elf/dl-runtime.c (VERSYMIDX): Removed.
4812 * elf/dl-version.c (VERSYMIDX): Likewise.
4813 * elf/do-rel.h (VERSYMIDX): Likewise.
4814 (VALIDX): Likewise.
4815 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4816 * elf/rtld.c (VALIDX): Likewise.
4817 (ADDRIDX): Likewise.
9bac1d86
L
4818 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4819 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4820 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4821 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4822 (VALIDX): Likewise.
4823 (ADDRIDX): Likewise.
9bac1d86 4824
b31606c0
PT
48252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4826
4827 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4828
11541177
JL
48292012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4830
4831 [BZ #11438]
4832 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4833 to global scope.
4834 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4835 addresses are in the same scope as 192.0.2/24.
4836 * posix/gai.conf: Document new scope table defaults.
4837
adb26fae
SP
48382012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4839
4840 [BZ #5298]
4841 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4842 for ftell. Compute offsets from write pointers instead.
4843 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4844
4573c6b0
SP
48452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4846
4847 [BZ #14543]
4848 * libio/Makefile (tests): New test case tst-fseek.
4849 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4850 combination works in wide mode.
4851 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4852 state when the external buffer state changes.
4853
aa9bbfe6
DM
48542012-09-27 David S. Miller <davem@davemloft.net>
4855
4856 [BZ #14376]
4857 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4858 pass reloc->r_addend in as the 'high' argument to
4859 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4860
784421e7
DM
4861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4862
c39bc8b8
PT
48632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4864
4865 * rt/tst-aio2.c: Include <pthread.h>.
4866 * rt/tst-aio3.c: Likewise.
4867
1ccc2399
SE
48682012-09-27 Steve Ellcey <sellcey@mips.com>
4869
4870 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4871
31ed4153
L
48722012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4873
25f5f885
L
4874 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4875 contents on [SHARED].
31ed4153 4876
b7bfe116
MP
48772012-09-26 Marek Polacek <polacek@redhat.com>
4878
4879 [BZ #14530]
4880 [BZ #13741]
4881 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4882 for C++ and GCC <4.3 as well as for non GCC compilers.
4883
43c4edba
MT
48842012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4885
4886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4887
6a1bf82f
RM
48882012-09-25 Roland McGrath <roland@hack.frob.com>
4889
4890 * Makefile.in (all, install): Declare with .PHONY.
4891 Reported by Michael Hope <michael.hope@linaro.org>.
4892
8ad11b9a
TMQMF
48932012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4894
4895 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4896 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4897 system header.
4898 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4899 Likewise.
4900 (sydep_routines): Add the new and the internal functions.
4901 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4902 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4904 (GLIBC_2.17): Add the new function.
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4906 (GLIBC_2.17): Likewise.
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4908 (GLIBC_2.17): Likewise.
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4910 (GLIBC_2.17): Likewise.
4911 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4912
7e2fca8d
AM
49132012-09-25 Alan Modra <amodra@gmail.com>
4914
4915 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4916 Add release barrier before setting once_control to say
4917 initialisation is done. Add hints on lwarx. Use macro in
4918 place of isync.
4919 (clear_once_control): Add release barrier.
4920
b87c4b24
JM
49212012-09-25 Joseph Myers <joseph@codesourcery.com>
4922
d032e0d2
JM
4923 [BZ #13629]
4924 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4925 specially.
4926 * math/s_clog10.c (__clog10): Likewise.
4927 * math/s_clog10f.c (__clog10f): Likewise.
4928 * math/s_clog10l.c (__clog10l): Likewise.
4929 * math/s_clogf.c (__clogf): Likewise.
4930 * math/s_clogl.c (__clogl): Likewise.
4931 * math/Makefile (libm-calls): Add x2y2m1.
4932 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4933 (__x2y2m1): Likewise.
4934 (__x2y2m1l): Likewise.
4935 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4936 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4937 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4938 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4939 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4940 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4941 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4942 * sysdeps/i386/fpu/libm-test-ulps: Update.
4943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4944
b87c4b24
JM
4945 [BZ #14621]
4946 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4947 int as type of variable DEPTH.
4948 (glob): Use size_t instead of int as type of variables NEWCOUNT
4949 and OLD_PATHC.
4950
6d3bf199
LD
49512012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4952
22bf5c17
LD
4953 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4954 Add s_sincosf-sse2.
4955 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4956 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4957 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4958 macros for using routine as __sincosf_ia32.
4959 Use macro for function declaration and weak_alias.
4960 * sysdeps/i386/fpu/libm-test-ulps: Update.
4961
4962 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4964
4965 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4966 subnormal argument.
4967 * math/s_cexpf.c (__cexpf): Likewise.
4968 * math/s_csinf.c (__csinf): Likewise.
4969 * math/s_csinhf.c (__csinhf): Likewise.
4970 * math/s_ctanf.c (__ctanf): Likewise.
4971 * math/s_ctanhf.c (__ctanhf): Likewise.
4972 * math/s_ccosh.c (__ccoshf): Likewise.
4973 * math/s_cexp.c (__cexpl): Likewise.
4974 * math/s_csin.c (__csin): Likewise.
4975 * math/s_csinh.c (__csinh): Likewise.
4976 * math/s_ctan.c (__ctan): Likewise.
4977 * math/s_ctanh.c (ctanh): Likewise.
4978 * math/s_ccoshl.c (__ccoshl): Likewise.
4979 * math/s_cexpl.c (__cexpl): Likewise.
4980 * math/s_csinl.c (__csinl): Likewise.
4981 * math/s_csinhl.c (__csinhl): Likewise.
4982 * math/s_ctanl.c (__ctanl): Likewise.
4983 * math/s_ctanhl.c (__ctanhl): Likewise.
4984
203e5603
JM
49852012-09-25 Joseph Myers <joseph@codesourcery.com>
4986
4987 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4988 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4989 (_IO_off_t): Define to __off_t, not _G_off_t.
4990 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4991 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4992 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4993 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4994 type of __dummy and __dummy2 fields.
4995 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4996 (_G_ssize_t): Likewise.
4997 (_G_off_t): Likewise.
4998 (_G_pid_t): Likewise.
4999 (_G_uid_t): Likewise.
5000 (_G_wchar_t): Likewise.
5001 (_G_wint_t): Likewise.
5002 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5003 (_G_ssize_t): Likewise.
5004 (_G_off_t): Likewise.
5005 (_G_pid_t): Likewise.
5006 (_G_uid_t): Likewise.
5007 (_G_wchar_t): Likewise.
5008 (_G_wint_t): Likewise.
5009 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5010 (_G_ssize_t): Likewise.
5011 (_G_off_t): Likewise.
5012 (_G_pid_t): Likewise.
5013 (_G_uid_t): Likewise.
5014 (_G_wchar_t): Likewise.
5015 (_G_wint_t): Likewise.
5016
9fab36eb
SP
50172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5018
5019 * malloc/arena.c: Include malloc-sysdep.h.
5020 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5021 is sufficient to shrink the heap or an unmap is needed.
5022 * sysdeps/generic/malloc-sysdep.h: New file. Define
5023 new function check_may_shrink_heap.
5024 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5025 new function check_may_shrink_heap.
5026
2b4f00d1
SP
50272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5028
5029 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5030 comments.
5031
9a9028b1
DL
50322012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5033
57c69bef
DL
5034 * catgets/test-gencat.sh: Add "set -e".
5035 * elf/tst-pathopt.sh: Likewise.
5036 * grp/tst_fgetgrent.sh: Likewise.
5037 * iconvdata/run-iconv-test.sh: Likewise.
5038 * intl/tst-gettext.sh: Likewise.
5039 * intl/tst-gettext2.sh: Likewise.
5040 * intl/tst-gettext4.sh: Likewise.
5041 * intl/tst-gettext6.sh: Likewise.
5042 * intl/tst-translit.sh: Likewise.
5043 * io/ftwtest-sh: Likewise.
5044 * libio/test-freopen.sh: Likewise.
5045 * malloc/tst-mtrace.sh: Likewise.
5046 * posix/globtest.sh: Likewise.
5047 * posix/tst-getconf.sh: Likewise.
5048 * posix/wordexp-tst.sh: Likewise.
5049 * stdio-common/tst-printf.sh: Likewise.
5050 * stdio-common/tst-unbputc.sh: Likewise.
5051 * stdlib/tst-fmtmsg.sh: Likewise.
5052 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5053 * catgets/Makefile: Do not specify -e option when running
5054 testsuite shell scripts.
5055 * elf/Makefile: Likewise.
5056 * grp/Makefile: Likewise.
5057 * iconvdata/Makefile: Likewise.
5058 * intl/Makefile: Likewise.
5059 * io/Makefile: Likewise.
5060 * libio/Makefile: Likewise.
5061 * malloc/Makefile: Likewise.
5062 * posix/Makefile: Likewise.
5063 * stdio-common/Makefile: Likewise.
5064 * stdlib/Makefile: Likewise.
5065 * sysdeps/x86_64/Makefile: Likewise.
5066
9a9028b1
DL
5067 * io/ftwtest-sh: Add copyright header.
5068 * posix/globtest.sh: Likewise.
5069 * posix/tst-getconf.sh: Likewise.
5070 * posix/wordexp-tst.sh: Likewise.
5071 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5072
ced6f16e
L
50732012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5074
94b32c39
L
5075 [BZ #13679]
5076 * Makeconfig (+link): Defined as $(+link-static) if
5077 $(build-shared) isn't yes.
5078 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5079 isn't yes.
5080 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5081
189e935b
L
5082 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5083
ced6f16e
L
5084 [BZ #14562]
5085 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5086 new chunk size with MALLOC_ALIGN_MASK.
5087
a9f8e53a
JM
50882012-09-24 Joseph Myers <joseph@codesourcery.com>
5089
5090 [BZ #5044]
5091 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5092 <rounding-mode.h>.
5093 (__printf_fphex): Determine rounding using get_rounding_mode and
5094 round_away.
5095 * stdio-common/tst-printf-round.c (struct hex_test): New
5096 structure.
5097 (hex_tests): New variable.
5098 (test_hex_in_one_mode): New function.
5099 (do_test): Also run tests for hex float output.
5100
43153109
JM
51012012-09-21 Joseph Myers <joseph@codesourcery.com>
5102
5103 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5104 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5105 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5106 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5107 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5108 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5109 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5110 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5111
8a26625d
JM
51122012-09-20 Joseph Myers <joseph@codesourcery.com>
5113
5114 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5115 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5116 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5117 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5118
f3fd569c
DL
51192012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5120
5121 [BZ #14579]
5122 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5123 mode only.
5124 * elf/tst-rtld-load-self.sh: New test.
5125 * elf/Makefile: Run it.
5126
63bbedd4
JM
51272012-09-18 Joseph Myers <joseph@codesourcery.com>
5128
5129 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5130 (tst-writev-ENV): Remove.
5131 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5132
626f8b6a
CM
51332012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5134
5135 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5136
b7aaa4d6
JM
51372012-09-17 Joseph Myers <joseph@codesourcery.com>
5138
5139 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5140 unconditional.
5141 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5142 Likewise.
5143 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5144 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5145 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5146 Likewise.
5147
65513990
L
51482012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5149
5150 [BZ #14587]
5151 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5152 * config.make.in (have-cpp-asm-debuginfo): Removed.
5153 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5154 * configure: Regenerated.
5155
784761be
JM
51562012-09-14 Joseph Myers <joseph@codesourcery.com>
5157
5158 [BZ #5044]
5159 * stdio-common/printf_fp.c: Include <stdbool.h> and
5160 <rounding-mode.h>.
5161 (___printf_fp): Determine rounding using get_rounding_mode and
5162 round_away.
5163 * stdio-common/tst-printf-round.c: New file.
5164 * stdio-common/Makefile (tests): Add tst-printf-round.
5165 (link-libm): New variable.
5166 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5167
9503345f
L
51682012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5169
5170 [BZ #14576]
5171 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5172 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5173 Likewise.
5174 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5175 Likewise.
5176
ad35fc00
JM
51772012-09-13 Joseph Myers <joseph@codesourcery.com>
5178
5179 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5180 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5181 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5182 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5183
6c9b0f68
JM
51842012-09-12 Joseph Myers <joseph@codesourcery.com>
5185
5186 [BZ #14518]
5187 * include/rounding-mode.h: New file.
5188 * sysdeps/generic/get-rounding-mode.h: Likewise.
5189 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5190 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5191 (MAX_VALUE): New macro.
5192 (MIN_VALUE): Likewise.
5193 (overflow_value): New function.
5194 (underflow_value): Likewise.
5195 (round_and_return): Use overflow_value and underflow_value to
5196 determine return values in overflow and underflow cases. Use
5197 round_away to determine rounding depending on rounding mode.
5198 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5199 determine return values in overflow and underflow cases.
5200 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5201 (struct test_results): New structure.
5202 (struct test): Use struct test_results to store expected results
5203 for all rounding modes.
5204 (TEST): Include expected results for all rounding modes.
5205 (test_in_one_mode): New function.
5206 (do_test): Use test_in_one_mode to compute and check results.
5207 Check results for all rounding modes.
5208 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5209 $(link-libm).
5210
19fcedd5
AM
52112012-12-09 Allan McRae <allan@archlinux.org>
5212
1e9d84cd 5213 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5214
8bbfd2f1
JM
52152012-09-11 Joseph Myers <joseph@codesourcery.com>
5216
5217 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5218 (_G_int32_t): Likewise.
5219 (_G_uint16_t): Likewise.
5220 (_G_uint32_t): Likewise.
5221 (_G_HAVE_BOOL): Likewise.
5222 (_G_HAVE_ATEXIT): Likewise.
5223 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5224 (_G_HAVE_IO_FILE_OPEN): Likewise.
5225 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5226 (_G_int32_t): Likewise.
5227 (_G_uint16_t): Likewise.
5228 (_G_uint32_t): Likewise.
5229 (_G_HAVE_BOOL): Likewise.
5230 (_G_HAVE_ATEXIT): Likewise.
5231 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5232 (_G_HAVE_IO_FILE_OPEN): Likewise.
5233 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5234 (_G_int32_t): Likewise.
5235 (_G_uint16_t): Likewise.
5236 (_G_uint32_t): Likewise.
5237 (_G_HAVE_BOOL): Likewise.
5238 (_G_HAVE_ATEXIT): Likewise.
5239 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5240 (_G_HAVE_IO_FILE_OPEN): Likewise.
5241
b1dc5912
L
52422012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5243
5244 * csu/libc-tls.c: Update copyright years.
5245
0e886ef9
JM
52462012-09-10 Joseph Myers <joseph@codesourcery.com>
5247
28361c5e
JM
5248 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5249 [!_G_USING_THUNKS]: Remove conditional code.
5250 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5251 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5252
0e886ef9
JM
5253 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5254 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5255 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5256 (_G_VTABLE_LABEL_PREFIX): Likewise.
5257 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5258 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5259 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5260 (_G_VTABLE_LABEL_PREFIX): Likewise.
5261 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5262 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5263 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5264 (_G_VTABLE_LABEL_PREFIX): Likewise.
5265 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5266
bcba7aa2
L
52672012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5268
5269 * libio/Makefile: Include ../Makeconfig before tests.
5270 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5271 only if $(build-shared) is yes.
5272
06585ee8
L
5273 * iconv/gconv_db.c: Update copyright years.
5274
80ccd52c
LD
52752012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5276
5277 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5278 unwind info if defined PIC. Fix special cases description.
5279 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5280
5281 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5282 DP_HI_MASK entry.
5283 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5284
691bc9c1
L
52852012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5286
3d9b46b3
L
5287 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5288
de2139a9
L
5289 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5290 is NULL.
5291
5ca78dd0
L
5292 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5293 (LDLIBS-tst-chk4): This.
5294 (LDFLAGS-tst-chk5): Renamed to ...
5295 (LDLIBS-tst-chk5): This.
5296 (LDFLAGS-tst-chk6): Renamed to ...
5297 (LDLIBS-tst-chk6): This.
5298 (LDFLAGS-tst-lfschk4): Renamed to ...
5299 (LDLIBS-tst-lfschk4): This.
5300 (LDFLAGS-tst-lfschk5): Renamed to ...
5301 (LDLIBS-tst-lfschk5): This.
5302 (LDFLAGS-tst-lfschk6): Renamed to ...
5303 (LDLIBS-tst-lfschk6): This.
5304
691bc9c1
L
5305 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5306 on $(common-objpfx)soversions.mk.
5307
65cafb1c
JM
53082012-09-07 Joseph Myers <joseph@codesourcery.com>
5309
5310 [BZ #10014]
5311 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5312 example host name.
5313
c78ab094
SP
53142012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5315
5316 * malloc/arena.c (arena_get_retry): New function that gets
5317 another arena for the caller to try its request on.
5318 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5319 current arena cannot fulfill the request.
5320 (__libc_memalign): Likewise.
5321 (__libc_memalign): Likewise.
5322 (__libc_pvalloc): Likewise.
5323 (__libc_calloc): Likewise.
5324
01f49f59
JT
53252012-09-05 John Tobey <john.tobey@gmail.com>
5326
5327 [BZ #13542]
5328 * manual/arith.texi (Operations on Complex): Fix description
5329 of carg branch cut.
5330
4c23fed5
JM
53312012-09-06 Joseph Myers <joseph@codesourcery.com>
5332
1d3c8572
JM
5333 [BZ #10014]
5334 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5335 host name.
5336
4c23fed5
JM
5337 [BZ #10038]
5338 * manual/memory.texi (Memory): Make order of menu items match
5339 order of sections.
5340
04570aaa
L
53412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5342
5343 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5344 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5345 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5346
b80af2f4
L
53472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5348
5349 * csu/libc-tls.c (static_dtv): Renamed to ...
5350 (_dl_static_dtv): This. Make it global.
5351 (_dl_initial_dtv): Removed.
5352 (__libc_setup_tls): Updated.
5353 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5354 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5355 DL_INITIAL_DTV.
5356
2abe9f15
PM
53572012-09-06 Petr Machata <pmachata@redhat.com>
5358
5359 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5360 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5361 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5362 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5363
0948c3af
L
53642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5365
5366 [BZ #14545]
5367 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5368 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5369 freeing dtv[-1].
5370
a5055ad1
L
53712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5372
5373 [BZ #14544]
5374 * Makeconfig (link-static-before-libc): Replace $(+prector)
5375 with $(+prectorT).
5376 (link-static-after-libc): Replace $(+postctor) with
5377 $(+postctorT).
5378 (link-bounded): Replace $(+prector)/$(+postctor) with
5379 $(+prectorT)/$(+postctorT).
5380 (+prectorT): New macro.
5381 (+postctorT): Likewise.
5382
ed8c2ecd
JM
53832012-09-06 Joseph Myers <joseph@codesourcery.com>
5384
5385 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5386 (round_str): Handle values above the maximum for IBM long double
5387 as inexact.
5388 * stdlib/tst-strtod-round.c (tests): Regenerated.
5389
14c996c8
AK
53902012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5391
5392 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5393 assembler flag.
5394 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5395 zarch_nohighgprs around the zarch optimized routines.
5396 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5397 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5398 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5399 for zarch.
5400
430d6ce6
DM
54012012-09-05 David S. Miller <davem@davemloft.net>
5402
5403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5404
ff04dda4
DM
5405 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5406 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5407 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5408 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5409 entries.
5410
24d4e01b
AO
54112012-09-05 Alexandre Oliva <aoliva@redhat.com>
5412
5413 * malloc/arena.c: Fold copyright years.
5414 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5415
61d58174
AO
54162012-09-05 Alexandre Oliva <aoliva@redhat.com>
5417
5418 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5419
20196a5e
AO
54202012-09-05 Alexandre Oliva <aoliva@redhat.com>
5421
5422 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5423
5c447383
AO
54242012-09-05 Alexandre Oliva <aoliva@redhat.com>
5425
5426 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5427 change internal state upon failure.
5428
fad64255
AO
54292012-09-05 Alexandre Oliva <aoliva@redhat.com>
5430
5431 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5432 * malloc/memusage.c (mmap): Likewise.
5433 (mmap64, mremap): Likewise. Adjust name in comment.
5434
1ffb8c90
SP
54352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5436
5437 * libio/fileops.c: Fix typos in comments.
5438 * libio/oldfileops.c: Likewise.
5439 * libio/wfileops.c: Likewise.
5440
6ef9cc37
SP
54412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5442
5443 [BZ #1349]
5444 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5445 (tst-malloc-usable-ENV): Set environment for test case.
5446 * malloc/hooks.c (malloc_check_get_size): New function to get
5447 requested size.
5448 * malloc/malloc.c (musable): Use malloc_check_get_size.
5449 * malloc/tst-malloc-usable.c: New test case.
5450
4d038ae3
AS
54512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5452
5453 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5454
c4e85184
AM
54552012-09-05 Allan McRae <allan@archlinux.org>
5456
b9dafc56 5457 [BZ #13966]
c4e85184
AM
5458 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5459 determine header location.
5460 * configure: Regenerated.
5461
e1343020
AS
54622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5463
5464 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5465 float format.
5466 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5467 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5468 format.
e1343020
AS
5469 (test): Regenerate.
5470
0a9f1987
DM
54712012-09-04 David S. Miller <davem@davemloft.net>
5472
5473 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5474 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5475 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5476
29237804
FW
54772012-09-04 Florian Weimer <fweimer@redhat.com>
5478
5479 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5480 failures.
5481
edb3cb88
FW
5482 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5483
60160d83
JM
54842012-09-04 Joseph Myers <joseph@codesourcery.com>
5485
5486 [BZ #9914]
5487 * libio/iogetdelim.c: Include <limits.h>.
5488 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5489 + len + 1 would overflow.
5490
bcd6c8dc
AJ
54912012-09-03 Andreas Jaeger <aj@suse.de>
5492
5493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5494 * sysdeps/i386/fpu/libm-test-ulps: Update.
5495
4ffffbd2
LD
54962012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5497
5498 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5499 Add s_sinf-sse2, s_conf-sse2.
5500
5501 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5502 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5503 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5504 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5505
5506 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5507 for using routine as __sinf_ia32.
5508 Use macro for function declaration and weak_alias.
5509 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5510 for using routine as __cosf_ia32.
5511 Use macro for function declaration and weak_alias.
5512
5513 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5514 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5515
5516 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5517 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5519
5520 * math/libm-test.inc (cos_test): Add more test cases.
5521 (sin_test): Likewise.
5522 (sincos_test): Likewise.
5523
511fa286
AK
55242012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5525
5526 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5527 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5528 hidden.
5529 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5530
5f30cfec
L
55312012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5532
5533 [BZ #14538]
5534 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5535 first element of the GOT.
5536 (elf_machine_load_address): Return the difference between
5537 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5538
0786794f
AM
55392012-09-01 Allan McRae <allan@archlinux.org>
5540
5f30cfec
L
5541 [BZ #13412]
5542 * configure.in (AWK): Require gawk version 3.0 or later.
5543 * configure: Regenerated.
0786794f 5544
26889eac
JM
55452012-09-01 Joseph Myers <joseph@codesourcery.com>
5546
5547 * sysdeps/unix/sysv/linux/kernel-features.h
5548 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5549 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5550 [__NR_clock_getres]: Make code unconditional.
5551 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5552 (clock_getcpuclockid): Remove code left unreachable by removal of
5553 conditionals.
5554 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5555 code unconditional.
5556 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5557 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5558 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5559 Make code unconditional.
5560 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5561 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5562 * sysdeps/unix/sysv/linux/clock_settime.c
5563 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5564 conditional code.
5565 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5566 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5567
d22e28b0
L
55682012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5569
5570 [BZ #14476]
5571 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5572 scripts/test-installation.pl.
5573
5574 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5575 and $ld_so_version if it is set.
5576
050af9c4
SP
55772012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5578
5579 [BZ #14516]
5580 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5581 failure if reading from procfs failed.
5582 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5583
ad845c0b
JM
55842012-08-27 Joseph Myers <joseph@codesourcery.com>
5585
5586 * sysdeps/unix/sysv/linux/kernel-features.h
5587 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5588 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5589 Remove conditional code.
5590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5591 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5592 Remove conditional code.
5593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5594 * sysdeps/unix/sysv/linux/i386/fxstat.c
5595 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5597 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5598 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5600 * sysdeps/unix/sysv/linux/i386/lxstat.c
5601 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5602 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5603 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5604 Remove conditional code.
5605 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5606 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5607 Remove conditional code.
5608 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5609 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5610 <kernel-features.h>.
5611 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5612 Remove.
5613 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5614 Remove conditional code.
5615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5616 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5617 Remove conditional.
5618
5dbf56af
MF
56192012-08-27 Mike Frysinger <vapier@gentoo.org>
5620
5621 [BZ #5400]
5622 * NEWS: Add fixed bug number.
5623
d6e70f43
JM
56242012-08-27 Joseph Myers <joseph@codesourcery.com>
5625
7efb4737
JM
5626 [BZ #14519]
5627 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5628 underflowing exponent in case of negative sign.
5629 * stdlib/tst-strtod-round-data: Add more tests.
5630 * stdlib/tst-strtod-round.c (tests): Regenerated.
5631
af92131a
JM
5632 [BZ #3479]
5633 * stdlib/strtod_l.c (NDIG): Remove.
5634 (HEXNDIG): Likewise.
5635 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5636 smallest representable value.
5637 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5638 lie within an exact representation of 1/2 ulp of the result.
5639 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5640 unconditionally.
5641 (TENS_P9_IDX): Define unconditionally.
5642 (TENS_P9_SIZE): Likewise.
5643 (TENS_P10_IDX): Likewise.
5644 (TENS_P10_SIZE): Likewise.
5645 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5646 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5647 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5648 entries for 10^2^13 and 10^2^14.
5649 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5650 (TENS_P13_IDX): Define.
5651 (TENS_P13_SIZE): Likewise.
5652 (TENS_P14_IDX): Likewise.
5653 (TENS_P14_SIZE): Likewise.
5654 (_fpioconst_pow10): Change array size to
5655 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5656 unconditional.
5657 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5658 1024]: Add entries for 10^2^13 and 10^2^14.
5659 [LAST_POW10 > _LAST_POW10]: Remove #error.
5660 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5661 (_fpioconst_pow10): Change array size to
5662 FPIOCONST_POW10_ARRAY_SIZE.
5663 * stdlib/gen-fpioconst.c: New file.
5664 * stdlib/gen-tst-strtod-round.c: Likewise.
5665 * stdlib/tst-strtod-round-data: Likewise.
5666 * stdlib/tst-strtod-round.c: Likewise.
5667 * stdlib/Makefile (tests): Add tst-strtod-round.
5668
d6e70f43
JM
5669 [BZ #14459]
5670 * stdlib/strtod_l.c: Include <stdint.h>.
5671 (NDEBUG): Do not define.
5672 (round_and_return): Change EXPONENT parameter to type intmax_t.
5673 Rearrange calculations to avoid internal overflow possibilities.
5674 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5675 Rearrange calculations to avoid internal overflow possibilities.
5676 Assert that number fits inside MPNSIZE limbs.
5677 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5678 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5679 calculations and add assertions to avoid internal overflow
5680 possibilities. Add casts to avoid signed/unsigned operations.
5681 * stdlib/tst-strtod-overflow.c: New file.
5682 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5683
1f529f7d
MP
56842012-08-25 Marek Polacek <polacek@redhat.com>
5685
5686 * time/time.h: Fix some typos in comments.
5687
59a629f1
RM
56882012-08-23 Roland McGrath <roland@hack.frob.com>
5689
5690 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5691 * posix/tst-rfc3484-2.c: Likewise.
5692 * posix/tst-rfc3484-3.c: Likewise.
5693
d3bafbc9
SM
56942012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5695
5696 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5697 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5698
4efcc022
JM
56992012-08-23 Joseph Myers <joseph@codesourcery.com>
5700
5701 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5702 #include of fxstatat64.c.
5703
3cc3ef96
RM
57042012-08-22 Roland McGrath <roland@hack.frob.com>
5705
f04e2132
RM
5706 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5707 * shadow/getspent_r.c: Likewise.
5708 * shadow/getspnam.c: Likewise.
5709 * shadow/getspnam_r.c: Likewise.
5710 * gshadow/getsgent.c: Likewise.
5711 * gshadow/getsgent_r.c: Likewise.
5712 * gshadow/getsgnam.c: Likewise.
5713 * gshadow/getsgnam_r.c: Likewise.
5714 * inet/getnetbyad.c: Likewise.
5715 * inet/getnetbyad_r.c: Likewise.
5716 * inet/getnetbynm.c: Likewise.
5717 * inet/getnetbynm_r.c: Likewise.
5718 * inet/getnetent.c: Likewise.
5719 * inet/getnetent_r.c: Likewise.
5720 * inet/getproto.c: Likewise.
5721 * inet/getproto_r.c: Likewise.
5722 * inet/getprtent.c: Likewise.
5723 * inet/getprtent_r.c: Likewise.
5724 * inet/getprtname.c: Likewise.
5725 * inet/getprtname_r.c: Likewise.
5726 * inet/getrpcbyname.c: Likewise.
5727 * inet/getrpcbyname_r.c: Likewise.
5728 * inet/getrpcbynumber.c: Likewise.
5729 * inet/getrpcbynumber_r.c: Likewise.
5730 * inet/getrpcent.c: Likewise.
5731 * inet/getrpcent_r.c: Likewise.
5732 * inet/getaliasent.c: Likewise.
5733 * inet/getaliasent_r.c: Likewise.
5734 * inet/getaliasname.c: Likewise.
5735 * inet/getaliasname_r.c: Likewise.
5736 * nscd/getgrgid_r.c: Likewise.
5737 * nscd/getgrnam_r.c: Likewise.
5738 * nscd/gethstbyad_r.c: Likewise.
5739 * nscd/gethstbynm3_r.c: Likewise.
5740 * nscd/getpwnam_r.c: Likewise.
5741 * nscd/getpwuid_r.c: Likewise.
5742 * nscd/getsrvbynm_r.c: Likewise.
5743 * nscd/getsrvbypt_r.c: Likewise.
5744 * nscd/gai.c: Likewise.
5745
c53d909c
RM
5746 * configure.in (build_nscd): New substituted variable, set
5747 by --disable-build-nscd and defaults to $use_nscd.
5748 * configure: Regenerated.
5749 * config.make.in (build-nscd): New substituted variable.
5750 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5751 Change conditional to require [$(build-nscd) = yes] as well.
5752 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5753
3cc3ef96
RM
5754 [BZ# 13696]
5755 * configure.in (use_nscd): New substituted variable, set by
5756 --disable-nscd. If enabled, define USE_NSCD.
5757 * configure: Regenerated.
5758 * config.h.in: Add USE_NSCD.
5759 * config.make.in (use-nscd): New substituted variable.
5760 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5761 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5762 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5763 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5764 (CFLAGS-getgrnam_r.c): Likewise.
5765 (CFLAGS-initgroups.c): Likewise.
5766 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5767 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5768 Variables removed.
5769 * inet/getnetgrent_r.c
5770 (nscd_setnetgrent): New function, broken out of ...
5771 (setnetgrent): ... here. Call it.
5772 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5773 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5774 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5775 * nscd/Makefile (routines, aux): Move definitions after include of
5776 Makeconfig. Conditionalize on [$(use-nscd) != no].
5777 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5778 Conditionalize on [USE_NSCD].
5779 (is_nscd, nscd_init_cb): Likewise.
5780 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5781 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5782 * nss/nss_db/db-init.c: Likewise.
5783 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5784 [USE_NSCD].
5785 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5786 (make_request): Use it.
5787 (cache_valid_p): New function.
5788 (__check_pf): Use it.
5789 * NEWS: Add item for --disable-nscd.
5790
07e51550
DL
57912012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5792
5793 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5794 to support sed >= 4.2.1-20-ga9bf076.
5795 * configure: Regenerated.
5796
35a5b08b
RM
57972012-08-22 Roland McGrath <roland@hack.frob.com>
5798
5799 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5800 Conditionalize whole body on [IREL].
5801
8479f23a
JL
58022012-08-22 Jeff Law <law@redhat.com>
5803
5804 [BZ #14505]
5805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5806 if the family is PF_UNSPEC.
5807
48da0b21
MF
58082012-08-22 Mike Frysinger <vapier@gentoo.org>
5809
5810 * Makerules (lib-version): Rename from V.
5811 (install-lib-nosubdir): Change V to lib-version.
5812
15d0da8c
WS
58132012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5814
5815 [BZ #14252]
5816 * powerpc32/power6/wcschr.c: New file.
5817 * powerpc32/power6/wcscpy.c: New file.
5818 * powerpc32/power6/wcsrchr.c: New file.
5819 * powerpc64/power6/wcschr.c: New file.
5820 * powerpc64/power6/wcscpy.c: New file.
5821 * powerpc64/power6/wcsrchr.c: New file.
5822
bcca0895
MK
58232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5824
5825 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5826 (two_way_short_needle): Use it.
5a4aaa33
RM
5827 * string/strstr.c (AVAILABLE1_USES_J): Define.
5828 * string/strcasestr.c: Likewise.
99677e57
MK
5829
5830 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5831 array references.
5832 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5833
400726de
MK
5834 [BZ #11607]
5835 * NEWS: Add an entry.
5836 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5837 define their defaults.
5838 (two_way_short_needle): Detect end-of-string on-the-fly.
5839 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5840 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5841 * string/bug-strcasestr1.c: New test.
5842 * string/Makefile: Run it.
5843
20a71f2c
MK
58442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5845
5846 [BZ #11607]
5847 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5848 the first character.
5849
21ad0558
RM
58502012-08-21 Roland McGrath <roland@hack.frob.com>
5851
5852 * csu/elf-init.c (__libc_csu_irel): Function removed.
5853 * csu/libc-start.c (apply_irel): New function.
5854 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5855
0e1d9911
JM
58562012-08-21 Joseph Myers <joseph@codesourcery.com>
5857
5858 * sysdeps/unix/sysv/linux/kernel-features.h
5859 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5860 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5861 <kernel-features.h>.
5862 [__NR_fadvise64_64]: Make code unconditional.
5863 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5864 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5865 !__NR_fadvise64_64)]: Likewise.
5866 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5867 !__NR_fadvise64_64))]: Likewise.
5868 [__NR_fadvise64]: Make code unconditional.
5869 [!__NR_fadvise64]: Remove conditional code.
5870 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5871 <kernel-features.h>.
5872 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5873 unconditional.
5874 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5875 conditional code.
5876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5877 not include <kernel-features.h>.
5878 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5879 unconditional.
5880 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5881 conditional code.
5882 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5883 include <kernel-features.h>.
5884 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5885 unconditional.
5886 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5887 conditional code.
5888
14a50c9d
WS
58892012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5890
5891 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5892 slight instruction rearrangements per scrollpipe analysis.
5893 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5894
c0f4faf0
RM
58952012-08-20 Roland McGrath <roland@hack.frob.com>
5896
696da859
RM
5897 * manual/syslog.texi (syslog; vsyslog, closelog):
5898 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5899 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5900
c0f4faf0
RM
5901 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5902 DSOCAPS to match condition on defining it.
5903
348363b2
JM
59042012-08-20 Joseph Myers <joseph@codesourcery.com>
5905
a35cbf28
JM
5906 * sysdeps/unix/sysv/linux/kernel-features.h
5907 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5909 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5910 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5912 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5913 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5915 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5916 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5917
445f7ecd
JM
5918 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5919 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5920
348363b2
JM
5921 * sysdeps/unix/sysv/linux/kernel-features.h
5922 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5923 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5924 unconditional.
5925 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5926 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5927 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5928 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5929 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5930 Make code unconditional.
5931 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5932 (__mmap64) [!__NR_mmap2]: Likewise.
5933 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5934 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5935 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5936 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5937 [__NR_mmap2]: Make code unconditional.
5938 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5939 (__mmap64) [!__NR_mmap2]: Likewise.
5940
bc5bc0e5
AK
59412012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5942
5943 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5944
88d506de
AJ
59452012-08-18 Andreas Jaeger <aj@suse.de>
5946
5947 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5948
493387d2
MF
59492012-08-18 Mike Frysinger <vapier@gentoo.org>
5950
5951 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5952 * include/unistd.h (__have_sock_cloexec): Likewise.
5953 (__have_pipe2): Likewise.
5954 (__have_dup3): Likewise.
5955
a277af22
MF
59562012-08-18 Mike Frysinger <vapier@gentoo.org>
5957
5958 [BZ #9685]
5959 * include/unistd.h (__have_pipe2): Change define into an extern int.
5960 (__have_dup3): Likewise.
5961 * socket/have_sock_cloexec.c: Include fcntl.h.
5962 (__have_pipe2): New variable.
5963 (__have_dup3): Likewise.
5964
fdab8fd3
MF
59652012-08-17 Mike Frysinger <vapier@gentoo.org>
5966
5967 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5968
31035e80
MP
59692012-08-17 Marek Polacek <polacek@redhat.com>
5970
5971 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5972 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5973
3bd9e993
RM
59742012-08-17 Roland McGrath <roland@hack.frob.com>
5975
c91c505f
RM
5976 * configure.in: Add AC_SUBST for sysheaders.
5977 * configure: Regenerated.
5978 * config.make.in (sysheaders): New substituted variable.
5979
7c6f9d53
RM
5980 * sysdeps/unix/mkfifo.c: Moved ...
5981 * sysdeps/posix/mkfifo.c: ... here.
5982 * sysdeps/unix/mkfifoat.c: Moved ...
5983 * sysdeps/posix/mkfifoat.c: ... here.
5984
5985 * sysdeps/unix/utime.c: Moved ...
5986 * sysdeps/posix/utime.c: ... here.
5987
5988 * sysdeps/unix/time.c: Moved ...
5989 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5990 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5991 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5992
5993 * sysdeps/unix/nice.c: Moved ...
5994 * sysdeps/posix/nice.c: ... here.
5995
5996 * sysdeps/unix/alarm.c: Moved ...
5997 * sysdeps/posix/alarm.c: ... here.
5998
3bd9e993
RM
5999 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6000
d1f09384
JL
60012012-08-17 Jeff Law <law@redhat.com>
6002
6003 * intl/Makefile (codeset_mo): New variable.
6004 ($(codeset_mo)): New target.
6005 (tst-codeset.out): Depend on that. Remove explicit rule.
6006 (tst-gettext3.out, tst-gettext5.out): Likewise.
6007 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6008 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6009 * intl/tst-codeset.sh: Remove.
6010 * intl/tst-gettext3.sh: Likewise.
6011 * intl/tst-gettext5.sh: Likewise.
6012
2ae1ae5c
RM
60132012-08-17 Roland McGrath <roland@hack.frob.com>
6014
c31fdb83
RM
6015 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6016 * sysdeps/unix/syscalls.list: ... here.
6017
a0844057
RM
6018 * sysdeps/posix/getaddrinfo.c
6019 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6020 (gaiconf_init, gaiconf_reload): Use them.
6021 [!_STATBUF_ST_NSEC]
6022 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6023 Define using time_t rather than struct timespec.
6024
750c1f2a
RM
6025 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6026 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6027 Macros removed.
6028 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6029 [!NO_THREADS].
6030 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6031 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6032 Likewise.
6033
2ae1ae5c
RM
6034 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6035 __libc_cleanup_push argument.
6036
e66a42f5
RM
6037 * bits/param.h: New file.
6038 * misc/sys/param.h: New file.
6039 * include/sys/param.h: New file.
6040 * misc/Makefile (headers): Add bits/param.h.
6041 * sysdeps/generic/sys/param.h: File removed.
6042 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6043 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6044 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6045 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6046
b7c08a66
RM
6047 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6048 last change.
6049
b2e1c562
RM
6050 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6051 [_IO_MTSAFE_IO].
6052 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6053 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6054 New macros.
6055
c75ccd4c
RM
6056 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6057 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6058 rather than -D_IO_MTSAFE_IO conditionally.
6059 * stdio-common/Makefile (CPPFLAGS): Likewise.
6060 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6061 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6062 Use $(libio-mtsafe).
6063 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6064 of -D_IO_MTSAFE_IO.
6065 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6066 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6067 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6068 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6069 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6070 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6071 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6072 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6073 (CFLAGS-fread_u_chk.c): Likewise.
6074 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6075 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6076 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6077 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6078 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6079 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6080 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6081 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6082 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6083
6084 * libio/Makefile: Test [$(libc-reentrant) = yes]
6085 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6086
6087 * Makeconfig
6088 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6089 * sysdeps/pthread/configure: File removed.
6090 * sysdeps/pthread/Makeconfig: New file.
6091 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6092 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6093
d9195db8
GB
60942012-08-16 Gary Benson <gbenson@redhat.com>
6095
6096 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6097 unmapping the first object in a namespace.
6098
86466cd9
RM
60992012-08-16 Roland McGrath <roland@hack.frob.com>
6100
6101 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6102 (__internal_setnetgrent): ... this. Add internal_function to
6103 definition. Add libc_hidden_def.
6104 (setnetgrent): Update caller.
6105 (internal_endnetgrent): Renamed to ...
6106 (__internal_endnetgrent): ... this. Add internal_function to
6107 definition. Add libc_hidden_def.
6108 (endnetgrent): Update caller.
6109 (internal_getnetgrent_r): Renamed to ...
6110 (__internal_getnetgrent_r): ... this. Add internal_function to
6111 definition. Add libc_hidden_def.
6112 (__getnetgrent_r): Update caller.
6113 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6114
c3c8283c
JM
61152012-08-16 Joseph Myers <joseph@codesourcery.com>
6116
6117 * stdlib/longlong.h: Update from GCC.
6118
db1ee0a8
RM
61192012-08-16 Roland McGrath <roland@hack.frob.com>
6120
6121 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6122 on _QL, which is set by umul_ppmm but never used.
6123 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6124 variables, which are set by GMP macros but never used.
6125 * stdio-common/_itowa.c (_itowa): Likewise.
6126 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6127 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6128
30f69637
CD
61292012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6130
6131 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6132 struct La_sh_regs is not constant.
6133 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6134 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6135 and struct La_sparc64_regs are not constant.
6136
93a78ac4
JM
61372012-08-16 Joseph Myers <joseph@codesourcery.com>
6138
6139 * sysdeps/unix/sysv/linux/kernel-features.h
6140 (__ASSUME_POSIX_TIMERS): Remove.
6141 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6142 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6143 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6144 Make code unconditional.
6145 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6146 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6147 Make code unconditional.
6148 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6149 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6150 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6151 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6152 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6153 Make code unconditional.
6154 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6155 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6156 (__libc_missing_posix_timers): Remove.
6157
dd924cd7
RM
61582012-08-15 Roland McGrath <roland@hack.frob.com>
6159
4b4f2771
RM
6160 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6161 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6162
601c888b
RM
6163 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6164
176790a7
RM
6165 * elf/dl-sym.c: Include <stdlib.h>.
6166
329bc018
RM
6167 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6168 constants, which avoids warnings in 32-bit builds.
6169
e04e272d
RM
6170 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6171 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6172
952bf94a
RM
6173 * misc/lseek.c: File moved to ...
6174 * io/lseek.c: ... here.
6175
7c99b50a
RM
6176 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6177
dd924cd7
RM
6178 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6179 shifting LEN more than 31 bits at once.
6180
b3f479a8
LD
61812012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6182
6183 [BZ #14195]
8c4ae0d4
RM
6184 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6185 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6186 * string/test-strncasecmp.c (check1): Renamed to...
6187 (bz12205): ...this.
6188 (bz14195): Add new testcase for two empty input strings and N > 0.
6189 (test_main): Call new testcase, adapt for renamed function.
6190
9c55864e
AJ
61912012-08-15 Andreas Jaeger <aj@suse.de>
6192
6193 [BZ #14090]
6194 * crypt/md5test2.c: New test, based on test supplied by Serge
6195 Belyshev <belyshev@depni.sinp.msu.ru>.
6196 * crypt/Makefile (xtests): Add md5test-giant..
6197 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6198
02dcb6c5
PE
61992012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6200
6201 [BZ #14090]
6202 * crypt/md5.c (md5_process_block): Don't assume the buffer
6203 length is less than 2**32.
6204 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6205 length is less than 2**64.
6206
a3f95dcc
RM
62072012-08-15 Roland McGrath <roland@hack.frob.com>
6208
be75d758
RM
6209 * string/str-two-way.h: Include <sys/param.h>.
6210 (MAX): Macro removed.
6211
7312ca90
RM
6212 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6213 Move #define and #undef of memmove to just before and after
6214 including <string.h>.
6215
9a0a5486
RM
6216 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6217 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6218 and after including <string.h>. Move declarations of
6219 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6220 to before #include "string/memmove.c".
6221
67cc348d
RM
6222 * include/dirent.h: Declare __getdirentries.
6223
a3f95dcc
RM
6224 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6225 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6226
ca98e171
MF
62272012-08-14 Mike Frysinger <vapier@gentoo.org>
6228
6229 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6230 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6231 * sysdeps/i386/configure: Regenerated.
6232 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6233 STABS_CURRENT_FILE, and STABS_FUN.
6234 (END): Remove call to STABS_FUN_END.
6235 (STABS_CURRENT_FILE1): Delete.
6236 (STABS_CURRENT_FILE): Likewise.
6237 (STABS_FUN): Likewise.
6238 (STABS_FUN_END): Likewise.
6239 (STABS_FUN2): Likewise.
6240 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6241 * sysdeps/x86_64/configure: Regenerated.
6242
5908bf46
RM
62432012-08-14 Roland McGrath <roland@hack.frob.com>
6244
6245 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6246 * elf/dl-lookup.c: Likewise.
5908bf46 6247
f2c05b9e
JM
62482012-08-14 Joseph Myers <joseph@codesourcery.com>
6249
6250 * sysdeps/unix/sysv/linux/kernel-features.h
6251 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6252 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6253 unconditionally.
6254 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6255 unconditionally.
6256 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6257 condition on __ASSUME_CLONE_THREAD_FLAGS.
6258
e11f5155
AJ
62592012-08-14 Andreas Jaeger <aj@suse.de>
6260
6261 * sysdeps/i386/fpu/libm-test-ulps: Update.
6262
51a9ba86
MK
62632012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6264
2fdd4f78
AJ
6265 * include/atomic.h (atomic_exchange_and_add): Split into ...
6266 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6267 New atomic macros.
51a9ba86 6268
ba6cba9e
MT
62692012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6270
6271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6272
42443a47
JL
62732012-08-13 Jeff Law <law@redhat.com>
6274
6275 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6276 null byte in the output string.
6277
121dce05
JM
62782012-08-10 Joseph Myers <joseph@codesourcery.com>
6279
6280 * sysdeps/unix/sysv/linux/kernel-features.h
6281 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6282 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6283 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6284 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6285 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6286 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6287 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6288
bf51f568
JL
62892012-08-09 Jeff Law <law@redhat.com>
6290
6291 [BZ #13939]
6292 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6293 When avoid_arena is set, don't retry in the that arena. Pick the
6294 next one, whatever it might be.
6295 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6296 (arena_lock): Pass in new parameter to arena_get2.
6297 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6298 arena_get2.
6299 (__libc_malloc): Unify retrying after main arena failure with
6300 __libc_memalign version.
6301 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6302
f85fa270
L
63032012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6304
6305 [BZ #14166]
6306 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6307 to __redirect_strstr.
6308 (__strstr_sse42): Use typeof __redirect_strstr.
6309 (__strstr_ia32): Likewise.
6310 (__libc_strstr): New prototype.
6311 (strstr): Renamed to ...
6312 (__libc_strstr): This.
6313 (strstr): New strong alias of __libc_strstr.
6314 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6315 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6316 __redirect_time.
6317 Include <time.h>.
6318 (__libc_time): New prototype.
6319 (time_ifunc): Replace time with __libc_time.
6320 (time): New strong alias and hidden definition of __libc_time.
6321 (__GI_time): Remove strong alias.
6322 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6323 Include <stddef.h>.
6324 (memmove): Redefined to __redirect_memmove.
6325 (__memmove_sse2): Use typeof __redirect_memmove.
6326 (__memmove_ssse3): Likewise.
6327 (__memmove_ssse3_back): Likewise.
6328 (__libc_memmove): New prototype.
6329 (memmove): Renamed to ...
6330 (__libc_memmove): This.
6331 (memmove): New strong alias of __libc_memmove.
6332
33b4a91e
MS
63332012-08-08 Mark Salter <msalter@redhat.com>
6334
6335 * elf/elf.h
6336 (R_MN10300_TLS_GD): Define.
6337 (R_MN10300_TLS_LD): Likewise.
6338 (R_MN10300_TLS_LDO): Likewise.
6339 (R_MN10300_TLS_GOTIE): Likewise.
6340 (R_MN10300_TLS_IE): Likewise.
6341 (R_MN10300_TLS_LE): Likewise.
6342 (R_MN10300_TLS_DTPMOD): Likewise.
6343 (R_MN10300_TLS_DTPOFF): Likewise.
6344 (R_MN10300_TLS_TPOFF): Likewise.
6345 (R_MN10300_SYM_DIFF): Likewise.
6346 (R_MN10300_ALIGN): Likewise.
6347 (R_MN10300_NUM): Update.
6348
b36137f1
JM
63492012-08-08 Joseph Myers <joseph@codesourcery.com>
6350
6351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6352 Remove.
6353
cdd915fd
RM
63542012-08-08 Roland McGrath <roland@hack.frob.com>
6355
a2433aac
RM
6356 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6357
cdd915fd
RM
6358 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6359 sysdeps/unix -> sysdeps/posix move.
6360 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6361
bf9b740a
AM
63622012-08-07 Allan McRae <allan@archlinux.org>
6363
6364 [BZ #14303]
6365 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6366 (SUNOS_CPP): Likewise.
6367 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6368 not found.
6369 (open_input): Call CPP using execvp.
6370
93df14ee
JM
63712012-08-07 Joseph Myers <joseph@codesourcery.com>
6372
6373 * sysdeps/unix/sysv/linux/kernel-features.h
6374 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6375 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6376 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6377 (__ASSUME_WAITID_SYSCALL): Likewise.
6378 * sysdeps/unix/sysv/linux/dl-execstack.c
6379 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6380 code unconditional.
6381 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6382 conditional code.
6383 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6384 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6385 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6386 code.
6387 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6388 unconditional.
6389 [__ASSUME_WAITID_SYSCALL]: Likewise.
6390 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6391
d34689de
RM
63922012-08-07 Roland McGrath <roland@hack.frob.com>
6393
a281decc
RM
6394 * sysdeps/unix/closedir.c: Renamed to ...
6395 * sysdeps/posix/closedir.c: ... here.
6396 * sysdeps/unix/dirfd.c: Renamed to ...
6397 * sysdeps/posix/dirfd.c: ... here.
6398 * sysdeps/unix/dirstream.h: Renamed to ...
6399 * sysdeps/posix/dirstream.h: ... here.
6400 * sysdeps/unix/fdopendir.c: Renamed to ...
6401 * sysdeps/posix/fdopendir.c: ... here.
6402 * sysdeps/unix/opendir.c: Renamed to ...
6403 * sysdeps/posix/opendir.c: ... here.
6404 * sysdeps/unix/readdir.c: Renamed to ...
6405 * sysdeps/posix/readdir.c: ... here.
6406 * sysdeps/unix/readdir_r.c: Renamed to ...
6407 * sysdeps/posix/readdir_r.c: ... here.
6408 * sysdeps/unix/rewinddir.c: Renamed to ...
6409 * sysdeps/posix/rewinddir.c: ... here.
6410 * sysdeps/unix/seekdir.c: Renamed to ...
6411 * sysdeps/posix/seekdir.c: ... here.
6412 * sysdeps/unix/telldir.c: Renamed to ...
6413 * sysdeps/posix/telldir.c: ... here.
6414 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6415 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6416 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6417 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6418
22895b47
RM
6419 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6420 * bits/fcntl.h: ... here.
6421
707a53b6
RM
6422 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6423 not 0.
6424 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6425 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6426 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6427 (struct flock): Move l_start, l_len to the beginning.
6428 Use __pid_t for l_pid.
6429 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6430 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6431 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6432 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6433 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6434 [__USE_LARGEFILE64] (struct flock64): New type.
6435 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6436
f0bd3e25
RM
6437 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6438 * bits/dirent.h: ... here.
6439
d34689de
RM
6440 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6441 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6442
6dad2c06
JM
64432012-08-07 Joseph Myers <joseph@codesourcery.com>
6444
6445 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6446 Change from 2.6.0 to 2.6.16.
6447 * sysdeps/unix/sysv/linux/configure: Regenerated.
6448 * sysdeps/unix/sysv/linux/kernel-features.h
6449 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6450 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6451 version.
6452 (__ASSUME_UTIMES): Likewise.
6453 (__ASSUME_CLONE_STOPPED): Remove.
6454 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6455 architectures, not kernel version.
6456 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6457 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6458 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6459 (__ASSUME_WAITID_SYSCALL): Likewise.
6460 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6461 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6462 * README: State 2.6.16 as minimum Linux kernel version. Do not
6463 refer to older versions.
6464
03af9520
RM
64652012-08-06 Roland McGrath <roland@hack.frob.com>
6466
8e49df1d
RM
6467 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6468 Define alphasort64 as an alias.
6469 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6470 Define versionsort64 as an alias.
6471 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6472 Define scandir64 as an alias.
6473 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6474 Define scandirat64 as an alias.
6475 * dirent/alphasort64.c (alphasort64):
6476 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6477 * dirent/versionsort64.c: Likewise.
6478 * dirent/scandir64.c: Likewise.
6479 * dirent/scandirat64.c: Likewise.
6480 * sysdeps/wordsize-64/alphasort.c: File removed.
6481 * sysdeps/wordsize-64/alphasort64.c: File removed.
6482 * sysdeps/wordsize-64/scandir.c: File removed.
6483 * sysdeps/wordsize-64/scandir64.c: File removed.
6484 * sysdeps/wordsize-64/scandirat.c: File removed.
6485 * sysdeps/wordsize-64/scandirat64.c: File removed.
6486 * sysdeps/wordsize-64/versionsort.c: File removed.
6487 * sysdeps/wordsize-64/versionsort64.c: File removed.
6488 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6489 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6490 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6491 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6492 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6493 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6494 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6495 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6496
6497 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6498 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6499 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6500 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6501 [defined __arch64__ || defined __sparcv9]
6502 (__INO_T_MATCHES_INO64_T): New macro.
6503 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6504 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6505 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6506 * sysdeps/unix/sysv/linux/bits/dirent.h
6507 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6508 (_DIRENT_MATCHES_DIRENT64): New macro.
6509
03af9520
RM
6510 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6511 Define lockf64 as an alias.
6512 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6513 Define fseeko64 as an alias.
6514 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6515 Define ftello64 as an alias.
6516 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6517 Define _IO_fgetpos64 and fgetpos64 as aliases.
6518 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6519 Define _IO_fsetpos64 and fsetpos64 as aliases.
6520 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6521 Conditionalize body on this.
6522 * libio/fseeko64.c: Likewise.
6523 * libio/ftello64.c: Likewise.
6524 * libio/iofgetpos64.c: Likewise.
6525 * libio/iofsetpos64.c: Likewise.
6526 * sysdeps/wordsize-64/lockf.c: File removed.
6527 * sysdeps/wordsize-64/lockf64.c: File removed.
6528 * sysdeps/wordsize-64/fseeko.c: File removed.
6529 * sysdeps/wordsize-64/fseeko64.c: File removed.
6530 * sysdeps/wordsize-64/ftello.c: File removed.
6531 * sysdeps/wordsize-64/ftello64.c: File removed.
6532 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6533 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6534 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6535 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6536 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6537 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6538 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6539 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6540 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6541 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6542 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6543 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6544 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6545 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6546
6547 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6548 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6549 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6551 [defined __arch64__ || defined __sparcv9]
6552 (__OFF_T_MATCHES_OFF64_T): New macro.
6553 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6554 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6556 (__OFF_T_MATCHES_OFF64_T): New macro.
6557
c5757acd
L
65582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6559
6560 * stdlib/secure-getenv.c (__secure_getenv): Replace
6561 GLIBC_2_16 with GLIBC_2_17.
6562
3a31811e
L
65632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6564
6565 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6566 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6567
faa2bccb
DM
65682012-08-03 David S. Miller <davem@davemloft.net>
6569
6570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6571
85fe1997
JM
65722012-08-03 Joseph Myers <joseph@codesourcery.com>
6573
6574 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6575 Remove.
6576 (__ASSUME_CORRECT_SI_PID): Likewise.
6577 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6578 (__ASSUME_TMPFS_NAME): Likewise.
6579 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6580 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6581 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6582 (HAVE_AUX_SECURE): Make definition unconditional.
6583 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6584 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6585
4f75b7a0
RM
65862012-08-03 Roland McGrath <roland@hack.frob.com>
6587
6588 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6589 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6590 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6591 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6592 __eloop_threshold instead of SYMLOOP_MAX.
6593
6594 * sysdeps/generic/eloop-threshold.h: New file.
6595 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6596 of MAXSYMLINKS.
6597 * elf/chroot_canon.c (chroot_canon): Likewise.
6598
7aab07e4
JM
65992012-08-03 Joseph Myers <joseph@codesourcery.com>
6600
6601 [BZ #13717]
6602 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6603 Change to 2.6.0 everywhere.
6604 * sysdeps/unix/sysv/linux/configure: Regenerated.
6605 * sysdeps/unix/sysv/linux/kernel-features.h
6606 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6607 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6608 kernel versions.
6609 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6610 (__ASSUME_FUTEX_REQUEUE): Remove.
6611 (__ASSUME_STATFS64): Define unconditionally.
6612 (__ASSUME_AT_SECURE): Likewise.
6613 (__ASSUME_CORRECT_SI_PID): Likewise.
6614 (__ASSUME_TGKILL): Define without depending on kernel version for
6615 i386.
6616 (__ASSUME_UTIMES): Likewise.
6617 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6618 kernel version.
6619 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6620 (__ASSUME_TMPFS_NAME): Likewise.
6621 * README: Update reference to Linux kernel versions.
6622
b67e9372
MP
66232012-08-02 Marek Polacek <polacek@redhat.com>
6624
1f529f7d 6625 [BZ# 14150]
b67e9372
MP
6626 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6627 libc_cv_asm_type_prefix with %.
6628 * configure: Regenerated.
d2441631
RM
6629 * include/libc-symbols.h: Remove comment about
6630 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6631 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6632 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6633 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6634 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6635 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6636 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6637 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6638 * elf/tst-unique2mod1.c: Likewise.
6639 * elf/tst-unique1mod2.c: Likewise.
6640 * elf/tst-unique1mod1.c: Likewise.
6641 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6642 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6643 Replace ASM_TYPE_DIRECTIVE with .type.
6644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6645 * sysdeps/i386/sysdep.h: Likewise.
6646 * sysdeps/x86_64/sysdep.h: Likewise.
6647 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6649 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6650 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6651 * sysdeps/powerpc/powerpc32/sysdep.h:
6652 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6653 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6654 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6655 * sysdeps/i386/fpu/e_powf.S: Likewise.
6656 * sysdeps/i386/fpu/e_expl.S: Likewise.
6657 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6658 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6659 * sysdeps/i386/fpu/e_pow.S: Likewise.
6660 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6661 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6662 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6663 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6664 * sysdeps/i386/fpu/e_log2.S: Likewise.
6665 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6666 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6667 * sysdeps/i386/fpu/e_powl.S: Likewise.
6668 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6669 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6670 * sysdeps/i386/fpu/e_logl.S: Likewise.
6671 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6672 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6673 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6674 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6675 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6676 * sysdeps/i386/fpu/e_log.S: Likewise.
6677 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6678 * sysdeps/i386/fpu/e_logf.S: Likewise.
6679 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6680 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6681 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6682 * sysdeps/i386/fpu/e_log10.S: Likewise.
6683 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6684 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6685 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6686 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6687 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6688 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6689 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6690 * sysdeps/i386/i686/strtok.S: Likewise.
6691 * sysdeps/i386/i386-mcount.S: Likewise.
6692 * sysdeps/i386/strtok.S: Likewise.
6693 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6694 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6695 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6696 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6697 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6698 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6699 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6700 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6701 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6702 * sysdeps/x86_64/_mcount.S: Likewise.
6703 * sysdeps/x86_64/strtok.S: Likewise.
6704 * sysdeps/sh/_mcount.S: Likewise.
6705
2747bf9a
RM
67062012-08-01 Roland McGrath <roland@hack.frob.com>
6707
6708 * libio/iofopen.c: Include <fcntl.h>.
6709 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6710 (_IO_fopen64, fopen64): Define as aliases.
6711 * libio/iofopen64.c: Include <fcntl.h>.
6712 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6713 Conditionalize body on this.
6714 * sysdeps/wordsize-64/iofopen.c: File removed.
6715 * sysdeps/wordsize-64/iofopen64.c: File removed.
6716
3fb791b8
MP
67172012-08-01 Marek Polacek <polacek@redhat.com>
6718
6719 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6720 Use dlfcn directly instead of a variable.
6721 (binfmt-subdir): Do not define.
6722 (dlfcn): Likewise.
6723
a9f1039f
JM
67242012-08-01 Joseph Myers <joseph@codesourcery.com>
6725
23bddc06
JM
6726 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6727 Remove all definitions.
6728 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6729 <kernel-features.h>.
6730 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6731 (miss_F_GETOWN_EX): Remove all definitions.
6732 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6733 macro definition.
6734 [!__ASSUME_FCNTL64]: Remove conditional code.
6735 [__ASSUME_FCNTL64]: Make code unconditional.
6736 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6737 <kernel-features.h>.
6738 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6739 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6740 (lockf64) [__NR_fcntl64]: Make code unconditional.
6741 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6742
a9f1039f
JM
6743 * sysdeps/unix/sysv/linux/kernel-features.h
6744 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6745 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6746 Make code unconditional.
6747 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6748 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6750 [__NR_vfork]: Make code unconditional.
6751 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6752 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6754 [__NR_vfork]: Make code unconditional.
6755 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6756 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6757
09c0ee5f
RM
67582012-08-01 Roland McGrath <roland@hack.frob.com>
6759
48aec5b9
RM
6760 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6761 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6762
cd97c966
RM
6763 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6764 Define mkstemp64 as an alias.
3f55550c
RM
6765 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6766 Define mkstemps64 as an alias.
cd97c966
RM
6767 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6768 Define mkostemp64 as an alias.
b8625cfc
RM
6769 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6770 Define mkostemps64 as an alias.
cd97c966
RM
6771 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6772 Conditionalize body on this.
6773 * misc/mkostemp64.c: Likewise.
b8625cfc 6774 * misc/mkostemps64.c: Likewise.
3f55550c 6775 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6776 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6777 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6778 * sysdeps/wordsize-64/mkostemp.c: File removed.
6779 * sysdeps/wordsize-64/mkstemp.c: File removed.
6780 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6781 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6782 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6783 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6784
09c0ee5f
RM
6785 [BZ #14138]
6786 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6787 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6788 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6789 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6790
6791 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6792 compat_symbol macros from <shlib-compat.h> rather than the underlying
6793 default_symbol_version and symbol_version macros, so that DEFAULT
6794 lines in shlib-versions are respected.
6795 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6796
7e66ee51
FW
67972012-08-01 Florian Weimer <fweimer@redhat.com>
6798
6799 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6800 Declare with warn_unused_result.
6801 (setgid, setregid, setegid, setresgid): Likewise.
6802 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6803 Likewise.
6804 * WUR-REPORT: Remove set*id functions.
6805
d2a54255
PT
68062012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6807
6808 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6809
7ecdb005
RM
68102012-07-31 Roland McGrath <roland@hack.frob.com>
6811
789bd351
RM
6812 * include/sys/socket.h (__libc_accept, __libc_accept4):
6813 Add attribute_hidden.
6814 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6815
40ce302d
RM
6816 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6817 use of PTR_MANGLE.
6818 * inet/getnetgrent_r.c (setup): Likewise.
6819
7ecdb005
RM
6820 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6821
e2eabb2c
DM
68222012-07-31 David S. Miller <davem@davemloft.net>
6823
6824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6825
d0419dbf
JM
68262012-07-31 Joseph Myers <joseph@codesourcery.com>
6827
6828 [BZ #13629]
6829 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6830 value between 1.0 and 2.0 and smaller part has absolute value less
6831 than 1.0.
6832 * math/s_clog10.c (__clog10): Likewise.
6833 * math/s_clog10f.c (__clog10f): Likewise.
6834 * math/s_clog10l.c (__clog10l): Likewise.
6835 * math/s_clogf.c (__clogf): Likewise.
6836 * math/s_clogl.c (__clogl): Likewise.
6837 * math/libm-test.inc (clog_test): Add more tests.
6838 (clog10_test): Likewise.
6839 * sysdeps/i386/fpu/libm-test-ulps: Update.
6840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6841
2bc13872
FW
68422012-07-31 Florian Weimer <fweimer@redhat.com>
6843
6844 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6845 Exit with zero in case no suitable GID is found, and write a
6846 message to standard error.
6847
bea9b193
RM
68482012-07-30 Roland McGrath <roland@hack.frob.com>
6849
6850 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6851 rather than to 1.
6852 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6853 (MAXPATHLEN): Removed.
6854 (NOGROUP, NODEV): New macros.
6855 (setbit, clrbit, isset, isclr): New macros.
6856 (howmany, roundup, powerof2): New macros.
6857 (DEV_BSIZE): New macro.
6858
6859 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6860 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6861
6862 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6863 definition on [!__NO_LONG_DOUBLE_MATH].
6864
6865 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6866 PTR_MANGLE and PTR_DEMANGLE.
6867
6868 * socket/accept4.c (accept4): Rename to __libc_accept4.
6869 Define accept4 as a weak alias.
6870
6871 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6872 on [_DIRENT_HAVE_D_TYPE].
6873 * io/ftw.c (ftw_dir): Likewise.
6874
6875 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6876
6877 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6878
6879 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6880 Use the BSD numbers rather than the arbitrary ones we had.
6881 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6882 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6883 (SIGXCPU, SIGXFSZ): New macros.
6884 (_NSIG): Now 32.
6885
6886 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6887 initializer on [_LIBC_REENTRANT].
6888
6889 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6890 definitions inside [_POSIX_MAPPED_FILES].
6891
6892 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6893
6894 * dirent/opendir.c: Include <fcntl.h>.
6895
6896 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6897 (__libc_getspecific): Likewise.
6898 (__libc_key_create): Likewise.
6899
6900 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6901 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6902 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6903 (tmpfile64): Define as alias.
6904 * sysdeps/wordsize-64/tmpfile.c: File removed.
6905 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6906 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6907 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6908
6909 * stdio-common/vfscanf.c: Include <stdbool.h>.
6910 * nss/makedb.c: Likewise.
6911 * stdio-common/_i18n_number.h: Likewise.
6912 * argp/argp-help.c: Likewise.
6913 * posix/wordexp.c: Likewise.
6914 * sysdeps/posix/spawni.c: Likewise.
6915 * nss/nss_files/files-initgroups.c: Likewise.
6916 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6917 * nss/nss_files/files-initgroups.c: Likewise.
6918 * nss/nss_db/db-netgrp.c: Likewise.
6919 * nss/nss_db/db-initgroups.c: Likewise.
6920 * io/fchmodat.c: Include <sys/stat.h>.
6921
6922 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6923 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6924
6925 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6926 [HAVE_MMAP].
6927
6928 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6929 Add multiple inclusion protection.
6930
e5abc686
DM
69312012-07-27 David S. Miller <davem@davemloft.net>
6932
6933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6934
815e6fa3
GB
69352012-07-27 Gary Benson <gbenson@redhat.com>
6936
6937 [BZ #14298]
6938 * elf/rtld.c: Include <stap-probe.h>.
6939 (dl_main): Added static probes "init_start" and "init_complete".
6940 * elf/dl-load.c: Include <stap-probe.h>.
6941 (lose): Take new parameter "nsid".
6942 Added static probe "map_failed".
6943 (_dl_map_object_from_fd): Pass namespace id to lose.
6944 Added static probe "map_start".
6945 (open_verify): Pass namespace id to lose.
6946 * elf/dl-open.c: Include <stap-probe.h>.
6947 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6948 and "reloc_complete".
6949 * elf/dl-close.c: Include <stap-probe.h>.
6950 (_dl_close_worker): Added static probes "unmap_start" and
6951 "unmap_complete".
6952 * elf/rtld-debugger-interface.txt: New file documenting the above.
6953
9f98c16c
RM
69542012-07-26 Roland McGrath <roland@hack.frob.com>
6955
6956 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6957 rather than a string variable.
6958 * sunrpc/rpc_main.c (h_output): Likewise.
6959 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6960
f3c22df3
PT
69612012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6962
6963 * inet/check_native.c: New file.
6964
3129cfc6
JM
69652012-07-26 Joseph Myers <joseph@codesourcery.com>
6966
da865e95
JM
6967 [BZ #13629]
6968 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6969 if larger part has absolute value 1.0.
6970 * math/s_clog10.c (__clog10): Likewise.
6971 * math/s_clog10f.c (__clog10f): Likewise.
6972 * math/s_clog10l.c (__clog10l): Likewise.
6973 * math/s_clogf.c (__clogf): Likewise.
6974 * math/s_clogl.c (__clogl): Likewise.
6975 * math/libm-test.inc (clog_test): Add more tests.
6976 (clog10_test): Likewise.
6977 * sysdeps/i386/fpu/libm-test-ulps: Update.
6978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6979
3129cfc6
JM
6980 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6981 (pltexit): Likewise.
6982 (La_regs): Likewise.
6983 (La_retval): Likewise.
6984 (int_retval): Likewise.
6985 Update #error for removed macros to refer only to definitions in
6986 tst-audit.h.
6987 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6988 macro.
6989 (pltexit): Likewise.
6990 (La_regs): Likewise.
6991 (La_retval): Likewise.
6992 (int_retval): Likewise.
6993 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6994 macro.
6995 (pltexit): Likewise.
6996 (La_regs): Likewise.
6997 (La_retval): Likewise.
6998 (int_retval): Likewise.
6999 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7000 macro.
7001 (pltexit): Likewise.
7002 (La_regs): Likewise.
7003 (La_retval): Likewise.
7004 (int_retval): Likewise.
7005 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7006 macro.
7007 (pltexit): Likewise.
7008 (La_regs): Likewise.
7009 (La_retval): Likewise.
7010 (int_retval): Likewise.
7011 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7012 macro.
7013 (pltexit): Likewise.
7014 (La_regs): Likewise.
7015 (La_retval): Likewise.
7016 (int_retval): Likewise.
7017 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7018 macro.
7019 (pltexit): Likewise.
7020 (La_regs): Likewise.
7021 (La_retval): Likewise.
7022 (int_retval): Likewise.
7023 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7024 macro definitions in tst-audit.h.
7025 * sysdeps/i386/tst-audit.h: New file.
7026 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7027 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7028 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7029 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7030 * sysdeps/sh/tst-audit.h: Likewise.
7031 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7032 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7033 * sysdeps/x86_64/tst-audit.h: Likewise.
7034
bfc07087
AJ
70352012-07-26 Andreas Jaeger <aj@suse.de>
7036
b1b2aaf8
AJ
7037 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7038 ptrace.
7039
7040 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7041 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7042 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7043 PTRACE_O_MASK.
7044 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7045 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7046 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7047
bfc07087
AJ
7048 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7049 value.
7050
7051 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7052 _sigsys.
7053 (si_call_addr, si_syscall, si_arch): Define new macro.
7054 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7055 _sigsys.
7056 (si_call_addr, si_syscall, si_arch): Define new marcro.
7057 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7058 _sigsys.
7059 (si_call_addr, si_syscall, si_arch): Define new macro.
7060 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7061 _sigsys.
7062 (si_call_addr, si_syscall, si_arch): Define new macro.
7063
89b4b02f
JM
70642012-07-25 Joseph Myers <joseph@codesourcery.com>
7065
7066 [BZ #13717]
7067 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7068 Change to 2.4.21 where previously 2.4.1.
7069 * sysdeps/unix/sysv/linux/configure: Regenerated.
7070 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7071 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7072 Linux kernel version.
7073 (__ASSUME_STD_AUXV): Remove.
7074 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7075 kernel version.
7076 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7077 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7078 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7079 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7080 (__ASSUME_NETLINK_SUPPORT): Likewise.
7081 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7082 (__no_netlink_support): Remove conditional definition.
7083 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7084 Remove.
7085 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7086 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7087 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7088 (if_nameindex_ioctl): Remove.
7089 (if_nameindex_netlink): Do not handle __no_netlink_support.
7090 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7091 code.
7092 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7093 Remove conditional code.
7094 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7095 code.
7096 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7097 unconditional.
7098 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7099 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7100 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7101 Remove.
7102 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7103 [!__ASSUME_STD_AUXV]: Remove conditional code.
7104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7105 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7106 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7108 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7109 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7110 code.
7111 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7113 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7114 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7115 conditional code.
7116 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7118 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7119 code.
7120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7121 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7122 conditional code.
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7124 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7125 code unconditional.
7126 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7127 conditional code.
7128 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7129 unconditional.
7130 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7131 conditional code.
7132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7133 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7134 unconditional.
7135 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7136 conditional code.
7137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7138 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7139 code unconditional.
7140 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7141 conditional code.
7142 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7143 unconditional.
7144 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7145 conditional code.
7146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7147 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7148 code unconditional.
7149 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7150 conditional code.
7151 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7152 unconditional.
7153 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7154 conditional code.
7155
842a39cd
AS
71562012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7157
7158 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7159 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7160 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7161 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7162 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7163 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7164 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7165 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7166 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7167 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7168 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7169 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7170 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7171 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7172 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7173 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7174 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7176 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7178 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7179 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7180 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7181
84b3fd84
FW
71822012-07-25 Florian Weimer <fweimer@redhat.com>
7183
7184 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7185 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7186 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7187 Introduce __libc_secure_getenv.
0c7936d5
FW
7188 * stdlib/Versions (2.17): Add secure_getenv
7189 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7190 * stdlib/secure-getenv.c: Rename __secure_getenv to
7191 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7192 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7193 * stdlib/tst-secure-getenv.c: New.
7194 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7195 * manual/startup.texi (Environment Access): Document
7196 secure_getenv.
84b3fd84
FW
7197 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7198 __libc_secure_getenv.
7199 * inet/ruserpass.c (ruserpass): Likewise.
7200 * malloc/mtrace.c (mtrace): Likewise.
7201 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7202 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7203 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7204 * sysdeps/posix/tempname.c: Likewise. Evaluate
7205 HAVE_SECURE_GETENV.
7206 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7207 __secure_getenv to __libc_secure_getenv.
84b3fd84 7208 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7210 Likewise.
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7212 Likewise.
7213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7220
56e49b71
JM
72212012-07-25 Joseph Myers <joseph@codesourcery.com>
7222
7223 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7224 (struct La_i86_retval): Likewise.
7225 (struct La_x86_64_regs): Likewise.
7226 (struct La_x86_64_retval): Likewise.
7227 (struct La_x32_regs): Likewise.
7228 (struct La_x32_retval): Likewise.
7229 (struct La_ppc32_regs): Likewise.
7230 (struct La_ppc32_retval): Likewise.
7231 (struct La_ppc64_regs): Likewise.
7232 (struct La_ppc64_retval): Likewise.
7233 (struct La_sh_regs): Likewise.
7234 (struct La_sh_retval): Likewise.
7235 (struct La_s390_32_regs): Likewise.
7236 (struct La_s390_32_retval): Likewise.
7237 (struct La_s390_64_regs): Likewise.
7238 (struct La_s390_64_retval): Likewise.
7239 (struct La_sparc32_regs): Likewise.
7240 (struct La_sparc32_retval): Likewise.
7241 (struct La_sparc64_regs): Likewise.
7242 (struct La_sparc64_retval): Likewise.
7243 (struct audit_ifaces): Remove architecture-specific pltenter and
7244 pltexit members.
7245 * sysdeps/i386/ldsodefs.h: New file.
7246 * sysdeps/powerpc/ldsodefs.h: Likewise.
7247 * sysdeps/s390/ldsodefs.h: Likewise.
7248 * sysdeps/sh/ldsodefs.h: Likewise.
7249 * sysdeps/sparc/ldsodefs.h: Likewise.
7250 * sysdeps/x86_64/ldsodefs.h: Likewise.
7251
354691b7
MP
72522012-07-25 Marek Polacek <polacek@redhat.com>
7253
7254 [BZ #6808]
7255 * math/libm-test.inc (yn_test): Add another test.
7256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7257 to ERANGE when the result is +-Inf.
7258 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7259 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7260 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7261 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7262
bf9e2071
JM
72632012-07-24 Joseph Myers <joseph@codesourcery.com>
7264
7265 * conform/data/time.h-data (NULL): Use macro-constant. Require
7266 equal to 0.
7267 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7268 clock_t.
7269 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7270
57633811
TS
72712012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7272
7273 * configure.in <sysdeps resolving>: Correct printing
7274 Implies_before.
7275 * configure: Regenerate.
7276
c23c33b0
TS
72772012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7278
7279 * math/w_ilogb.c: Include <limits.h>.
7280 * math/w_ilogbl.c: Likewise.
7281
b5982523
JM
72822012-07-20 Joseph Myers <joseph@codesourcery.com>
7283
7284 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7285 va_copy. Document allowing for unavailable va_copy only as
7286 pre-C99 compatibility.
7287 * manual/string.texi (Copying and Concatenation): Use va_copy
7288 instead of __va_copy in concat example.
7289
ac4ea442
PT
72902012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7291
7292 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7293 (__sendto): Use create_address_port. Initialize APORT and deallocate
7294 it if not null.
7295
f98eafbd
PT
7296 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7297 with O_NOLINK passed to __file_name_lookup.
7298
898c7aab
PT
7299 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7300 with O_NOLINK passed to __file_name_lookup.
7301
0ced335a
PT
7302 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7303 negative N or less than NGIDS.
7304
b3404dbd
PT
7305 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7306 type to string_t. Set ERANGE as errno and return it if NAME is not big
7307 enough. Use memcpy instead of strncpy.
7308
0f48659e
JM
73092012-07-20 Joseph Myers <joseph@codesourcery.com>
7310
7311 * elf/Makefile (check-data): Remove.
7312 (localplt.data): New vpath directive.
7313 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7314 instead of $(check-data).
7315 * scripts/data/localplt-generic.data: Move to ...
7316 * sysdeps/generic/localplt.data: ... here.
7317 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7318 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7319 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7321 ... here.
7322 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7324 ... here.
7325 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7327 ... here.
7328 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7330 ... here.
7331 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7333 ... here.
7334 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7336 ... here.
7337
d37cbdaa
AZ
73382012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7339
7340 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7341 PPC32 and PPC64 files.
7342 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7343 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7344
46f85fc2
AK
73452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7346
7347 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7348 __makecontext_ret to ...
7349 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7350 ... here and call exit if uc_link is NULL. New file.
7351 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7352 __makecontext_ret.S.
7353 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7354 __makecontext_ret to ...
7355 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7356 ... here and call exit if uc_link is NULL. New file.
7357 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7358 __makecontext_ret.S.
7359
08f43f9b
AK
73602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7361
7362 * elf/elf.h (R_390_IRELATIVE): New definition.
7363 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7364 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7365 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7366 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7367 (elf_machine_lazy_rel): Likewise.
7368 * sysdeps/s390/dl-irel.h: New file.
7369 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7370 * sysdeps/s390/s390-64/memset.S: New asm code.
7371 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7372 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7373 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7374 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7375 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7376 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7377 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7378 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7379 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7380 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7381 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7382 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7383 * sysdeps/s390/s390-32/memset.S: New asm code.
7384 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7385
3b05db33
MP
73862012-07-17 Marek Polacek <polacek@redhat.com>
7387
7388 [BZ #14349]
7389 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7390 * sysdeps/s390/s390-64/configure.in: Likewise.
7391 * sysdeps/sparc/configure.in: Likewise.
7392 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7393 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7394 * sysdeps/i386/configure.in: Likewise.
7395 * sysdeps/x86_64/configure.in: Likewise.
7396 * sysdeps/sh/configure.in: Likewise.
7397 * sysdeps/s390/s390-32/configure: Regenerated.
7398 * sysdeps/s390/s390-64/configure: Likewise.
7399 * sysdeps/x86_64/configure: Likewise.
7400 * sysdeps/sh/configure: Likewise.
7401 * sysdeps/powerpc/powerpc64/configure: Likewise.
7402 * sysdeps/powerpc/powerpc32/configure: Likewise.
7403 * sysdeps/sparc/configure: Likwise.
7404 * sysdeps/i386/configure: Likewise.
7405
a66877c6
MP
7406 * elf/dl-open.c: Comment fixes.
7407
cfc82fd8
JM
74082012-07-17 Joseph Myers <joseph@codesourcery.com>
7409
bd29910a
JM
7410 * Makefile [CXX] (check-data): Remove.
7411 [CXX] (c++-types.data): New vpath directive.
7412 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7413 vpath. Do not allow for C++ type data being missing.
7414 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7415 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7416 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7417 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7418 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7419 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7420 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7422 ... here.
7423 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7425 ... here.
7426 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7428 ... here.
7429 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7431 ... here.
7432 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7434 ... here.
7435 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7437 ... here.
7438 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7440 ... here.
7441 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7443
cfc82fd8
JM
7444 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7445 definitions to architecture-specific files.
7446 (TLS_IE): Likewise.
7447 (TLS_LD): Likewise.
7448 (TLS_GD): Likewise.
7449 * sysdeps/i386/tls-macros.h: New file.
7450 * sysdeps/powerpc/tls-macros.h: Likewise.
7451 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7452 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7453 * sysdeps/sh/tls-macros.h: Likewise.
7454 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7455 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7456 * sysdeps/x86_64/tls-macros.h: Likewise.
7457
f7db3170
TS
74582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7459
07cbfc23
TS
7460 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7461 zero value for regular exit case.
7462
f7db3170
TS
7463 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7464 (__start_context): Preserve zero value for regular exit case.
7465
dc97c227
TS
74662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7467 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7468
7469 * manual/setjmp.texi (setcontext): Clarify normal process
7470 termination when uc_link is the null pointer.
7471 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7472 exit call.
7473
d0cd7d02
AS
74742012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7475
7476 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7477 preprocessor. Test for each exception mask separately.
7478
dd318934
AJ
74792012-07-16 Andreas Jaeger <aj@suse.de>
7480
7481 * po/ru.po: Update from translation team.
7482
8048311a
JM
74832012-07-15 Joseph Myers <joseph@codesourcery.com>
7484
7485 * conform/data/string.h-data (NULL): Use macro-constant. Require
7486 equal to 0.
7487 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7488 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7489 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7490 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7492
b637d46e
AJ
74932012-07-13 Andreas Jaeger <aj@suse.de>
7494
7495 * po/fr.po: Update from translation team.
7496
541428fe
MP
74972012-07-12 Marek Polacek <polacek@redhat.com>
7498
7499 [BZ #14173]
7500 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7501 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7502 loop condition.
7503
ec332e94
JM
75042012-07-12 Joseph Myers <joseph@codesourcery.com>
7505
7506 [BZ #13717]
7507 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7508 Change to 2.4.1 where previously 2.4.0.
7509 * sysdeps/unix/sysv/linux/configure: Regenerated.
7510 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7511 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7512 version.
7513 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7514 (__ASSUME_AT_CLKTCK): Remove.
7515 (__ASSUME_AT_PAGESIZE): Likewise.
7516 (__ASSUME_AT_XID): Likewise.
7517 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7518 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7519 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7520 unconditionally.
7521 (HAVE_AUX_PAGESIZE): Likewise.
7522 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7523 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7524 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7525
7b6e99be
JB
75262012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7527
7528 [BZ #14307]
7529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7530 the temporary buffer used to invoke __gethostbyname2_r,
7531 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7532 host_data / struct gaih_addrtuple.
7533 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7534 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7535 header file nss/nsswitch.h.
7536 * nss/nsswitch.h (global scope): Add definition of implementation
7537 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7538 resolv/nss_dns/dns-host.c).
7539
608404eb
AJ
75402012-07-11 Andreas Jaeger <aj@suse.de>
7541
7542 * po/fr.po: Update from translation team.
7543
71220aca
AJ
7544 * po/sv.po: Update from translation team
7545 * po/fr.po: Another update from translation team.
7546
28cfe843
AZ
75472012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7548
7549 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7550 for subnormals or multiply small sinh result by itself.
7551 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7553
6b90f981
DM
75542012-07-11 David S. Miller <davem@davemloft.net>
7555
7556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7557
c6825772
AS
75582012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7559
7560 [BZ #14347]
7561 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7562 (INTERNAL_MARK): Shift it here.
7563
7b8e0d49
MP
75642012-07-10 Marek Polacek <polacek@redhat.com>
7565
7566 [BZ #14151]
7567 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7568 libc_cv_asm_global_directive with .globl.
7569 * configure: Regenerated.
7570 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7571 with .globl.
7572 * sysdeps/i386/configure: Regenerated.
7573 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7574 with .globl.
7575 * sysdeps/x86_64/configure: Regenerated.
7576 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7577 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7578 * elf/tst-unique2mod2.c: Likewise.
7579 * elf/tst-unique2mod1.c: Likewise.
7580 * elf/tst-unique1mod2.c: Likewise.
7581 * elf/tst-unique1mod1.c: Likewise.
7582 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7583 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7584 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7585 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7586 * sysdeps/mach/sysdep.h: Likewise.
7587 * sysdeps/i386/sysdep.h: Likewise.
7588 * sysdeps/i386/i386-mcount.S: Likewise.
7589 * sysdeps/x86_64/_mcount.S: Likewise.
7590 * sysdeps/x86_64/sysdep.h: Likewise.
7591 * sysdeps/sh/_mcount.S: Likewise.
7592 * sysdeps/sh/sysdep.h: Likewise.
7593 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7594 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7595 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7596 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7597 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7598 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7599 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7600 * locale/localeinfo.h: Likewise.
7601 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7602 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7603
6c55cda3
RM
76042012-07-09 Roland McGrath <roland@hack.frob.com>
7605
7606 [BZ #14336]
7607 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7608 system".
7609 * manual/message.texi (The Uniforum approach): Likewise.
7610 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7611 (glibc iconv Implementation): Likewise.
7612
638a572e
JM
76132012-07-09 Joseph Myers <joseph@codesourcery.com>
7614
7615 [BZ #14337]
7616 * math/s_clog.c (__clog): Avoid scaling a value down where that
7617 could result in underflow.
7618 * math/s_clog10.c (__clog10): Likewise.
7619 * math/s_clog10f.c (__clog10f): Likewise.
7620 * math/s_clog10l.c (__clog10l): Likewise.
7621 * math/s_clogf.c (__clogf): Likewise.
7622 * math/s_clogl.c (__clogl): Likewise.
7623 * math/libm-test.inc (clog_test): Add more tests.
7624 (clog10_test): Likewise.
7625 * sysdeps/i386/fpu/libm-test-ulps: Update.
7626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7627
261f4859
AS
76282012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7629
0abaf3e4
AS
7630 [BZ #14283]
7631 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7632 by 7 not 8 to examine high bit of fractional part.
7633
261f4859
AS
7634 [BZ #14042]
7635 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7636 for call to __mcount_internal.
7637 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7638 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7639 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7640
f17ac40d
JM
76412012-07-06 Joseph Myers <joseph@codesourcery.com>
7642
9ad63c23
JM
7643 [BZ #14154]
7644 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7645 approximation for values within 0x1p-13f of an odd multiple of
7646 pi/4.
7647 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7648 exception. Add more tests.
7649 * sysdeps/i386/fpu/libm-test-ulps: Update.
7650
f17ac40d
JM
7651 [BZ #6778]
7652 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7653 inputs and return -1 for them. Do not check for +Inf in case not
7654 reachable for +Inf.
7655 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7656 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7657 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7658 and return -1 for them. Do not check for +Inf in case not
7659 reachable for +Inf.
7660 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7661 define.
7662 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7663 and return -1 for them. Do not check for +Inf in case not
7664 reachable for +Inf.
7665 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7666 spurious underflow.
7667 * sysdeps/i386/fpu/libm-test-ulps: Update.
7668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7669
fb21f89b
MF
76702012-07-06 Mike Frysinger <vapier@gentoo.org>
7671
7672 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7673
cdfe2c5e
JM
76742012-07-05 Joseph Myers <joseph@codesourcery.com>
7675
7676 [BZ #14157]
7677 [BZ #14331]
7678 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7679 could result in spurious underflow. Scale down values above
7680 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7681 * math/s_csqrtf.c (__csqrtf): Likewise.
7682 * math/s_csqrtl.c (__csqrtl): Likewise.
7683 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7684 spurious underflow.
7685 * sysdeps/i386/fpu/libm-test-ulps: Update.
7686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7687
70d35b67
AS
76882012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7689
704bc459
AS
7690 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7691 xopen-msg.sed.
7692 * catgets/xopen-msg.awk: New file.
7693 * catgets/xopen-msg.sed: Removed.
7694
70d35b67
AS
7695 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7696 po2text.sed.
7697 * intl/po2test.awk: New file.
7698 * intl/po2test.sed: Removed.
7699
ca61cf32
JM
77002012-07-04 Joseph Myers <joseph@codesourcery.com>
7701
7702 [BZ #14328]
7703 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7704 or multiply small sinh result by itself.
7705 * math/s_ctanf.c (__ctanf): Likewise.
7706 * math/s_ctanh.c (__ctanh): Likewise.
7707 * math/s_ctanhf.c (__ctanhf): Likewise.
7708 * math/s_ctanhl.c (__ctanhl): Likewise.
7709 * math/s_ctanl.c (__ctanl): Likewise.
7710 * math/libm-test.inc (ctan_test_tonearest): New function.
7711 (ctan_test_towardzero): Likewise.
7712 (ctan_test_downward): Likewise.
7713 (ctan_test_upward): Likewise.
7714 (ctanh_test_tonearest): Likewise.
7715 (ctanh_test_towardzero): Likewise.
7716 (ctanh_test_downward): Likewise.
7717 (ctanh_test_upward): Likewise.
7718 (main): Call these new functions.
7719 * sysdeps/i386/fpu/libm-test-ulps: Update.
7720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7721
ca48a46a
MF
77222012-07-03 Mike Frysinger <vapier@gentoo.org>
7723
7724 * .gitignore: Delete /ports entry.
7725
9d63d37d
AJ
77262012-07-03 Andreas Jaeger <aj@suse.de>
7727
7728 * po/bg.po: Update from translation team.
7729 * po/cs.po: Likewise.
7730 * po/de.po: Likewise.
7731 * po/hr.po: Likewise.
7732 * po/nl.pl: Likewise.
7733 * po/pl.po: Likewise.
7734 * po/vi.po: Likewise.
7735
370ca3d2
JM
77362012-07-03 Joseph Myers <joseph@codesourcery.com>
7737
95f5a9a8
JM
7738 * Makeconfig [!+link] (+link-before-libc): New variable.
7739 [!+link] (+link-after-libc): Likewise.
7740 [!+link] (+link-tests): Likewise.
7741 [!+link] (+link): Define in terms of $(+link-before-libc) and
7742 $(+link-after-libc).
7743 [!+link-static] (+link-static-before-libc): New variable.
7744 [!+link-static] (+link-static-after-libc): Likewise.
7745 [!+link-static] (+link-static-tests): Likewise.
7746 [!+link-static] (+link-static): Define in terms of
7747 $(+link-static-before-libc) and $(+link-static-after-libc).
7748 [build-shared] (link-libc-before-gnulib): New variable.
7749 [build-shared] (link-libc-tests): Likewise.
7750 [build-shared] (link-libc): Define in terms of
7751 $(link-libc-before-gnulib).
7752 [!build-shared] (link-libc-tests): New variable.
7753 (link-libc-static-tests): New variable.
7754 [!gnulib] (gnulib-arch): New variable.
7755 [!gnulib] (gnulib-tests): Likewise.
7756 [!gnulib] (static-gnulib-arch): Likewise.
7757 [!gnulib] (static-gnulib-tests): Likewise.
7758 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7759 Define with "=" instead of ":=".
7760 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7761 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7762 * Rules (binaries-all-notests): New variable.
7763 (binaries-all-tests): Likewise.
7764 (binaries-static-notests): Likewise.
7765 (binaries-static-tests): Likewise.
7766 (binaries-all): Define using $(binaries-all-notests) and
7767 $(binaries-all-tests).
7768 (binaries-static): Define using $(binaries-static-notests) and
7769 $(binaries-static-tests).
7770 (binaries-shared-tests): New variable.
7771 (binaries-shared-notests): Likewise.
7772 (binaries-shared): Remove variable.
7773 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7774 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7775 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7776 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7777 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7778 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7779 * elf/Makefile (sln-modules): New variable.
7780 (extra-objs): Add $(sln-modules:=.o).
7781 (ldconfig-modules): Add static-stubs.
7782 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7783 * elf/static-stubs.c: New file.
7784
7a845b2c
JM
7785 [BZ #14283]
7786 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7787 by 7 not 8 to examine high bit of fractional part. Use volatile
7788 variables when splitting into final array of floats if
7789 __FLT_EVAL_METHOD__ != 0.
7790 * math/libm-test.inc (cos_test): Add another test.
7791 (sin_test): Likewise.
7792 * sysdeps/i386/fpu/libm-test-ulps: Update.
7793
e2283f38
JM
7794 [BZ #14273]
7795 * math/libm-test.inc (cosh_test): Add more tests.
7796
370ca3d2
JM
7797 * version.h (RELEASE): Set to "development".
7798 (VERSION): Set to "2.16.90".
7799
ee9247c3
CD
78002012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7801
7802 * NEWS: Update copyright. Remove last-updated date.
7803 Mention math library bug fixes and timezone data changes.
7804 * README: Mention GNU/Hurd, x32, and HPPA support status.
7805
4648c381
TS
78062012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7807
7808 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7809
aac78a43
AJ
78102012-06-27 Andreas Jaeger <aj@suse.de>
7811
7812 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7813
ed3dbfad
AJ
78142012-06-25 Andreas Jaeger <aj@suse.de>
7815
7816 * sysdeps/s390/fpu/libm-test-ulps: Update.
7817
4d0ee855
AS
78182012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7819 Thomas Schwinge <thomas@codesourcery.com>
7820
7821 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7822 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7824 fanotify_mark.
7825
af1bce34
TS
78262012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7827
a9fa33ba
TS
7828 * sysdeps/mach/start.c: Remove file.
7829 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7830 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7831 * sysdeps/sh/init-first.c: Likewise.
7832
58f902b8
TS
7833 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7834 registers for frame unwinding purposes, add CFI directives.
7835 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7836 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7837 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7838 Likewise.
7839
1518f58b
TS
7840 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7841 __fortify_fail returning.
7842 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7843
db9b5059
TS
7844 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7845 sysdeps/sh/____longjmp_chk.S.
7846 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7847 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7848 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7849 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7850
967705fe
TS
7851 * sysdeps/sh/abort-instr.h: New file.
7852 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7853 process in case exit returns.
7854
a9def8c4
TS
7855 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7856 initialize the GOT register before use.
7857
2a649725
TS
7858 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7859 calculation of ARGC > 4.
7860
af1bce34
TS
7861 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7862 meaningful names to some local labels.
7863
d230f50a
KK
78642012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7865 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7866
7867 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7868 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7869 (__arch_compare_and_exchange_val_16_acq): Likewise.
7870 (__arch_compare_and_exchange_val_32_acq): Likewise.
7871 (atomic_exchange_and_add): Fix gUSA sequence.
7872 (atomic_add): Likewise.
7873 (atomic_add_negative): Likewise.
7874 (atomic_add_zero): Likewise.
7875 (atomic_bit_test_set): Likewise.
7876
0479b305
AS
78772012-06-22 Andreas Schwab <schwab@redhat.com>
7878
7879 [BZ #13579]
7880 * include/link.h (struct link_map): Add l_free_initfini.
7881 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7882 l_initfini.
7883 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7884 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7885 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7886 set.
7887
0e3933b9
CD
78882012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7889
7890 * configure.in: Use AC_LANG_SOURCE.
7891 * configure: Regenerate.
7892
4248b1b1
RM
78932012-06-22 Roland McGrath <roland@hack.frob.com>
7894
7895 * configure.in (libc_cv_localstatedir): New substituted variable.
7896 * configure: Regenerated.
7897 * config.make.in (localstatedir): New variable, substituted from
7898 libc_cv_localstatedir.
7899 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7900 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7901 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7902 * sysdeps/gnu/configure: Regenerated.
7903
006dd861
JL
79042012-06-21 Jeff Law <law@redhat.com>
7905
7906 [BZ #14277]
7907 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7908 free. Simplify list management for _LIBC case.
7909
79662d42
JM
79102012-06-21 Joseph Myers <joseph@codesourcery.com>
7911
b7abb4bf
JM
7912 [BZ #14273]
7913 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7914 Clear sign bit of 64-bit integer value before comparing against
7915 overflow value.
7916
79662d42
JM
7917 * sysdeps/mach/configure: Regenerated.
7918
1f150908
L
79192012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7920
7921 [BZ #14278]
7922 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7923
28363bbf
JL
79242012-06-21 Jeff Law <law@redhat.com>
7925
7926 [BZ #13882]
7927 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7928 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7929 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7930 * elf/dl-open.c (dl_open_worker): Likewise.
7931
09615db4
CD
79322012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7933
7934 * scripts/list-sources.sh: Scan PORTS for translations.
7935 * po/libc.pot: Regenerated.
7936
2174c6dd
AJ
79372012-06-21 Andreas Jaeger <aj@suse.de>
7938
7939 [BZ #12194]
7940 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7941 warning.
7942 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7943 * bits/byteswap-16.h (__bswap_16): Likewise.
7944 * bits/byteswap.h (__bswap_constant_16): Likewise.
7945
3ee947b1
L
79462012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7947
7948 [BZ #14117]
a2f34833
L
7949 * sysdeps/i386/fpu_control.h: Removed.
7950 * sysdeps/x86_64/fpu_control.h: Moved to ...
7951 * sysdeps/x86/fpu_control.h: Here.
7952
3ee947b1
L
7953 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7954 (_FPU_SETCW): Likewise.
7955
ed1825f8
L
79562012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7957
25f1282a
L
7958 [BZ #14117]
7959 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7960 * sysdeps/x86/fpu/bits/mathinline.h: This.
7961 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7962
ed1825f8
L
7963 [BZ #14050]
7964 [BZ #14117]
7965 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7966 functions if __x86_64__ is defined.
7967
36d54b74
CLT
79682012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7969
7970 * string/endian.h: Add !__ASSEMBLER__ condition for including
7971 conversion interfaces.
7972
10285c21
JM
79732012-06-15 Joseph Myers <joseph@codesourcery.com>
7974
7975 [BZ #14241]
7976 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7977 of ABS(x) in calculating zero to negative powers other than odd
7978 integers.
7979 * math/libm-test.inc (pow_test): Add more tests.
7980
06c5abbd
AJ
79812012-06-15 Andreas Jaeger <aj@suse.de>
7982
7983 * manual/contrib.texi (Contributors): Update entry of Liubov
7984 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7985 Machado Filho.
7986
a3aeac40
CH
79872012-06-15 Cyril Hrubis <metan@ucw.cz>
7988
7989 * string/string.h: Add __wur to GNU version of strerror_r.
7990
49bdf4c1
L
79912012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7992
7993 [BZ #14229]
7994 * string/Makefile (tests): Add tst-strtok_r.
7995 * string/tst-strtok_r.c: New file.
7996 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7997 RAX_LP/RDX_LP on SAVE_PTR.
7998
834f9b8d
RM
79992012-06-14 Roland McGrath <roland@hack.frob.com>
8000
8001 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8002
75fa1921
JM
80032012-06-14 Joseph Myers <joseph@codesourcery.com>
8004
8005 * libm_test.inc (csqrt_test): Allow more spurious underflow
8006 exceptions.
8007 (j0_test): Likewise.
8008 (j1_test): Likewise.
8009 (y0_test): Likewise.
8010 (y1_test): Likewise.
8011
771766df
CD
80122012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8013
8014 * po/Makefile (libc.pot): Use UTF-8 charset.
8015
ceb9e56b
PP
80162012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8017
8018 [BZ #14210]
8019 Suppress sign-conversion warning from FD_SET.
8020 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8021 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8022 not unsigned long int.
8023 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8024
ddb28975
L
80252012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8026
8027 [BZ #14050]
8028 [BZ #14117]
8029 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8030 __extern_always_inline instead of __extern_inline.
8031 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8032 (__signbit): Likewise.
8033 (__signbitl): Support C++ namespace.
8034 (lrintf): New inline function.
8035 (lrint): Likewise.
8036 (llrintf): Likewise.
8037 (llrint): Likewise.
8038 (fmaxf): Likewise.
8039 (fmax): Likewise.
8040 (fminf): Likewise.
8041 (fmin): Likewise.
8042 (rint): Likewise.
8043 (rintf): Likewise.
8044 (ceil): Likewise.
8045 (ceilf): Likewise.
8046 (floor): Likewise.
8047 (floorf): Likewise.
8048 (nearbyint): Likewise.
8049 (nearbyintf): Likewise.
8050
d7b4fb26
TS
80512012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8052
8053 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8054 non-default versions.
8055
eb55f5c2
RM
80562012-06-11 Roland McGrath <roland@hack.frob.com>
8057
8058 [BZ #14218]
8059 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8060
366af02c
TS
80612012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8062
99ff6e5c
TS
8063 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8064 (FE_UPWARD, FE_DOWNWARD): Don't define.
8065 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8066 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8067
366af02c
TS
8068 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8069 reading it.
8070 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8071 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8072
793ea851
KK
80732012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8074
8075 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8076 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8077 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8078 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8079
a728a38f
L
80802012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8081
8082 [BZ #14117]
c08010c7
L
8083 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8084 * sysdeps/i386/fpu/Implies: New file.
8085 * sysdeps/x86_64/fpu/Implies: Likewise.
8086 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8087 * sysdeps/x86/fpu/bits/fenv.h: This.
8088
a728a38f
L
8089 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8090 __SSE_MATH__.
8091
6e230d11
SP
80922012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8093
8094 [BZ #14134]
8095 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8096 character 0xffff that matches the last element of the
8097 conversion table.
8098
1b671feb
AZ
80992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8100
8101 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8102 fmodl commit.
8103
6043738b
AZ
81042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8105
8106 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8107 values higher than 25.6283.
8108
34ae0b32
AZ
81092012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8110
8111 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8112 subnormal exponent extraction and add some __builtin_expect.
8113 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8114 Fix for subnormal mantissa calculation.
8115
1214ec8f
MF
81162012-06-04 Mike Frysinger <vapier@gentoo.org>
8117
8118 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8119 cpu2 is -1 and errno is not ENOSYS.
8120
f3d1f93c
L
81212012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8122
8123 [BZ #14117]
0e4a3cd7
L
8124 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8125 * sysdeps/x86/bits/string.h: This.
8126 * sysdeps/x86_64/bits/string.h: Removed.
8127
6704c645
L
8128 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8129 if not compiling for x86-64, but compiling for >= i486.
8130
48495318
L
8131 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8132 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8133
14adcbfc
L
8134 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8135 New macro from Linux kernel 3.4.0.
8136 (FP_XSTATE_MAGIC2): Likewise.
8137 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8138 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8139 (struct _fpx_sw_bytes): New struct.
8140 (struct _xsave_hdr): Likewise.
8141 (struct _ymmh_state): Likewise.
8142 (struct _xstate): Likewise.
8143
68e408ab
L
8144 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8145 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8146 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8147 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8148 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8149 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8150
f3d1f93c
L
8151 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8152 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8153 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8154 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8155 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8156 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8157
d9dc34cd
TMQMF
81582012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8159
8160 [BZ #13743]
8161 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8162 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8163 (sysdep_headers): Include sys/platform/ppc.h.
8164 * sysdeps/powerpc/test-gettimebase.c: Test for
8165 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8166 * manual/Makefile (appendices): Include platform.texi.
8167 * manual/contrib.texi (Contributors): Update @node pointers.
8168 * manual/maint.texi (Maintenance): Likewise.
8169 (Platform): New node.
8170 * manual/platform.texi: New file. Document the new features.
8171
4af3879c
SP
81722012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8173 Jakub Jelinek <jakub@redhat.com>
8174
8175 [BZ #14188]
8176 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8177 where __builtin_expect is unavailable.
8178
2fd6ff13
DM
81792012-06-03 David S. Miller <davem@davemloft.net>
8180
8181 * stdlib/longlong.h: Updated from GCC.
8182
173f7220
AS
81832012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8184
8185 [BZ #14042]
8186 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8187 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8188 __mcount_internal.
8189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8190 (GLIBC_2.16): Likewise.
8191
f34a1c6f
L
81922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8193
8194 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8195
88a4576f
JM
81962012-06-01 Joseph Myers <joseph@codesourcery.com>
8197
ea32bcdd
JM
8198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8199 (default-abi): New variable.
8200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8201 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8202 variable.
8203 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8204 Likewise.
8205 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8206 Likewise.
8207 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8208 Likewise.
8209
88a4576f
JM
8210 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8211 definition. Document in comment.
8212
402fe938
DM
82132012-06-01 David S. Miller <davem@davemloft.net>
8214
8215 * stdlib/longlong.h: Updated from GCC.
8216
3553723f
L
82172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8218
8219 [BZ #14117]
3bd872c4
L
8220 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8221 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8222 sys/debugreg.h sys/io.h here.
8223 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8224 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8225 sys/io.h.
8226 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8227 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8228 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8229 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8230 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8231 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8232
3553723f
L
8233 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8234 Define only if __x86_64__ is defined.
8235
4842e4fe
JM
82362012-06-01 Joseph Myers <joseph@codesourcery.com>
8237
c5bfe3d5
JM
8238 [BZ #14048]
8239 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8240 Use int64_t for variable i.
8241 * math/libm-test.inc (fmod_test): Add more tests.
8242
4842e4fe
JM
8243 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8244 z computation is not scheduled after fetestexcept.
8245 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8246 Use math_force_eval instead of asm to ensure calculation scheduled
8247 before exception test.
8248 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8249 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8250
efb73488
AJ
82512012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8252
8253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8254 computation is not scheduled after fetestexcept.
8255
29bcce7c
L
82562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8257
8258 [BZ #14117]
8259 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8260 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8261
73a68f94
AZ
82622012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8263
8264 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8265 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8266
67b6df78
L
82672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8268
edf2933a 8269 [BZ #14117]
ebc64a18
L
8270 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8271 <bits/wordsize.h>.
8272 (__WCHAR_MIN): Support __WORDSIZE == 64.
8273 (__WCHAR_MAX): Likewise.
8274
edf2933a
L
8275 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8276 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8277
57c6cf40
L
8278 [BZ #14183]
8279 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8280 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8281
67b6df78 8282 [BZ #14117]
8eb6281e
L
8283 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8284 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8285
aac639f4
L
8286 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8287 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8288
67b6df78
L
8289 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8290 Defined to 1 if __x86_64__ isn't defined.
8291 (_STAT_VER_LINUX_OLD): New.
8292 (st_atime): Remove duplicate.
8293 (st_mtime): Likewise.
8294 (st_ctime): Likewise.
8295
1c2cfe81
DM
82962012-05-31 David S. Miller <davem@davemloft.net>
8297
8298 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8299 entries.
8300
5be8418c
AS
83012012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8302
e7725326
AS
8303 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8304 gen-libm-test.pl.
8305
5be8418c
AS
8306 [BZ #14132]
8307 * elf/dl-reloc.c: Include <_itoa.h>.
8308 (_dl_reloc_bad_type): Remove use of INTUSE.
8309 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8310 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8311 * stdio-common/psiginfo.c (psiginfo): Likewise.
8312 * stdio-common/psignal.c (psignal): Likewise.
8313 * string/strsignal.c (strsignal): Likewise.
8314 * include/signal.h (_sys_siglist): Declare hidden proto.
8315 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8316 INTVARDEF with libc_hidden_data_def.
8317 * stdio-common/itoa-udigits.c: Likewise.
8318 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8319 (_itoa_lower_digits_internal): Remove declaration.
8320 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8321 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8322 (_sys_sigabbrev_internal): Remove aliases.
8323 (_sys_siglist): Define hidden alias.
8324
507352f1
MT
83252012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8326
8327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8328 bits/sysctl.h.
8329
42bbb1c3
L
83302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8331
8332 [BZ #14117]
6bd784b6
L
8333 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8334 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8335
8bca20f0
L
8336 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8337 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8338 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8339 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8340 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8341 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8342
f9e890a9
L
8343 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8344 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8345 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8346
471101a1
L
8347 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8348 with __addr.
8349 (insw): Likewise.
8350 (insl): Likewise.
8351 (outsb): Likewise.
8352 (outsw): Likewise.
8353 (outsl): Likewise.
8354
6451c862
L
8355 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8356 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8357 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8358
a254b8c9
L
8359 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8360 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8361 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8362 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8363 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8364 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8365
b8dfdd92
L
8366 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8367 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8368
578cd270
L
8369 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8370 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8371
de662f5f
L
8372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8374 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8375
25653439
L
8376 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8377 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8378 to ...
8379 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8380
6bad24a0
L
8381 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8382 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8383 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8384
42bbb1c3
L
8385 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8386 for x86-64.
8387 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8388
2d10d547
JM
83892012-05-31 Joseph Myers <joseph@codesourcery.com>
8390
8391 * math/math.h (M_El): Use two more decimal places.
8392 (M_LOG2El): Likewise.
8393 (M_LOG10El): Likewise.
8394 (M_LN2l): Likewise.
8395 (M_LN10l): Likewise.
8396 (M_PIl): Likewise.
8397 (M_PI_2l): Likewise.
8398 (M_PI_4l): Likewise.
8399 (M_1_PIl): Likewise.
8400 (M_2_PIl): Likewise.
8401 (M_2_SQRTPIl): Likewise.
8402 (M_SQRT2l): Likewise.
8403 (M_SQRT1_2l): Likewise.
8404
f230c29b
DM
84052012-05-31 David S. Miller <davem@davemloft.net>
8406
8407 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8408 values between float registers.
8409 * sysdeps/sparc/sparc64/memset.S: Likewise.
8410 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8411
fed806c3
MF
84122012-05-31 Mike Frysinger <vapier@gentoo.org>
8413
8414 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8415 -D_FORTIFY_SOURCE=1.
8416 (CPPFLAGS-tst-longjmp_chk.c): Define.
8417 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8418 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8419 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8420 CFLAGS-tst-wchar-h.c.
8421
30917259
MP
84222012-05-31 Marek Polacek <polacek@redhat.com>
8423
8424 [BZ #14132]
8425 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8426 __endmntent_internal): Remove declaration.
8427 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8428 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8429 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8430
1c58d5dc
DM
84312012-05-30 David S. Miller <davem@davemloft.net>
8432
8433 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8434 (___Q_simulate_exceptions): Use real FP ops rather than writing
8435 into the %fsr.
8436 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8437 Likewise.
8438
7dc00e0d
L
84392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8440
8441 [BZ #14117]
0bd53985
L
8442 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8443 * sysdeps/x86/bits/xtitypes.h: This.
8444
3a257e66
L
8445 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8446 * sysdeps/x86/bits/wordsize.h: This.
8447
62f62904
L
8448 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8449 * sysdeps/x86/bits/huge_vall.h: This.
8450
404fe9d9
L
8451 * sysdeps/i386/bits/select.h: Removed.
8452 * sysdeps/x86_64/bits/select.h: Renamed to ...
8453 * sysdeps/x86/bits/select.h: This.
8454
d48d0446
L
8455 * sysdeps/i386/bits/setjmp.h: Removed.
8456 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8457 * sysdeps/x86/bits/setjmp.h: This.
8458
7dc00e0d
L
8459 * sysdeps/i386/bits/mathdef.h: Removed.
8460 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8461 * sysdeps/x86/bits/mathdef.h: This.
8462
03277f8f
AS
84632012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8464
8465 [BZ #14132]
8466 * include/sys/socket.h (__connect_internal)
8467 (__libc_sa_len_internal): Remove declaration.
8468 (__connect, __libc_sa_len): Declare hidden_proto.
8469 (SA_LEN): Remove use of INTUSE.
8470 * socket/connect.c: Add libc_hidden_def.
8471 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8472 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8473 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8474 alias.
8475 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8476 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8477 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8478 of adding _internal alias.
8479
13764867
L
84802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8481
8482 [BZ #14117]
6bd97696
L
8483 * sysdeps/i386/bits/link.h: Removed.
8484 * sysdeps/i386/bits/linkmap.h: Likewise.
8485 * sysdeps/x86_64/bits/link.h: Renamed to ...
8486 * sysdeps/x86/bits/link.h: This.
8487 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8488 * sysdeps/x86/bits/linkmap.h: This.
8489
f726f0bb
L
8490 * sysdeps/i386/bits/endian.h: Removed.
8491 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8492 * sysdeps/x86/bits/endian.h: This.
8493
13764867
L
8494 * sysdeps/i386/bits/byteswap.h: Removed.
8495 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8496 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8497 * sysdeps/x86/bits/byteswap.h: This.
8498 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8499 * sysdeps/x86/bits/byteswap-16.h: This.
8500 * sysdeps/i386/Implies: Add x86.
8501 * sysdeps/x86_64/Implies: Likewise.
8502
ae251b0b
DM
85032012-05-30 David S. Miller <davem@davemloft.net>
8504
8505 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8506 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8507 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8508 (FP_TRAPPING_EXCEPTIONS): Define.
8509 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8510 (FP_TRAPPING_EXCEPTIONS): Define.
8511 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8512 subnormals only when inexact has been signalled or underflow
8513 exceptions are enabled.
8514 (_FP_PACK_CANONICAL): Likewise.
8515
d5c90867
L
85162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8517
8518 [BZ #14183]
8519 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8520 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8521
63f1549e
RH
85222012-05-30 Richard Henderson <rth@twiddle.net>
8523
8d8f2279
RH
8524 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8525 with #ifndef NOT_IN_libc.
8526
63f1549e
RH
8527 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8528 marked to avoid plt entry.
8529
0ab0291b
L
85302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8531
8532 [BZ #14112]
8533 * Makeconfig (default-abi): New macro.
8534 (abi-includes): Likewise.
8535 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8536 $(abi-$(default-abi)-lib-soname) for soname if defined.
8537 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8538 abi-variants.
8539 * Makefile (installed-stubs): Likewise.
8540 * include/stubs-biarch.h: Removed.
8541 * scripts/lib-names.awk: Only handle one library at a time.
8542 * scripts/soversions.awk: Remove WORDSIZE support.
8543 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8544 entries.
8545 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8546 Removed.
8547 (syscall-list-default-condition): Likewise.
8548 (syscall-list-default-condition): Likewise.
8549 (syscall-list-includes): Likewise.
8550 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8551 syscall-list-* with abi-*. Handle undefined abi-variants.
8552 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8553 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8554 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8555 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8556 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8557 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8558 Removed.
8559 (syscall-list-32-options): Likewise.
8560 (syscall-list-32-condition): Likewise.
8561 (syscall-list-64-options): Likewise.
8562 (syscall-list-64-condition): Likewise.
8563 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8564 macro.
8565 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8566 Renamed to ...
8567 (abi-*): This.
8568 (abi-64-ld-soname): New macro.
8569 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8570 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8571 Renamed to ...
8572 (abi-*): This.
8573 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8574 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8575
4da0431d
JM
85762012-05-30 Joseph Myers <joseph@codesourcery.com>
8577
3a85279c
JM
8578 * sysdeps/unix/sysv/linux/kernel-features.h
8579 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8580 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8581 include <kernel-features.h>.
8582 [!__NR_ftruncate64]: Remove conditional code.
8583 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8584 [__NR_ftruncate64]: Make code unconditional.
8585 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8586 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8587 include <kernel-features.h>.
8588 [!__NR_ftruncate64]: Remove conditional code.
8589 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8590 [__NR_ftruncate64]: Make code unconditional.
8591 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8593 include <kernel-features.h>.
8594 [!__NR_ftruncate64]: Remove conditional code.
8595 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8596 [__NR_ftruncate64]: Make code unconditional.
8597 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8599 include <kernel-features.h>.
8600 [!__NR_ftruncate64]: Remove conditional code.
8601 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8602 [__NR_ftruncate64]: Make code unconditional.
8603 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8604
4da0431d
JM
8605 * configure.in (libc_cv_fpie): Weaken to a compile test using
8606 LIBC_TRY_CC_OPTION.
8607 * configure: Regenerated.
8608
11ef492c
AK
86092012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8610
8611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8615 Refreshed.
8616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8622 Refreshed.
8623
d66ef399
DM
86242012-05-27 David S. Miller <davem@davemloft.net>
8625
8626 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8627 (___Q_zero): New.
8628 (__Q_simulate_exceptions): Return void. Change to simulate
8629 exceptions by writing into the %fsr.
8630 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8631 (__Qp_handle_exceptions): Likewise.
8632 (numbers): Delete.
8633 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8634 __Qp_handle_exceptions.
8635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8636 __Qp_handle_exceptions.
8637 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8638 as unused and give dummy FP_RND_NEAREST initializer.
8639 (FP_INHIBIT_RESULTS): Define.
8640 (___Q_simulate_exceptions): Update declaration.
8641 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8642 formatting.
8643 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8644 as unused and give dummy FP_RND_NEAREST initializer.
8645 (__Qp_handle_exceptions): Update declaration.
8646 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8647 formatting.
8648
04fb54b5
TS
86492012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8650
8651 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8652 the temporary FPU control word.
8653 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8654 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8655 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8656 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8657 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8658 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8659 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8660 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8661 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8662 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8663 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8664
3f99608f
KK
86652012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8666
8667 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8668 fields.
8669
65a4de4e
CLT
86702012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8671
8672 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8673 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8674 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8675 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8676 Likewise.
8677 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8678 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8679 Likewise.
8680
15749d40
UD
86812012-05-27 Ulrich Drepper <drepper@gmail.com>
8682
8683 * po/h.po: Update from translation team.
8684
25dbcb27
AS
86852012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8686
3d3f8e55
AS
8687 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8688
25dbcb27
AS
8689 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8690 handling of denormals.
8691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8692 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8693 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8694 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8697 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8698 Likewise.
8699
7ad47a80 87002012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8701
8702 [BZ #14152]
8703 * math/libm-test.inc (fma_test): Don't always expect underflow
8704 exception.
8705
9c6ea9fa
SP
87062012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8707
8708 [BZ #12416]
8709 * elf/tst-execstack.c: Include stackinfo.h.
8710 (do_test): Adjust test case to ensure that pthread_getattr_np
8711 behaviour remains the same after marking stack executable.
8712
a8239222
JM
87132012-05-25 Joseph Myers <joseph@codesourcery.com>
8714
8715 * sysdeps/unix/sysv/linux/kernel-features.h
8716 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8717 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8718 kernel-features.h.
8719 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8720 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8721 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8722 kernel-features.h.
8723 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8724 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8725
918b5606
L
87262012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8727
8728 * configure.in: Define the default includes to being none.
8729 * configure: Regenerated.
8730
3a097cc7
RM
87312012-05-25 Roland McGrath <roland@hack.frob.com>
8732
8422c9a5
RM
8733 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8734 * sysdeps/x86_64/setjmp.S: Likewise.
8735 * sysdeps/i386/bsd-setjmp.S: Likewise.
8736 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8737 * sysdeps/i386/setjmp.S: Likewise.
8738 * sysdeps/i386/__longjmp.S: Likewise.
8739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8740 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8741
3a097cc7
RM
8742 * include/stap-probe.h: New file.
8743 * configure.in: Handle --enable-systemtap.
8744 * configure: Regenerated.
8745 * config.h.in (USE_STAP_PROBE): New #undef.
8746 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8747 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8748 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8749
21708942
JM
87502012-05-25 Joseph Myers <joseph@codesourcery.com>
8751
8752 [BZ #13717]
8753 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8754 to 2.4.0 where earlier.
8755 * sysdeps/unix/sysv/linux/configure: Regenerated.
8756 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8757 <kernel-features.h>.
8758 [__ASSUME_32BITUIDS]: Make code unconditional.
8759 [!__ASSUME_32BITUIDS]: Remove conditional code.
8760 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8761 <kernel-features.h>.
8762 [__ASSUME_32BITUIDS]: Make code unconditional.
8763 [!__ASSUME_32BITUIDS]: Remove conditional code.
8764 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8765 [__ASSUME_32BITUIDS]: Make code unconditional.
8766 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8767 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8768 <kernel-features.h>.
8769 [__ASSUME_32BITUIDS]: Make code unconditional.
8770 [!__ASSUME_32BITUIDS]: Remove conditional code.
8771 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8772 <kernel-features.h>.
8773 [__ASSUME_32BITUIDS]: Make code unconditional.
8774 [!__ASSUME_32BITUIDS]: Remove conditional code.
8775 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8776 <kernel-features.h>.
8777 [__ASSUME_32BITUIDS]: Make code unconditional.
8778 [!__ASSUME_32BITUIDS]: Remove conditional code.
8779 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.c: Do not include
8788 <kernel-features.h>.
8789 [__ASSUME_32BITUIDS]: Make code unconditional.
8790 [!__ASSUME_32BITUIDS]: Remove conditional code.
8791 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8792 <kernel-features.h>.
8793 [__ASSUME_32BITUIDS]: Make code unconditional.
8794 [!__ASSUME_32BITUIDS]: Remove conditional code.
8795 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8796 <kernel-features.h>.
8797 [__ASSUME_32BITUIDS]: Make code unconditional.
8798 [!__ASSUME_32BITUIDS]: Remove conditional code.
8799 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8800 <kernel-features.h>.
8801 [__ASSUME_32BITUIDS]: Make code unconditional.
8802 [!__ASSUME_32BITUIDS]: Remove conditional code.
8803 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8804 <kernel-features.h>.
8805 [__ASSUME_32BITUIDS]: Make code unconditional.
8806 [!__ASSUME_32BITUIDS]: Remove conditional code.
8807 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8808 <kernel-features.h>.
8809 [__NR_setresgid] (__setresgid): Do not declare.
8810 [__ASSUME_32BITUIDS]: Make code unconditional.
8811 [!__ASSUME_32BITUIDS]: Remove conditional code.
8812 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8813 <kernel-features.h>.
8814 [__NR_setresuid] (__setresuid): Do not declare.
8815 [__ASSUME_32BITUIDS]: Make code unconditional.
8816 [!__ASSUME_32BITUIDS]: Remove conditional code.
8817 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8818 <kernel-features.h>.
8819 [__ASSUME_32BITUIDS]: Make code unconditional.
8820 [!__ASSUME_32BITUIDS]: Remove conditional code.
8821 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8822 <kernel-features.h>.
8823 [__ASSUME_32BITUIDS]: Make code unconditional.
8824 [!__ASSUME_32BITUIDS]: Remove conditional code.
8825 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8826 <kernel-features.h>.
8827 [__ASSUME_32BITUIDS]: Make code unconditional.
8828 [!__ASSUME_32BITUIDS]: Remove conditional code.
8829 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8830 <kernel-features.h>.
8831 [__ASSUME_32BITUIDS]: Make code unconditional.
8832 [!__ASSUME_32BITUIDS]: Remove conditional code.
8833 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8834 <kernel-features.h>.
8835 [__ASSUME_32BITUIDS]: Make code unconditional.
8836 [!__ASSUME_32BITUIDS]: Remove conditional code.
8837 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8838 <kernel-features.h>.
8839 [__ASSUME_32BITUIDS]: Make code unconditional.
8840 [!__ASSUME_32BITUIDS]: Remove conditional code.
8841 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8842 <kernel-features.h>.
8843 [__ASSUME_32BITUIDS]: Make code unconditional.
8844 [!__ASSUME_32BITUIDS]: Remove conditional code.
8845 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8846 <kernel-features.h>.
8847 [__ASSUME_32BITUIDS]: Make code unconditional.
8848 [!__ASSUME_32BITUIDS]: Remove conditional code.
8849 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8850 <kernel-features.h>.
8851 [__ASSUME_32BITUIDS]: Make code unconditional.
8852 [!__ASSUME_32BITUIDS]: Remove conditional code.
8853 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8854 <kernel-features.h>.
8855 [__ASSUME_32BITUIDS]: Make code unconditional.
8856 [!__ASSUME_32BITUIDS]: Remove conditional code.
8857 * sysdeps/unix/sysv/linux/kernel-features.h
8858 (__ASSUME_SETRESUID_SYSCALL): Remove.
8859 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8860 (__ASSUME_32BITUIDS): Likewise.
8861 (__ASSUME_LDT_WORKS): Likewise.
8862 (__ASSUME_O_DIRECTORY): Likewise.
8863 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8864 architecture but not kernel version.
8865 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8866 (__ASSUME_MMAP2_SYSCALL): Likewise.
8867 (__ASSUME_STAT64_SYSCALL): Likewise.
8868 (__ASSUME_IPC64): Likewise.
8869 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8870 <kernel-features.h>.
8871 [__ASSUME_32BITUIDS]: Make code unconditional.
8872 [!__ASSUME_32BITUIDS]: Remove conditional code.
8873 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8874 <kernel-features.h>.
8875 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8876 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8877 132096]: Remove conditional code.
8878 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8879 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8880 <kernel-features.h>.
8881 [__ASSUME_32BITUIDS]: Make code unconditional.
8882 [!__ASSUME_32BITUIDS]: Remove conditional code.
8883 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8884 <kernel-features.h>.
8885 [__ASSUME_32BITUIDS]: Make code unconditional.
8886 [!__ASSUME_32BITUIDS]: Remove conditional code.
8887 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8888 <kernel-features.h>.
8889 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8890 unconditional.
8891 (__setresgid): Do not declare.
8892 [__ASSUME_32BITUIDS]: Make code unconditional.
8893 [!__ASSUME_32BITUIDS]: Remove conditional code.
8894 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8895 <kernel-features.h>.
8896 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8897 unconditional.
8898 (__setresuid): Do not declare.
8899 [__ASSUME_32BITUIDS]: Make code unconditional.
8900 [!__ASSUME_32BITUIDS]: Remove conditional code.
8901 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8902 <kernel-features.h>.
8903 [__ASSUME_32BITUIDS]: Make code unconditional.
8904 [!__ASSUME_32BITUIDS]: Remove conditional code.
8905 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8906 <kernel-features.h>.
8907 [__ASSUME_32BITUIDS]: Make code unconditional.
8908 [!__ASSUME_32BITUIDS]: Remove conditional code.
8909
a386f1cc
RH
89102012-05-25 Richard Henderson <rth@twiddle.net>
8911
8912 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8913 dl_hwcap to ifunc resolver.
8914 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8915 elf_ifunc_invoke.
8916 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8917 dl_hwcap to ifunc resolver.
8918 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8919
b6550497
JM
89202012-05-24 Joseph Myers <joseph@codesourcery.com>
8921
8922 [BZ #14153]
8923 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8924 for |x| <= 2**-26, not 2**-57.
8925 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8926 exception.
8927
b0bc23a1
JL
89282012-05-24 Jeff Law <law@redhat.com>
8929
8930 * stdio-common/Makefile (tests): Add bug25.
8931 * stdio-common/bug25.c: New test.
8932
347c92e9
L
89332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8934
8935 [BZ #13576]
8936 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8937 multiple of MALLOC_ALIGNMENT in size.
8938 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8939
6bcc8b3f
JM
89402012-05-24 Joseph Myers <joseph@codesourcery.com>
8941
8942 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8943 Require >= 256.
8944 (FILENAME_MAX): Use macro-int-constant.
8945 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8946 (_IOFBF): Use macro-int-constant.
8947 (_IOLBF): Likewise.
8948 (_IONBF): Likewise.
8949 (SEEK_CUR): Likewise.
8950 (SEEK_END): Likewise.
8951 (SEEK_SET): Likewise.
8952 (TMP_MAX): Likewise.
8953 (EOF): Use macro-int-constant. Require < 0.
8954 (NULL): Use macro-constant. Require == 0.
8955 (stdin): Require type to be FILE *.
8956 (stdout): Likewise.
8957 (stderr): Likewise.
8958 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8959 macro-int-constant.
8960 (EXIT_SUCCESS): Likewise.
8961 (NULL): Use macro-constant. Require == 0.
8962 (RAND_MAX): Use macro-int-constant.
8963 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8964 [C99-based standards] (strtof): Require function.
8965 [C99-based standards] (strtold): Likewise.
8966 [C99-based standards] (strtoll): Likewise.
8967 [C99-based standards] (strtoull): Likewise.
8968 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8969 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8970 [ISO || ISO99 || ISO11] (math.h): Likewise.
8971 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8972 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8973 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8974
d18ea0c5
AS
89752012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8976
8977 [BZ #14132]
56d25bb8
AS
8978 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8979 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8980 * intl/dgettext.c (DCGETTEXT): Likewise.
8981 * intl/gettext.c (DCGETTEXT): Likewise.
8982 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8983 * posix/regex_internal.h (gettext): Likewise.
8984 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8985 Remove declaration.
8986 * include/argz.h (__argz_count_internal)
8987 (__argz_stringify_internal): Remove declaration.
8988 (__argz_count, __argz_stringify): Declare hidden proto.
8989 * intl/dcgettext.c: Remove use of INTDEF.
8990 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8991 * string/argz-stringify.c: Likewise.
8992 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8993 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8994 Declare hidden proto.
d18ea0c5
AS
8995 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8996 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8997 Declare hidden proto.
8998 * include/stdio.h (__asprintf_internal): Don't declare.
8999 (__asprintf): Don't define as macro. Declare hidden proto.
9000 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9001 (__fsetlocking): Declare hidden proto.
9002 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9003 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9004 hidden proto.
9005 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9006 (_IO_setlinebuf): Remove use of INTUSE.
9007 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9008 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9009 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9010 Remove declaration.
9011 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9012 (_IO_do_flush): Remove use of INTUSE.
9013 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9014 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9015 (_IO_adjust_column, _IO_least_wmarker)
9016 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9017 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9018 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9019 (_IO_default_doallocate, _IO_wdefault_doallocate)
9020 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9021 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9022 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9023 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9024 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9025 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9026 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9027 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9028 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9029 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9030 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9031 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9032 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9033 proto.
9034 (_IO_flush_all_internal, _IO_adjust_column_internal)
9035 (_IO_default_uflow_internal, _IO_default_finish_internal)
9036 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9037 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9038 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9039 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9040 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9041 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9042 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9043 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9044 (_IO_file_close_internal, _IO_file_close_it_internal)
9045 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9046 (_IO_file_init_internal, _IO_file_attach_internal)
9047 (_IO_file_fopen_internal, _IO_file_read_internal)
9048 (_IO_file_sync_internal, _IO_file_seek_internal)
9049 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9050 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9051 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9052 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9053 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9054 (_IO_list_all_internal, _IO_link_in_internal)
9055 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9056 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9057 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9058 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9059 (_IO_do_write_internal, _IO_padn_internal)
9060 (_IO_getline_info_internal, _IO_getline_internal)
9061 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9062 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9063 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9064 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9065 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9066 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9067 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9068 with libc_hidden_ver, remove use of INTUSE.
9069 * libio/genops.c: Likewise.
9070 * libio/freopen.c: Likewise.
9071 * libio/freopen64.c: Likewise.
9072 * libio/iofclose.c: Likewise.
9073 * libio/iofdopen.c: Likewise.
9074 * libio/iofflush.c: Likewise.
9075 * libio/iofflush_u.c: Likewise.
9076 * libio/iofgets.c: Likewise.
9077 * libio/iofgets_u.c: Likewise.
9078 * libio/iofopen.c: Likewise.
9079 * libio/iofopncook.c: Likewise.
9080 * libio/iofread.c: Likewise.
9081 * libio/iofread_u.c: Likewise.
9082 * libio/ioftell.c: Likewise.
9083 * libio/iofwrite.c: Likewise.
9084 * libio/iogetline.c: Likewise.
9085 * libio/iogets.c: Likewise.
9086 * libio/iogetwline.c: Likewise.
9087 * libio/iopadn.c: Likewise.
9088 * libio/iopopen.c: Likewise.
9089 * libio/ioseekoff.c: Likewise.
9090 * libio/ioseekpos.c: Likewise.
9091 * libio/iosetbuffer.c: Likewise.
9092 * libio/iosetvbuf.c: Likewise.
9093 * libio/ioungetc.c: Likewise.
9094 * libio/ioungetwc.c: Likewise.
9095 * libio/iovdprintf.c: Likewise.
9096 * libio/iovsprintf.c: Likewise.
9097 * libio/iovsscanf.c: Likewise.
9098 * libio/memstream.c: Likewise.
9099 * libio/obprintf.c: Likewise.
9100 * libio/oldfileops.c: Likewise.
9101 * libio/oldiofclose.c: Likewise.
9102 * libio/oldiofdopen.c: Likewise.
9103 * libio/oldiofopen.c: Likewise.
9104 * libio/oldiopopen.c: Likewise.
9105 * libio/oldstdfiles.c: Likewise.
9106 * libio/putc.c: Likewise.
9107 * libio/setbuf.c: Likewise.
9108 * libio/setlinebuf.c: Likewise.
9109 * libio/stdfiles.c: Likewise.
9110 * libio/strops.c: Likewise.
9111 * libio/vasprintf.c: Likewise.
9112 * libio/vscanf.c: Likewise.
9113 * libio/vsnprintf.c: Likewise.
9114 * libio/vswprintf.c: Likewise.
9115 * libio/wfiledoalloc.c: Likewise.
9116 * libio/wfileops.c: Likewise.
9117 * libio/wgenops.c: Likewise.
9118 * libio/wmemstream.c: Likewise.
9119 * libio/wstrops.c: Likewise.
9120 * libio/__fpurge.c: Likewise.
9121 * libio/__fsetlocking.c: Likewise.
9122 * assert/assert.c: Likewise.
9123 * debug/fgets_chk.c: Likewise.
9124 * debug/fgets_u_chk.c: Likewise.
9125 * debug/fread_chk.c: Likewise.
9126 * debug/fread_u_chk.c: Likewise.
9127 * debug/gets_chk.c: Likewise.
9128 * debug/obprintf_chk.c: Likewise.
9129 * debug/vasprintf_chk.c: Likewise.
9130 * debug/vdprintf_chk.c: Likewise.
9131 * debug/vsnprintf_chk.c: Likewise.
9132 * debug/vsprintf_chk.c: Likewise.
9133 * malloc/mtrace.c: Likewise.
9134 * misc/error.c: Likewise.
9135 * misc/syslog.c: Likewise.
9136 * stdio-common/asprintf.c: Likewise.
9137 * stdio-common/fxprintf.c: Likewise.
9138 * stdio-common/getw.c: Likewise.
9139 * stdio-common/isoc99_fscanf.c: Likewise.
9140 * stdio-common/isoc99_scanf.c: Likewise.
9141 * stdio-common/isoc99_vfscanf.c: Likewise.
9142 * stdio-common/isoc99_vscanf.c: Likewise.
9143 * stdio-common/isoc99_vsscanf.c: Likewise.
9144 * stdio-common/printf-prs.c: Likewise.
9145 * stdio-common/printf_fp.c: Likewise.
9146 * stdio-common/printf_fphex.c: Likewise.
9147 * stdio-common/printf_size.c: Likewise.
9148 * stdio-common/putw.c: Likewise.
9149 * stdio-common/scanf.c: Likewise.
9150 * stdio-common/sprintf.c: Likewise.
9151 * stdio-common/tmpfile.c: Likewise.
9152 * stdio-common/vfprintf.c: Likewise.
9153 * stdio-common/vfscanf.c: Likewise.
9154 * stdlib/strfmon_l.c: Likewise.
9155 * sunrpc/openchild.c: Likewise.
9156 * sunrpc/xdr_stdio.c: Likewise.
9157 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9158 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9159
d6c33fda
RM
91602012-05-24 Roland McGrath <roland@hack.frob.com>
9161
c1487492
RM
9162 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9163
9164 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9165 in the third column, to generate for the shared library an IFUNC
9166 that uses _dl_vdso_vsym.
9167 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9168 * Makeconfig (object-suffixes-noshared): New variable.
9169
9170 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9171 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9172 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9173 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9174
d6c33fda
RM
9175 [BZ #14132]
9176 * include/sys/time.h (__gettimeofday): Remove macro.
9177 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9178 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9179 Remove INTDEF.
9180 (__gettimeofday): Add libc_hidden_def.
9181 (gettimeofday): Add libc_hidden_weak.
9182 * sysdeps/mach/gettimeofday.c: Likewise.
9183 * sysdeps/posix/gettimeofday.c: Likewise.
9184 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9185 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9186 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9187 (__gettimeofday_internal): Remove strong_alias.
9188 (__gettimeofday): Add libc_hidden_def.
9189 (gettimeofday): Add libc_hidden_weak.
9190 * sysdeps/unix/syscalls.list (gettimeofday):
9191 Remove __gettimeofday_internal alias.
9192
b5a2bbe6
L
91932012-05-24 Daniel Jacobowitz <drow@false.org>
9194 H.J. Lu <hongjiu.lu@intel.com>
9195
9196 [BZ #12495]
9197 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9198 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9199 (largebin_index_32_big): New.
9200 (largebin_index): Use it for 16-byte alignment.
9201 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9202 correction with front_misalign.
9203
cfba4fda
L
92042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9205
7f907421
L
9206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9208 Likewise.
9209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9210 Likewise.
9211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9212 Likewise.
9213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9214 Likewise.
9215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9216 Likewise.
9217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9218 Likewise.
9219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9220 Likewise.
9221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9222 Likewise.
9223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9224 Likewise.
9225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9226 Likewise.
9227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9228 Likewise.
9229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9230 Likewise.
9231
cfba4fda
L
9232 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9233 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9234
80bad0cc
JM
92352012-05-24 Joseph Myers <joseph@codesourcery.com>
9236
7a25eb06
JM
9237 [BZ #10846]
9238 [BZ #14036]
9239 * math/libm-test.inc (exp_test): Add test from bug 14036.
9240 (pow_test): Add test from bug 10846.
9241
795405f9
JM
9242 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9243 and other flags.
9244 (special_function): Do not include flags in test name.
9245 (parse_args): Likewise.
9246 * sysdeps/i386/fpu/libm-test-ulps: Update.
9247 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9248 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9249 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9251
80bad0cc
JM
9252 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9253 exceptions.
9254 * math/libm-test.inc ("Philosophy"): Update comment about
9255 exception testing.
9256 (UNDERFLOW_EXCEPTION): New macro.
9257 (UNDERFLOW_EXCEPTION_OK): Likewise.
9258 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9259 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9260 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9261 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9262 (INVALID_EXCEPTION_OK): Update value.
9263 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9264 (OVERFLOW_EXCEPTION_OK): Likewise.
9265 (IGNORE_ZERO_INF_SIGN): Likewise.
9266 (test_exceptions): Handle underflow exceptions.
9267 (acos_test): Update for underflow exception expectations.
9268 (cexp_test): Likewise.
9269 (clog_test): Likewise.
9270 (clog10_test): Likewise.
9271 (csqrt_test): Likewise.
9272 (ctan_test): Likewise.
9273 (ctanh_test): Likewise.
9274 (exp_test): Likewise.
9275 (exp10_test): Likewise.
9276 (exp2_test): Likewise.
9277 (expm1_test): Likewise.
9278 (fma_test): Likewise.
9279 (j0_test): Likewise.
9280 (jn_test): Likewise.
9281 (nexttoward_test): Likewise.
9282 (pow_test): Likewise.
9283 (scalbn_test): Likewise.
9284 (scalbln_test): Likewise.
9285 (tan_test): Likewise.
9286 (y1_test): Likewise.
9287 * sysdeps/i386/fpu/libm-test-ulps: Update.
9288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9289
9e0e3d0b
DM
92902012-05-23 David S. Miller <davem@davemloft.net>
9291
9292 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9293 (__libc_sigaction): Remove unused local variables.
9294
ccd0a08f
L
92952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9296
9297 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9298
62bdf9a6
PE
92992012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9300
f8591f80
PE
9301 mktime: avoid signed integer overflow
9302 * time/mktime.c (__mktime_internal): Do not mishandle the case
9303 where diff == INT_MIN.
9304
94c7d826
PE
9305 mktime: simplify computation of average
9306 * time/mktime.c (ranged_convert): Use new time_t_avg function
9307 instead of rolling our own (probably-slower) code.
9308
ce73d683
PE
9309 mktime: do not assume signed right shift propagates sign bit
9310 * time/mktime.c (isdst_differ): New static function.
9311 (__mktime_internal): No need to normalize tm_isdst now.
9312 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9313 tm_isdst values.
9314
72a22e59
PE
9315 mktime: merge another wrapv change from gnulib
9316 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9317 from some compilers.
9318
68605433
PE
9319 mktime: remove incorrect attempt at unusual arithmetics
9320 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9321 The code didn't really work on such machines anyway.
9322 (TYPE_MINIMUM): Assume two's complement.
9323 (twos_complement_arithmetic): Verify that long_int and time_t
9324 are two's complement (or unsigned, in the latter case).
9325
03cf7fe3
PE
9326 mktime: check signed shifts on long_int and time_t, too
9327 * time/mktime.c (SHR): Check that shifts work as desired
9328 on the types long_int and time_t too, as SHR is used on
9329 such types.
9330
f04dfbc2
PE
9331 mktime: do not assume 'long' is wide enough
9332 * time/mktime.c (verify): Move decl up.
9333 (long_int): New type.
9334 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9335 to remove assumption in the code that 'long' is wide enough to
9336 store year values. This assumption is not true on x32 and on
9337 some non-glibc platforms.
9338
62bdf9a6
PE
9339 mktime: merge wrapv change from gnulib
9340 * time/mktime.c (WRAPV): New macro.
9341 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9342 (guess_time_tm, __mktime_internal): Do not assume that signed
9343 integer overflow wraps around; modern compilers generate code
9344 where this assumption is no longer valid.
9345
5e292e4f
L
93462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9347
9348 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9349 Replace "jmp L(pseudo_end)" with "ret".
9350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9351 Likewise.
9352
8caf8c87
AJ
93532012-05-23 Andreas Jaeger <aj@suse.de>
9354
9355 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9356 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9357
1a09dc56
AJ
93582012-05-23 Andreas Jaeger <aj@suse.de>
9359 Maximilian Attems <max@stro.at>
9360
9361 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9362 New macros.
9363
1c87aba0
L
93642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9365
9366 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9367 code so that pseudo_end is just ret and the stack pointer is
9368 correct also for static library in error case.
9369
40e45bd5
JM
93702012-05-23 Joseph Myers <joseph@codesourcery.com>
9371
c2670533
JM
9372 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9373 move to syscalls.list.
9374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9378
40e45bd5
JM
9379 * manual/install.texi (Running make install): Do not mention Linux
9380 kernel version for which pt_chown is not needed.
9381 (Linux): Do not mention problems with nscd with 2.0 kernels.
9382 * INSTALL: Regenerated.
9383
be08eda5
AJ
93842012-05-23 Andreas Jaeger <aj@suse.de>
9385
9386 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9387 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9388 macro.
9389 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9390 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9391 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9392 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9393 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9394 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9396 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9397 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9398 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9399 * sysdeps/unix/sysv/linux/bits/in.h
9400 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9401
a6a056bb
RM
94022012-05-22 Roland McGrath <roland@hack.frob.com>
9403
9404 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9405 (PREPARE_VERSION): Just use assert instead, it will be elided
9406 under [NDEBUG] anyway.
9407
c9009328
L
94082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9409
9410 * sysdeps/unix/sysv/linux/Makefile: Include
9411 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9412 (sysdep_routines): Remove sysctl.
c9009328
L
9413 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9414 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9415 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9416 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9417 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9418
73338355
AJ
94192012-05-22 Andreas Jaeger <aj@suse.de>
9420
9421 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9422 that pseudo_end is just ret and the stack pointer is correct also
9423 for static library in error case.
9424
d44638b0
PP
94252012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9426
9427 [BZ #14122]
9428 * nss/nsswitch.c (defconfig_entries): New variable.
9429 (__nss_database_lookup): Don't leak defconfig entries.
9430 (nss_parse_service_list): Don't leak on error paths.
9431 (free_database_entries): New function.
9432 (free_defconfig): New function.
9433 (free_mem): Move common code to free_database_entries.
9434
31a39bd8
L
94352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9436
da0331a8
L
9437 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9438 Add arch_prctl.
9439 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9440
31a39bd8
L
9441 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9442 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9444 New macro.
9445 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9446 (INTERNAL_SYSCALL_TYPES): Likewise.
9447 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9448 (LOAD_REGS_TYPES_[1-6]): Likewise.
9449 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9450 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9451
45470df3
AZ
94522012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9453
9454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9455 copysignl for GLIBC_2_0.
9456 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9457 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9459 logbl for GLIBC_2_0.
9460 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9461 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9462
98a61bcb
L
94632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9464
a4f6e481
L
9465 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9466 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9467
f63d5db6
L
9468 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9469 Use "neg %eax".
9470
98a61bcb
L
9471 * time/mktime.c: Update copyright years.
9472
95770f14
PE
94732012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9474
6226efbd
PE
9475 mktime: merge comment-quoting-style change from gnulib
9476 * time/mktime.c: Quote 'like this' in comments.
9477 The GNU coding standards suggest that we no longer quote `like this',
9478 as "`" and "'" are typically rendered asymmetrically nowadays.
9479 The typical gnulib style is to quote 'like this' when quoting
9480 code, and "like this" when quoting English.
9481
b99e4f78
PE
9482 * time/mktime.c (compile-command): Add "-I.".
9483
643e01e6
PE
9484 mktime: merge mktime-internal.h change from gnulib
9485 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9486
2554247d
PE
9487 mktime: merge time_r change from gnulib
9488 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9489
826dd0ab
PE
9490 mktime: merge DEBUG change from gnulib
9491 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9492 case system <time.h> has a #define.
9493
bd83aabe
PE
9494 mktime: merge <sys/types.h> change from gnulib
9495 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9496 since <time.t> is now guaranteed to define time_t.
9497
95770f14
PE
9498 mktime: merge HAVE_CONFIG_H change from gnulib
9499 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9500
5e1a27a9
L
95012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9502
0e44a77e
L
9503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9504 Use "neg %eax".
9505
5e1a27a9
L
9506 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9507 __rlim_t cast.
9508 (struct rusage): Use anonymous union to pad each field to
9509 __syscall_slong_t.
9510
46259bec
DM
95112012-05-21 David S. Miller <davem@davemloft.net>
9512
9513 * Makefules (o-iterator): Remove .s cases.
9514 (compile-command.s): Delete.
9515 (COMPILE.s): Delete.
9516 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9517
59f0c22e
JM
95182012-05-21 Joseph Myers <joseph@codesourcery.com>
9519
9520 * configure.in (libc_cv_predef_stack_protector): Only consider
9521 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9522 * configure: Regenerated.
9523
20c07380
L
95242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9525
bbb3154b
L
9526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9527 New macro. Use R*LP on int and pointer.
9528 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9529 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9530 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9531 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9532
20c07380
L
9533 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9534 [__WORDSIZE_TIME64_COMPAT32] instead of
9535 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9536 (struct utmp): Likewise.
9537 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9538 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9539 Renamed to ...
9540 (__WORDSIZE_TIME64_COMPAT32): This.
9541 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9542 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9543 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9544 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9545 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9546 (__WORDSIZE_TIME64_COMPAT32): New macro.
9547
d8d1017e
AJ
95482012-05-21 Andreas Jaeger <aj@suse.de>
9549
9550 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9551 only if [SHARED]. Add prototype for __wcschr_ia32.
9552
6c7fb145
RM
95532012-05-21 Roland McGrath <roland@hack.frob.com>
9554
9555 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9556 of %rbp unmolested in the jmp_buf while mangling the low bits.
9557 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9558 unmolested high bits of %rbp while demangling the low bits.
9559 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9560
66274218
AJ
95612012-05-21 Andreas Jaeger <aj@suse.de>
9562
07c58f8f
AJ
9563 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9564 * sunrpc/svc_simple.c: Use it for registerrpc.
9565 * sunrpc/xcrypt.c: Use it for passwd2des.
9566
66274218
AJ
9567 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9568
61f65140
L
95692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9570
9571 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9572 Don't define if [__SYSCALL_WORDSIZE != 32].
9573 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9574 New macro.
9575
5fefb436
AJ
95762012-05-21 Bruno Haible <bruno@clisp.org>
9577 Andreas Jaeger <aj@suse.de>
9578
9579 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9580 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9581 inptr and inend for must_buffer_ch.
9582 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9583 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9584 * stdio-common/Makefile (tests): Remove bug15.
9585 (bug15-ENV): Remove macro.
9586 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9587 anymore.
9588
d8e272ab
AJ
95892012-05-19 Andreas Jaeger <aj@suse.de>
9590 Roland McGrath <roland@hack.frob.com>
9591
9592 * manual/contrib.texi: Completely rewritten. It contains now an
9593 alphabetical list of contributors and their contributions.
9594
4a56a162
RH
95952012-05-21 Richard Henderson <rth@twiddle.net>
9596
9597 * misc/getauxval.c (__getauxval): Use unsigned long int.
9598 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9599 (getauxval): Use unsigned long int.
9600
d024d23c
L
96012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9602
9603 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9604
cbc00a03
RM
96052012-05-21 Roland McGrath <roland@hack.frob.com>
9606
9607 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9608 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9609 __alignof__ (long double).
9610
478143fa
AZ
96112012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9612
9613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9614
c7683a6d
RH
96152012-05-20 Richard Henderson <rth@twiddle.net>
9616
9617 * misc/getauxval.c: New file.
9618 * misc/sys/auxv.h: New file.
9619 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9620 (routines): Add getauxval.
9621 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9622 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9623 * elf/dl-sysdep.c (_dl_auxv): Remove.
9624 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9625 * elf/dl-support.c (_dl_auxv): New variable.
9626 (_dl_aux_init): Initialize it.
9627 * manual/startup.texi (Auxiliary Vector): New node.
9628 * sysdeps/generic/bits/hwcap.h: New file.
9629 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9630 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9631 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9632 * sysdeps/sparc/sysdep.h: ... here. Include it.
9633 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9634 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9636 Update.
c7683a6d
RH
9637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9640 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9645
a6f1845d
AZ
96462012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9647
9648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9649
cbcbe830
DM
96502012-05-19 David S. Miller <davem@davemloft.net>
9651
9652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9653
e0b16cc2
JM
96542012-05-19 Joseph Myers <joseph@codesourcery.com>
9655
9656 [BZ #14123]
9657 * math/s_ccosh.c: Include <float.h>
9658 (__ccosh): Avoid internal overflow calculating sinh and cosh
9659 values before multiplying by sin and cos values.
9660 * math/s_ccoshf.c: Likewise.
9661 * math/s_ccoshl.c: Likewise.
9662 * math/s_csin.c: Likewise.
9663 * math/s_csinf.c: Likewise.
9664 * math/s_csinl.c: Likewise.
9665 * math/s_csinh.c: Likewise.
9666 * math/s_csinhf.c: Likewise.
9667 * math/s_csinhl.c: Likewise.
9668 * math/libm-test.inc (ccos_test): Add more tests.
9669 (ccosh_test): Likewise.
9670 (csin_test): Likewise.
9671 (csinh_test): Likewise.
9672 * sysdeps/i386/fpu/libm-test-ulps: Update.
9673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9674
6ad13e08
L
96752012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9676
f66f0ce8
L
9677 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9678 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9679
6ad13e08
L
9680 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9681
b1d072a7
JM
96822012-05-19 Joseph Myers <joseph@codesourcery.com>
9683
9684 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9685 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9686 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9687 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9688 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9689 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9690 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9691 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9692 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9693 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9694 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9695 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9696 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9697 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9698 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9699 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9700 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9701 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9702 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9703 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9704 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9705 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9706 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9707 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9708 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9709 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9710 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9711 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9712 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9713 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9714 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9715
9eae47cb
AJ
97162012-05-18 Andreas Jaeger <aj@suse.de>
9717
9718 * csu/.gitignore: Delete.
9719
bb07f69f
L
97202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9721
9722 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9723 (timex): Use __syscall_slong_t.
9724
e6bdb741
AJ
97252012-05-18 Andreas Jaeger <aj@suse.de>
9726 Carlos O'Donell <carlos_odonell@mentor.com>
9727
9728 * manual/install.texi (Configuring and compiling): Update
9729 description about files modified in the source directory.
d6c33fda 9730 * INSTALL: Regenerated.
e6bdb741 9731
1b74487e
L
97322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9733
9734 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9735 value. Use "or" to set return value to -1.
9736 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9737 negate return value.
9738
a88b64b9
TMQMF
97392012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9740
9741 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9742 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9743 failure if the compiler has Graphite support disabled.
9744 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9745 Likewise.
9746 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9747 CFLAGS-memmove.c): Likewise.
9748 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9749 Likewise.
9750
3707636e
L
97512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9752
610b8622
L
9753 * sysdeps/x86_64/x32/_itoa.h: New file.
9754
7cd195df
L
9755 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9756 getdents system call only if kernel and user dirents have the
9757 same d_ino and d_off.
9758
94b07d20
L
9759 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9760 LLONG_MAX != LONG_MAX.
9761 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9762 (_fitoa_word): Likewise.
9763
18298070
L
9764 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9765 years.
9766 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9767 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9768 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9769
553c7ea4
L
9770 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9771 include <bits/wordsize.h>. Check __x86_64__ instead of
9772 __WORDSIZE.
9773 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9774 if __x86_64__ is defined. Use anonymous union on fpstate.
9775
3707636e
L
9776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9777 anonymous union.
9778
b53ef01a
AS
97792012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9780
37fb1dc0
AS
9781 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9782 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9783 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9784 Refer to _rtld_local_ro instead of _rtld_global_ro.
9785 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9786 Likewise.
9787 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9788 Likewise.
9789 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9790 Likewise.
9791 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9792 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9793 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9794
b53ef01a
AS
9795 * sysdeps/powerpc/powerpc32/dl-machine.c
9796 (__elf_machine_runtime_setup) [PROF]: Don't reference
9797 _dl_prof_resolve.
9798
7a185db2
AJ
97992012-05-18 Andreas Jaeger <aj@suse.de>
9800
9801 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9802 function only available for GCCs before 3.4 since GCC 3.4
9803 introduced a builtin.
9804 (lrint): Likewise.
9805 (llrintf): Likewise.
9806 (llrint): Likewise.
9807 (fmaxf): Likewise.
9808 (fmax): Likewise.
9809 (fminf): Likewise.
9810 (fmin): Likewise.
9811 (rint): Likewise.
9812 (rintf): Likewise.
9813 (nearbyint): Likewise.
9814 (nearbyintf): Likewise.
9815 (ceil): Likewise.
9816 (ceilf): Likewise.
9817 (floor): Likewise.
9818 (floorf): Likewise.
9819
3e5aef87
L
98202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9821
428bd707
L
9822 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9823 on both fields and cast pointer to __syscall_ulong_t.
9824
3e5aef87
L
9825 * bits/types.h (__fsword_t): New type.
9826 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9827 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9829 (__FSWORD_T_TYPE): Likewise.
9830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9831 (__FSWORD_T_TYPE): Likewise.
9832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9833 (__FSWORD_T_TYPE): Likewise.
9834 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9835 (__FSWORD_T_TYPE): Likewise.
9836 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9837 __SWORD_TYPE with __fsword_t.
9838 (statfs64): Likewise.
9839
1ba7c3dc
DM
98402012-05-17 David S. Miller <davem@davemloft.net>
9841
9842 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9843
59910343
AJ
98442012-05-17 Andreas Jaeger <aj@suse.de>
9845
9846 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9847 warning.
9848
2e4c1e9e
L
98492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9850
9851 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9852
de7f5ce7
AJ
98532012-05-17 Andreas Jaeger <aj@suse.de>
9854
9855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9856 when it is used.
9857
286abc3d
CM
98582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9859
9860 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9861
477cc68e
L
98622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9863
9864 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9865 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9866
1a0994f5
CD
98672012-05-17 Andreas Jaeger <aj@suse.de>
9868 Carlos O'Donell <carlos_odonell@mentor.com>
9869
9870 [BZ #14059]
9871 * sysdeps/x86_64/multiarch/init-arch.h
9872 (bit_YMM_Usable): Rename to...
9873 (bit_AVX_Usable): ... this.
9874 (bit_FMA4_Usable): New macro.
9875 (bit_XMM_state): New macro.
9876 (bit_YMM_state): New macro.
9877 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9878 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9879 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9880 (CPUID_OSXSAVE): New macro.
9881 (CPUID_AVX): New macro.
9882 (CPUID_FMA4): New macro.
9883 (index_YMM_Usable): Rename to...
9884 (index_AVX_Usable): ... this.
9885 (HAS_AVX): Use HAS_ARCH_FEATURE.
9886 (HAS_FMA4): Likewise.
9887 (HAS_YMM_USABLE): Remove.
9888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9889 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9890 are present.
9891 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9892 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9893 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9894 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9895 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9896
0af797de
CM
98972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9898
9899 * math/libm-test.c: Support platforms without multiple rounding modes.
9900 * math/bug-nextafter.c: Support platforms without FP exceptions.
9901 * math/bug-nexttoward.c: Likewise.
9902 * math/test-fenv.c: Likewise.
9903 * math/test-misc.c: Likewise.
9904 * stdlib/bug-getcontext.c: Likewise.
9905
e39745ff
AJ
99062012-05-17 Andreas Jaeger <aj@suse.de>
9907
9908 * manual/examples/search.c (critter_cmp): Change signature to
9909 avoid warnings.
9910 * manual/string.texi (Collation Functions): Likewise.
9911
48970aba
L
99122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9913
9914 * bits/types.h: Fold copyright years.
9915 * bits/typesizes.h: Likewise.
9916 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9919 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9920 * time/time.h: Likewise.
9921
bedee953
PP
99222012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9923
9924 [BZ #208]
9925 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9926 in instead of returning them. Return void.
9927 (__libc_mallinfo): Accumulate over all arenas.
9928 (__malloc_stats): Adjust for change in int_mallinfo interface.
9929
61653dfb
RM
99302012-05-16 Roland McGrath <roland@hack.frob.com>
9931
30b99d79
RM
9932 [BZ #10375]
9933 * configure.in (NM): Add AC_CHECK_TOOL for it.
9934 (libc_extra_cflags): New substituted variable.
9935 Check for -fstack-protector being used implicitly.
9936 * configure: Regenerated.
9937 * config.make.in (config-extra-cflags): New variable,
9938 gets @libc_extra_cflags@.
9939 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9940
61653dfb
RM
9941 [BZ #10375]
9942 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9943 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9944 * configure: Regenerated.
9945 * config.make.in (CPPUNDEFS): New substituted variable.
9946 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9947 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9948 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9949
661768bb
L
99502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9951
9952 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9953 (mq_attr): Use __syscall_slong_t.
9954
d4261567
L
99552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9956
9957 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9958 Check __x86_64__ instead of __WORDSIZE.
9959 (_STAT_VER_LINUX): Likewise.
9960 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9961 __syscall_ulong_t and __syscall_slong_t.
9962 (stat64): Likewise.
9963
cf3ff365
L
99642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9965
9966 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9967
76cf3e4d
L
99682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9969
9970 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9971
a637753a
L
99722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9973
9974 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9975 __syscall_ulong_t.
9976
d5e05119
L
9977 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9978 include <bits/wordsize.h>. Check __x86_64__ instead of
9979 __WORDSIZE.
9980 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9981 defined.
9982 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9983
f62ee380
L
9984 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9985 include <bits/wordsize.h>. Check __x86_64__ instead of
9986 __WORDSIZE.
9987 (user_regs_struct): Use "__extension__ unsigned long long"
9988 instead of "unsigned long" if __x86_64__ is defined.
9989 (user): Likewise. Pad after pointer field if __ILP32__ is
9990 defined.
9991
4e124ced
JM
99922012-05-16 Joseph Myers <joseph@codesourcery.com>
9993
6a3951a0
JM
9994 * configure.in (makeinfo): Require version 4.5 or later. Allow
9995 versions 5 to 9.
9996 * configure: Regenerated.
9997 * manual/install.texi (texinfo): Increase version requirement to
9998 4.5 or later.
9999 * INSTALL: Regenerated.
10000
4e124ced
JM
10001 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10002
953ca31a
L
100032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10004
10005 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10006
617aca05
L
10007 * sysdeps/x86_64/x32/ffs.c: New file.
10008
5762f7ae
L
10009 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10010 __syscall_ulong_t.
10011 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10012 defined. Use __syscall_ulong_t.
10013 (shminfo): Use __syscall_ulong_t.
10014 (shm_info): Likewise.
10015
a26b6856
L
10016 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10017 __syscall_ulong_t.
10018
cb2b9ef7
L
10019 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10020 <bits/wordsize.h>.
10021 (msgqnum_t): Use __syscall_ulong_t.
10022 (msglen_t): Likewise.
10023 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10024 __syscall_ulong_t.
10025
34683bb0
L
10026 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10027 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10028
84a68786
L
10029 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10030
48baa5f1
L
10031 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10032 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10033
180be88b
L
10034 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10035 __syscall_slong_t.
10036
5e90c8ad
L
10037 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10038 include <bits/wordsize.h>. Check __x86_64__ instead of
10039 __WORDSIZE.
10040
23dfb58b
L
10041 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10042 "unsigned long long int" if __x86_64__ is defined.
10043 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10044
ce5d54b0
L
10045 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10046 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10047 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10048
13dc9eac
L
10049 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10050 <stdint.h>.
10051 (GET_PC): Cast to uintptr_t first.
10052 (GET_FRAME): Likewise.
10053 (GET_STACK): Likewise.
10054
a7895d15
L
10055 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10056 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10057 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10058 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10059 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10060 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10061 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10062 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10063 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10064 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10065 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10066 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10067 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10068 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10069 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10070 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10071 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10072 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10073 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10074 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10075 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10076 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10077 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10078 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10079 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10080 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10081 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10082 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10083 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10084
656416c9
AS
100852012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10086
5bd66283
AS
10087 * Makerules (+depfiles): Also collect depfiles from .oS in
10088 $(extra-objs).
10089 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10090 .oS, $(libnldbl-routines)).
10091
656416c9
AS
10092 * Makerules (native-compile-mkdep-flags): Define.
10093 * sunrpc/Makefile (extra-objs): Add $(addprefix
10094 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10095 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10096 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10097 calling $(make-target-directory).
10098
a46f2169
L
100992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10100
10101 * bits/types.h (__snseconds_t): Removed.
10102 * time/time.h (struct timespec): Replace __snseconds_t with
10103 __syscall_slong_t.
10104 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10105 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10106 Likewise.
10107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10108 (__SNSECONDS_T_TYPE): Likewise.
10109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10110 (__SNSECONDS_T_TYPE): Likewise.
10111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10112 (__SNSECONDS_T_TYPE): Likewise.
10113
6af6528b
L
101142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10115
10116 * sysdeps/mach/hurd/bits/typesizes.h
10117 (__SYSCALL_SLONG_TYPE): New macro.
10118 (__SYSCALL_ULONG_TYPE): Likewise.
10119
de986b56
L
101202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10121
10122 * bits/types.h (__syscall_slong_t): New type.
10123 (__syscall_ulong_t): Likewise.
10124
10125 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10126 (__SYSCALL_ULONG_TYPE): Likewise.
10127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10128 (__SYSCALL_SLONG_TYPE): Likewise.
10129 (__SYSCALL_ULONG_TYPE): Likewise.
10130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10131 (__SYSCALL_SLONG_TYPE): Likewise.
10132 (__SYSCALL_ULONG_TYPE): Likewise.
10133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10134 (__SYSCALL_SLONG_TYPE): Likewise.
10135 (__SYSCALL_ULONG_TYPE): Likewise.
10136
85736dc7
L
101372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10138
10139 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10140 Add sigaltstack-offsets.sym.
10141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10142 <sigaltstack-offsets.h>.
10143 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10144 longjmp_msg pointer.
10145 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10146 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10147 signal stack.
10148 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10149
cc03b296
JM
101502012-05-15 Joseph Myers <joseph@codesourcery.com>
10151
a9538892
JM
10152 * elf/stackguard-macros.h: Remove file.
10153 * sysdeps/generic/stackguard-macros.h: New file.
10154 * sysdeps/i386/stackguard-macros.h: Likewise.
10155 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10156 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10157 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10158 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10159 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10160 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10161 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10162 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10163 <elf/stackguard-macros.h>.
10164
cc03b296
JM
10165 [BZ #14109]
10166 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10167 __aligned__ in attribute.
10168 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10169 (gregset_t): Likewise.
10170
93171016
L
101712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10172
10173 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10174 * sysdeps/x86_64/64/Implies-after: Here. New file.
10175 * sysdeps/x86_64/x32/Implies-after: New file.
10176
d86813a0
L
101772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10178
10179 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10180 and access return value for _dl_profile_fixup. Use R10_LP to
10181 load frame size.
10182
2953ec75
L
101832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10184
10185 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10186
3b550e9e
L
101872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10188
10189 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10190 * sysdeps/x86_64/x32/sysdep.h: New file.
10191
eda41706
L
101922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10193
10194 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10195 * sysdeps/x86_64/setjmp.S: Likewise.
10196
9ea01d93
AZ
101972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10198
10199 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10200 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10201 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10202 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10203 remove unused global constant.
10204
02a91938
CM
102052012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10206
10207 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10208 include of <not-cancel.h>.
10209
6540185f
RM
102102012-05-15 Roland McGrath <roland@hack.frob.com>
10211
10212 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10213
509072a0
AJ
102142012-05-15 Jeff Law <law@redhat.com>
10215 Andreas Jaeger <aj@suse.de>
10216
10217 [BZ #13594]
10218 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10219 out from...
10220 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10221 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10222 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10223 code changing __hst_map_handle.map.
10224
ba75122d
RM
102252012-05-15 Roland McGrath <roland@hack.frob.com>
10226
10227 * configure.in (sysnames): Look for Implies-before and Implies-after
10228 files.
10229 * configure: Regenerated.
10230
890d8bd8
L
102312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10232
10233 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10234 8-byte data alignment with LP_SIZE alignment.
10235
f6ee6623
L
102362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10237
10238 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10239 into R10_LP.
10240
ea2626f6
L
102412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10242
10243 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10244
085f715e
L
102452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10246
10247 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10248 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10249 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10250 Likewise.
10251 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10252
be8498fc
L
102532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10254
10255 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10256 (stackinfo_sub_sp): Likewise.
10257
70bc83b9
L
102582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10259
10260 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10261 RAX_LP.
10262
9bc0b730
L
102632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10264
10265 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10266 into R*_LP.
10267
6d2850e7
L
102682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10269
10270 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10271 sizes into R*_LP.
10272
3cb84561
L
102732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10274
10275 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10276
54e2ed81
L
102772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10278
10279 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10280 into R11_LP and load __x86_64_shared_cache_size_half into
10281 R8_LP.
10282
8a17f349
L
102832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10284
10285 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10286 R8_LP.
10287
777b1eea
AZ
102882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10289
10290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10291 logb for POWER7.
10292 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10293 logbf for POWER7.
10294 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10295 logbl for POWER7.
10296 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10297 powerpc32/power7/fpu/s_logb.c via #include.
10298 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10299 powerpc32/power7/fpu/s_logbf.c via #include.
10300 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10301 powerpc32/power7/fpu/s_logbl.c via #include.
10302
d20d4ac2
JM
103032012-05-15 Joseph Myers <joseph@codesourcery.com>
10304
10305 * README.libm: Remove file.
10306
6cdef1ab
L
103072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10308
10309 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10310 count for x32. Use R*_LP and omit operand-size suffix.
10311
0b254d8f
L
103122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10313
10314 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10315 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10316 * sysdeps/x86_64/x32/shlib-versions: New file.
10317
ceb809dc
RM
103182012-05-14 Roland McGrath <roland@hack.frob.com>
10319
10320 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10321 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10322 Use _dl_fatal_printf instead.
10323
37f1abd4
JM
103242012-05-14 Joseph Myers <joseph@codesourcery.com>
10325
10326 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10327 set if not set by the user. Do not allow for being unset.
10328 * sysdeps/unix/sysv/linux/configure: Regenerated.
10329
11de3a33
L
103302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10331
10332 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10333 the `q' suffix from lea and replace .quad with ASM_ADDR.
10334
e02f153a
L
103352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10336
10337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10338 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10339 instead of $17.
10340 (PTR_DEMANGLE): Likewise.
10341
520ae0fd
L
103422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10343
10344 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10345 (LP_OP): Likewise.
10346 (ASM_ADDR): Likewise.
10347 (RAX_LP): Likewise.
10348 (RBP_LP): Likewise.
10349 (RBX_LP): Likewise.
10350 (RCX_LP): Likewise.
10351 (RDI_LP): Likewise.
10352 (RSI_LP): Likewise.
10353 (RSP_LP): Likewise.
10354 (R8_LP): Likewise.
10355 (R9_LP): Likewise.
10356 (R10_LP): Likewise.
10357 (R10_LP): Likewise.
10358 (R11_LP): Likewise.
10359 (R12_LP): Likewise.
10360 (R13_LP): Likewise.
10361 (R14_LP): Likewise.
10362 (R15_LP): Likewise.
10363
b985be81
L
103642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10365
10366 * sysdeps/x86_64/x32/dl-machine.h: New file.
10367
6a4888ff
AJ
103682012-05-14 Andreas Jaeger <aj@suse.de>
10369
10370 * manual/Makefile (subdir): Remove export of subdir.
10371 (all): Remove target.
10372 (.PHONY): Remove all from list.
10373 (mkinstalldirs): Remove.
10374 (.PHONY): Remove installdirs from list.
10375 ($(inst_infodir)/libc.info): Use make-target-directory.
10376 (installdirs): Remove.
10377 (subdir_%): Remove.
10378 (glibc-targets): Remove.
10379 (lib): Remove.
10380 (stubs): Remove.
10381 ($(objpfx)stubs ../po/manual.pot): Remove.
10382 ($(objpfx)stamp%): Remove.
10383 (make-target-directory): Remove.
10384 (subdir_install): Remove.
10385 (routines): Remove.
10386 (aux): Remove.
10387 (sources): Remove.
10388 (objects): Remove.
10389 (headers): Remove.
10390
10391 [BZ #13750]
10392 * manual/.gitignore: Remove, it's not needed anymore.
10393 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10394 all files in it.
10395 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10396 directory.
10397 (texis): Renamed to $(objpfx)texis.
10398 (texis-path): New, contains path to generated files.
10399 (chapters.%): Use texis-path for complete path, add extra argument
10400 libc-texinfo.sh.
10401 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10402 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10403 (summary,texi, stamp-summary): Use complete path of
10404 files. Generate files in build dir.
10405 (dir-add.texi): Build in build dir.
10406 (libm-err.texi,stamp-libm-err): Likewise.
10407 (version.texi, stamp-version): Likewise.
10408 (.%c.texi): Likewise.
10409 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10410 (mostlyclean): Remove target.
10411 (realclean): Remove target.
10412 (generated): Add new variable with contents from mostlyclean and
10413 realclean, remove entries duplicated in common-mostlyclean, add
10414 stamp-libm-err and stamp-version.
10415 (generated-dirs): Add libc directory.
10416 ($(inst_infodir)/libc.info): Install files from build dir.
10417
10418 * manual/install.texi (Configuring and compiling): Adjust since
10419 the info files are not part of the tar ball anymore.
10420
7ac77294
AJ
104212012-05-14 Andreas Jaeger <aj@suse.de>
10422
10423 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10424 variable.
10425
ffb7875d
JM
104262012-05-14 Joseph Myers <joseph@codesourcery.com>
10427
10428 [BZ #13717]
10429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10430 to 2.2.0 where earlier.
10431 * sysdeps/unix/sysv/linux/configure: Regenerated.
10432 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10433 Remove conditional code.
10434 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10435 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10436 Remove conditional code.
10437 [!__NR_lchown]: Likewise.
10438 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10439 [__NR_lchown]: Likewise.
10440 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10441 comment referencing __ASSUME_LCHOWN_SYSCALL.
10442 * sysdeps/unix/sysv/linux/i386/sigaction.c
10443 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10444 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10445 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10446 Remove conditional code.
10447 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10448 (__protocol_available): Remove #if 0 code.
10449 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10450 conditional code.
10451 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10452 * sysdeps/unix/sysv/linux/kernel-features.h
10453 (__ASSUME_GETCWD_SYSCALL): Don't define.
10454 (__ASSUME_REALTIME_SIGNALS): Likewise.
10455 (__ASSUME_PREAD_SYSCALL): Likewise.
10456 (__ASSUME_PWRITE_SYSCALL): Likewise.
10457 (__ASSUME_POLL_SYSCALL): Likewise.
10458 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10459 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10460 non-SPARC.
10461 (__ASSUME_SIOCGIFNAME): Don't define.
10462 (__ASSUME_MSG_NOSIGNAL): Likewise.
10463 (__ASSUME_SENDFILE): Define unconditionally.
10464 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10465 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10466 conditional code.
10467 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10468 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10469 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10470 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10471 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10472 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10473 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10475 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10476 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10478 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10479 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10481 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10484 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10485 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10487 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10490 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10491 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10493 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10496 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10498 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10499 Remove conditional code.
10500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10501 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10502 Remove conditional code.
10503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10504 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10505 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10506 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10507 Remove conditional code.
10508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10509 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10510 Remove conditional code.
10511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10512 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10513 Remove conditional code.
10514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10515 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10516 Remove conditional code.
10517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10518 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10519 Remove conditional code.
10520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10521 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10524 * sysdeps/unix/sysv/linux/sigaction.c
10525 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10526 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10527 * sysdeps/unix/sysv/linux/sigpending.c
10528 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10529 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10530 * sysdeps/unix/sysv/linux/sigprocmask.c
10531 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10532 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10533 * sysdeps/unix/sysv/linux/sigsuspend.c
10534 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10535 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10536 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10537 (__libc_missing_rt_sigs): Remove.
10538 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10539 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10540 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10541 Remove conditional code.
10542 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10543 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10544 return 1.
10545 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10546 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10547 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10548 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10549
1bfb7291
AJ
105502012-05-14 Andreas Jaeger <aj@suse.de>
10551
caae5a81
AJ
10552 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10553 it's not used in glibc.
10554 (__coshm1): Likewise.
10555 (__acosh1p): Likewise.
10556 (__sgn): Likewise.
10557
1bfb7291
AJ
10558 * manual/string.texi (Copying and Concatenation): Add missing
10559 variable in concat example.
10560 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10561
c044d724
L
105622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10563
144c5467 10564 [BZ #14103]
c044d724
L
10565 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10566 __builtin_clzl with __builtin_clzll.
10567
2523c62b
L
105682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10569
10570 [BZ #14104]
10571 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10572 libc_freeres_ptr.
10573
d7bb4c42
LD
105742012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10575
10576 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10577 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10578 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10579 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10580
9dc4e1fb
MF
105812012-05-14 Mike Frysinger <vapier@gentoo.org>
10582
10583 * NEWS: Update ia64 info.
10584
c7df0112
AS
105852012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10586
10587 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10588 used as bcopy.
10589
dc70356c
TS
105902012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10591
10592 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10593 * sysdeps/unix/syscalls.list (dup3): Likewise.
10594 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10595 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10596
9fb1a21f
L
105972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10598
10599 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10600 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10601
4822a2a5
L
106022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10603
10604 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10605 thread pointer.
10606 (TLS_IE): Use mov/add instead of movq/addq to load thread
10607 pointer.
10608 (TLS_GD_PREFIX): New.
10609 (TLS_GD): Use it.
10610
842b81d6
DM
106112012-05-11 David S. Miller <davem@davemloft.net>
10612
10613 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10614 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10615 (_FPU_SETCW): Likewise.
10616
1cf463cd
L
106172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10618
10619 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10620 is 32-byte aligned.
10621
60cc4a18
AS
106222012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10623
10624 [BZ #11837]
10625 * iconvdata/gb18030.c: Update tables.
10626 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10627 characters specially.
10628 (BODY for TO_LOOP): Add encoding of missing ranges.
10629
febb44a4
TS
106302012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10631
10632 [BZ #13673]
10633 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10634 * sysdeps/mach/hurd/dup3.c: Likewise.
10635 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10636 * sysdeps/powerpc/memmove.c:: Likewise.
10637
0a10fb9e
L
106382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10639
10640 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10641 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10642
df8a552f
L
106432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10644
10645 * elf/elf.h (R_X86_64_RELATIVE64): New.
10646 (R_X86_64_NUM): Updated.
10647 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10648 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10649 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10650 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10651 tst-quad1pie tst-quad2pie
10652 (modules-names): Add tst-quadmod1 tst-quadmod2.
10653 ($(objpfx)tst-quad1): New dependency.
10654 ($(objpfx)tst-quad2): Likewise.
10655 ($(objpfx)tst-quad1pie): Likewise.
10656 ($(objpfx)tst-quad2pie): Likewise.
10657 * sysdeps/x86_64/tst-quad1.c: New file.
10658 * sysdeps/x86_64/tst-quad1pie.c: New file.
10659 * sysdeps/x86_64/tst-quad2.c: Likewise.
10660 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10661 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10662 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10663 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10664 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10665
f34d6f84
ST
106662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10667
f42d41d1
ST
10668 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10669 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10670 * streams/stropts.h (t_scalar_t): Define type.
10671
3c3571fc
ST
10672 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10673 (_PATH_PRESERVE): Set to "/var/lib".
10674 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10675
61f06bd3
ST
10676 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10677 instead of int.
10678
918d4d71
ST
10679 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10680 if __dir_mkfile succeeded.
10681
f34d6f84
ST
10682 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10683 checking for _hurd_dtablesize. Unlock it right after having
10684 finished _hurd_dtable allocation.
10685
10589b4a
TS
106862012-05-10 Thomas Schwinge <thomas@schwinge.name>
10687
674cdbc7
TS
10688 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10689 * sysdeps/mach/hurd/configure: Regenerated.
10690 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10691 special-casing to...
10692 * sysdeps/gnu/configure.in: ... this new file.
10693 * sysdeps/unix/sysv/linux/configure: Regenerated.
10694 * sysdeps/gnu/configure: New generated file.
10695
8e41b99f
TS
10696 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10697 for Linux: use nsec instead of usec, as well as:
10698 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10699 members of type struct timespec.
10700 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10701 New macros.
10702 (struct stat64): Likewise.
10703 (_STATBUF_ST_NSEC): New macro.
10704 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10705
10589b4a
TS
10706 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10707 __strtoul_internal rather than strtoul.
10708
63643c85
PT
107092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10710
10711 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10712 and reject them.
10713
3faebe6a
ST
107142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10715
10716 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10717 which preserves existing values.
10718 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10719
c6474b07
PT
107202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10721
10722 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10723 TIMEOUT values. Return EINVAL for NFDS values either negative or
10724 greater than FD_SETSIZE.
10725
1043890b
ST
107262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10727
10728 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10729 allocated, call __vm_protect to finish enabling the existing space, and
10730 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10731 allocate the remainder.
10732
37ed8b9b
PT
107332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10734
10735 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10736 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10737
db653660
ST
107382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10739
37ed8b9b
PT
10740 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10741 sysdeps/mach/hurd/readlink.c.
b29d4053 10742
db653660
ST
10743 * posix/tst-sysconf.c (posix_options): Only use
10744 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10745 _POSIX_SYNCHRONIZED_IO when they are defined
10746 * sysdeps/mach/hurd/bits/posix_opt.h:
10747 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10748 (_XOPEN_REALTIME): Undefine macro.
10749 (_XOPEN_REALTIME_THREADS): Undefine macro.
10750 (_XOPEN_SHM): Undefine macro.
10751 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10752 macro to -1.
10753 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10754 macro to -1.
10755 (_POSIX_ASYNC_IO): Undefine macro.
10756 (_POSIX_PRIORITIZED_IO): Undefine macro.
10757 (_POSIX_SPIN_LOCKS): Define macro to -1.
10758
ee16e894
ST
10759 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10760 SA_NODEFER, SA_RESETHAND.
10761 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10762 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10763 F_DUPFD_CLOEXEC.
10764
6103ae3b
TS
107652012-05-10 Thomas Schwinge <thomas@schwinge.name>
10766
10767 * elf/Makefile (pldd-modules): Define unconditionally.
10768
80b4e5f3
TS
107692012-05-10 Thomas Schwinge <thomas@schwinge.name>
10770
10771 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10772
edadcbd6
ST
107732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10774
10775 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10776 Return ENOENT when name is empty.
10777 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10778
80694780
TS
107792012-05-10 Thomas Schwinge <thomas@schwinge.name>
10780
1792c087
TS
10781 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10782
80694780
TS
10783 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10784
6b645f0d
ST
107852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10786
80694780
TS
10787 Fix mlock in all cases except non-readable pages.
10788 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10789 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10790
6b645f0d
ST
10791 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10792 (__mkdir): When path is `/', just fail with EEXIST.
10793 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10794
e468f8a3
TS
107952012-05-10 Thomas Schwinge <thomas@schwinge.name>
10796
10797 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10798 <sys/uio.h> (for writev).
10799 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10800 and <sys/param.h> (for MIN).
10801
a4186cff
PT
108022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10803
10804 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10805 REQUESTED_TIME. Properly set the remaining time and return EINTR
10806 if interrupted.
10807
510bbf14
TS
108082012-05-10 Thomas Schwinge <thomas@schwinge.name>
10809
10810 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10811 Depend on against $(link-rpcuserlibs).
10812
5d5722e8
ST
108132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10814
a4186cff
PT
10815 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10816 (__libc_stack_end): Do not use attribute_relro.
10817 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10818 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10819 to libthread-provided value.
a4186cff
PT
10820 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10821 attribute_relro.
5d5722e8 10822
37233df9
TS
108232012-05-10 Thomas Schwinge <thomas@schwinge.name>
10824
be971a2b
TS
10825 [BZ #3748]
10826 * bits/libc-lock.h (__libc_once_get): New macro.
10827 * sysdeps/mach/bits/libc-lock.h: Likewise.
10828 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10829 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10830 instead of using implementation details.
10831
37233df9
TS
10832 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10833 * libio/freopen.c: Likewise.
10834 * libio/freopen64.c: Likewise.
10835 * misc/syslog.c: Likewise.
10836 * nscd/connections.c: Likewise.
10837 * nscd/netgroupcache.c: Likewise.
10838 * sysdeps/posix/getcwd.c: Likewise.
10839
38de94a5
RM
108402012-05-10 Roland McGrath <roland@hack.frob.com>
10841
10842 * math/w_ilogbf.c: Add #include <limits.h>.
10843
67530489
ST
108442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10845
a4186cff 10846 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10847 path instead of returning without unlocking.
10848
67530489
ST
10849 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10850 immediate-write ioctls.
10851 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10852
5aa3a74a
TS
108532012-05-10 Thomas Schwinge <thomas@schwinge.name>
10854
18bad2ae
TS
10855 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10856 __builtin_frame_address instead of making assumptions about the
10857 location of the return address relative to DATA. Force early load of
10858 the return address.
10859 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10860 __builtin_frame_address.
10861
5aa3a74a
TS
10862 dup3 for GNU Hurd.
10863 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10864 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10865 implement dup3 and do some further code clean-ups.
10866 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10867 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10868
ecd0de9a
ST
108692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10870
cd9fa985
ST
10871 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10872
a4186cff
PT
10873 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10874 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10875 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10876 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10877 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10878 d->port.lock.
802ca5a5 10879
a4186cff
PT
10880 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10881 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10882 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10883
bcf55240
TS
108842012-05-10 Thomas Schwinge <thomas@schwinge.name>
10885
6960eb42
TS
10886 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10887 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10888 definitions.
10889
eb43375f
TS
10890 accept4 for GNU Hurd.
10891 * include/sys/socket.h (__libc_accept4): New prototype.
10892 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10893 to implement __libc_accept4.
10894 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10895 __libc_accept4.
10896 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10897
bcf55240
TS
10898 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10899 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10900 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10901 signal-defines.sym.
10902
6178c55b
ST
109032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10904
a4186cff 10905 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10906
6f080c2f
TS
109072012-05-10 Thomas Schwinge <thomas@schwinge.name>
10908
10909 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10910 assertion on O_CLOEXEC flag.
10911 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10912 * hurd/intern-fd.c: Likewise.
10913 * hurd/port2fd.c: Likewise.
10914
bcfe3a54
ST
109152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10916
10917 [BZ #3906]
10918 * bits/in.h (IPV6_PKTINFO): Define new macro.
10919 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10920
89c9aa49
AZ
109212012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10922
10923 [BZ #13954]
10924 [BZ #13955]
10925 [BZ #13956]
10926 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10927 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10928 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10929 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10930 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10931 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10932 * math/libm-test.inc (logb_test) : Additional logb tests.
10933
021db4be
AJ
109342012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10935 Andreas Jaeger <aj@suse.de>
10936
10937 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10938 * configure: Regenerated.
10939 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10940 * config.make.in (link-obsolete-rpc): New substituted variable.
10941 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10942 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10943 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10944 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10945 so that libc.a contains the symbols.
10946 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10947 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10948 * sunrpc/auth_none.c: Likewise.
10949 * sunrpc/auth_unix.c: Likewise.
10950 * sunrpc/authdes_prot.c: Likewise.
10951 * sunrpc/authuxprot.c: Likewise.
10952 * sunrpc/clnt_gen.c: Likewise.
10953 * sunrpc/clnt_perr.c: Likewise.
10954 * sunrpc/clnt_raw.c: Likewise.
10955 * sunrpc/clnt_simp.c: Likewise.
10956 * sunrpc/clnt_tcp.c: Likewise.
10957 * sunrpc/clnt_udp.c: Likewise.
10958 * sunrpc/clnt_unix.c: Likewise.
10959 * sunrpc/des_crypt.c: Likewise.
10960 * sunrpc/des_soft.c: Likewise.
10961 * sunrpc/get_myaddr.c: Likewise.
10962 * sunrpc/key_call.c: Likewise.
10963 * sunrpc/key_prot.c: Likewise.
10964 * sunrpc/netname.c: Likewise.
10965 * sunrpc/pm_getmaps.c: Likewise.
10966 * sunrpc/pm_getport.c: Likewise.
10967 * sunrpc/pmap_clnt.c: Likewise.
10968 * sunrpc/pmap_prot.c: Likewise.
10969 * sunrpc/pmap_prot2.c: Likewise.
10970 * sunrpc/pmap_rmt.c: Likewise.
10971 * sunrpc/publickey.c: Likewise.
10972 * sunrpc/rpc_cmsg.c: Likewise.
10973 * sunrpc/rpc_common.c: Likewise.
10974 * sunrpc/rpc_dtable.c: Likewise.
10975 * sunrpc/rpc_prot.c: Likewise.
10976 * sunrpc/rpc_thread.c: Likewise.
10977 * sunrpc/rtime.c: Likewise.
10978 * sunrpc/svc.c: Likewise.
10979 * sunrpc/svc_auth.c: Likewise.
10980 * sunrpc/svc_raw.c: Likewise.
10981 * sunrpc/svc_run.c: Likewise.
10982 * sunrpc/svc_tcp.c: Likewise.
10983 * sunrpc/svc_udp.c: Likewise.
10984 * sunrpc/svc_unix.c: Likewise.
10985 * sunrpc/svcauth_des.c: Likewise.
10986 * sunrpc/xcrypt.c: Likewise.
10987 * sunrpc/xdr.c: Likewise.
10988 * sunrpc/xdr_array.c: Likewise.
10989 * sunrpc/xdr_float.c: Likewise.
10990 * sunrpc/xdr_intXX_t.c: Likewise.
10991 * sunrpc/xdr_mem.c: Likewise.
10992 * sunrpc/xdr_rec.c: Likewise.
10993 * sunrpc/xdr_ref.c: Likewise.
10994 * sunrpc/xdr_sizeof.c: Likewise.
10995 * sunrpc/xdr_stdio.c: Likewise.
10996
b5c086a2
RM
109972012-05-10 Roland McGrath <roland@hack.frob.com>
10998
10999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11000 change. Update copyright years.
11001
6d74dd09
JM
110022012-05-10 Joseph Myers <joseph@codesourcery.com>
11003
11004 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11005
28e72501
MK
110062012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11007 Joseph Myers <joseph@codesourcery.com>
11008 Paul Pluzhnikov <ppluzhnikov@google.com>
11009
11010 [BZ #14012]
11011 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11012 requiring rpcgen.
11013 [cross-compiling] (extra-libs): Likewise.
11014 [cross-compiling] (extra-libs-others): Likewise.
11015 [cross-compiling] (librpcsvc-routines): Likewise.
11016 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11017 [cross-compiling] (omit-deps): Likewise.
11018 (sunrpc-CPPFLAGS): New variable.
11019 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11020 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11021 (cross-rpcgen-objs): New variable.
11022 (extra-objs): Append $(cross-rpcgen-objs).
11023 ($(cross-rpcgen-objs)): New rule.
11024 ($(objpfx)cross-rpcgen): Likewise.
11025 (rpcgen-cmd): Define to use $(built-program-file). Expand
11026 comment.
11027 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11028 ($(objpfx)x%.stmp): Likewise.
11029 * sunrpc/proto.h [IS_IN_build] (_): Define.
11030 [IS_IN_build] (_libc_intl_domainname): Likewise.
11031
c8c59454
L
110322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11033
11034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11035 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11036 and R_X86_64_TPOFF64.
11037
6f27cd16
JM
110382012-05-10 Joseph Myers <joseph@codesourcery.com>
11039
11040 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11041 sysdeps/unix/sysv/syscalls.list.
11042 (stime): Likewise.
11043 (utime): Likewise.
11044 * sysdeps/unix/sysv/syscalls.list: Remove file.
11045
02467e1c
PE
110462012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11047
11048 [BZ #3440]
11049 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11050 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11051 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11052 (__LC_IDENTIFICATION): Make these macros useful in #if
11053 expressions, as required by C99.
11054
da392631
AS
110552012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11056
11057 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11058 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11059 after this.
11060
8115f29b
L
110612012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11062
11063 * stdlib/longlong.h: Updated from GCC.
11064
bdd74070
AJ
110652012-05-09 Andreas Jaeger <aj@suse.de>
11066
edfe0dbe
AJ
11067 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11068 default is first entry.
11069 (run_mode): Set type.
11070 (main): Remove informal message about syslog.
11071 (options): Fix typo.
11072
bcfe3a54
ST
11073 [BZ #14053]
11074 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11075 to asm.
bcfe3a54
ST
11076 (lrint): Likewise.
11077 (llrintf): Likewise.
11078 (llrint): Likewise.
11079 (rint): Likewise.
11080 (rintf): Likewise.
11081 (nearbyint): Likewise.
11082 (nearbyintf): Likewise.
bdd74070 11083
91d8d69e
AJ
110842012-05-09 Andreas Jaeger <aj@suse.de>
11085 Pedro Alves <palves@redhat.com>
11086
11087 * nscd/nscd.c (run_mode): Use enum.
11088 (main): Cleanup coding style issue.
11089
bb90b80b
AJ
110902012-05-09 Alexandre Oliva <aoliva@redhat.com>
11091 Andreas Jaeger <aj@suse.de>
11092
bcfe3a54
ST
11093 * nscd/nscd.c (go_background): Replaced with...
11094 (run_mode): ... this.
bb90b80b 11095 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11096 (options): Add -F --foreground.
11097 (main): Implement it.
11098 (parse_opt): Parse it.
bb90b80b 11099
1a4b75a1
AJ
111002012-05-09 Andreas Jaeger <aj@suse.de>
11101
11102 [BZ #14083]
11103 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11104 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11105 -Wconversion warning.
11106 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11107 Likewise.
11108
b1cc2472
JM
111092012-05-09 Joseph Myers <joseph@codesourcery.com>
11110
11111 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11112 == 0.
11113 (LC_ALL): Use macro-int-constant.
11114 (LC_COLLATE): Likewise.
11115 (LC_CTYPE): Likewise.
11116 (LC_MESSAGES): Likewise.
11117 (LC_MONETARY): Likewise.
11118 (LC_NUMERIC): Likewise.
11119 (LC_TIME): Likewise.
11120 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11121 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11123 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11124 Specify type.
11125 [C99-based standards] (float_t): Expect type.
11126 [C99-based standards] (double_t): Expect type.
11127 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11128 type.
11129 [C99-based standards] (HUGE_VALL): Likewise.
11130 [C99-based standards] (INFINITY): Likewise.
11131 [C99-based standards] (NAN): Likewise.
11132 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11133 [C99-based standards] (FP_NAN): Likewise.
11134 [C99-based standards] (FP_NORMAL): Likewise.
11135 [C99-based standards] (FP_SUBNORMAL): Likewise.
11136 [C99-based standards] (FP_ZERO): Likewise.
11137 [C99-based standards] (FP_FAST_FMA): Use
11138 optional-macro-int-constant. Specify type. Require == 1.
11139 [C99-based standards] (FP_FAST_FMAF): Likewise.
11140 [C99-based standards] (FP_FAST_FMAL): Likewise.
11141 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11142 [C99-based standards] (FP_ILOGBNAN): Likewise.
11143 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11144 Specify type.
11145 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11146 [C99-based standards] (math_errhandling): Specify type.
11147 [ISO99 || ISO11] (signgam): Do not allow.
11148 [non-C99-based standards] (copysignf): Do not allow.
11149 [non-C99-based standards] (exp2f): Likewise.
11150 [non-C99-based standards] (log2f): Likewise.
11151 [non-C99-based standards] (modff): Allow.
11152 [non-C99-based standards] (erff): Do not allow.
11153 [non-C99-based standards] (erfcf): Likewise.
11154 [non-C99-based standards] (gammaf): Likewise.
11155 [non-C99-based standards] (hypotf): Likewise.
11156 [non-C99-based standards] (j0f): Likewise.
11157 [non-C99-based standards] (j1f): Likewise.
11158 [non-C99-based standards] (jnf): Likewise.
11159 [non-C99-based standards] (lgammaf): Likewise.
11160 [non-C99-based standards] (tgammaf): Likewise.
11161 [non-C99-based standards] (y0f): Likewise.
11162 [non-C99-based standards] (y1f): Likewise.
11163 [non-C99-based standards] (ynf): Likewise.
11164 [non-C99-based standards] (isnanf): Likewise.
11165 [non-C99-based standards] (acoshf): Likewise.
11166 [non-C99-based standards] (asinhf): Likewise.
11167 [non-C99-based standards] (atanhf): Likewise.
11168 [non-C99-based standards] (cbrtf): Likewise.
11169 [non-C99-based standards] (expm1f): Likewise.
11170 [non-C99-based standards] (ilogbf): Likewise.
11171 [non-C99-based standards] (log1pf): Likewise.
11172 [non-C99-based standards] (logbf): Likewise.
11173 [non-C99-based standards] (nextafterf): Likewise.
11174 [non-C99-based standards] (remainderf): Likewise.
11175 [non-C99-based standards] (rintf): Likewise.
11176 [non-C99-based standards] (scalbf): Likewise.
11177 [non-C99-based standards] (copysignl): Likewise.
11178 [non-C99-based standards] (exp2l): Likewise.
11179 [non-C99-based standards] (log2l): Likewise.
11180 [non-C99-based standards] (modfl): Allow.
11181 [non-C99-based standards] (erfl): Do not allow.
11182 [non-C99-based standards] (erfcl): Likewise.
11183 [non-C99-based standards] (gammal): Likewise.
11184 [non-C99-based standards] (hypotl): Likewise.
11185 [non-C99-based standards] (j0l): Likewise.
11186 [non-C99-based standards] (j1l): Likewise.
11187 [non-C99-based standards] (jnl): Likewise.
11188 [non-C99-based standards] (lgammal): Likewise.
11189 [non-C99-based standards] (tgammal): Likewise.
11190 [non-C99-based standards] (y0l): Likewise.
11191 [non-C99-based standards] (y1l): Likewise.
11192 [non-C99-based standards] (ynl): Likewise.
11193 [non-C99-based standards] (isnanl): Likewise.
11194 [non-C99-based standards] (acoshl): Likewise.
11195 [non-C99-based standards] (asinhl): Likewise.
11196 [non-C99-based standards] (atanhl): Likewise.
11197 [non-C99-based standards] (cbrtl): Likewise.
11198 [non-C99-based standards] (expm1l): Likewise.
11199 [non-C99-based standards] (ilogbl): Likewise.
11200 [non-C99-based standards] (log1pl): Likewise.
11201 [non-C99-based standards] (logbl): Likewise.
11202 [non-C99-based standards] (nextafterl): Likewise.
11203 [non-C99-based standards] (remainderl): Likewise.
11204 [non-C99-based standards] (rintl): Likewise.
11205 [non-C99-based standards] (scalbl): Likewise.
11206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11207 [non-C99-based standards] (FP_*): Do not allow.
11208 [C99-based standards] (FP_*): Change to
11209 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11210 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11211 allow.
11212 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11213 (SIG_ERR): Likewise.
11214 [X/Open-based standards] (SIG_HOLD): Likewise.
11215 (SIG_IGN): Likewise.
11216 (SIGABRT): Use macro-int-constant. Specify type. Require
11217 positive value.
11218 (SIGFPE): Likewise.
11219 (SIGILL): Likewise.
11220 (SIGINT): Likewise.
11221 (SIGSEGV): Likewise.
11222 (SIGTER): Likewise.
11223 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11224 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11225 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11226 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11227 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11228 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11229 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11230 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11231 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11232 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11233 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11234 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11235 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11236 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11237 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11238 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11239 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11240 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11241 [X/Open-based standards] (SIGTRAP): Likewise.
11242 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11243 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11244 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11245 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11246 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11247 allow.
11248
b9f1922d
IW
112492012-05-08 Ian Wienand <ianw@vmware.com>
11250
11251 [BZ #14080]
11252 * time/tzset.c (__tzset_parse_tz): Update default rules for
11253 daylight time changes in the Energy Policy Act of 2005.
11254
1db86e88
AJ
112552012-05-09 Andreas Jaeger <aj@suse.de>
11256
11257 [BZ #13983]
11258 * elf/ldconfig.c (parse_conf): Change string to make clear that
11259 ldconfig only issued a warning if ld.so.conf does not exist.
11260
dee4a4e3
DM
112612012-05-08 David S. Miller <davem@davemloft.net>
11262
ee0db190
DM
11263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11264 movxtod instead of popping the value on the stack.
11265
dee4a4e3
DM
11266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11267
6a43ec98
CD
112682012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11269
11270 * config.h.in: Add HAVE_ARM_PCS_VFP.
11271
05c2c961
RMG
112722012-05-08 Roland Mc Grath <roland@hack.frob.com>
11273
bcfe3a54
ST
11274 [BZ #13979]
11275 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11276 checking but the checks are disabled for any reason.
05c2c961 11277
4b30f61a
L
112782012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11279
11280 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11281 and ELF64_R_TYPE with ELFW(R_TYPE).
11282
eee2bc67
JM
112832012-05-08 Joseph Myers <joseph@codesourcery.com>
11284
7ea5391a
JM
11285 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11286 (ulimit): Likewise.
11287
eee2bc67
JM
11288 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11289 (settimeofday): Likewise.
11290
abb66a67
MF
112912012-05-08 Mike Frysinger <vapier@gentoo.org>
11292
11293 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11294 a struct th_u2 inside the union, and move tu_block/tu_code into
11295 a new th_u3 union of tu_block/tu_code inside of that. Move
11296 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11297 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11298 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11299 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11300 (th_stuff): Change to th_u1.tu_stuff.
11301 (th_data): Define.
11302 (th_msg): Change to th_u1.th_u2.tu_data.
11303
7f18b530
DM
113042012-05-07 David S. Miller <davem@davemloft.net>
11305
05760585
DM
11306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11307
7f18b530
DM
11308 [BZ #14074]
11309 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11310 (SETUP_PIC_REG): Use it.
11311 (SETUP_PIC_REG_LEAF): Use it.
11312
495fd99f
JM
113132012-05-07 Joseph Myers <joseph@codesourcery.com>
11314
11315 [BZ #13885]
11316 [BZ #13923]
11317 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11318 USE_AS_EXPM1L.
11319 (EXPL_FINITE): Likewise.
11320 (FLDLOG): Likewise.
11321 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11322 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11323 e_expl.S.
11324 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11325 USE_AS_EXPM1L.
11326 (EXPL_FINITE): Likewise.
11327 (FLDLOG): Likewise.
11328 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11329 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11330 e_expl.S.
11331 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11332 test of -max_value argument for long double.
11333 * sysdeps/i386/fpu/libm-test-ulps: Update.
11334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11335
6693d694
DM
113362012-05-06 David S. Miller <davem@davemloft.net>
11337
11338 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11339 quad soft-float symbols whose references which are compiler
11340 generated.
11341 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11342
6c23e11c
JM
113432012-05-06 Joseph Myers <joseph@codesourcery.com>
11344
d8b82cad
JM
11345 [BZ #13884]
11346 [BZ #13914]
11347 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11348 USE_AS_EXP10L.
11349 (EXPL_FINITE): Likewise.
11350 (FLDLOG): Likewise.
11351 (c0): Likewise.
11352 (c1): Likewise.
11353 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11354 Adjust comments for base varying.
11355 (__expl_finite): Change alias to EXPL_FINITE.
11356 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11357 e_expl.S.
11358 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11359 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11361 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11362 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11363 USE_AS_EXP10L.
11364 (EXPL_FINITE): Likewise.
11365 (FLDLOG): Likewise.
11366 (c0): Likewise.
11367 (c1): Likewise.
11368 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11369 Adjust comments for base varying.
11370 (__expl_finite): Change alias to EXPL_FINITE.
11371 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11372 tests for bugs.
11373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11374
6c23e11c
JM
11375 [BZ #14064]
11376 * math/libm-test.inc (check_float_internal): Correct ulp
11377 calculation for subnormal expected results.
11378
29ba805c
AJ
113792012-05-06 Andreas Jaeger <aj@suse.de>
11380
11381 * Makeconfig (+math-flags): New, set to -frounding-math.
11382 (+cflags): Add +math-flags so that all of glibc gets compiled with
11383 it.
11384
11385 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11386
7b17aeda
JM
113872012-05-05 Joseph Myers <joseph@codesourcery.com>
11388
5779f134
JM
11389 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11390 Disable one test.
11391
41498f4d
JM
11392 [BZ #13787]
11393 [BZ #13922]
11394 [BZ #14036]
11395 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11396 (__ieee754_expl): Allow for and saturate large arguments.
11397 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11398 (u_threshold): Likewise.
11399 (__exp): Call __ieee754_exp before checking for overflow and
11400 underflow.
11401 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11402 (u_threshold): Likewise.
11403 (__expf): Call __ieee754_expf before checking for overflow and
11404 underflow.
11405 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11406 (u_threshold): Likewise.
11407 (__expl): Call __ieee754_expl before checking for overflow and
11408 underflow.
11409 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11410 (__ieee754_expl): Allow for and saturate large arguments.
11411 * math/libm-test.inc (exp_test): Add another test. Do not allow
11412 missing overflow exception on overflow.
11413 (expm1_test): Do not allow missing overflow exception on overflow.
11414
6698b8bf
JM
11415 * sysdeps/i386/fpu/e_expl.c: Move to ...
11416 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11417 rather than using inline asm.
11418 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11419 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11420 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11421
7b17aeda
JM
11422 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11423 (nice): Likewise.
11424 (poll): Likewise.
11425 (signal): Likewise.
11426 (time): Likewise.
11427 (times): Likewise.
11428
f7c85819
JM
114292012-05-04 Joseph Myers <joseph@codesourcery.com>
11430
11431 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11432 sysdeps/unix/common/syscalls.list.
11433 (fchmod): Likewise.
11434 (fchown): Likewise.
11435 (ftruncate): Likewise.
11436 (getrusage): Likewise.
11437 (gettimeofday): Likewise.
11438 (setpgid): Likewise.
11439 (setregid): Likewise.
11440 (setreuid): Likewise.
11441 (sigaction): Likewise.
11442 (truncate): Likewise.
11443 (vhangup): Likewise.
11444 * sysdeps/unix/common/syscalls.list: Remove file.
11445 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11446 * sysdeps/unix/sysv/linux/Implies: Likewise.
11447
336270d0
L
114482012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11449
11450 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11452 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11453 Moved to ...
11454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11455 Here.
11456 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11457 to ...
11458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11459 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11460 to ...
11461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11462 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11463 to ...
11464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11465 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11466 to ...
11467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11468 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11469 to ...
11470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11471 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11472 to ...
11473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11474 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11475 to ...
11476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11477 Here.
11478 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11479 to ...
11480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11481 Here.
11482 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11483 to ...
11484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11485 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11486 Moved to ...
11487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11488 Here.
11489 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11490 to ...
11491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11492
d128e450
JM
114932012-05-04 Joseph Myers <joseph@codesourcery.com>
11494
fa8ee516
JM
11495 * sysdeps/unix/common/bits/dirent.h: Remove file.
11496 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11497
d128e450
JM
11498 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11499 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11500 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11501 * sysdeps/unix/bsd/isatty.c: Likewise.
11502 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11503 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11504 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11505
ff8faaf0 115062012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11507
62881be4 11508 [BZ #13563]
31dc8730
AZ
11509 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11510 long double comparison inaccuracies.
11511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11513
6fef930c
AS
115142012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11515
11516 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11518
8f203e6c
JM
115192012-05-04 Joseph Myers <joseph@codesourcery.com>
11520
11521 [BZ #14049]
11522 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11523 nonzero digits before rounding a hex value.
11524 * stdlib/tst-strtod.c (tests): Add another test.
11525
5197d9c2
AK
115262012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11527
11528 * sysdeps/s390/fpu/libm-test-ulps: Update.
11529
f0c1dedf
AJ
115302012-05-03 Andreas Jaeger <aj@suse.de>
11531
11532 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11533 does not get optimized out.
11534 (malloc_opt_barrier): New.
11535
a65ef2ae 115362012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11537 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11538
2b942cb7 11539 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11540 intermediate file deletion.
2b942cb7 11541 (generated): Add .symlist files.
a65ef2ae 11542
54b71e02
JM
115432012-05-03 Joseph Myers <joseph@codesourcery.com>
11544
11545 [BZ #13775]
11546 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11547 Redirect under this condition.
11548 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11549 [__USE_GNU] (__dprintf_chk): Not under this condition.
11550 [__USE_GNU] (__vdprintf_chk): Likewise.
11551 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11552 under this condition.
11553 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11554 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11555 [__USE_XOPEN2K8] (vdprintf): Likewise.
11556 [__USE_GNU] (__dprintf_chk): Not under this condition.
11557 [__USE_GNU] (__vdprintf_chk): Likewise.
11558 [__USE_GNU] (dprintf): Likewise.
11559 [__USE_GNU] (vdprintf): Likewise.
11560
d3dfcc41
RM
115612012-05-03 Roland McGrath <roland@hack.frob.com>
11562
11563 * elf/Makefile (common-generated): Set this instead of generated for
11564 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11565 $(all-built-dso)-derived lists.
11566
7ac30cc5
AJ
115672012-05-03 Andreas Jaeger <aj@suse.de>
11568
0c51e550
AJ
11569 * sysdeps/i386/fpu/libm-test-ulps: Update.
11570
7ac30cc5
AJ
11571 * FAQ: Removed.
11572 * FAQ.in: Likewise.
11573 * scripts/gen-FAQ.pl: Likewise.
11574 * manual/install.texi (Installation): Point to online location of
11575 FAQ.
11576 * Makefile (files-for-dist): Remove FAQ.
11577 (FAQ): Remove.
11578
d4c2917f
AM
115792012-05-02 Allan McRae <allan@archlinux.org>
11580
11581 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11582 (LDFLAGS-reldepmod5.so): Likewise.
11583 (LDFLAGS-reldep6mod1.so): Likewise.
11584 (LDFLAGS-reldep6mod4.so): Likewise.
11585 (LDFLAGS-reldep8mod3.so): Likewise.
11586 (LDFLAGS-unload4mod1.so): Likewise.
11587 (LDFLAGS-unload4mod2.so): Likewise.
11588 (LDFLAGS-tst-initorder): Likewise.
11589 (LDFLAGS-tst-initordera2.so): Likewise.
11590 (LDFLAGS-tst-initordera3.so): Likewise.
11591 (LDFLAGS-tst-initordera4.so): Likewise.
11592 (LDFLAGS-tst-initorderb2.so): Likewise.
11593 (LDFLAGS-noload): Likewise.
11594 (LDFLAGS-next): Likewise.
11595 (LDFLAGS-order2mod1.so): Likewise.
11596 (LDFLAGS-order2mod2.so): Likewise.
11597 (LDFLAGS-tst-initorder2): Likewise.
11598 (LDFLAGS-tst-initorder2a.so): Likewise.
11599 (LDFLAGS-tst-initorder2b.so): Likewise.
11600 (LDFLAGS-tst-initorder2c.so): Likewise.
11601 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11602
d77f993f
DM
116032012-05-02 David S. Miller <davem@davemloft.net>
11604
11605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11606
171a70b4
PP
116072012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11608
11609 [BZ #14055]
11610 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11611
0be196ad
AJ
116122012-05-02 Andreas Jaeger <aj@suse.de>
11613
11614 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11615 since we manipulate rounding mode.
11616 (CPPFLAGS-test-idouble.c): Likewise.
11617 (CPPFLAGS-test-ifloat.c): Likewise.
11618 (CFLAGS-test-ldouble.c): Likewise.
11619 (CFLAGS-test-double.c): Likewise.
11620 (CFLAGS-test-float.c): Likewise.
11621 (CFLAGS-test-misc.c): Likewise.
11622 (CFLAGS-test-test-fenv.c): Likewise.
11623
4f9d04aa
AZ
116242012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11625
2b942cb7
RM
11626 [BZ #2550]
11627 [BZ #2570]
11628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11629 comparisons to determine direction to adjust input.
4f9d04aa 11630
82a79e7d
RM
116312012-05-01 Roland McGrath <roland@hack.frob.com>
11632
f5a01ca9
RM
11633 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11634 output to the target.
11635
90fe4186
RM
11636 * scripts/localplt.awk: New file.
11637 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11638 (check-localplt-CFLAGS): Variable removed.
11639 ($(all-built-dso:=.jmprel)): New static pattern rule.
11640 (generated): Add those targets.
11641 (localplt-built-dso): New variable.
11642 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11643
11644 * elf/check-localplt.c: File removed.
11645
82397ed6
RM
11646 * scripts/check-execstack.awk: New file.
11647 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11648 (check-execstack-CFLAGS): Variable removed.
11649 ($(objpfx)check-execstack.h): Target removed.
11650 ($(objpfx)execstack-default): New target.
11651 (generated): Add that instead of check-execstack.h.
11652 ($(all-built-dso:=.phdr)): New static pattern rule.
11653 (generated): Add those targets.
11654 * elf/check-execstack.c: File removed.
11655
82a79e7d
RM
11656 * scripts/check-textrel.awk: New file.
11657 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11658 (check-textrel-CFLAGS): Variable removed.
11659 (all-built-dso): Use := to define.o
11660 ($(all-built-dso:=.dyn)): New static pattern rule.
11661 (generated): Add those targets.
11662 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11663 * config.make.in (READELF): New substituted variable.
11664 * elf/check-textrel.c: File removed.
11665
62fde54f 116662012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11667
615605c9
JM
11668 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11669 allow.
11670 * conform/data/ctype.h-data [C99-based standards] (isblank):
11671 Expect function.
11672 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11673 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11675 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11676 Specify type. Require positive value.
11677 (EILSEQ): Likewise.
11678 (ERANGE): Likewise.
11679 [ISO || POSIX] (EILSEQ): Do not expect.
11680 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11681 Specify type. Require positive value.
11682 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11683 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11684 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11685 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11686 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11687 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11688 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11689 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11690 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11691 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11692 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11693 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11694 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11695 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11696 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11697 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11698 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11699 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11700 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11701 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11702 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11703 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11704 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11705 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11706 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11707 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11708 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11709 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11710 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11711 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11712 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11713 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11714 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11715 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11716 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11717 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11718 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11719 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11720 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11721 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11722 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11723 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11724 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11725 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11726 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11727 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11728 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11729 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11730 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11731 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11732 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11733 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11734 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11735 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11736 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11737 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11738 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11739 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11740 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11741 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11742 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11743 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11744 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11745 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11746 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11747 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11748 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11749 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11750 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11751 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11752 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11753 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11754 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11755 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11756 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11757 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11758 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11759 Require >= 2.
11760 (FLT_ROUNDS): Expect as macro, not constant.
11761 (FLT_MANT_DIG): Use macro-int-constant.
11762 (DBL_MANT_DIG): Likewise.
11763 (LDBL_MANT_DIG): Likewise.
11764 (FLT_DIG): Likewise.
11765 (DBL_DIG): Likewise.
11766 (LDBL_DIG): Likewise.
11767 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11768 (DBL_MIN_EXP): Likewise.
11769 (LDBL_MIN_EXP): Likewise.
11770 (FLT_MAX_EXP): Use macro-int-constant.
11771 (DBL_MAX_EXP): Likewise.
11772 (LDBL_MAX_EXP): Likewise.
11773 (FLT_MAX_10_EXP): Likewise.
11774 (DBL_MAX_10_EXP): Likewise.
11775 (LDBL_MAX_10_EXP): Likewise.
11776 (FLT_MAX): Use macro-constant.
11777 (DBL_MAX): Likewise.
11778 (LDBL_MAX): Likewise.
11779 (FLT_EPSILON): Use macro-constant. Give upper bound.
11780 (DBL_EPSILON): Likewise.
11781 (LDBL_EPSILON): Likewise.
11782 (FLT_MIN): Likewise.
11783 (DBL_MIN): Likewise.
11784 (LDBL_MIN): Likewise.
11785 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11786 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11787 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11788 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11789 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11790 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11791 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11792 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11793 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11794 [ISO11] (FLT_TRUE_MIN): Likewise.
11795 [ISO11] (LDBL_TRUE_MIN): Likewise.
11796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11797 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11798 (SCHAR_MIN): Use macro-int-constant. Specify type.
11799 (SCHAR_MAX): Likewise.
11800 (UCHAR_MAX): Likewise.
11801 (CHAR_MIN): Likewise.
11802 (CHAR_MAX): Likewise.
11803 (MB_LEN_MAX): Use macro-int-constant.
11804 (SHRT_MIN): Use macro-int-constant. Specify type.
11805 (SHRT_MAX): Likewise.
11806 (USHRT_MAX): Likewise.
11807 (INT_MAX): Likewise.
11808 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11809 bound negative.
11810 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11811 bound with "U".
11812 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11813 bound with "L".
11814 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11815 bound negative. Suffix upper bound with "L".
11816 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11817 bound with "UL".
11818 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11819 Specify type.
11820 [C99-based standards] (LLONG_MAX): Likewise.
11821 [C99-based standards] (ULLONG_MAX): Likewise.
11822 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11823 == 0.
11824 [ISO11] (max_align_t): Require type.
11825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11826
c9140a62
JM
11827 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11828 from $CFLAGS, without defining away __attribute__ calls.
11829 (checknamespace): Use $CFLAGS_namespace.
11830
9af0bf29
JM
11831 * conform/conformtest.pl (@keywords): Only include C99 keywords
11832 for standards based on C99 or C11.
11833
343222a2
JM
11834 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11835 Disable tests.
11836 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11837 UNIX98]: Likewise.
11838
661f8cf0
JM
11839 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11840 usability of symbols in #if.
11841
ee74b9cb
JM
11842 * conform/conformtest.pl: If macro or constant types start
11843 "promoted:", expect the symbol to be of the following type
11844 promoted by the integer promotions.
62fde54f 11845
aafc49b3
JM
11846 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11847 in one place. Also handle "macro-constant".
11848
fefdf574
JM
11849 * conform/conformtest.pl: Only accept expected macro values with
11850 "==". Parse all "macro" lines in one place.
11851 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11852
f2d922fe
JM
11853 * conform/conformtest.pl: Handle braced types on "constant" lines
11854 instead of handling "typed-constant".
11855 * conform/data/signal.h-data: Use "constant" instead of
11856 "typed-constant".
11857
d22956c9
JM
11858 * conform/conformtest.pl: Handle "optional-" at start of lines in
11859 one place rather than duplicating several cases. Handle each
11860 format of "macro" line with initial "optional-".
11861
028e2e38
JM
11862 * conform/conformtest.pl: Only accept expected constant or
11863 optional-constant values with "==". Parse all "constant" lines in
11864 one place. Parse all "optional-constant" lines in one place.
11865 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11866 * conform/data/fmtmsg.h-data: Likewise.
11867 * conform/data/netinet/in.h-data: Likewise.
11868 * conform/data/tar.h-data: Likewise.
11869 * conform/data/limits.h-data: Use "==" form on "constant" and
11870 "optional-constant" lines.
11871
1b8f2850
JM
11872 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11873 Use -std=c99 for XOPEN2K.
11874 (@knownproblems): Remove.
11875 (newtoken): Don't check %isknown.
11876
a05a144b
JM
11877 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11878 Do not expect macro.
11879 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11880 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11881 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11882 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11883 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11884 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11885 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11886 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11887 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11888 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11889 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11890 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11891 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11892 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11893 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11894 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11895 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11896 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11897 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11898 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11899 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11900 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11901 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11902 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11903 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11904 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11905 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11906 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11907 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11908 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11909 [XPG3] (acosh): Likewise.
11910 [XPG3] (asinh): Likewise.
11911 [XPG3] (atanh): Likewise.
11912 [XPG3] (cbrt): Likewise.
11913 [XPG3] (expm1): Likewise.
11914 [XPG3] (ilogb): Likewise.
11915 [XPG3] (log1p): Likewise.
11916 [XPG3] (logb): Likewise.
11917 [XPG3] (nextafter): Likewise.
11918 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11919 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11920 [XPG3] (remainder): Likewise.
11921 [XPG3] (rint): Likewise.
11922 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11923 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11924 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11925 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11926 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11927 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11928 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11929 [UNIX98 || XOPEN2K] (scalb): Expect.
11930 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11931 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11932 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11933 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11934 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11935 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11936 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11937 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11938 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11939 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11940 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11941 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11942 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11943 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11944 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11945 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11946 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11947 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11948 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11949 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11950 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11951 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11952 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11953 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11954 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11955 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11956 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11957 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11958 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11959 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11960 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11961 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11962 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11963 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11964 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11965 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11966 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11967 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11968 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11969 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11970 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11971 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11972 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11973 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11974 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11975 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11976 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11977 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11978 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11979 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11980 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11981 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11982 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11983 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11984 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11985 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11986 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11987 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11988 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11989 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11990 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11991 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11992 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11993 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11994 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11995 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11996 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11997 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11998 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11999 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12000 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12001 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12002 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12003 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12004 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12005 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12006 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12007 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12008 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12009 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12010 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12011 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12012 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12013 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12014 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12015 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12016 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12017 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12018 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12019 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12020 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12021 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12022 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12023 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12024 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12025 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12026 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12027 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12028 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12029 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12030 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12031 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12032 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12033 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12034 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12035 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12036 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12037 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12038 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12039 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12040 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12041 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12042 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12043 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12044 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12045 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12046 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12047 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12048 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12049 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12050 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12051 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12052 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12053 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12054 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12055 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12056 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12057 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12058 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12059 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12060 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12061 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12062 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12063 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12064 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12065 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12066 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12067
73c5ebe3
JM
12068 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12069 _XOPEN_SOURCE_EXTENDED for XPG4.
12070
39c33b6c
JM
12071 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12072
62fde54f
JM
12073 * Makeconfig (localtime): Remove variable.
12074 (inst_localtime-file): Likewise.
12075
0741d64c
AS
120762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12077
12078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12079 Update.
12080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12081 Update.
12082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12083 Update.
12084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12085 Update.
12086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12087 Update.
12088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12089 Update.
12090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12091 Update.
12092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12093 Update.
12094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12095 Update.
12096
7cb029ee
JM
120972012-05-01 Joseph Myers <joseph@codesourcery.com>
12098
12099 [BZ #2550]
12100 [BZ #2570]
12101 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12102 comparisons to determine direction to adjust input.
12103 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12104 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12105 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12106 Likewise.
12107 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12108 Likewise.
12109 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12110 Likewise.
12111 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12112 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12113 Likewise.
12114 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12115 Likewise.
12116 * math/libm-test.inc (nexttoward_test): Add more tests.
12117
412bd966
AS
121182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12119
12120 [BZ #14040]
12121 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12122 in version GLIBC_2.1, not GLIBC_2.0.
12123 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12124 Likewise.
12125
9568c0c2
JM
121262012-04-30 Joseph Myers <joseph@codesourcery.com>
12127
adfbc8ac
JM
12128 [BZ #13942]
12129 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12130 (1 - x) * (1 + x).
12131 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12132 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12133 * math/libm-test.inc (acos_test): Add more tests.
12134 (asin_test): Likewise.
12135 * sysdeps/i386/fpu/libm-test-ulps: Update.
12136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12137
5ba3cc69
JM
12138 [BZ #14034]
12139 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12140 of square root.
12141 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12142 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12143 * math/libm-test.inc (acos_test_tonearest): New function.
12144 (acos_test_towardzero): Likewise.
12145 (acos_test_downward): Likewise.
12146 (acos_test_upward): Likewise.
12147 (asin_test_tonearest): Likewise.
12148 (asin_test_towardzero): Likewise.
12149 (asin_test_downward): Likewise.
12150 (asin_test_upward): Likewise.
12151 (main): Call the new functions.
12152 * sysdeps/i386/fpu/libm-test-ulps: Update.
12153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12154
9568c0c2
JM
12155 [BZ #13884]
12156 [BZ #13924]
12157 * math/e_exp10.c: Include <float.h>.
12158 (__ieee754_exp10): Handle underflow here rather than multiplying
12159 large negative argument by M_LN10.
12160 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12161 of __ieee754_expf.
12162 * math/e_exp10l.c: Include <float.h>.
12163 (__ieee754_exp10l): Handle underflow here rather than multiplying
12164 large negative argument by M_LN10l.
12165 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12166 spurious overflow exception on underflow.
12167
5ac3ea17
MP
121682012-04-29 Marek Polacek <polacek@redhat.com>
12169
12170 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12171 (__fortify_function): New macro.
12172 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12173 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12174 __extern_always_inline.
12175 * libio/bits/stdio2.h: Likewise.
12176 * libio/bits/stdio.h: Likewise.
12177 * string/string.h: Likewise.
12178 * string/bits/string3.h: Likewise.
12179 * include/stdio.h: Likewise.
12180 * stdlib/bits/stdlib.h: Likewise.
12181 * stdlib/stdlib.h: Likewise.
12182 * rt/bits/mqueue2.h: Likewise.
12183 * rt/mqueue.h: Likewise.
12184 * posix/bits/unistd.h: Likewise.
12185 * posix/unistd.h: Likewise.
12186 * io/bits/poll2.h: Likewise.
12187 * io/bits/fcntl2.h: Likewise.
12188 * io/fcntl.h: Likewise.
12189 * io/sys/poll.h: Likewise.
12190 * misc/bits/syslog.h: Likewise.
12191 * misc/bits/syslog-ldbl.h: Likewise.
12192 * misc/sys/syslog.h: Likewise.
12193 * socket/bits/socket2.h: Likewise.
12194 * socket/sys/socket.h: Likewise.
12195 * debug/tst-chk1.c: Likewise.
12196 * wcsmbs/bits/wchar2.h: Likewise.
12197 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12198 * wcsmbs/wchar.h: Likewise.
12199
ecf0ebfb
AJ
122002012-04-29 Andreas Jaeger <aj@suse.de>
12201
12202 * Makerules (tests): Remove enable-check-abi protection.
12203 (check-abi-warn): Remove.
12204 (check-abi-%): Remove check-abi-warn usage.
12205
12206 * configure.in: Remove check-abi configure option.
12207 * configure: Regenerated.
12208 * config.make.in (enable-check-abi): Remove.
12209
6d5c57fa
AS
122102012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12211
24c5d07e 12212 [BZ #14033]
ded5180a
AS
12213 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12214 double functions to double *_finite functions.
12215
7e0d315d
AS
12216 [BZ #13941]
12217 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12218 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12219 LDBL_MIN_EXP.
12220 * stdio-common/Makefile (tests): Add tst-sprintf3.
12221 * stdio-common/tst-sprintf3.c: New file.
12222
6d5c57fa
AS
12223 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12224 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12225
0749ff8b
JM
122262012-04-28 Joseph Myers <joseph@codesourcery.com>
12227
12228 * conform/conformtest.pl: Remove duplicate typed-constant
12229 handling.
12230
8dbd5d7b
DM
122312012-04-28 David S. Miller <davem@davemloft.net>
12232
12233 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12234 (check-abi-%): Remove AWK script prerequisite and explicit
12235 abilist directory.
12236 (check-abi): Rewrite to just diff the symlist with the abilist.
12237 (config-tls, config-abi-config): Delete, no longer used.
12238 (update-abi-%): Remove AWK script and explicit abilist directory.
12239 (update-abi): Rewrite to simply compare and conditionally copy the
12240 symlist and the sysdep abilist file. Remove update-abi-config
12241 checks.
12242 * abilist/ld.abilist: Remove.
12243 * abilist/libBrokenLocale.abilist: Remove.
12244 * abilist/libanl.abilist: Remove.
12245 * abilist/libcrypt.abilist: Remove.
12246 * abilist/libdl.abilist: Remove.
12247 * abilist/librt.abilist: Remove.
12248 * abilist/libthread_db.abilist: Remove.
12249 * abilist/libutil.abilist: Remove.
12250 * scripts/extract-abilist.awk: Remove.
12251 * scripts/merge-abilist.awk: Remove.
12252 * sysdeps/generic/libcidn.abilist: New file.
12253 * sysdeps/generic/libnss_compat.abilist: New file.
12254 * sysdeps/generic/libnss_db.abilist: New file.
12255 * sysdeps/generic/libnss_dns.abilist: New file.
12256 * sysdeps/generic/libnss_files.abilist: New file.
12257 * sysdeps/generic/libnss_hesiod.abilist: New file.
12258 * sysdeps/generic/libnss_nis.abilist: New file.
12259 * sysdeps/generic/libnss_nisplus.abilist: New file.
12260 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12261 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12262 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12263 file.
12264 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12265 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12266 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12267 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12268 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12269 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12270 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12271 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12272 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12273 file.
12274 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12275 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12276 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12277 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12278 file.
12279 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12280 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12281 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12282 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12283 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12284 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12285 file.
12286 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12287 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12288 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12289 file.
12290 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12292 New file.
12293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12294 New file.
12295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12296 New file.
12297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12298 New file.
12299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12300 New file.
12301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12302 New file.
12303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12304 New file.
12305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12306 New file.
12307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12308 New file.
12309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12310 New file.
12311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12312 New file.
12313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12314 New file.
12315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12316 New file.
12317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12318 file.
12319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12320 New file.
12321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12322 New file.
12323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12324 file.
12325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12326 New file.
12327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12328 New file.
12329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12330 file.
12331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12332 New file.
12333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12334 New file.
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12336 New file.
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12338 New file.
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12340 New file.
12341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12342 New file.
12343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12345 file.
12346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12347 New file.
12348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12349 file.
12350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12351 file.
12352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12353 file.
12354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12355 file.
12356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12357 file.
12358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12359 New file.
12360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12361 file.
12362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12363 file.
12364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12365 New file.
12366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12367 file.
12368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12370 file.
12371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12372 New file.
12373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12374 file.
12375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12376 file.
12377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12378 file.
12379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12380 file.
12381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12382 file.
12383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12384 New file.
12385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12386 file.
12387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12388 file.
12389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12390 New file.
12391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12392 file.
12393 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12394 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12395 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12396 file.
12397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12398 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12399 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12400 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12401 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12402 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12403 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12404 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12405 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12406 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12409 file.
12410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12411 New file.
12412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12413 file.
12414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12415 file.
12416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12417 file.
12418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12419 file.
12420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12421 file.
12422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12423 New file.
12424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12425 New file.
12426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12427 file.
12428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12429 New file.
12430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12431 file.
12432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12434 file.
12435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12436 New file.
12437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12438 file.
12439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12440 file.
12441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12442 file.
12443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12444 file.
12445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12446 file.
12447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12448 New file.
12449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12450 New file.
12451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12452 file.
12453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12454 New file.
12455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12456 file.
12457
41d73a1b
JM
124582012-04-28 Joseph Myers <joseph@codesourcery.com>
12459
12460 * conform/conformtest.pl: Fix typo in handling typed-constant from
12461 allow-header.
12462
28aeeda4
JM
124632012-04-27 Joseph Myers <joseph@codesourcery.com>
12464
adae8f5e
JM
12465 * README: Cut down references to pre-2.6 Linux kernels and
12466 Linuxthreads. Update lists of configurations in libc and ports
12467 and sort alphabetically. Say "or newer" with Linux kernel version
12468 requirements.
12469
28aeeda4
JM
12470 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12471
a462cb63
RA
124722012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12473
12474 [BZ #887]
12475 * math/libm-test.inc (logb_test_downward): New test to expose
12476 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12477 rounding mode.
12478
6ad3493e
JM
124792012-04-27 Joseph Myers <joseph@codesourcery.com>
12480
12481 [BZ #14027]
12482 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12483 to be done.
12484 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12485 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12486
2ce4f015
JM
124872012-04-26 Joseph Myers <joseph@codesourcery.com>
12488
5aeb141a
JM
12489 * sysdeps/unix/i386/brk.S: Remove file.
12490 * sysdeps/unix/i386/dl-brk.S: Likewise.
12491 * sysdeps/unix/i386/pipe.S: Likewise.
12492 * sysdeps/unix/i386/sigreturn.S: Likewise.
12493 * sysdeps/unix/i386/syscall.S: Likewise.
12494 * sysdeps/unix/i386/vfork.S: Likewise.
12495 * sysdeps/unix/i386/wait.S: Likewise.
12496
7143acae
JM
12497 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12498 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12499
2ce4f015
JM
12500 * configure.in (arm*-none*): Do not allow without
12501 --enable-hacker-mode.
12502 (netbsd*): Remove case setting base_os.
12503 (386bsd*): Likewise.
12504 (freebsd*): Likewise.
12505 (bsdi*): Likewise.
12506 (osf*): Likewise.
12507 (sunos*): Likewise.
12508 (ultrix*): Likewise.
12509 (newsos*): Likewise.
12510 (dynix*): Likewise.
12511 (*bsd*): Likewise.
12512 (sysv*): Likewise.
12513 (isc*): Likewise.
12514 (esix*): Likewise.
12515 (sco*): Likewise.
12516 (minix*): Likewise.
12517 (irix4*): Likewise.
12518 (irix6*): Likewise.
12519 (solaris[2-9]*): Likewise.
12520 (none): Likewise.
12521 * configure: Regenerated.
12522
0ac229c8
AZ
125232012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12524
12525 [BZ #11521]
12526 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12527 overflow or cancellation in calculating denominator.
12528 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12529 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12530 down expression to avoid unexpected rounding in newer GCCs.
12531 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12532
33f244f4
DM
125332012-04-26 David S. Miller <davem@davemloft.net>
12534
12535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12536 long-double compat symbols.
12537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12550
cfa1f3e8
DM
125512012-04-25 David S. Miller <davem@davemloft.net>
12552
12553 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12554 HWCAP_* values only after the memory barriers have been defined.
12555 (atomic_full_barrier): Define.
12556 (atomic_read_barrier): Define.
12557 (atomic_write_barrier): Define.
12558
6e236b92
SP
125592012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12560
12561 * shlib-versions: Add libgcc_s version information.
12562 * sysdeps/generic/libgcc_s.h: Remove.
12563 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12564 libgcc_s.h.
12565 * sysdeps/gnu/unwind-resume.c: Likewise.
12566 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12567
aab39a09
DM
125682012-04-25 David S. Miller <davem@davemloft.net>
12569
12570 * sysdeps/unix/sparc/brk.S: Delete.
12571 * sysdeps/unix/sparc/dl-brk.S: Delete.
12572 * sysdeps/unix/sparc/pipe.S: Delete.
12573 * sysdeps/unix/sparc/sysdep.S: Delete.
12574 * sysdeps/unix/sparc/sysdep.h: Delete.
12575 * sysdeps/unix/sparc/vfork.S: Delete.
12576 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12577 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12578 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12579 ret_ERRVAL, r0, r1, MOVE): Define.
12580 (JUMPTARGET): Remove.
12581 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12582 sysdeps/unix/sparc/sysdep.h
12583 (ENTRY, END): Remove.
12584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12585
a3cc4f48
JM
125862012-04-25 Joseph Myers <joseph@codesourcery.com>
12587
2ed8cda2
JM
12588 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12589 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12590 -DIS_IN_build.
12591
35d76d59
JM
12592 * timezone/README: Update upstream location and email address for
12593 tzcode and tzdata.
12594 * timezone/zdump.c: Update from tzcode 2012b.
12595 * timezone/zic.c: Likewise.
12596
a3cc4f48
JM
12597 * configure.in (libc_cv_as_needed): Remove test.
12598 * configure: Regenerated.
12599 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12600 conditional definition.
12601 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12602 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12603 * config.make.in (have-as-needed): Remove variable.
12604
ceab42c3
SP
126052012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12606 Paul Pluzhnikov <ppluzhnikov@google.com>
12607
12608 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12609 strings correctly.
12610
3ce2865f
CLT
126112012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12612
12613 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12614 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12615 * sysdeps/sh/strlen.S: Likewise.
12616
f37e0d68
JM
126172012-04-24 Joseph Myers <joseph@codesourcery.com>
12618
ae186e9a
JM
12619 * sysdeps/unix/fork.S: Remove file.
12620 * sysdeps/unix/i386/fork.S: Likewise.
12621 * sysdeps/unix/sparc/fork.S: Likewise.
12622
b96914af
JM
12623 * sysdeps/unix/system.c: Remove file.
12624 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12625
f37e0d68
JM
12626 * sysdeps/unix/getegid.S: Remove file.
12627 * sysdeps/unix/geteuid.S: Likewise.
12628
87ef29ca
RM
126292012-04-24 Roland McGrath <roland@hack.frob.com>
12630
83bcd236
RM
12631 * scripts/check-localplt.awk: New file.
12632 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12633 of diff.
12634 * scripts/data/localplt-generic.data: Add a comment.
12635
87ef29ca
RM
12636 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12637 NODE when __dir_mkfile failed.
12638 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12639 Reported by Ludovic Courtès <ludo@gnu.org>.
12640
e5a6e567
AJ
126412012-04-24 Andreas Jaeger <aj@suse.de>
12642
12643 * Makerules (common-clean): Also remove gen-as-const-headers
12644 files.
12645
c1820385
JM
126462012-04-24 Joseph Myers <joseph@codesourcery.com>
12647
12648 * Makerules (native-compile): Do not change working directory for
12649 build. Use $(OUTPUT_OPTION) in command.
12650 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12651
94e02fc4
AZ
126522012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12653
12654 [BZ #13886]
12655 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12656 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12657 * math/libm-test.inc (floor_test): Add more tests.
12658 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12659
3a533ca3
JM
126602012-04-24 Joseph Myers <joseph@codesourcery.com>
12661
940ab4b3
JM
12662 * sysdeps/unix/getdents.c: Remove file.
12663 * sysdeps/unix/sysv/getdents.c: Likewise.
12664 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12665
90e037bd
JM
12666 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12667 sysdeps/unix/mman/syscalls.list.
12668 (mmap): Likewise.
12669 (mprotect): Likewise.
12670 (msync): Likewise.
12671 (munmap): Likewise.
12672 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12673 * sysdeps/unix/mman/syscalls.list: Remove.
12674 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12675
3a533ca3
JM
12676 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12677 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12678 * configure: Regenerated.
12679 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12680 $(libgcc_s_suffix).
12681 * config.make.in (libgcc_s_suffix): Remove variable.
12682
1ad743de
JM
126832012-04-23 Joseph Myers <joseph@codesourcery.com>
12684
4ad451e2
JM
12685 * sysdeps/unix/sysv/gethostname.c: Move to ...
12686 * sysdeps/posix/gethostname.c: ... here.
12687
5e37ce39
JM
12688 * sysdeps/unix/execve.S: Remove file.
12689
1ad743de
JM
12690 * sysdeps/unix/_exit.S: Remove file.
12691
4e681b5b
AJ
126922012-04-23 Andreas Jaeger <aj@suse.de>
12693
12694 [BZ #13739]
12695 * manual/Makefile: Remove make dist support, there's no
12696 need for a stand-alone documentation tar ball.
12697 (TEXI2DVI): Define always, it's not in Makeconfig.
12698 (dist): Removed.
12699 (tar-it): Removed.
12700 (edition): Removed.
12701 (glibc-doc-$(edition).tar): Removed
12702 (%.Z): Removed.
12703 (%.gz): Removed.
12704 (%.uu): Removed.
12705 (ETAGS): Remove, it's in Makeconfig.
12706 (move-if-change): Remove, it's in Makeconfig.
12707
38686a03 127082012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12709
12710 [BZ #13970]
12711 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12712 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12713 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12714 (strtod_l, strtof_l, strtold_l): Remove __wur.
12715 It is not necessarily an error to ignore strtol's return value.
12716 One can reliably look at the stored endptr to decide whether
12717 the number had valid syntax.
12718
7c0616fa
AJ
127192012-04-21 Andreas Jaeger <aj@suse.de>
12720
803cb6b7 12721 [BZ #13739]
7c0616fa
AJ
12722 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12723
b0fe253f
JM
127242012-04-21 Joseph Myers <joseph@codesourcery.com>
12725
12726 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12727 * sysdeps/unix/sysv/Versions: Remove file.
12728
8280f22d
MT
127292012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12730
12731 [BZ #13927]
12732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12733
75ce411f 127342012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12735
12736 [BZ #7064]
12737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12738 version from __vm86.
12739
097d59fa
JM
127402012-04-20 Joseph Myers <joseph@codesourcery.com>
12741
a90f3bcb
JM
12742 * sysdeps/unix/common/lxstat.c: Remove file.
12743 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12744
edc7ea78
JM
12745 * sysdeps/unix/sysv/Makefile: Remove file.
12746
cb78c221
JM
12747 * sysdeps/unix/sysv/direct.h: Remove file.
12748
efa6a45f
JM
12749 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12750 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12751 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12752 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12753 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12754 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12755 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12756
9c9f2d0c
JM
12757 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12758
4541c83b
JM
12759 * sysdeps/unix/xmknod.c: Remove file.
12760 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12761
f5d153a0
JM
12762 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12763
aa746595
JM
12764 * sysdeps/unix/sysv/i386/time.S: Remove file.
12765
cce5905e
JM
12766 * sysdeps/unix/fxstat.c: Remove file.
12767 * sysdeps/unix/xstat.c: Likewise.
12768 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12769
37fa3841
JM
12770 * sysdeps/unix/sysv/sigaction.c: Remove file.
12771
ff1962a3
JM
12772 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12773 (sysdep_headers): Remove variable.
12774 [termio.h not in sysdep_headers] (generated): Likewise.
12775 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12776 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12777 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12778 * sysdeps/unix/sysv/tcflow.c: Likewise.
12779 * sysdeps/unix/sysv/tcflush.c: Likewise.
12780 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12781 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12782 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12783 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12784 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12785
e7740d31
JM
12786 * sysdeps/unix/siglist.c: Remove file.
12787
ee06f18b
JM
12788 * sysdeps/unix/getppid.S: Remove file.
12789
097d59fa
JM
12790 * sysdeps/unix/mkdir.c: Remove file.
12791 * sysdeps/unix/rmdir.c: Likewise.
12792
ff3d51ec
AS
127932012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12794
12795 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12796 ERR_MAX value.
12797 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12798 errlist-compat value.
12799
50f81fd7
DM
128002012-04-18 David S. Miller <davem@davemloft.net>
12801
12802 * sysdeps/generic/memcopy.h (reg_char): Delete.
12803 * debug/strcat_chk.c: Use char, not reg_char.
12804 * debug/strcpy_chk.c: Likewise.
12805 * debug/strncat_chk.c: Likewise.
12806 * debug/strncpy_chk.c: Likewise.
12807 * string/memchr.c: Likewise.
12808 * string/memrchr.c: Likewise.
12809 * string/rawmemchr.c: Likewise.
12810 * string/strcat.c: Likewise.
12811 * string/strchr.c: Likewise.
12812 * string/strchrnul.c: Likewise.
12813 * string/strcmp.c: Likewise.
12814 * string/strcpy.c: Likewise.
12815 * string/strncat.c: Likewise.
12816 * string/strncmp.c: Likewise.
12817 * string/strncpy.c: Likewise.
12818
8ff41c46
WS
128192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12820
12821 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12822 __builtin_memcopy is called when src and dest ranges are known to not
12823 overlap.
12824
6b652f46
WS
128252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12826
12827 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12828 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12829 fwd_align_merge macro call.
12830 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12831 bwd_align_merge macro call.
12832 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12833
b282631e
WS
128342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12835
12836 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12837 bwd_align_merge macros.
12838 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12839 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12840 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12841
95aa737c
DM
128422012-04-18 David S. Miller <davem@davemloft.net>
12843
12844 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12845
7a99a614
AJ
128462012-04-18 Andreas Jaeger <aj@suse.de>
12847
12848 [BZ# 6794]
12849 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12850 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12851 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12852
12853 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12854 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12855 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12856
12857 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12858 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12859 Adjust for changed ldbl-128 files.
12860
12861 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12862 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12863 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12864
e5270c23
DM
128652012-04-17 David S. Miller <davem@davemloft.net>
12866
12867 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12868
fb5e92c9
AS
128692012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12870
12871 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12872 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12873 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12874 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12875 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12876 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12877
76da7265
AZ
128782012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12879
12880 [BZ #6794]
12881 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12882 * math/libm-test.inc: Add ilogb errno and exception tests.
12883 * math/w_ilogb.c: New file: ilogb wrapper.
12884 * math/w_ilogbf.c: New file: ilogbf wrapper.
12885 * math/w_ilogbl.c: New file: ilogbl wrapper.
12886 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12887 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12888 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12889 exception being thrown with 0.0 as argument.
12890 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12891 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12892 exception being thrown with 0.0 as argument.
12893 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12894 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12895 exception being thrown with 0.0 as argument.
12896 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12897 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12898 exception being thrown with 0.0 as argument.
12899 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12900 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12901 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12902 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12903 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12904 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12905 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12906 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12907 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12908
0396e69d
PB
129092012-04-17 Petr Baudis <pasky@ucw.cz>
12910
12911 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12912 with altivec.
12913
750b5926
MP
129142012-04-16 Marek Polacek <polacek@redhat.com>
12915
12916 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12917
751728a1
MP
129182012-04-16 Marek Polacek <polacek@redhat.com>
12919
12920 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12921 operands of fdivp instruction.
12922
34a27407
L
129232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12924
12925 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12926 * elf/tst-auditmod3b.c: Likewise.
12927 * elf/tst-auditmod4b.c: Likewise.
12928 * elf/tst-auditmod5b.c: Likewise.
12929 * elf/tst-auditmod6b.c: Likewise.
12930 * elf/tst-auditmod6c.c: Likewise.
12931 * elf/tst-auditmod7b.c: Likewise.
12932 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12933 * sysdeps/x86_64/preconfigure.in: Likewise.
12934 * sysdeps/x86_64/preconfigure: Regenerated.
12935
7e73e17d
L
129362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12937
12938 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12939 __ILP32__.
12940
c7a6ab72
AB
129412012-04-13 Antoine Balestrat <merkil33@gmail.com>
12942
12943 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12944 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12945
a9e8e0e0
CL
129462012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12947
12948 [BZ #13973]
12949 * locale/iso-639.def: Fix gl language name. Spotted by
12950 Yaron Shahrabani.
12951
ec98af7d
RM
129522012-04-12 Roland McGrath <roland@hack.frob.com>
12953
12954 [BZ #2074]
12955 * libio/libio.h (__io_write_fn): Update comment.
12956
247c3ede
PB
129572012-04-12 Petr Baudis <pasky@ucw.cz>
12958
12959 [BZ #2074]
12960 * stdio.texi (Hook Functions): The user provided writer function
12961 is not allowed to return -1.
12962
55939d6d
DM
129632012-04-11 David S. Miller <davem@davemloft.net>
12964
12965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12966
90020f5a
MF
129672012-04-11 Mike Frysinger <vapier@gentoo.org>
12968
12969 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12970 Add a leading slash to rtkaio.
12971
288f9098
JM
129722012-04-11 Jim Meyering <meyering@redhat.com>
12973
90020f5a
MF
12974 [BZ #11959]
12975 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12976 It is not necessarily an error to ignore fwrite's return
12977 value. One can reliably use ferror to test for errors after
12978 the fact.
288f9098 12979
4be2b570
L
129802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12981
12982 * bits/types.h (__snseconds_t): New type.
12983 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12984
12985 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12987 (__SNSECONDS_T_TYPE): Likewise.
12988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12989 (__SNSECONDS_T_TYPE): Likewise.
12990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12991 (__SNSECONDS_T_TYPE): Likewise.
12992
288f9098 129932012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12994
12995 [BZ #2636]
12996 * manual/time.texi (Processor Time): Return type of times is
12997 elapsed real time since an arbitrary point in the past.
12998 (CPU Time): Move CLK_TCK from here...
12999 (Processor Time): ...to here. Correct description.
13000 * manual/conf.texi (Constants for Sysconf): Correct description of
13001 _SC_CLK_TCK.
13002
d7dd4413
DM
130032012-04-10 David S. Miller <davem@davemloft.net>
13004
13005 [BZ #13967]
13006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13007 where the is a gap between DT_REL(A) and DT_JMPREL.
13008
b46068fc
L
130092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13010
13011 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13012 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13013 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13014
73d65cc3
SP
130152012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13016
13017 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13018 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13019 (dl_main): Handle --inhibit-cache.
13020 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13021 _dl_inhibit_cache.
13022 * elf/dl-load.c (_dl_map_object): Use it.
13023 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13024
bcc8d661
JM
130252012-04-09 Joseph Myers <joseph@codesourcery.com>
13026
8f9a2fae
JM
13027 [BZ #13872]
13028 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13029 (__ieee754_powl): Saturate large exponents rather than testing for
13030 overflow of y*log2(x).
13031 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13032 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13033 exceptions.
13034
bcc8d661
JM
13035 [BZ #11521]
13036 * math/s_ctan.c: Include <float.h>.
13037 (__ctan): Avoid internal overflow or cancellation in calculating
13038 denominator.
13039 * math/s_ctanf.c: Likewise.
13040 * math/s_ctanl.c: Likewise.
13041 * math/s_ctanh.c: Likewise.
13042 * math/s_ctanhf.c: Likewise.
13043 * math/s_ctanhl.c: Likewise.
13044 * math/libm-test.inc (ctan_test): Add more tests.
13045 (ctanh_test): Likewise.
13046 * sysdeps/i386/fpu/libm-test-ulps: Update.
13047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13048
823fbbb4
AJ
130492012-04-09 Andreas Jaeger <aj@suse.de>
13050
03879793
AJ
13051 [BZ #6894]
13052 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13053 is an optional BSD extension.
13054
823fbbb4
AJ
13055 [BZ #10254]
13056 * manual/stdio.texi (Opening Streams): Document additional fopen
13057 parameters.
13058
8de131cb
RM
130592012-04-09 Roland McGrath <roland@hack.frob.com>
13060
13061 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13062 %eax without telling the compiler.
13063
c0ed9d7d
CD
130642012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13065
13066 [BZ # 13963]
13067 * manual/install.texi: Use sourceware.org.
13068
c483f6b4
JM
130692012-04-09 Joseph Myers <joseph@codesourcery.com>
13070
d7dd9453
JM
13071 [BZ #13873]
13072 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13073 (__ieee754_pow): Generate overflow and underflow using huge*huge
13074 and tiny*tiny rather than just returning constant infinity or zero
13075 for large exponents.
13076 * math/libm-test.inc (pow_test): Require overflow exceptions for
13077 applicable cases of large exponents.
13078
c483f6b4
JM
13079 [BZ #706]
13080 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13081 (__ieee754_pow): Use iterative multiplication algorithm only for
13082 integer exponents with absolute value below 1024. Check for odd
13083 integer exponents when using algorithm for real exponents.
13084 * math/libm-test.inc (pow_test): Add more tests.
13085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13086
d2de7579
JM
130872012-04-08 Joseph Myers <joseph@codesourcery.com>
13088
13089 [BZ #13705]
13090 * math/libm-test.inc (exp_test): Do not allow overflow exception
13091 on underflow test.
13092
f77f1232
AJ
130932012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13094
13095 [BZ #13705]
13096 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13097 instead of __kernel_standard_f.
13098
3884932b
MF
130992012-04-08 Mike Frysinger <vapier@gentoo.org>
13100
13101 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13102 * sysdeps/x86_64/memset_chk.S: Likewise.
13103
54472e9c
AJ
131042012-04-08 Andreas Jaeger <aj@suse.de>
13105
6ab0fbfc
AJ
13106 [BZ #10153]
13107 * manual/startup.texi (Environment Access): Describe return value
13108 for putenv and setenv.
13109
61efba8c
AJ
13110 [BZ #6895]
13111 * manual/filesys.texi (Directory Entries): Add description for
13112 DT_LNK.
13113
95c3f29a
AJ
13114 [BZ #6890]
13115 * manual/filesys.texi (Directory Entries): Clarify that it's file
13116 system not operating system in the description of DT_UNKNOWN.
13117
54472e9c
AJ
13118 [BZ #6578]
13119 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13120
624254b1
SC
131212012-04-08 Stephen Compall <s11@member.fsf.org>
13122
13123 [BZ #6649]
13124 * manual/llio.texi (Opening and Closing Files): Add cross
13125 reference to explain mode argument.
13126
1e4920e0
MF
131272012-04-07 Mike Frysinger <vapier@gentoo.org>
13128
13129 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13130 * sysdeps/x86_64/memset_chk.S: Likewise.
13131
5ed848f3
DM
131322012-04-07 David S. Miller <davem@davemloft.net>
13133
13134 * elf/elf.h (R_SPARC_WDISP10): Define.
13135 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13136 R_SPARC_SIZE32.
13137 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13138 R_SPARC_SIZE64 and R_SPARC_H34.
13139
96154cd8
CD
131402012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13141
13142 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13143 conditions and remove no longer applicable assertion.
13144
9904dc47
L
131452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13146
13147 * bits/byteswap.h: Include <features.h>.
13148 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13149 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13150
f8887d0a
L
131512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13152
13153 * bits/byteswap.h (__bswap_16): Removed.
13154 Include <bits/byteswap-16.h> to get __bswap_16.
13155 * sysdeps/i386/bits/byteswap.h: Likewise.
13156 * sysdeps/s390/bits/byteswap.h: Likewise.
13157 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13158 * bits/byteswap-16.h: New file.
13159 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13160 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13161 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13162 * string/Makefile (headers): Add bits/byteswap-16.h.
13163
62470f60
PP
131642012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13165
13166 [BZ #13895]
13167 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13168 extra indirection.
13169 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13170 * nss/tst-nss-static.c: New.
13171
4dad7bab
RM
131722012-04-06 Robert Millan <rmh@gnu.org>
13173
13174 [BZ #6486]
13175 * manual/llio.texi (File Position Primitive): lseek
13176 refers to WHENCE when it really means OFFSET.
13177
e9142a17
AJ
131782012-04-06 Andreas Jaeger <aj@suse.de>
13179
2c040eff
AJ
13180 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13181 strncmp declarations.
13182
e9142a17
AJ
13183 * abilist/libc.abilist: Add __poll and __ppoll.
13184
ff9f1c5f
DM
131852012-04-05 David S. Miller <davem@davemloft.net>
13186
dcd2ae90
DM
13187 * scripts/check-local-headers.sh: Accept a host triplet in the
13188 path matched by the exclude regexp.
13189
993eb054
DM
13190 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13191 definition.
13192 * sysdeps/powerpc/powerpc32/dl-machine.h
13193 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13194 * sysdeps/s390/s390-32/dl-machine.h
13195 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13196 * sysdeps/sparc/sparc32/dl-machine.h
13197 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13198 * sysdeps/sparc/sparc64/dl-machine.h
13199 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13200
ff9f1c5f
DM
13201 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13202 lazy binding.
48e2e132 13203 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13204 undefined symbol errors.
13205
48e2e132 13206 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13207 DT_NEEDED entries.
13208
e80d6f94
MM
132092012-04-05 Michael Matz <matz@suse.de>
13210
13211 [BZ #13592]
13212 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13213
349fa79f
AJ
132142012-04-05 Andreas Jaeger <aj@suse.de>
13215
13216 [BZ #13908]
13217 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13218 comment.
13219
f402708f
KK
132202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13221
13222 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13223 which ROUND is no valid rounding mode.
13224
2ecccfc9
KK
132252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13226
13227 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13228 read again.
13229 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13230
8a53f50f
KK
132312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13232
13233 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13234 an exception using FPU order intentionally.
13235
132362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13237
13238 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13239 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13240 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13241 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13242
d653abb7
SJ
132432012-04-05 Simon Josefsson <simon@josefsson.org>
13244
13245 [BZ #12340]
13246 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13247 EINVAL when BUFLEN is too smal.
13248
c3b1bf7d
TS
132492012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13250
13251 [BZ #13553]
13252 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13253 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13254
b1aa60f3
AJ
132552012-04-03 Andreas Jaeger <aj@suse.de>
13256
c3b1bf7d 13257 [BZ #13938]
67f60a26
AJ
13258 * manual/setjmp.texi (System V contexts): Fix sentence.
13259
b1aa60f3
AJ
13260 [BZ #13926]
13261 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13262 New macro for this case.
13263 [!__GNUC__] (__bswap_64): New inline function for this case.
13264 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13265 * bits/byteswap.h: Likewise.
13266 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13267 ull, guard with __GLIBC_HAVE_LONG_LONG.
13268
13269 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13270 __GLIBC_HAVE_LONG_LONG.
13271
13272 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13273 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13274
39c59c35
TMQMF
132752012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13276
13277 [BZ #13691]
13278 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13279 inptr and inend, rather than using last_ch.
13280
135ffda8
DM
132812012-04-02 David S. Miller <davem@davemloft.net>
13282
13283 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13284 * stdio-common/printf-parse.h (read_int): Change return type to
13285 'int', return -1 on INT_MAX overflow.
13286 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13287 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13288 overflows INT_MAX. Check for overflow of in-format-string precision
13289 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13290 SIZE_MAX not INT_MAX for integer overflow test.
13291 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13292 skip the construct in the format string but do not record anything.
13293 * stdio-common/bug22.c: Adjust to test both width/prevision
13294 INT_MAX overflow as well as total length INT_MAX overflow. Check
13295 explicitly for proper errno values.
13296
228c019e
TS
132972012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13298
302cadd3
TS
13299 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13300 CHAR_MAX.
13301 * string/test-strcmp.c [! WIDE]: Likewise.
13302 * time/tst-mktime2.c: Likewise for INT_MAX.
13303 * string/test-string.h: #include <sys/param.h> for MIN.
13304
228c019e
TS
13305 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13306 * sysdeps/i386/init-first.c (init): Likewise.
13307 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13308 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13309 * sysdeps/sh/init-first.c (init): Likewise.
13310
cfa633f5
UD
133112012-04-01 Ulrich Drepper <drepper@gmail.com>
13312
13313 * po/ru.po: Update from translation team.
d1635ef8 13314 * po/vi.po: Likewise.
cfa633f5 13315
6cd0a5ea
SP
133162012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13317
13318 * resolv/nss_dns/dns-host.c: Merge copyright years.
13319
4b43400f
LD
133202012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13321
13322 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13323 Optimize memcpy with prefetch if
13324 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13325 src, dst pointers have unequal 16 byte alignments.
13326
48c41d04
SP
133272012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13328
13329 [BZ #13928]
13330 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13331 from a CNAME entry and return the minimum ttl for the query.
13332 (gaih_getanswer_slice): Likewise.
13333
b8dc394d
JL
133342012-03-30 Jeff Law <law@redhat.com>
13335
13336 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13337 due to long keys.
13338 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13339 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13340
2f5a5ed0
JL
13341 * resolv/nss_dns/dns-host.c: Update copyright year.
13342
1d39e359
UD
133432012-03-30 Ulrich Drepper <drepper@gmail.com>
13344
c030f70c 13345 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13346 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13347
1d39e359
UD
13348 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13349 comments for sendmmsg.
13350
133512012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13352
13353 [BZ #13691]
13354 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13355 with only 1 character between 0x0041 and 0x01b0.
13356 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13357 * wcsmbs/tst-mbsnrtowcs.c: New file.
13358
20fde227
DM
133592012-03-29 David S. Miller <davem@davemloft.net>
13360
13361 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13362 small copies by hand.
13363
984a4237
JL
133642012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13365
13366 [BZ #13761]
13367 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13368 _nss_compat_initgroups_dyn): Fall back to malloc/free
13369 for large group memberships.
13370
18c9d62b
DM
133712012-03-28 David S. Miller <davem@davemloft.net>
13372
88d85d4f
DM
13373 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13374 that branches into memcpy.
13375 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13376 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13377 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13378 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13380 bits.
13381 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13382 implementation too.
13383 * sysdeps/sparc/mempcpy.S: New file.
13384
e5aa83e1
DM
13385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13386 the IFUNC routine in the libc case.
13387 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13388
88570753
DM
13389 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13390 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13391 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13392 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13393 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13394 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13395 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13396 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13397
249d7567
DM
13398 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13399 loop to 256 bytes instead of 64 bytes and fix test signedness.
13400
18c9d62b
DM
13401 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13402 * sysdeps/sparc/sparc32/Makefile: rather than here...
13403 * sysdeps/sparc/sparc64/Makefile: and here.
13404
05f3d1f6
UD
134052012-03-28 Ulrich Drepper <drepper@gmail.com>
13406
13407 * malloc/mallocbug.c: Avoid warnings about unused variables.
13408
86ae07a8
JL
134092012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13410
13411 [BZ #13760]
13412 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13413 in the right place. Discard and retry query if response is
13414 larger than input buffer size.
13415
41bf21a1
JM
134162012-03-28 Joseph Myers <joseph@codesourcery.com>
13417
d6270972
JM
13418 [BZ #369]
13419 [BZ #2678]
13420 [BZ #3866]
13421 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13422 x for large integer exponent.
13423 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13424 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13425 sign of result as needed afterwards.
13426 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13427 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13428 result for underflowing pow the same as for overflow.
13429 (__kernel_standard_l): Handle powl overflow and underflow here
13430 rather than calling __kernel_standard.
13431 * math/libm-test.inc (pow_test): Add more tests.
13432
414fca03 13433 [BZ #3868]
41bf21a1
JM
13434 [BZ #13879]
13435 [BZ #13910]
13436 [BZ #13911]
13437 [BZ #13912]
13438 [BZ #13913]
13439 [BZ #13915]
13440 [BZ #13916]
13441 [BZ #13917]
13442 [BZ #13918]
13443 [BZ #13919]
13444 [BZ #13920]
13445 [BZ #13921]
13446 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13447 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13448 (__kernel_standard_l): New function.
13449 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13450 __kernel_standard.
13451 * math/w_acosl.c (__acosl): Likewise.
13452 * math/w_asinl.c (__asinl): Likewise.
13453 * math/w_atan2l.c (__atan2l): Likewise.
13454 * math/w_atanhl.c (__atanhl): Likewise.
13455 * math/w_coshl.c (__coshl): Likewise.
13456 * math/w_exp10l.c (__exp10l): Likewise.
13457 * math/w_exp2l.c (__exp2l): Likewise.
13458 * math/w_fmodl.c (__fmodl): Likewise.
13459 * math/w_hypotl.c (__hypotl): Likewise.
13460 * math/w_j0l.c (__j0l, __y0l): Likewise.
13461 * math/w_j1l.c (__j1l, __y1l): Likewise.
13462 * math/w_jnl.c (__jnl, __ynl): Likewise.
13463 * math/w_lgammal.c (__lgammal): Likewise.
13464 * math/w_log10l.c (__log10l): Likewise.
13465 * math/w_log2l.c (__log2l): Likewise.
13466 * math/w_logl.c (__logl): Likewise.
13467 * math/w_powl.c (__powl): Likewise.
13468 * math/w_remainderl.c (__remainderl): Likewise.
13469 * math/w_scalbl.c (sysv_scalbl): Likewise.
13470 * math/w_sinhl.c (__sinhl): Likewise.
13471 * math/w_sqrtl.c (__sqrtl): Likewise.
13472 * math/w_tgammal.c (__tgammal): Likewise.
13473 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13474 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13475 * math/libm-test.inc (acos_test): Add more tests.
13476 (acosh_test): Likewise.
13477 (asin_test): Likewise.
13478 (atanh_test): Likewise.
13479 (exp_test): Likewise.
13480 (exp10_test): Likewise.
13481 (exp2_test): Likewise.
13482 (expm1_test): Likewise.
13483 (lgamma_test): Likewise.
13484 (log_test): Likewise.
13485 (log10_test): Likewise.
13486 (log1p_test): Likewise.
13487 (log2_test): Likewise.
13488 (pow_test): Do not allow some spurious overflow exceptions.
13489 (sqrt_test): Add more tests.
13490 (tgamma_test): Likewise.
13491 (y0_test): Likewise.
13492 (y1_test): Likewise.
13493 (yn_test): Likewise.
13494
dd62fda6
AB
134952012-03-27 Anton Blanchard <anton@samba.org>
13496
13497 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13498 MAP_HUGETLB.
13499 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13500 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13501 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13502
1e3cdfda
AJ
135032012-03-27 David S. Miller <davem@davemloft.net>
13504
b855ab85
DM
13505 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13506
1e3cdfda
AJ
13507 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13508 have-as-vis3 check.
13509
135102012-03-27 Andreas Jaeger <aj@suse.de>
13511
13512 * sysdeps/x86_64/elf/configure.in: Moved to ...
13513 * sysdeps/x86_64/configure.in: ... here.
13514 * sysdeps/x86_64/elf/start.S: Moved to ...
13515 * sysdeps/x86_64/start.S: ... here.
13516 * sysdeps/x86_64/elf/configure: Delete.
13517
13518 * sysdeps/x86_64/configure.in: Merge contents from
13519 sysdeps/i386/configure.in (without i686 check).
13520
13521 * sysdeps/i386/elf/Versions: Merge into ...
13522 * sysdeps/i386/Versions: ... this.
13523 * sysdeps/i386/elf/Versions: Delete file.
13524 * sysdeps/i386/elf/start.S: Moved to ...
13525 * sysdeps/i386/start.S: ...here.
13526 * sysdeps/i386/elf/configure.in: Merge into...
13527 * sysdeps/i386/configure.in: ...here.
13528 * sysdeps/i386/elf/configure.in: Delete file.
13529 * sysdeps/i386/elf/configure: Delete file.
13530
13531 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13532 * debug/backtracesyms.c: ... here.
13533 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13534 * debug/backtracesymsfd.c: ... here.
13535 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13536 * sysdeps/generic/ifunc-sel.h: ... here.
13537
13538 * sysdeps/unix/i386/start.c: Delete file.
13539 * sysdeps/unix/sparc/start.c: Delete file.
13540 * sysdeps/unix/start.c: Delete file.
13541
13542 * sysdeps/sh/elf/configure.in: Moved to ...
13543 * sysdeps/sh/configure.in: ... here.
13544 * sysdeps/sh/elf/start.S: Moved to ...
13545 * sysdeps/sh/start.S: ... here.
13546 * sysdeps/sh/elf/configure: Delete file.
13547
13548 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13549 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13550 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13551 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13552 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13553 * sysdeps/powerpc/powerpc64/start.S: here.
13554 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13555 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13556 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13557 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13558 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13559
13560 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13561 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13562 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13563 * sysdeps/powerpc/powerpc32/start.S: ... here.
13564 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13565 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13566 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13567
13568 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13569 * sysdeps/powerpc/ifunc-sel.h: ... here.
13570 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13571 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13572
13573 * sysdeps/sparc/elf/configure.in: Moved to ...
13574 * sysdeps/sparc/configure.in: ... here.
13575 * sysdeps/sparc/elf/configure: Delete file.
13576 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13577 * sysdeps/sparc/sparc32/start.S: ... here.
13578 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13579 * sysdeps/sparc/sparc64/start.S: ... here.
13580 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13581 * sysdeps/sparc/sparc32/Makefile: ... this.
13582 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13583 * sysdeps/sparc/sparc64/Makefile: ... this.
13584
13585 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13586 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13587 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13588 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13589 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13590 * sysdeps/s390/s390-32/setjmp.S: ... here.
13591 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13592 * sysdeps/s390/s390-32/configure.in: ... here.
13593 * sysdeps/s390/s390-32/elf/configure: Delete file.
13594 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13595 * sysdeps/s390/s390-32/start.S: ... here.
13596
13597 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13598 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13599 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13600 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13601 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13602 * sysdeps/s390/s390-64/setjmp.S: ... here.
13603 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13604 * sysdeps/s390/s390-64/configure.in: ... here
13605 * sysdeps/s390/s390-64/elf/configure: Delete file.
13606 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13607 * sysdeps/s390/s390-64/start.S: ... here.
13608 * sysdeps/s390/s390-64/elf/configure: Delete.
13609
13610 * configure.in: Remove support for elf directories in sysdeps.
13611
13612 * configure: Regenerated.
13613 * sysdeps/i386/configure: Regenerated.
13614 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13615 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13616 * sysdeps/s390/s390-32/configure: Regenerated.
13617 * sysdeps/s390/s390-64/configure: Regenerated.
13618 * sysdeps/sh/configure: Regenerated.
13619 * sysdeps/sparc/configure: Regenerated.
13620 * sysdeps/x86_64/configure: Regenerated.
13621
a3f61311
AS
136222012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13623
c876e002
AS
13624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13625
a3f61311
AS
13626 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13627 denormal result into account.
13628
ac4c54f0
RM
136292012-03-25 Roland McGrath <roland@hack.frob.com>
13630
13631 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13632 Reported by Allan McRae <allan@archlinux.org>.
13633
6a9b9c02
JL
136342012-03-23 Jeff Law <law@redhat.com>
13635
13636 * nss/getnssent.c (__nss_getent): Fix typo.
13637
4c42a0c1
DM
136382012-03-23 David S. Miller <davem@davemloft.net>
13639
13640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13641
1532c7ac
L
136422012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13643
13644 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13645 to pad to uint64_t for each field.
13646 (dl_tls_index): Replace unsigned long with uint64_t.
13647
3ff42526
PP
136482012-03-23 Daniel Jacobowitz <dmj@google.com>
13649 Paul Pluzhnikov <ppluzhnikov@google.com>
13650
13651 [BZ #6528]
13652 * grp/Makefile (otherlibs): Don't set it.
13653 * inet/Makefile (otherlibs): Likewise.
13654 * login/Makefile (otherlibs): Likewise.
13655 * nscd/Makefile (otherlibs): Likewise.
13656 * posix/Makefile (otherlibs): Likewise.
13657 * pwd/Makefile (otherlibs): Likewise.
13658 * rt/Makefile (otherlibs): Likewise.
13659 * sunrpc/Makefile (otherlibs): Likewise.
13660 * nss/Makefile (otherlibs): Likewise.
13661 Add libnss_files to routines and static-only-routines.
13662 ($(objpfx)getent): Remove rule.
13663 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13664 static-only-routines.
13665
7c69cd14
JM
136662012-03-22 Joseph Myers <joseph@codesourcery.com>
13667
13668 [BZ #13892]
13669 * math/s_cexp.c: Include <float.h>.
13670 (__cexp): Handle exp result overflowing not necessarily
13671 overflowing both real and imaginary parts of result.
13672 * math/s_cexpf.c: Likewise.
13673 * math/s_cexpl.c: Likewise.
13674 * math/libm-test.inc (cexp_test): Add more tests.
13675 * sysdeps/i386/fpu/libm-test-ulps: Update.
13676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13677
81b035fe
L
136782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13679
13680 * include/link.h (ELFW): New macro.
13681 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13682 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13683
1da7940c
L
136842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13685
13686 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13687 with uint64_t.
13688
b749dbb9
L
136892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13690
13691 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13692 declaration.
13693 (struct La_x32_retval): Likewise.
13694
2ff87f3f
L
136952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13696
13697 * sysdeps/x86_64/preconfigure.in: New file.
13698 * sysdeps/x86_64/preconfigure: New generated file.
13699
c0df8e69
JM
137002012-03-22 Joseph Myers <joseph@codesourcery.com>
13701
48e44791
JM
13702 [BZ #13824]
13703 * math/e_exp2l.c: Include <float.h>.
13704 (__ieee754_exp2l): Handle overflow and underflow cases
13705 separately. Only pass fractional part of argument to
13706 __ieee754_expl.
13707 * math/libm-test.inc (exp2_test): Add more tests.
13708
c0df8e69
JM
13709 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13710 negating x to take absolute value.
13711 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13712 Likewise.
13713 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13714 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13715 Likewise.
13716 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13717 computing low part if x was negated.
13718 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13719
c8e43ba7
L
137202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13721
13722 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13723 la_x32_gnu_pltexit.
13724 (pltexit): Cast int_retval to ptrdiff_t.
13725 * elf/tst-auditmod3b.c: Likewise.
13726 * elf/tst-auditmod4b.c: Likewise.
13727 * elf/tst-auditmod5b.c: Likewise.
13728 * elf/tst-auditmod6b.c: Likewise.
13729 * elf/tst-auditmod6c.c: Likewise.
13730 * elf/tst-auditmod7b.c: Likewise.
13731
13732 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13733 and x32_gnu_pltexit.
13734
13735 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13736 __ELF_NATIVE_CLASS.
13737 (La_x32_regs): New macro.
13738 (La_x32_retval): Likewise.
13739 (la_x32_gnu_pltenter): New function prototype.
13740 (la_x32_gnu_pltexit): Likewise.
13741
7998fa78
AS
137422012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13743
dcb33988
AS
13744 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13745 exponent.
13746
233fc563
AS
13747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13748
7998fa78
AS
13749 * configure.in (libc_cv_cc_nofma): Check for option to disable
13750 generation of FMA instructions.
13751 * configure: Regenerate.
13752 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13753 * sysdeps/ieee754/dbl-64/Makefile: New file.
13754 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13755 Remove brandred-fma4.
13756 (CFLAGS-brandred-fma4.c): Remove.
13757 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13758 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13759 define.
13760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13761 define.
13762
8e95c99a
L
137632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13764
13765 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13766 LLONG_MAX != LONG_MAX.
13767 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13768 (_fitoa_word): Likewise.
13769 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13770 LLONG_MAX != LONG_MAX.
13771 * stdio-common/_itowa.h: Include <_itoa.h>.
13772 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13773 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13774 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13775 only if not defined.
13776 (_ITOA_WORD_TYPE): Likewise.
13777 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13778 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13779
6f4db457
DM
137802012-03-21 David S. Miller <davem@davemloft.net>
13781
13782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13783
7785fe5a
L
137842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13785
13786 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13787 of x86_64 when setting libc_cv_slibdir, libdir and
13788 libc_cv_localedir.
13789 * sysdeps/unix/sysv/linux/configure: Regenerated.
13790
4535cd55
JM
137912012-03-21 Joseph Myers <joseph@codesourcery.com>
13792
13793 * manual/lang.texi (Old Varargs): Remove section.
13794 (How Variadic): Update menu.
13795 (va_start): Do not mention varargs.h.
13796
17228132
TS
137972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13798 Joseph Myers <joseph@codesourcery.com>
13799
13800 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13801 link test.
13802 * configure: Regenerated.
13803
8149f976
TS
138042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13805
05f3d1f6
UD
13806 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13807 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13808 conformtest.pl
8149f976 13809
1a4ac776
JM
138102012-03-21 Joseph Myers <joseph@codesourcery.com>
13811
be22ce65
JM
13812 * NOTES: Remove.
13813 * Makefile (files-for-dist): Remove NOTES.
13814 (NOTES): Remove rule.
13815 * README: Don't refer to NOTES.
13816 * manual/creature.texi: Don't include macros.texi.
13817 * manual/intro.texi (creature.texi): Remove comment referring to
13818 NOTES.
13819
40b601fb
JM
13820 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13821 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13822 * configure: Regenerated.
13823 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13824 LIBC_TRY_CC_OPTION.
13825 (libc_cv_as_i686): Likewise.
13826 (libc_cv_cc_avx): Likewise.
13827 (libc_cv_cc_sse2avx): Likewise.
13828 (libc_cv_cc_fma4): Likewise.
13829 (libc_cv_cc_novzeroupper): Likewise.
13830 * sysdeps/i386/configure: Regenerated.
13831
1a4ac776
JM
13832 [BZ #13883]
13833 * sysdeps/i386/fpu/s_cexp.S: Remove.
13834 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13835 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13836 * math/libm-test.inc (cexp_test): Add more tests.
13837 * sysdeps/i386/fpu/libm-test-ulps: Update.
13838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13839
a458e7fe
AM
138402012-03-21 Allan McRae <allan@archlinux.org>
13841
13842 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13843
0cb7efc5
JM
138442012-03-21 Joseph Myers <joseph@codesourcery.com>
13845
13846 [BZ #13871]
13847 * math/w_exp2.c: Do not include <float.h>.
13848 (o_threshold, u_threshold): Remove.
13849 (__exp2): Calculate result before checking finiteness and calling
13850 __kernel_standard.
13851 * math/w_exp2f.c: Likewise.
13852 * math/w_exp2l.c: Likewise.
13853 * math/libm-test.inc (exp2_test): Require overflow exception for
13854 1e6 input.
2460d3aa
JM
13855
13856 [BZ #3866]
13857 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13858 range of signed 64-bit integers before using fistpll. Remove
13859 checks for whether integers fit in mantissa bits.
13860 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13861 the range of signed 32-bit integers before using fistpl. Remove
13862 checks for whether integers fit in mantissa bits.
13863 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13864 (__ieee754_powl): Test for y outside the range of signed 64-bit
13865 integers before using fistpll. Reduce 64-bit values to 63-bit
13866 ones as needed.
13867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13868 divide-by-zero is raised for zero to large negative powers.
13869 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13870 (__ieee754_powl): Test for y outside the range of signed 64-bit
13871 integers before using fistpll. Reduce 64-bit values to 63-bit
13872 ones as needed.
13873 * math/libm-test.inc (pow_test): Add more tests.
13874
eb96ffb0
L
138752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13876
13877 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13878 <stdio-common/_itoa.h>.
13879 * debug/segfault.c: Likewise.
13880 * elf/dl-cache.c: Likewise.
13881 * elf/dl-minimal.c: Likewise.
13882 * elf/dl-misc.c: Likewise.
13883 * elf/dl-sysdep.c: Likewise.
13884 * elf/dl-version.c: Likewise.
13885 * elf/rtld.c: Likewise.
13886 * hurd/hurdsock.c: Likewise.
13887 * hurd/lookup-retry.c: Likewise.
13888 * malloc/malloc.c: Likewise.
13889 * malloc/mtrace.c: Likewise.
13890 * nscd/nscd_getgr_r.c: Likewise.
13891 * nscd/nscd_getpw_r.c: Likewise.
13892 * nscd/nscd_getserv_r.c: Likewise.
13893 * posix/getopt_init.c: Likewise.
13894 * posix/wordexp.c: Likewise.
13895 * stdio-common/_itoa.c: Likewise.
13896 * stdio-common/printf_fphex.c: Likewise.
13897 * stdio-common/vfprintf.c: Likewise.
13898 * string/_strerror.c: Likewise.
13899 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13900 * sysdeps/i386/i686/hp-timing.h: Likewise.
13901 * sysdeps/mach/_strerror.c: Likewise.
13902 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13903 * sysdeps/mach/hurd/sethostid.c: Likewise.
13904 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13905 * sysdeps/mach/xpg-strerror.c: Likewise.
13906 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13907 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13908 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13909 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13910 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13911 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13912 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13913 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13914 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13915 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13916 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13917 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13918 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13919 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13920 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13921 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13922 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13923 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13924 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13925 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13926 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13927
13928 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13929
13930 * stdio-common/_itoa.h: Moved to ...
13931 * sysdeps/generic/_itoa.h: Here.
13932
13933 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13934
13935 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13936 instead of "_itoa.h" and "_itowa.h".
13937 * stdio-common/vfprintf.: Likewise.
13938
d1af992d
L
139392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13940
13941 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13942 <bits/wordsize.h>.
13943 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13944 (__signbit): Likwise.
13945 (llrintf): Likwise.
13946 (llrint): Likwise.
13947
114883e0
L
139482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13949
13950 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13951 __WORDSIZE != 64.
13952
c135cc1b
JM
139532012-03-20 Joseph Myers <joseph@codesourcery.com>
13954
13955 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13956 OVERFLOW_EXCEPTION_OK.
13957 * math/libm-test.inc ("Philosophy"): Update comment about
13958 exception testing.
13959 (OVERFLOW_EXCEPTION): Define.
13960 (OVERFLOW_EXCEPTION_OK): Likewise.
13961 (INVALID_EXCEPTION_OK): Renumber.
13962 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13963 (IGNORE_ZERO_INF_SIGN): Likewise.
13964 (test_exceptions): Handle FE_OVERFLOW.
13965 (exp10_test): Expect overflow exceptions.
13966 (exp2_test): Likewise.
13967 (expm1_test): Likewise.
13968 (nextafter_test): Likewise.
13969 (pow_test): Likewise.
13970 (scalbn_test): Likewise.
13971 (scalbln_test): Likewise.
13972
95443d88
L
139732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13974
13975 * sysdeps/x86_64/bits/atomic.h
13976 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13977 64bit integer.
13978 (atomic_exchange_acq): Likewise.
13979 (__arch_exchange_and_add_body): Likewise.
13980 (__arch_add_body): Likewise.
13981 (atomic_add_negative): Likewise.
13982 (atomic_add_zero): Likewise.
13983
490df6c4
L
139842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13985
c2722551 13986 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13987 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13988
5e52b189
L
139892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13990
13991 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13992 Check __x86_64__ instead of __WORDSIZE.
13993
a9879d4c
L
139942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13995
13996 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13997
5df98260
DM
139982012-03-19 David S. Miller <davem@davemloft.net>
13999
e1497744
DM
14000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14001
5df98260
DM
14002 * sysdeps/sparc/fpu/fenv_private.h: New file.
14003 * sysdeps/sparc/fpu/math_private.h: Use it.
14004 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14005 Remove.
14006 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14007 (libc_feholdexcept_setroundl): Remove.
14008 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14009 Remove.
14010 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14011 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14012
b4c35121
L
140132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14014
14015 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14016 int64_t instead of long int.
14017 (INSERT_WORDS64): Likwise.
14018
56965fd7
L
140192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14020
14021 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14022 _Unwind_GetCFA return to _Unwind_Ptr first.
14023
83d1aec8
JM
140242012-03-19 Joseph Myers <joseph@codesourcery.com>
14025
1897ad44
JM
14026 [BZ #13629]
14027 * math/s_clog.c: Include <float.h>.
14028 (__clog): Scale large or subnormal inputs.
14029 * math/s_clogf.c: Likewise.
14030 * math/s_clogl.c: Likewise.
14031 * math/s_clog10.c: Include <float.h>.
14032 (M_LOG10_2): Define.
14033 (__clog10): Scale large or subnormal inputs.
14034 * math/s_clog10f.c: Likewise.
14035 * math/s_clog10l.c: Likewise.
14036 * math/libm-test.inc (clog_test): Add more tests.
14037 (clog10_test): Likewise.
14038 * sysdeps/i386/fpu/libm-test-ulps: Update.
14039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14040
7726d6a9
JM
14041 [BZ #11451]
14042 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14043 x and y.
14044 * math/libm-test.inc (atan2_test): Add another test.
14045
83d1aec8
JM
14046 * Makerules (common-objdir-compile): Remove.
14047 * sysdeps/unix/Makefile (config-generated): Do not add
14048 $(unix-generated) to variable.
14049 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14050 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14051 Remove rule.
14052 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14053 Likewise.
14054 [generic bits/local_lim.h] (before-compile): Do not append to
14055 variable.
14056 [generic bits/local_lim.h] (common-generated): Likewise.
14057 [generic sys/param.h] (before-compile): Do not append to variable.
14058 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14059 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14060 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14061 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14062 include.
14063 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14064 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14065 [generic sys/param.h] ($(addprefix
14066 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14067 [generic sys/param.h] (common-generated): Do not append to
14068 variable.
14069 [generic sys/param.h] (sysdep_headers): Likewise.
14070 [generic bits/errno.h] (before-compile): Do not append to
14071 variable.
14072 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14073 rule.
14074 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14075 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14076 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14077 [generic bits/errno.h] (common-generated): Do not append to
14078 variable.
14079 [generic bits/ioctls.h] (before-compile): Do not append to
14080 variable.
14081 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14082 rule.
14083 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14084 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14085 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14086 rule.
14087 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14088 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14089 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14090 [generic bits/ioctls.h] (common-generated): Do not append to
14091 variable.
14092 [generic sys/syscall.h] (syscall.h): Remove variable.
14093 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14094 rule.
14095 [generic sys/syscall.h] (before-compile): Do not append to
14096 variable.
14097 [generic sys/syscall.h] (common-generated): Likewise.
14098 * sysdeps/unix/errnos-tmpl.c: Remove file.
14099 * sysdeps/unix/errnos.awk: Likewise.
14100 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14101 * sysdeps/unix/ioctls.awk: Likewise.
14102 * sysdeps/unix/mk-local_lim.c: Likewise.
14103 * sysdeps/unix/snarf-ioctls: Likewise.
14104
4851a949
RH
141052012-03-19 Richard Henderson <rth@twiddle.net>
14106
bd37f2ee
RH
14107 * sysdeps/i386/fpu/fenv_private.h: New file.
14108 * sysdeps/i386/fpu/math_private.h: Use it.
14109 (math_opt_barrier, math_force_eval): Remove.
14110 (libc_feholdexcept_setround_53bit): Remove.
14111 (libc_feupdateenv_53bit): Remove.
14112 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14113 (math_opt_barrier, math_force_eval): Remove.
14114 (libc_feholdexcept): Remove.
14115 (libc_feholdexcept_setround): Remove.
14116 (libc_fetestexcept, libc_fesetenv): Remove.
14117 (libc_feupdateenv_test): Remove.
14118 (libc_feupdateenv, libc_feholdsetround): Remove.
14119 (libc_feresetround): Remove.
14120
d0adc922
RH
14121 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14122 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14123
0fe0f1f8
RH
14124 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14125 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14126 (libc_feupdateenv_testl): New.
14127 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14128 (libc_feupdateenv_testf): New.
14129 (libc_feupdateenv): Use libc_feupdateenv_test.
14130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14131 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14132
eb92c487
RH
14133 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14134 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14135 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14136 (libc_feresetround_noex): New.
14137 (libc_feresetround_noexf): New.
14138 (libc_feresetround_noexl): New.
14139 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14140 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14141 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14142 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14143 SET_RESTORE_ROUND.
14144 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14146 (__cos): Likewise.
14147 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14148 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14149 SET_RESTORE_ROUND_NOEX.
14150 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14151 SET_RESTORE_ROUND_NOEXF.
14152 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14153 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14154 (libc_feholdsetroundf): New.
14155 (libc_feresetround, libc_feresetroundf): New.
14156
7d2e8012
RH
14157 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14158 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14159 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14160
b4dabbb4
RH
14161 * sysdeps/generic/math_private.h: Include <fenv.h>.
14162 (default_libc_feholdexcept): New.
14163 (default_libc_feholdexcept_setround): New.
14164 (default_libc_fesetenv, default_libc_feupdateenv): New.
14165 (libc_feholdexcept): Only define if undefined.
14166 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14167 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14168 (libc_feholdexcept_setroundl): Likewise.
14169 (libc_feholdexcept_setround_53bit): Likewise.
14170 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14171 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14172 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14173 (libc_feupdateenv_53bit): Likewise.
14174 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14175 (libc_feholdexcept): Convert from macro to inline function.
14176 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14177 (libc_fesetenv, libc_feupdateenv): Likewise.
14178
4851a949
RH
14179 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14180 not previously defined.
14181 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14182 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14183 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14184 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14185 * sysdeps/ieee754/flt-32/math_private.h: New file.
14186 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14187 math_private.h below SET_FLOAT_WORD.
14188 (__isnan, __isinf_ns, __finite): Remove.
14189 (__isnanf, __isinf_nsf, __finitef): Remove.
14190
e79d442e
AS
141912012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14192
14193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14194
90b80344
DM
141952012-03-17 David S. Miller <davem@davemloft.net>
14196
14197 [BZ #6471]
14198 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14199 for 2.16.
14200
edc21804
DM
142012012-03-16 David S. Miller <davem@davemloft.net>
14202
77e927af
DM
14203 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14204 warnings.
14205
374976dd
DM
14206 [BZ #6471]
14207 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14208 properly.
14209 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14210 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14211 sysdep_routines when subdir is sysvipc.
14212 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14213 __getshmlba helper.
14214
edc21804
DM
14215 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14216
473c3ef3
L
142172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14218
14219 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14220 [__LP64__].
14221
eb0f39b6
L
142222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14223
14224 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14225 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14226 (__lround): Renamed to ...
14227 (__llround): This. Replace long int with long long int.
14228 Define lround functions as aliases of llround functions.
14229 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14230
6b6cd74b
L
142312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14232
14233 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14234 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14235 adresses to uintptr_t. Replace "long int" and "unsigned long
14236 int" with "greg_t" on va_arg.
14237
f1a77b01
L
142382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14239
14240 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14241 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14242
14243 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14244 Move e_machine check before EI_CLASS check. Handle x32
14245 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14246 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14247 SKIP_EM_IA_64 and include
14248 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14249
14250 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14251 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14252 (add_system_dir): New macro.
14253
14254 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14255 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14256
11b90b9f
JM
142572012-03-16 Joseph Myers <joseph@codesourcery.com>
14258
c36e1d23
JM
14259 [BZ #2551]
14260 [BZ #2552]
14261 [BZ #2553]
14262 [BZ #2554]
14263 [BZ #2562]
14264 [BZ #2563]
14265 [BZ #2565]
14266 [BZ #2566]
14267 [BZ #2576]
14268 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14269 (y0): Likewise.
14270 * math/w_j0f.c (j0f): Likewise.
14271 (y0f): Likewise.
14272 * math/w_j0l.c (__j0l): Likewise.
14273 (__y0l): Likewise.
14274 * math/w_j1.c (j1): Likewise.
14275 (y1): Likewise.
14276 * math/w_j1f.c (j1f): Likewise.
14277 (y1f): Likewise.
14278 * math/w_j1l.c (__j1l): Likewise.
14279 (__y1l): Likewise.
14280 * math/w_jn.c (jn): Likewise.
14281 (yn): Likewise.
14282 * math/w_jnf.c (jnf): Likewise.
14283 (ynf): Likewise.
14284 * math/w_jnl.c (__jnl): Likewise.
14285 (__ynl): Likewise.
14286 * math/libm-test.inc (j0_test): Add more tests.
14287 (j1_test): Likewise.
14288 (jn_test): Likewise. Add trailing semicolon to existing test.
14289 (y0_test): Likewise.
14290 (y1_test): Likewise.
14291 * sysdeps/i386/fpu/libm-test-ulps: Update.
14292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14293
11b90b9f
JM
14294 [BZ #13851]
14295 [BZ #13854]
14296 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14297 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14298 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14299 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14300 (__tanl): Set errno for infinite argument.
14301 * sysdeps/i386/fpu/mptan.c: Remove.
14302 * sysdeps/i386/fpu/s_tan.S: Likewise.
14303 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14304 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14305 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14306 * math/libm-test.inc (tan_test): Add more tests and enable more
14307 tests for double and long double.
14308 * sysdeps/i386/fpu/libm-test-ulps: Update.
14309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14310
6a1bd2a1
JK
143112012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14312
14313 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14314 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14315
10a803e0
RM
143162012-03-16 Roland McGrath <roland@hack.frob.com>
14317
14318 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14319 * configure.in: Use it for both main tree and add-ons.
14320 * configure: Regenerated.
14321
f196c7f7
L
143222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14323
14324 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14325
8848d99d
JM
143262012-03-16 Joseph Myers <joseph@codesourcery.com>
14327
96cbe7f4
JM
14328 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14329 in comment.
14330
8848d99d
JM
14331 [BZ #13851]
14332 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14333 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14337 infinite argument.
14338 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14339 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14340 != 0 for prec == 2.
14341 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14342 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14343 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14344 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14345 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14346 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14347 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14348 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14349 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14350 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14351 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14352 * math/libm-test.inc (cos_test): Add more tests and enable more
14353 tests for long double.
14354 (sin_test): Likewise.
14355 (sincos_test): Likewise.
14356 * sysdeps/i386/fpu/libm-test-ulps: Update.
14357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14358
dd7f4703
DM
143592012-03-16 David S. Miller <davem@davemloft.net>
14360
14361 * sysdeps/sparc/fpu/math_private.h: New file.
14362
006f1daa
DM
143632012-03-15 David S. Miller <davem@davemloft.net>
14364
c0c83bc8
DM
14365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14366 file.
e6a62e18 14367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14369 file.
e6a62e18
DM
14370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14376 sysdep routines.
14377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14378
88cb87d9
DM
14379 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14380 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14381
006f1daa 14382 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14384 sparc-ifunc.h
006f1daa 14385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14387 Likewise.
14388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14389 Likewise.
006f1daa
DM
14390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14394 Likewise.
006f1daa
DM
14395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14400 Likewise.
14401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14402 Likewise.
006f1daa
DM
14403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14410 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14421 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14423 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14424 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14425 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14427
11e0098e
AS
144282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14429
14430 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14431 scaling.
14432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14433
e85b09d0
AJ
144342012-03-15 Andreas Jaeger <aj@suse.de>
14435
14436 [BZ #13852]
14437 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14438 ieee754/flt-32 implementation for sin, cos and sincos.
14439 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14440 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14441 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14442 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14443 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14444 ieee754/flt-32 implementation for tan.
14445
14446 * math/libm-test.inc (cos_test): Enable some large input tests for
14447 float as well
14448 (sin_test): Likewise.
14449 (sincos_test): Likewise.
14450 (tan_test): Add tests for large input.
14451
14452 * sysdeps/i386/fpu/libm-test-ulps: Update.
14453
81c64153
AJ
144542012-03-15 Andreas Jaeger <aj@suse.de>
14455
14456 [BZ #13658]
14457 * math/libm-test.inc (cos_test): Add more test cases.
14458 (sin_test): Likewise.
14459 (sincos_test): Likewise.
14460
7bbfa5c6
AJ
144612012-03-15 Andreas Jaeger <aj@suse.de>
14462
14463 [BZ #13837]
14464 * math/libm-test.inc (cos_test): Add a test case for large input
14465 value.
14466 (sin_test): Likewise.
14467 (sincos_test): Likewise.
14468
144692012-03-15 Andreas Jaeger <aj@suse.de>,
14470 Joseph Myers <joseph@codesourcery.com>
14471
14472 [BZ #13658]
0671f479 14473 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14474 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14475 * sysdeps/i386/fpu/branred.c: Likewise.
14476 * sysdeps/i386/fpu/dosincos.c: Likewise.
14477 * sysdeps/i386/fpu/mpa.c: Likewise.
14478 * sysdeps/i386/fpu/s_cos.S: Likewise.
14479 * sysdeps/i386/fpu/s_sin.S: Likewise.
14480 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14481 * sysdeps/i386/fpu/sincos32.c: Likewise.
14482
14483 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14484 Define.
14485 (libc_feupdateenv_53bit): Define.
14486 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14487 Define.
14488 (libc_feupdateenv_53bit): Define.
14489
14490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14491 53 bit (without extend i386 double precision).
14492
14493 * math/libm-test.inc (sincos_test): Add tests for large input.
14494 (sin): Likewise.
14495 (cos): Likewise.
14496
14497 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14498
9cad04ea
AS
144992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14500
14501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14502
f7062b9a
DM
145032012-03-15 David S. Miller <davem@davemloft.net>
14504
14505 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14506 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14507 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14508 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14521 file.
f7062b9a 14522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14524 file.
f7062b9a 14525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14527 file.
f7062b9a 14528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14530 file.
f7062b9a
DM
14531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14532 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14533 fmin/fmax sysdep routines.
14534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14535
7bd951ff
DM
145362012-03-14 David S. Miller <davem@davemloft.net>
14537
559398ab
DM
14538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14540 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14542 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14543 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14544 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14545 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14558 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14559 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14560 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14561 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14562 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14563 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14564 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14565 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14567 routines.
14568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14569 file.
559398ab 14570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14572 file.
559398ab 14573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14575 file.
559398ab 14576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14578 file.
559398ab 14579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14581 file.
559398ab 14582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14584 file.
14585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14586 file.
14587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14588 file.
14589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14590 file.
14591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14592 New file.
14593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14594 file.
14595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14596 file.
559398ab 14597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14599 file.
559398ab 14600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14602 file.
559398ab 14603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14605 file.
559398ab 14606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14608 VIS3 routines.
559398ab
DM
14609
14610 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14611 New file.
14612
5a1c1e32
DM
14613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14614
eae47a36
DM
14615 * sysdeps/sparc/configure.in: New file.
14616 * sysdeps/sparc/configure: Generate.
14617 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14618 * configure: Regenerate.
14619 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14620 * config.make.in (have-as-vis3): New.
14621 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14622 available use -Av9d instead of -Av9a.
14623 * sysdeps/sparc/sparc64/Makefile: Likewise.
14624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14626 New file.
14627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14628 file.
14629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14630 New file.
14631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14632 file.
eae47a36
DM
14633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14636 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14637 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14638
c0c83bc8
DM
14639 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14640 fzeros/fnegs to load 0x80000000 into a float register instead of
14641 using the stack.
7bd951ff
DM
14642 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14643
bd951ccb
JM
146442012-03-14 Joseph Myers <joseph@codesourcery.com>
14645
14646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14647 bits/syscall.h.
14648 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14649 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14650 ($(inst_includedir)/bits/syscall.h): Remove rule.
14651 ($(objpfx)bits/syscall.d): Include instead of
14652 $(objpfx)syscall-list.d.
14653 (generated): Change syscall-list.h and syscall-list.d to
14654 bits/syscall.h and bits/syscall.d.
14655
bb4e6db2
RM
146562012-03-14 Roland McGrath <roland@hack.frob.com>
14657
14658 [BZ #13846]
14659 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14660
aa4a2ae1
JM
146612012-03-14 Joseph Myers <joseph@codesourcery.com>
14662
e456826d
JM
14663 [BZ #13841]
14664 * math/s_csqrt.c: Include <float.h>.
14665 (__csqrt): Scale large or subnormal inputs.
14666 * math/s_csqrtf.c: Likewise.
14667 * math/s_csqrtl.c: Likewise.
14668 * math/libm-test.inc (csqrt_test): Add more tests.
14669 * sysdeps/i386/fpu/libm-test-ulps: Update.
14670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14671
aa4a2ae1
JM
14672 [BZ #13840]
14673 * math/libm-test.inc (hypot_test): Add more tests.
14674
7c10fd35
DM
146752012-03-13 David S. Miller <davem@davemloft.net>
14676
14677 [BZ #13840]
14678 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14679 double-precision for the calculation instead of scaling.
14680
f453b98b
JM
146812012-03-13 Joseph Myers <joseph@codesourcery.com>
14682
14683 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14684 manipulate bits before adding and subtracting TWO52[sx].
14685 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14686 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14687 Likewise.
14688 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14689
09a3453f
DM
146902012-03-13 David S. Miller <davem@davemloft.net>
14691
8e59da90
DM
14692 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14693 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14695 rtld-global-offsets.h
14696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14697
2a8ab7f2
DM
14698 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14699 large parameters.
14700
10f62770
DM
14701 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14702
5f0bdb18
DM
14703 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14704 'err' in the ifdef scope in which it is actually used.
14705
09a3453f
DM
14706 * nss/nss_db/db-init.c: Include string.h
14707
b4b2eb5e
DM
147082012-03-12 David S. Miller <davem@davemloft.net>
14709
98bb2f1c
DM
14710 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14711 masking out of the most significant byte of random value used.
14712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14713 Fix coding style in previous change.
14714
b4b2eb5e
DM
14715 * sysdeps/unix/sysv/linux/kernel-features.h
14716 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14717 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14718 expression.
14719 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14720 later.
14721
6e226b09
DM
147222012-03-11 David S. Miller <davem@davemloft.net>
14723
a1bcbd40
DM
14724 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14725 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14726 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14727 for 'resultvar' otherwise things get truncated on 64-bit.
14728
cb9d6174
DM
14729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14730 Fix masking out of the most significant byte of random value used.
14731
6e226b09
DM
14732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14733
058c132d
AS
147342012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14735
14736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14737
2d2cd515
DM
147382012-03-09 David S. Miller <davem@davemloft.net>
14739
14740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14741 variables with appropriate CPP guards.
14742 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14743 frame pointer, not the stack pointer. Correct layout comments. Fix test
14744 on resulting framesize and the management of the outregs buffer for pltexit.
14745 Preserve floating point return values across _dl_call_pltexit call.
14746 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14747 framesize and the management of the outregs buffer for pltexit.
14748 Preserve floating point return values across _dl_call_pltexit
14749 call.
14750 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14751 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14752 (print_exit): Fix format string for return register value.
14753
9a07f9d0
JM
147542012-03-10 Joseph Myers <joseph@codesourcery.com>
14755
14756 * sunrpc/Makefile (others): Add rpcgen.
14757 ($(objpfx)rpcgen): Remove special build rule and dependency on
14758 libc.
14759 * sunrpc/rpcgen.c: New file.
14760
547b5e30
PE
147612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14762
c524201a
PE
14763 [BZ #13673]
14764 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14765 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14766 * sysdeps/i386/crti.S: Likewise.
14767 * sysdeps/i386/crtn.S: Likewise.
14768 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14769 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14770 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14771 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14772 * sysdeps/sh/crti.S: Likewise.
14773 * sysdeps/sh/crtn.S: Likewise.
14774 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14775
7b6235f2
PE
14776 [BZ #13673]
14777 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14778 with URL.
14779 * locale/programs/locfile-kw.gperf: Likewise.
14780 * locale/programs/charmap-kw.h: Regenerated.
14781 * locale/programs/locfile-kw.h: Likewise.
14782
547b5e30
PE
14783 [BZ #13673]
14784 * intl/plural.y: Replace FSF snail mail address with URL.
14785 * intl/plural.c: Regenerated.
14786
5f0a5dae
RH
147872012-03-09 Richard Henderson <rth@twiddle.net>
14788
14789 * include/math_private.h: Remove file.
14790 * math/math_private.h: Move file ...
14791 * sysdeps/generic/math_private.h: ... here.
14792
b8c03620
RH
14793 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14794 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14795 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14796
4e234f5d 14797 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14798 and <math_private.h>.
14799 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14800 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14801 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14802 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14803 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14804 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14805 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14807 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14808 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14825 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14830 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14831 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14832 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14833 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14834 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14835 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14836 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14837 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14838 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14839 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14840 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14841 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14842 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14843 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14844 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14845 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14846 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14847 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14848 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14849 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14850 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14851 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14852 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14853 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14854 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14855 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14856 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14857 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14858 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14859 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14860 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14862 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14863 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14864 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14865 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14866 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14867 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14868 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14869 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14870 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14871 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14872 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14873 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14876 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14877 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14882 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14883 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14885 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14886 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14887 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14890 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14891 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14892 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14893 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14894 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14895 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14896 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14897 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14898 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14899 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14900 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14901 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14902 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14903 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14904 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14905 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14906 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14907 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14908 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14909 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14910 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14911 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14912 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14913 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14914 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14915 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14916 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14917 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14918 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14919 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14920 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14921 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14922 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14923 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14924 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14925 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14926 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14927 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14928 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14929 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14930 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14931 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14932 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14933 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14934 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14935 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14936 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14937 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14938 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14939 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14940 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14941 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14942 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14943 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14944 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14945 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14946 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14947 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14948 * sysdeps/ieee754/k_standard.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14955 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14958 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14959 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14966 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14969 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15008 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15010 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15011 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15016 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15017 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15022 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15023 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15024 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15026 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15027 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15029 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15031 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15032 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15033 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15034 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15035 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15036 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15037 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15039 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15040 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15042 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15048 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15049 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15052 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15054 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15055 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15056 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15058 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15059 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15060 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15061 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15062 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15063 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15064 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15065 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15066 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15067 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15068 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15069 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15070 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15071 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15072 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15075 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15076 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15077 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15078 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15080 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15081 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15082 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15083 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15085 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15086 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15087 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15088 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15089 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15090 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15091 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15092 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15093 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15094 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15095 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15096 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15097 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15098 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15099 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15100 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15103 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15104 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15105 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15106 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15107 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15108 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15109 * sysdeps/ieee754/s_lib_version.c: Likewise.
15110 * sysdeps/ieee754/s_matherr.c: Likewise.
15111 * sysdeps/ieee754/s_signgam.c: Likewise.
15112 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15113 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15114 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15115 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15116 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15117 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15118 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15119 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15120 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15121 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15122 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15123 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15124 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15125 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15126 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15127 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15128 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15129 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15130 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15132 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15133
1991fa03
JM
151342012-03-09 Joseph Myers <joseph@codesourcery.com>
15135
15136 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15137 * sunrpc/rpc_main.c: Likewise.
15138 * sunrpc/rpc_svcout.c: Likewise.
15139
60d6f5a6
DM
151402012-03-09 David S. Miller <davem@davemloft.net>
15141
15142 * include/math_private.h: New file.
15143
4962050e
JM
151442012-03-09 Joseph Myers <joseph@codesourcery.com>
15145
02a6f887
JM
15146 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15147 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15148 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15149 from <bits/socket_type.h>.
15150 (enum __socket_type): Don't define here.
15151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15153 bits/socket_type.h.
15154
c6e013c1
JM
15155 [BZ #13566]
15156 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15157 checking __USE_GNU.
15158
4962050e
JM
15159 * Makerules ($(inst_includedir)/%.h): New rule.
15160 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15161 (install-others): Remove variable setting.
15162 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15163
38842f45
RH
151642012-03-08 Richard Henderson <rth@twiddle.net>
15165
67bb6da6
RH
15166 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15167 from macro to inline function; merge with the
15168 !__LIBC_INTERNAL_MATH_INLINES version.
15169 (__ieee754_sqrtf): Likewise.
15170
15194b4b
RH
15171 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15172 to inline function.
15173 (__rintf, __floor, __floorf): Likewise.
15174
64e21ede
RH
15175 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15176 macro to inline function.
15177 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15178
38842f45
RH
15179 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15180 not <math/math_private.h>.
15181
c64bf5fe
DM
151822012-03-08 David S. Miller <davem@davemloft.net>
15183
15184 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15185 copyright year.
15186 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15187
82d86f28
TS
151882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15189
15190 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15191 normalization.
15192 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15193 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15194
aea5d727
UD
151952012-03-08 Ulrich Drepper <drepper@gmail.com>
15196
15197 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15198 be defined individually, they must be defined as a block. Define
15199 S for printing a string instead of hidint the different by using a
15200 macro for adding the 'l'.
15201 * stdio-common/tst-fphex-wide.c: Adjust.
15202
70bca0a3
MP
152032012-03-07 Marek Polacek <polacek@redhat.com>
15204
15205 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15206
65b81130
MP
152072012-03-08 Marek Polacek <polacek@redhat.com>
15208
15209 [BZ #13806]
15210 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15211 * stdio-common/tst-fphex.c: Define a few macros to make the
15212 test reusable. Use them.
15213 * stdio-common/tst-fphex-wide.c: New file.
15214
07037eeb
JM
152152012-03-08 Joseph Myers <joseph@codesourcery.com>
15216
a7a93d50
JM
15217 [BZ #6911]
15218 * manual/macros.texi (gnusystems): New macro.
15219 (nongnusystems): Likewise.
15220 (gnulinuxhurdsystems): Likewise.
15221 (gnuhurdsystems): Likewise..
15222 (gnulinuxsystems): Likewise.
15223 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15224 variants of the GNU system, not "GNU system".
15225 * manual/conf.texi: Likewise.
15226 * manual/errno.texi: Likewise. Update example of errno macro
15227 expansion.
15228 * manual/filesys.texi: Likewise.
15229 (getumask): Document as specific to GNU/Hurd.
15230 * manual/install.texi: Likewise. Reword some references to
15231 GNU/Linux.
15232 * manual/intro.texi: Likewise.
15233 * manual/io.texi: Likewise.
15234 (File Name Portability): Detail which constraints are inapplicable
15235 to all GNU systems and which are only inapplicable to GNU/Hurd.
15236 * manual/job.texi: Likewise.
15237 * manual/llio.texi: Likewise.
15238 (O_NOCTTY): Document as present on GNU/Linux.
15239 * manual/maint.texi: Likewise.
15240 * manual/memory.texi: Likewise.
15241 * manual/pattern.texi: Likewise.
15242 * manual/pipe.texi: Likewise.
15243 * manual/process.texi: Likewise.
15244 * manual/resource.texi: Likewise.
15245 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15246 child on GNU/Hurd.
15247 * manual/setjmp.texi: Likewise.
15248 * manual/signal.texi: Likewise.
15249 * manual/startup.texi: Likewise.
15250 * manual/stdio.texi: Likewise.
15251 * manual/terminal.texi: Likewise.
15252 (ONLCR): Document as POSIX.
15253 (OXTABS): Document availability on GNU/Linux as XTABS.
15254 (ONOEOT): Document availability separately from other bits.
15255 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15256 * manual/time.texi: Likewise.
15257 * manual/users.texi: Likewise.
15258 * INSTALL: Regenerated.
15259 * sysdeps/gnu/errlist.c: Regenerated.
15260
07037eeb
JM
15261 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15262 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15263 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15264 puts.
15265 * configure: Regenerated.
15266
d1d3431a
JM
152672012-03-07 Joseph Myers <joseph@codesourcery.com>
15268
af6a1e37
JM
15269 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15270 default includes instead of AC_HEADER_CHECK.
15271 * sysdeps/i386/configure: Regenerated.
15272
d1d3431a
JM
15273 [BZ #10716]
15274 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15275 * math/s_cacoshf.c (__cacoshf): Likewise.
15276 * math/s_cacoshl.c (__cacoshl): Likewise.
15277 * math/s_casinh.c (__casinh): Set signs of result from argument.
15278 * math/s_casinhf.c (__casinhf): Likewise.
15279 * math/s_casinhl.c (__casinhl): Likewise.
15280 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15281 (casinh_test): Add more tests.
15282 * sysdeps/i386/fpu/libm-test-ulps: Update.
15283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15284
482ff4da
UD
152852012-03-07 Ulrich Drepper <drepper@gmail.com>
15286
872fda05
UD
15287 * po/zh_TW.po: Update from translation team.
15288
a4300c7a
UD
15289 * login/Makefile (distribute): Remove variable.
15290 * catgets/Makefile: Likewise.
15291 * mach/Makefile: Likewise.
15292 * malloc/Makefile: Likewise.
15293 * misc/Makefile: Likewise.
15294 * iconv/Makefile: Likewise.
15295 * nscd/Makefile: Likewise.
15296 * hurd/Makefile: Likewise.
15297 * manual/Makefile: Likewise.
15298 * locale/Makefile: Likewise.
15299 * intl/Makefile: Likewise.
15300 * conform/Makefile: Likewise.
15301 * nss/Makefile: Likewise.
15302 * time/Makefile: Likewise.
15303 * soft-fp/Makefile: Likewise.
15304 * dirent/Makefile: Likewise.
15305 * gmon/Makefile: Likewise.
15306 * po/Makefile: Likewise.
15307 * rt/Makefile: Likewise.
15308 * socket/Makefile: Likewise.
15309 * math/Makefile: Likewise.
15310 * signal/Makefile: Likewise.
15311 * debug/Makefile: Likewise.
15312 * elf/Makefile: Likewise.
15313 * timezone/Makefile: Likewise.
15314 * stdlib/Makefile: Likewise.
15315 * iconvdata/Makefile: Likewise.
15316 * sunrpc/Makefile: Likewise.
15317 * io/Makefile: Likewise.
15318 * argp/Makefile: Likewise.
15319 * inet/Makefile: Likewise.
15320 * hesiod/Makefile: Likewise.
15321 * grp/Makefile: Likewise.
15322 * csu/Makefile: Likewise.
15323 * wctype/Makefile: Likewise.
15324 * crypt/Makefile: Likewise.
15325 * libio/Makefile: Likewise.
15326 * string/Makefile: Likewise.
15327 * nis/Makefile: Likewise.
15328 * resolv/Makefile: Likewise.
15329 * stdio-common/Makefile: Likewise.
15330 * wcsmbs/Makefile: Likewise.
15331 * dlfcn/Makefile: Likewise.
15332 * posix/Makefile: Likewise.
15333
3b7c4e74 15334 [BZ #6959]
482ff4da
UD
15335 * timezone/Makefile: Don't install timezone files, just the programs
15336 and scripts.
15337
f72ed77d
UD
153382012-03-06 Ulrich Drepper <drepper@gmail.com>
15339
a000466f
UD
15340 * nss/databases.def: Add missing gshadow entry.
15341
f72ed77d
UD
15342 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15343
a53b7a4e
MP
153442012-03-06 Marek Polacek <polacek@redhat.com>
15345
15346 [BZ #13726]
15347 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15348 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15349 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15350 * stdio-common/tst-long-dbl-fphex.c: New file.
15351
e9258400
DM
153522012-03-06 David S. Miller <davem@davemloft.net>
15353
15354 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15355 (set_obp_int): New function.
15356 (get_obp_int): New function.
15357 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15358 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15359 Avoid unused variable warnings on 'val' and use builtin_expect.
15360 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15361 __builtin_expect.
e9258400
DM
15362 (INLINE_CLONE_SYSCALL): Likewise.
15363
3bd2c723
DM
153642012-03-05 David S. Miller <davem@davemloft.net>
15365
15366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15367
bbb78d03
AS
153682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15369
884c5db4
AS
15370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15371
bbb78d03
AS
15372 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15373 only for |x| >= 40.
15374 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15375
1c9f702a 153762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15377
15378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15379 Replace gettimeofday with __vdso_gettimeofday.
15380
7be16f82
RM
15381 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15382 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15383 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15384
15385 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15386 time with __vdso_time.
15387
ed58a00f
JM
153882012-03-05 Joseph Myers <joseph@codesourcery.com>
15389
15390 * manual/lang.texi (size_t): Note types to which size_t may be
15391 equivalent with the GNU C Library, but do not describe when
15392 differences between them are significant.
15393
30ee4ced
AJ
153942012-03-05 Andreas Jaeger <aj@suse.de>
15395
15396 * sysdeps/i386/fpu/libm-test-ulps: Update.
15397
b7cd39e8
JM
153982012-03-05 Joseph Myers <joseph@codesourcery.com>
15399
15400 [BZ #3976]
15401 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15402 (__ieee754_pow): Save and restore rounding mode and use
15403 round-to-nearest for main computations.
15404 * math/libm-test.inc (pow_test_tonearest): New function.
15405 (pow_test_towardzero): Likewise.
15406 (pow_test_downward): Likewise.
15407 (pow_test_upward): Likewise.
15408 (main): Call the new functions.
15409 * sysdeps/i386/fpu/libm-test-ulps: Update.
15410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15411
15412 [BZ #3976]
15413 * math/libm-test.inc (cosh_test_tonearest): New function.
15414 (cosh_test_towardzero): Likewise.
15415 (cosh_test_downward): Likewise.
15416 (cosh_test_upward): Likewise.
15417 (sinh_test_tonearest): Likewise.
15418 (sinh_test_towardzero): Likewise.
15419 (sinh_test_downward): Likewise.
15420 (sinh_test_upward): Likewise.
15421 (main): Call the new functions.
15422 * sysdeps/i386/fpu/libm-test-ulps: Update.
15423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15424
6c6a98c9
TV
154252012-03-05 Tom de Vries <tom@codesourcery.com>
15426
15427 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15428 default stack guard is set in last bytes.
15429 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15430
21bb2d2e 154312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15432
21bb2d2e 15433 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15434
21bb2d2e
AJ
15435 [BZ #13656]
15436 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15437 possibly allocate from heap instead of stack.
15438 * stdio-common/bug-vfprintf-nargs.c: New file.
15439 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15440
c6922934
AS
154412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15442
15443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15444
bc957d53
MP
154452012-03-03 Marek Polacek <polacek@redhat.com>
15446
15447 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15448 * math/math_private.h: Likewise.
15449 * stdlib/tst-strtod.c: Likewise.
15450 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15451 * sysdeps/x86_64/bits/atomic.h: Likewise.
15452
6358490d
DM
154532012-03-02 David S. Miller <davem@davemloft.net>
15454
15455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15459 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15460 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15461 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15462 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15463
01ae168d
RM
154642012-03-02 Roland McGrath <roland@hack.frob.com>
15465
d9a17c07
RM
15466 [BZ #13792]
15467 * manual/examples/README: New file, says the example source files
15468 can be used under GPL>=2.
15469 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15470 line containing just "*/".
15471 * manual/examples/add.c: Add copyright header (GPL>=2).
15472 * manual/examples/argp-ex1.c: Likewise.
15473 * manual/examples/argp-ex2.c: Likewise.
15474 * manual/examples/argp-ex3.c: Likewise.
15475 * manual/examples/argp-ex4.c: Likewise.
15476 * manual/examples/atexit.c: Likewise.
15477 * manual/examples/db.c: Likewise.
15478 * manual/examples/dir.c: Likewise.
15479 * manual/examples/dir2.c: Likewise.
15480 * manual/examples/execinfo.c: Likewise.
15481 * manual/examples/filecli.c: Likewise.
15482 * manual/examples/filesrv.c: Likewise.
15483 * manual/examples/fmtmsgexpl.c: Likewise.
15484 * manual/examples/genpass.c: Likewise.
15485 * manual/examples/inetcli.c: Likewise.
15486 * manual/examples/inetsrv.c: Likewise.
15487 * manual/examples/isockad.c: Likewise.
15488 * manual/examples/longopt.c: Likewise.
15489 * manual/examples/memopen.c: Likewise.
15490 * manual/examples/memstrm.c: Likewise.
15491 * manual/examples/mkfsock.c: Likewise.
15492 * manual/examples/mkisock.c: Likewise.
15493 * manual/examples/mygetpass.c: Likewise.
15494 * manual/examples/pipe.c: Likewise.
15495 * manual/examples/popen.c: Likewise.
15496 * manual/examples/rprintf.c: Likewise.
15497 * manual/examples/search.c: Likewise.
15498 * manual/examples/select.c: Likewise.
15499 * manual/examples/setjmp.c: Likewise.
15500 * manual/examples/sigh1.c: Likewise.
15501 * manual/examples/sigusr.c: Likewise.
15502 * manual/examples/stpcpy.c: Likewise.
15503 * manual/examples/strdupa.c: Likewise.
15504 * manual/examples/strftim.c: Likewise.
15505 * manual/examples/strncat.c: Likewise.
15506 * manual/examples/subopt.c: Likewise.
15507 * manual/examples/swapcontext.c: Likewise.
15508 * manual/examples/termios.c: Likewise.
15509 * manual/examples/testopt.c: Likewise.
15510 * manual/examples/testpass.c: Likewise.
15511 * manual/examples/timeval_subtract.c: Likewise.
15512
01ae168d
RM
15513 [BZ #13792]
15514 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15515 function to ...
15516 * manual/timeval_subtract.c.texi: ... here, new file.
15517
49efa33d
DM
155182012-03-02 David S. Miller <davem@davemloft.net>
15519
15520 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15521
28afd92d
JM
155222012-03-02 Joseph Myers <joseph@codesourcery.com>
15523
804360ed
JM
15524 [BZ #3976]
15525 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15526 (__sin): Save and restore rounding mode and use round-to-nearest
15527 for all computations.
15528 (__cos): Save and restore rounding mode and use round-to-nearest
15529 for all computations.
15530 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15531 <fenv.h>.
15532 (tan): Save and restore rounding mode and use round-to-nearest for
15533 all computations.
15534 * math/libm-test.inc (cos_test_tonearest): New function.
15535 (cos_test_towardzero): Likewise.
15536 (cos_test_downward): Likewise.
15537 (cos_test_upward): Likewise.
15538 (sin_test_tonearest): Likewise.
15539 (sin_test_towardzero): Likewise.
15540 (sin_test_downward): Likewise.
15541 (sin_test_upward): Likewise.
15542 (tan_test_tonearest): Likewise.
15543 (tan_test_towardzero): Likewise.
15544 (tan_test_downward): Likewise.
15545 (tan_test_upward): Likewise.
15546 (main): Call the new functions.
15547 * sysdeps/i386/fpu/libm-test-ulps: Update.
15548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15549
a6d06d7b
JM
15550 [BZ #10135]
15551 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15552 small n, then large n, before computing and testing k+n.
15553 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15555 Likewise.
15556 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15557 Likewise.
15558 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15559 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15560 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15561 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15563 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15564 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15565 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15566 * math/libm-test.inc (scalbn_test): Add more tests.
15567 (scalbln_test): Likewise.
15568
07e12bb3
JM
15569 * manual/filesys.texi (mode_t): Describe constraints on size and
15570 signedness, not exact equivalence to a particular type.
15571 (ino_t): Likewise.
15572 (ino64_t): Likewise.
15573 (dev_t): Likewise.
15574 (nlink_t): Likewise.
15575 (blkcnt_t): Likewise.
15576 (blkcnt64_t): Likewise.
15577 * manual/llio.texi (off_t): Likewise.
15578
28afd92d
JM
15579 [BZ #3976]
15580 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15581 (__ieee754_exp): Save and restore rounding mode and use
15582 round-to-nearest for all computations.
15583 * math/libm-test.inc (exp_test_tonearest): New function.
15584 (exp_test_towardzero): Likewise.
15585 (exp_test_downward): Likewise.
15586 (exp_test_upward): Likewise.
15587 (main): Call the new functions.
15588 * sysdeps/i386/fpu/libm-test-ulps: Update.
15589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15590
b1eeb65d
CD
155912012-03-01 Chris Demetriou <cgd@google.com>
15592
15593 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15594 have predictable order.
15595
53362a4b
DM
155962012-03-01 David S. Miller <davem@davemloft.net>
15597
3c969083
DM
15598 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15599
759707de
DM
15600 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15601 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15602 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15603 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15604
dfdb8ff2
DM
15605 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15606 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15607 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15609 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15610 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15611 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15612 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15613 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15614
ead89f96
DM
15615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15616
7f66bd07
DM
15617 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15618 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15619 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15620
53362a4b
DM
15621 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15622 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15623 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15624 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15625 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15626 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15627 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15628 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15629 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15630 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15631 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15632 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15634 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15635 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15637 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15638 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15639 * sysdeps/sparc/elf/configure: Regenerated.
15640
7b1902cb
JM
156412012-03-01 Joseph Myers <joseph@codesourcery.com>
15642
bec039bc
JM
15643 * configure.in (AS, LD): Require binutils 2.20 or later.
15644 * configure: Regenerated.
15645 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15646 as required minimum version.
15647 * INSTALL: Regenerated.
15648
7b1902cb
JM
15649 [BZ #2541]
15650 [BZ #4108]
15651 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15652 before squaring exponent.
15653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15654 bottom long double and 27 bits of top long double before squaring
15655 exponent.
15656 * math/libm-test.inc (erfc_test): Add more tests.
15657 * sysdeps/i386/fpu/libm-test-ulps: Update.
15658 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15660
f775c276
KT
156612012-03-01 Kai Tietz <ktietz@redhat.com>
15662
15663 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15664 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15665 containing bit-fields.
15666 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15667 * soft-fp/single.h (_FP_UNION_S): Likewise.
15668 * soft-fp/double.h (_FP_UNION_D): Likewise.
15669
5b8a4d4a
JM
156702012-02-29 Joseph Myers <joseph@codesourcery.com>
15671
0bab47b6
JM
15672 [BZ #13786]
15673 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15674 not include ../strcmp.S.
15675 [USE_AS_STRNCASECMP_L]: Likewise.
15676 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15677 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15678 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15679 (__strncasecmp_l_ia32): Define as alias to
15680 __strncasecmp_l_nonascii.
15681
0fcad3e2
JM
15682 [BZ #5794]
15683 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15684 * sysdeps/i386/fpu/libm-test-ulps: Update.
15685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15686
5b8a4d4a
JM
15687 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15689
8fdceb2e
JL
156902012-02-29 Jeff Law <law@redhat.com>
15691
15692 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15693 out of bounds read.
15694
1f393a11
MP
156952012-02-29 Marek Polacek <polacek@redhat.com>
15696
15697 [BZ #13706]
15698 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15699 * elf/Makefile: Add rules to run tst-unused-dep.out.
15700
8847f037
DM
157012012-02-28 David S. Miller <davem@davemloft.net>
15702
15703 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15704 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15706 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15707 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15708 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15709
169d7f11
JM
157102012-02-29 Joseph Myers <joseph@codesourcery.com>
15711
15712 * math/libm-test.inc (llround_test): Move one test from
15713 lround_test. Use TEST_f_L in moved test.
15714 (lround_test): Move misplaced test to llround_test. Add testcase
15715 from bug 2561.
15716
39adf059
UD
157172012-02-28 Ulrich Drepper <drepper@gmail.com>
15718
15719 * sysdeps/x86_64/fpu/e_expf.S: New file.
15720 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15721
71b5d1c5
SB
157222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15723
15724 [BZ #13637]
15725 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15726 of remain_len that may cause incomplete multi-byte character and
15727 false match.
15728 * posix/bug-regex33.c: New file.
15729 * posix/Makefile (tests): Add bug-regex33.
15730
1f77f049
JM
157312012-02-28 Joseph Myers <joseph@codesourcery.com>
15732
15733 * manual/macros.texi: New file.
15734 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15735 * manual/libc.texinfo: Include macros.texi.
15736 * manual/creatute.texi: Likewise.
15737 * manual/install.texi: Likewise.
15738 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15739 @glibcadj{} in references to the GNU C Library.
15740 * manual/charset.texi: Likewise.
15741 * manual/conf.texi: Likewise.
15742 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15743 when not using those macros.
15744 * manual/creature.texi: Likewise.
15745 * manual/crypt.texi: Likewise.
15746 * manual/errno.texi: Likewise.
15747 * manual/filesys.texi: Likewise.
15748 * manual/header.texi: Likewise.
15749 * manual/install.texi: Likewise.
15750 * manual/intro.texi: Likewise.
15751 * manual/io.texi: Likewise.
15752 * manual/job.texi: Likewise.
15753 * manual/lang.texi: Likewise.
15754 * manual/libc.texiinfo: Likewise.
15755 * manual/llio.texi: Likewise.
15756 * manual/locale.texi: Likewise.
15757 * manual/maint.texi: Likewise.
15758 * manual/math.texi: Likewise.
15759 * manual/memory.texi: Likewise.
15760 * manual/message.texi: Likewise.
15761 * manual/nss.texi: Likewise.
15762 * manual/pattern.texi: Likewise.
15763 * manual/process.texi: Likewise.
15764 * manual/resource.texi: Likewise.
15765 * manual/search.texi: Likewise.
15766 * manual/setjmp.texi: Likewise.
15767 * manual/signal.texi: Likewise.
15768 * manual/socket.texi: Likewise.
15769 * manual/startup.texi: Likewise.
15770 * manual/stdio.texi: Likewise.
15771 * manual/string.texi: Likewise.
15772 * manual/sysinfo.texi: Likewise.
15773 * manual/syslog.texi: Likewise.
15774 * manual/terminal.texi: Likewise.
15775 * manual/time.texi: Likewise.
15776 * manual/users.texi: Likewise.
15777 * INSTALL: Regenerated.
15778 * NOTES: Regenerated.
d40c5d54 15779 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15780
450bf206
AS
157812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15782
15783 * include/dirent.h: Include <dirstream.h> before
15784 <dirent/dirent.h>.
15785
741a235b
DM
157862012-02-28 David S. Miller <davem@davemloft.net>
15787
15788 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15789 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15790 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15791 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15792
d6b5aa58
DM
157932012-02-27 David S. Miller <davem@davemloft.net>
15794
1aff59a3
DM
15795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15797 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15798 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15799
d6b5aa58
DM
15800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15801 frame pointer instead of stack pointer relative arg slot.
15802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15803 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15804 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15805
433f48bf
CD
158062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15807
15808 [BZ #3992]
15809 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15810
d674b76d
DM
158112012-02-27 David S. Miller <davem@davemloft.net>
15812
15813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15817 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15818 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15819 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15820 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15821
0e7727f7
JM
158222012-02-27 Joseph Myers <joseph@codesourcery.com>
15823
15824 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15825 later. Allow versions 5-9.
43be4ca2 15826 * configure: Regenerated.
0e7727f7
JM
15827 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15828 required minimum version and 4.6 as recommended version. Do not
15829 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15830 * INSTALL: Regenerated.
0e7727f7 15831
a78bc654
DM
158322012-02-27 David S. Miller <davem@davemloft.net>
15833
428d5830
DM
15834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15838 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15839 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15840 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15841 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15842
a78bc654
DM
15843 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15844 manipulate bits before adding and subtracting TWO112[sx].
15845 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15846
4579f81c
RM
158472012-02-27 Roland McGrath <roland@hack.frob.com>
15848
36c8acb4
RM
15849 [BZ #13775]
15850 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15851 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15852 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15853 being in POSIX, because they are in 1003.1-2008.
15854
84ad622b
RM
15855 * rt/tst-aio.c: Include <fcntl.h>.
15856 * rt/tst-aio7.c: Likewise.
15857 * rt/tst-aio64.c: Likewise.
15858
4579f81c
RM
15859 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15860
abd923db
JM
158612012-02-27 Joseph Myers <joseph@codesourcery.com>
15862
15863 * manual/install.texi (--with-headers): Describe headers as
15864 interface headers, not private headers.
15865 (Specific advice for GNU/Linux systems): Describe use of headers
15866 from "make headers_install", not private headers from older
15867 kernels.
43be4ca2 15868 * INSTALL: Regenerated.
abd923db
JM
15869 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15870 Change to 2.6.19.
15871 * sysdeps/unix/sysv/linux/configure: Regenerated.
15872
6664049b
JM
15873 * manual/llio.texi (fclean): Remove documentation.
15874
bb8b6697
JM
15875 * manual/Makefile (libc-texi-generated): New variable. Include
15876 version.texi.
15877 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15878 $(libc-texi-generated), not duplicated list of files.
15879 (version.texi, stamp-version): New rules.
15880 (realclean): Remove $(libc-texi-generated), not individual files
15881 from that list. Do not remove dir-add.texinfo.
15882 * manual/libc.texinfo: Comment out uses of edition numbers and
15883 references to printed manual. Remove last-updated dates.
15884 (EDITION): Comment out.
15885 (ISBN): Likewise.
15886 (VERSION, UPDATED): Remove.
15887 (version.texi): Include.
15888
12e5c3b9
AS
158892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15890
15891 * sysdeps/posix/spawni.c: Include <signal.h>.
15892 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15893 * sysdeps/pthread/aio_fsync.c: Likewise.
15894
4efeffc1 158952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15896
ba63ba08
UD
15897 * conform/Makefile (tests): Run only when not cross-compiling and
15898 when fast-check is not defined.
15899
d94a4670
UD
15900 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15901 * conform/data/limits.h-data: Fixes for POSIX2008.
15902 * conform/run-conformtest.sh: Run all tests.
15903 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15904 headers.
15905 * include/bits/dlfcn.h: Likewise.
15906 * include/langinfo.h: Likewise.
15907 * include/monetary.h: Likewise.
15908 * include/sys/poll.h: Likewise.
15909
15910 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15911 for __USE_GNU.
15912 * posix/spawn.h: Define __need_sigset_t.
15913 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15914 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15915 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15916 to get sigevent_t only.
15917 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15918 only for __USE_GNU.
15919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15920 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15921 process_vm_writev only for __USE_GNU.
15922 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15923
15924 * conform/Makefile: For now ignore errors from run-conformtest.
15925 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15926 POSIX to avoid namespace pollution. Don't prepend headers.
15927 * conform/data/aio.h-data: Fixes for POSIX testing.
15928 * conform/data/fcntl.h-data: Likewise.
15929 * conform/data/glob.h-data: Likewise.
15930 * conform/data/grp.h-data: Likewise.
15931 * conform/data/pthread.h-data: Likewise.
15932 * conform/data/pwd.h-data: Likewise.
15933 * conform/data/signal.h-data: Likewise.
15934 * conform/data/spawn.h-data: Likewise.
15935 * conform/data/stdio.h-data: Likewise.
15936 * conform/data/stdlib.h-data: Likewise.
15937 * conform/data/stropts.h-data: Likewise.
15938 * conform/data/sys/mman.h-data: Likewise.
15939 * conform/data/sys/stat.h-data: Likewise.
15940 * conform/data/sys/types.h-data: Likewise.
15941 * conform/data/sys/wait.h-data: Likewise.
15942 * conform/data/time.h-data: Likewise.
15943 * conform/data/unistd.h-data: Likewise.
15944 * conform/data/utime.h-data: Likewise.
15945
15946 * io/sys/stat.h: fchmod was always in POSIX.
15947 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15948 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15949 * rt/aio.h: Define __need_timespec before including <time.h>.
15950 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15951 struct. Add forward declaration of pthread_attr_t and use it in
15952 sigevent.
15953 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15954 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15955 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15956 always remove CLK_TCK definition.
15957
c20105c3
AS
159582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15959
15960 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15961
7a270350
UD
159622012-02-25 Ulrich Drepper <drepper@gmail.com>
15963
31341567
UD
15964 * conform/run-conformtest.sh: New file.
15965 * conform/Makefile: Run run-conformtest for tests.
15966 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15967 support.
15968
15969 * conform/data/uchar.h-data: New file.
15970 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15971 * conform/data/arpa/inet.h-data: Likewise.
15972 * conform/data/assert.h-data: Likewise.
15973 * conform/data/complex.h-data: Likewise.
15974 * conform/data/cpio.h-data: Likewise.
15975 * conform/data/ctype.h-data: Likewise.
15976 * conform/data/dirent.h-data: Likewise.
15977 * conform/data/dlfcn.h-data: Likewise.
15978 * conform/data/errno.h-data: Likewise.
15979 * conform/data/fcntl.h-data: Likewise.
15980 * conform/data/float.h-data: Likewise.
15981 * conform/data/fmtmsg.h-data: Likewise.
15982 * conform/data/fnmatch.h-data: Likewise.
15983 * conform/data/ftw.h-data: Likewise.
15984 * conform/data/glob.h-data: Likewise.
15985 * conform/data/grp.h-data: Likewise.
15986 * conform/data/iconv.h-data: Likewise.
15987 * conform/data/inttypes.h-data: Likewise.
15988 * conform/data/langinfo.h-data: Likewise.
15989 * conform/data/libgen.h-data: Likewise.
15990 * conform/data/limits.h-data: Likewise.
15991 * conform/data/locale.h-data: Likewise.
15992 * conform/data/math.h-data: Likewise.
15993 * conform/data/monetary.h-data: Likewise.
15994 * conform/data/mqueue.h-data: Likewise.
15995 * conform/data/ndbm.h-data: Likewise.
15996 * conform/data/net/if.h-data: Likewise.
15997 * conform/data/netdb.h-data: Likewise.
15998 * conform/data/netinet/in.h-data: Likewise.
15999 * conform/data/nl_types.h-data: Likewise.
16000 * conform/data/poll.h-data: Likewise.
16001 * conform/data/pthread.h-data: Likewise.
16002 * conform/data/pwd.h-data: Likewise.
16003 * conform/data/regex.h-data: Likewise.
16004 * conform/data/sched.h-data: Likewise.
16005 * conform/data/search.h-data: Likewise.
16006 * conform/data/semaphore.h-data: Likewise.
16007 * conform/data/setjmp.h-data: Likewise.
16008 * conform/data/signal.h-data: Likewise.
16009 * conform/data/spawn.h-data: Likewise.
16010 * conform/data/stdarg.h-data: Likewise.
16011 * conform/data/stdio.h-data: Likewise.
16012 * conform/data/stdlib.h-data: Likewise.
16013 * conform/data/string.h-data: Likewise.
16014 * conform/data/strings.h-data: Likewise.
16015 * conform/data/stropts.h-data: Likewise.
16016 * conform/data/sys/ipc.h-data: Likewise.
16017 * conform/data/sys/mman.h-data: Likewise.
16018 * conform/data/sys/msg.h-data: Likewise.
16019 * conform/data/sys/resource.h-data: Likewise.
16020 * conform/data/sys/select.h-data: Likewise.
16021 * conform/data/sys/sem.h-data: Likewise.
16022 * conform/data/sys/shm.h-data: Likewise.
16023 * conform/data/sys/socket.h-data: Likewise.
16024 * conform/data/sys/stat.h-data: Likewise.
16025 * conform/data/sys/statvfs.h-data: Likewise.
16026 * conform/data/sys/time.h-data: Likewise.
16027 * conform/data/sys/timeb.h-data: Likewise.
16028 * conform/data/sys/times.h-data: Likewise.
16029 * conform/data/sys/types.h-data: Likewise.
16030 * conform/data/sys/uio.h-data: Likewise.
16031 * conform/data/sys/un.h-data: Likewise.
16032 * conform/data/sys/utsname.h-data: Likewise.
16033 * conform/data/sys/wait.h-data: Likewise.
16034 * conform/data/syslog.h-data: Likewise.
16035 * conform/data/tar.h-data: Likewise.
16036 * conform/data/termios.h-data: Likewise.
16037 * conform/data/utime.h-data: Likewise.
16038 * conform/data/utmpx.h-data: Likewise.
16039 * conform/data/varargs.h-data: Likewise.
16040 * conform/data/wchar.h-data: Likewise.
16041 * conform/data/wctype.h-data: Likewise.
16042 * conform/data/wordexp.h-data: Likewise.
16043
16044 * include/stropts.h: New file.
16045 * include/uchar.h: New file.
16046 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16047 * include/assert.h: Likewise.
16048 * include/ctype.h: Likewise.
16049 * include/dirent.h: Likewise.
16050 * include/dlfcn.h: Likewise.
16051 * include/fcntl.h: Likewise.
16052 * include/fnmatch.h: Likewise.
16053 * include/glob.h: Likewise.
16054 * include/grp.h: Likewise.
16055 * include/libio.h: Likewise.
16056 * include/locale.h: Likewise.
16057 * include/math.h: Likewise.
16058 * include/net/if.h: Likewise.
16059 * include/netdb.h: Likewise.
16060 * include/netinet/in.h: Likewise.
16061 * include/pthread.h: Likewise.
16062 * include/pwd.h: Likewise.
16063 * include/regex.h: Likewise.
16064 * include/sched.h: Likewise.
16065 * include/search.h: Likewise.
16066 * include/setjmp.h: Likewise.
16067 * include/signal.h: Likewise.
16068 * include/stdio.h: Likewise.
16069 * include/stdlib.h: Likewise.
16070 * include/string.h: Likewise.
16071 * include/sys/cdefs.h: Likewise.
16072 * include/sys/mman.h: Likewise.
16073 * include/sys/msg.h: Likewise.
16074 * include/sys/resource.h: Likewise.
16075 * include/sys/select.h: Likewise.
16076 * include/sys/socket.h: Likewise.
16077 * include/sys/stat.h: Likewise.
16078 * include/sys/statvfs.h: Likewise.
16079 * include/sys/time.h: Likewise.
16080 * include/sys/times.h: Likewise.
16081 * include/sys/uio.h: Likewise.
16082 * include/sys/utsname.h: Likewise.
16083 * include/sys/wait.h: Likewise.
16084 * include/termios.h: Likewise.
16085 * include/time.h: Likewise.
16086 * include/ulimit.h: Likewise.
16087 * include/unistd.h: Likewise.
16088 * include/utime.h: Likewise.
16089 * include/wchar.h: Likewise.
16090 * include/wctype.h: Likewise.
16091 * include/wordexp.h: Likewise.
16092
16093 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16094
7a270350
UD
16095 * time/time.h: TIME_UTC must be a macro.
16096 Make timespec_get available for ISO C11 only as well.
16097
7724defc
UD
160982012-02-24 Ulrich Drepper <drepper@gmail.com>
16099
16100 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16101 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16102
6b1d1d46
JM
161032012-02-24 Joseph Myers <joseph@codesourcery.com>
16104
16105 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16106
0f8bbd69
JM
161072012-02-24 Joseph Myers <joseph@codesourcery.com>
16108
16109 * manual/texinfo.tex: Update to version 2012-01-19.16.
16110
66ab80bc
JM
161112012-02-24 Joseph Myers <joseph@codesourcery.com>
16112
16113 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16114
74981cc5
RM
161152012-02-24 Roland McGrath <roland@hack.frob.com>
16116
ee968201
RM
16117 [BZ #13738]
16118 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16119 * manual/fdl-1.3.texi: New file.
16120 * manual/fdl-1.1.texi: File removed.
16121
74981cc5
RM
16122 [BZ #13738]
16123 * manual/libc.texinfo (FDL_VERSION): New @set.
16124 Use it for mention of FDL in cover text.
16125 (Documentation License): Use it in @include file name.
16126
7bb764bc
JM
161272012-02-22 Joseph Myers <joseph@codesourcery.com>
16128 Roland McGrath <roland@hack.frob.com>
16129
16130 [BZ #5461]
16131 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16132 not LONG_LONG_MAX and LONG_LONG_MIN.
16133 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16134 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16135 name.
16136 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16137
6cbeae47
JM
161382012-02-22 Joseph Myers <joseph@codesourcery.com>
16139
16140 [BZ #2547]
16141 [BZ #11365]
16142 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16143 manipulate bits before adding and subtracting TWO23[sx].
16144 * math/libm-test.inc (nearbyint_test): Add more tests.
16145
fe45ce09
JM
161462012-02-22 Joseph Myers <joseph@codesourcery.com>
16147
16148 [BZ #2548]
16149 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16150 bits before adding and subtracting TWO23[sx].
16151 * math/libm-test.inc (rint_test): Add more tests.
16152 (rint_test_tonearest): Likewise.
16153 (rint_test_towardzero): Likewise.
16154 (rint_test_downward): Likewise.
16155 (rint_test_upward: Likewise.
16156
ff3b3d82
JM
161572012-02-22 Joseph Myers <joseph@codesourcery.com>
16158
16159 [BZ #10110]
16160 * include/stdc-predef.h: New file. Extracted from features.h.
16161 * include/features.h: Include stdc-predef.h.
16162 * Makefile (headers): Add stdc-predef.h.
16163 * CONFORMANCE (Compiler limitations): Update.
16164
ef0aab35
JM
161652012-02-22 Joseph Myers <joseph@codesourcery.com>
16166
16167 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16168
58639409
DM
161692012-02-21 David S. Miller <davem@davemloft.net>
16170
16171 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16172 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16173
c0e70b25
DM
161742012-02-20 David S. Miller <davem@davemloft.net>
16175
16176 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16177 using a normal save/restore sequence, rather than allocating a
16178 dummy stack frame just to store a frame pointer and restore.
16179 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16180
fb06851d
JM
161812012-02-21 Joseph Myers <joseph@codesourcery.com>
16182
16183 * manual/install.texi: Fix stray word in line-wrapped comment.
16184
7a8b71c3
DM
161852012-02-20 David S. Miller <davem@davemloft.net>
16186
d510c123
DM
16187 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16188 both binutils and gcc support GOTDATA.
16189
0722d7c2
DM
16190 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16191 "rd %pc" in the PIC register setup sequences.
16192
3d2b3019
DM
16193 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16194 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16195 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16196 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16197 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16200 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16202 (SYSCALL_ERROR_HANDLER): Likewise.
16203 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16204 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16206 (SYSCALL_ERROR_HANDLER): Likewise.
16207
c80098a9
DM
16208 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16209 (HAVE_GCC_GOTDATA): New.
16210 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16211 relocation support in both binutils and gcc.
16212 * sysdeps/sparc/elf/configure: Regenerate.
16213
3a2545a0
DM
16214 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16215 * sysdeps/sparc/sparc32/elf/configure: Delete.
16216 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16217 * sysdeps/sparc/sparc64/elf/configure: Delete.
16218 * sysdeps/sparc/elf/configure.in: New file.
16219 * sysdeps/sparc/elf/configure: Generate.
16220
7a8b71c3
DM
16221 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16222 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16223 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16224 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16225 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16226
f1e86fca
JM
162272012-02-21 Joseph Myers <joseph@codesourcery.com>
16228
16229 * manual/install.texi: Do not mention specific glibc version
16230 numbers.
16231 * manual/libc.texinfo (VERSION, UPDATED): Update.
16232 (@copying): Use @copyright{} and range of years.
16233
0e7dfaef
JM
162342012-02-21 Joseph Myers <joseph@codesourcery.com>
16235
16236 [BZ #13695]
16237 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16238 [crti.S not in sysdirs] (generated): Do not append.
16239 [crti.S not in sysdirs] (omit-deps): Likewise.
16240 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16241 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16242 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16243 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16244 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16245 Likewise.
16246 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16247 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16248 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16249 * csu/defs.awk: Remove file.
16250 * sysdeps/generic/initfini.c: Likewise.
16251 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16252 variable.
16253 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16254 Likewise.
16255
599af3ca
JM
162562012-02-20 Joseph Myers <joseph@codesourcery.com>
16257
16258 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16259 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16260 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16261 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16262 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16263 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16264 <bits/epoll.h>.
16265 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16266 (__EPOLL_PACKED): Define to empty if not defined by
16267 <bits/epoll.h>.
16268 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16270 bits/epoll.h.
16271
0e499750
JM
162722012-02-20 Joseph Myers <joseph@codesourcery.com>
16273
16274 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16275 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16276 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16277 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16278 <bits/timerfd.h>.
16279 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16281 bits/timerfd.h.
16282
5ad91f6e
JM
162832012-02-20 Joseph Myers <joseph@codesourcery.com>
16284
16285 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16286 in C locale.
16287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16288 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16289 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16291
06b99b02
AJ
162922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16293
16294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16296
7638c0fd
AS
162972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16298
16299 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16300 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16301 defined.
16302 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16303 Likewise.
16304 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16305 entry for 2.16.
16306
92221550
AJ
163072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16308
16309 * math/w_acos.c: Use non-signaling floating-point comparisons.
16310 * math/w_acosf.c: Likewise.
16311 * math/w_acosh.c: Likewise.
16312 * math/w_acoshf.c: Likewise.
16313 * math/w_acoshl.c: Likewise.
16314 * math/w_acosl.c: Likewise.
16315 * math/w_asin.c: Likewise.
16316 * math/w_asinf.c: Likewise.
16317 * math/w_asinl.c: Likewise.
16318 * math/w_atanh.c: Likewise.
16319 * math/w_atanhf.c: Likewise.
16320 * math/w_atanhl.c: Likewise.
16321 * math/w_exp2.c: Likewise.
16322 * math/w_exp2f.c: Likewise.
16323 * math/w_exp2l.c: Likewise.
16324 * math/w_j0.c: Likewise.
16325 * math/w_j0f.c: Likewise.
16326 * math/w_j0l.c: Likewise.
16327 * math/w_j1.c: Likewise.
16328 * math/w_j1f.c: Likewise.
16329 * math/w_j1l.c: Likewise.
16330 * math/w_jn.c: Likewise.
16331 * math/w_jnf.c: Likewise.
16332 * math/w_log.c: Likewise.
16333 * math/w_log10.c: Likewise.
16334 * math/w_log10f.c: Likewise.
16335 * math/w_log10l.c: Likewise.
16336 * math/w_log2.c: Likewise.
16337 * math/w_log2f.c: Likewise.
16338 * math/w_log2l.c: Likewise.
16339 * math/w_logf.c: Likewise.
16340 * math/w_logl.c: Likewise.
16341 * math/w_sqrt.c: Likewise.
16342 * math/w_sqrtf.c: Likewise.
16343 * math/w_sqrtl.c: Likewise.
16344 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16345 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16346 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16347 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16348 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16349
ebaf36eb
JM
163502012-02-19 Joseph Myers <joseph@codesourcery.com>
16351
16352 [BZ #9739]
16353 * manual/string.texi (strnlen): Use correct parameter name in
16354 equivalent expression.
16355
71c254a6
JM
163562012-02-19 Joseph Myers <joseph@codesourcery.com>
16357
16358 [BZ #11174]
16359 * manual/users.texi (seteuid): Consistently use neweuid for
16360 argument name.
16361
16d2c631
JM
163622012-02-19 Joseph Myers <joseph@codesourcery.com>
16363
16364 [BZ #13704]
16365 * manual/nss.texi (Services in the NSS configuration): Correct
16366 list of services in example configuration file.
16367
cd837b09
NB
163682012-02-19 Nick Bowler <nbowler@draconx.ca>
16369
16370 [BZ #11322]
16371 * manual/arith.texi: Remove statements about negative zero
16372 behaving identically to zero.
16373
02c4bbad
JM
163742012-02-18 Joseph Myers <joseph@codesourcery.com>
16375
16376 [BZ #5993]
16377 * manual/install.texi: Do not document upgrading from libc5.
16378
366842e7
JM
163792012-02-18 Joseph Myers <joseph@codesourcery.com>
16380
16381 [BZ #4596]
16382 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16383
dd54084d
DM
163842012-02-18 David S. Miller <davem@davemloft.net>
16385
16386 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16387 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16388 %o7 across the call.
16389 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16390 instead.
16391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16392 SETUP_PIC_REG_LEAF.
16393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16394 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16395 * sysdeps/sparc/crtn.S: Likewise.
16396
2bcc53a3
UD
163972012-02-17 Ulrich Drepper <drepper@gmail.com>
16398
16399 * aout/Makefile: Remove.
16400
09c093b5
RK
164012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16402
16403 [BZ #13058]
16404 * manual/examples/argp-ex1.c (main): Format definition in GNU
16405 style.
16406 * manual/examples/argp-ex2.c (main): Likewise.
16407 * manual/examples/argp-ex3.c (main): Likewise.
16408 * manual/examples/argp-ex4.c (main): Likewise.
16409 * manual/examples/longopt.c (main): Use new-style prototype
16410 definition.
16411 * manual/examples/strncat.c (main): Specify return type and use
16412 (void) for arguments.
16413 * manual/examples/subopt.c (main): Use char **argv argument.
16414
2ee633a2
JM
164152012-02-17 Joseph Myers <joseph@codesourcery.com>
16416
16417 [BZ #5077]
16418 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16419 rounding modes.
16420
0520adde
FB
164212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16422
16423 [BZ #6907]
16424 * manual/string.texi (strchr): Change when strchrnul is
16425 recommended.
16426
3f4081cd
DGM
164272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16428
16429 [BZ #174]
16430 * manual/locale.texi (setlocale): Document LOCPATH.
16431
d1b10e78
JM
164322012-02-17 Joseph Myers <joseph@codesourcery.com>
16433
16434 [BZ #10210]
16435 * manual/process.texi (execle): Move @dots{} before last argument.
16436
79c6869c
PB
164372012-02-17 Paul Bolle <pebolle@tiscali.nl>
16438
16439 [BZ #12047]
16440 * manual/charset.texi (Generic Charset Conversion): Fix typo
16441 (LC_TYPE -> LC_CTYPE).
16442
cc6e48bc
NB
164432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16444
16445 [BZ #5805]
16446 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16447 (scalbnf): Likewise.
16448 (scalbnl): Likewise.
16449 (scalbln): Likewise.
16450 (scalblnf): Likewise.
16451 (scalblnl): Likewise.
16452 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16453 (vwarnx): Likewise.
16454 (verr): Likewise.
16455 (verrx): Likewise.
16456 * manual/filesys.texi (telldir): Use braces around return type.
16457 * manual/llio.texi (mmap): Add space after comma.
16458 (mmap64): Likewise.
16459 * manual/math.texi (jn): Use @var{} on parameter names.
16460 (jnf): Likewise.
16461 (jnl): Likewise.
16462 (yn): Likewise.
16463 (ynf): Likewise.
16464 (ynl): Likewise.
16465 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16466 line.
16467 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16468 "...".
16469 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16470 (sched_get_priority_max): Likewise.
16471 * manual/signal.texi (sigvec): Add space after comma.
16472 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16473 names.
16474 (if_indextoname): Likewise.
16475 (if_freenameindex): Likewise.
16476 (sendto): Use ',' instead of '.' in prototype.
16477 * manual/startup.texi (syscall): Use @dots{} instead of literal
16478 "...".
16479 * manual/stdio.texi (__fpending): Separate initial words of
16480 paragraph from @deftypefun line.
16481 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16482 "...".
16483 (vsyslog): Use @var{} on parameter names.
16484 * manual/terminal.texi (stty): Use @var{} on parameter names.
16485 * manual/users.texi (getutmp): Use @var{} on parameter names.
16486 (getutmpx): Likewise.
16487
5b23062f
JM
164882012-02-17 Joseph Myers <joseph@codesourcery.com>
16489
16490 [BZ #6884]
16491 * manual/stdio.texi (fopen): Fix typos in description of
16492 ",ccs=STRING".
16493
8dee4833
AJ
164942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16495
16496 [BZ #4026]
16497 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16498 get clock_id definition.
16499
9078ce93
TS
165002012-02-17 Thomas Schwinge <thomas@schwinge.name>
16501
16502 [BZ #4822]
16503 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16504 (madvise): Cast every argument to void on its own.
16505
3835c55f
JM
165062012-02-17 Joseph Myers <joseph@codesourcery.com>
16507
16508 [BZ #9902]
16509 * manual/startup.texi (Exit Status): Fix typo.
16510
35c47e37
JM
165112012-02-17 Joseph Myers <joseph@codesourcery.com>
16512
16513 [BZ #10140]
16514 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16515 * manual/examples/argp-ex2.c: Likewise.
16516 * manual/examples/argp-ex3.c: Likewise.
16517
e3b69ca7
RH
165182012-02-16 Richard Henderson <rth@redhat.com>
16519
16520 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16521 * sysdeps/s390/s390-32/initfini.c: Remove.
16522 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16523 * sysdeps/s390/s390-64/initfini.c: Remove.
16524
df83af67
KK
165252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16526
16527 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16528 compiler output for sysdeps/generic/initfini.c.
16529 * sysdeps/sh/elf/initfini.c: Remove file.
16530
f63f3380
DM
165312012-02-16 David S. Miller <davem@davemloft.net>
16532
fb59b3a4
DM
16533 [BZ #11494]
16534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16535
f63f3380
DM
16536 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16537 * sysdeps/sparc/crti.S: New file.
16538 * sysdeps/sparc/crtn.S: New file.
16539 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16540 * sysdeps/sparc/sparc64/Makefile: Likewise.
16541
df6a4a4a
MF
165422012-02-15 Mike Frysinger <vapier@gentoo.org>
16543
6dd8f3dc 16544 [BZ #3335]
df6a4a4a
MF
16545 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16546
1cac7236
RM
165472012-02-15 Roland McGrath <roland@hack.frob.com>
16548
d2c736f8
RM
16549 [BZ #4822]
16550 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16551
1cac7236
RM
16552 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16553 (write, read, close): Likewise.
16554 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16555
8e475601
JM
165562012-02-15 Joseph Myers <joseph@codesourcery.com>
16557
16558 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16559 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16560 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16561 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16562 <bits/signalfd.h>.
16563 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16565 bits/signalfd.h.
16566
ed656b40
MP
165672012-02-14 Marek Polacek <polacek@redhat.com>
16568
16569 * sysdeps/x86_64/crti.S: New file.
16570 * sysdeps/x86_64/crtn.S: New file.
16571 * sysdeps/x86_64/elf/initfini.c: Remove file.
16572
2a979d3a
JM
165732012-02-13 Joseph Myers <joseph@codesourcery.com>
16574
16575 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16576 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16577 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16578 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16579 <bits/inotify.h>.
16580 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16582 bits/inotify.h.
16583
2a418ac3
JM
165842012-02-13 Joseph Myers <joseph@codesourcery.com>
16585
16586 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16587 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16588 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16589 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16590 <bits/eventfd.h>.
16591 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16593 bits/eventfd.h.
16594
fb779be7
TS
165952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16596
e19e83c5
RM
16597 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16598 __feraiseexcept instead of feraiseexcept.
7c35ffed 16599
fb779be7
TS
16600 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16601 nanosleep invocations.
16602 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16603 strings, and add error checking for a nanosleep invocations.
16604
59ba27a6
PE
166052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16606
16607 Replace FSF snail mail address with URLs, as per GNU coding standards.
16608 Most of the snail mail addresses were wrong anyway, and omitting
16609 them makes the source code easier to maintain. Almost all of the
16610 changes are to license notices and to locale LC_IDENTIFICATION
16611 addresses, except for this one:
16612 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16613 not its snail mail address.
16614
57b957eb
RH
166152012-02-09 Richard Henderson <rth@twiddle.net>
16616
af850b1c
RH
16617 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16618 of kernel-features.h.
16619
57b957eb
RH
16620 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16621
6b73181a
MP
166222012-02-08 Marek Polacek <polacek@redhat.com>
16623
16624 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16625 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16626 * sysdeps/gnu/_G_config.h: Likewise.
16627 * sysdeps/generic/_G_config.h: Likewise.
16628
26ecc33a
AS
166292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16630
6c6dbc63
AS
16631 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16632 tests.
16633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16634
e216c012
AS
16635 * sysdeps/powerpc/powerpc32/crti.S: New file.
16636 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16637 * sysdeps/powerpc/powerpc64/crti.S: New file.
16638 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16639
26ecc33a
AS
16640 * Makeconfig (have-initfini): Don't set.
16641 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16642 * configure.in (nopic_initfini): Don't substitute.
16643 * config.h.in (HAVE_INITFINI): Don't #undef.
16644 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16645 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16646
3add8e13
JM
166472012-02-08 Joseph Myers <joseph@codesourcery.com>
16648
16649 Support crti.S and crtn.S provided directly by architectures.
16650 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16651 [crti.S in sysdirs] (omit-deps): Likewise.
16652 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16653 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16654 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16655 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16656 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16657 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16658 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16659 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16660 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16661 compiler output for sysdeps/generic/initfini.c.
16662 * sysdeps/i386/elf/Makefile: Remove file.
16663 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16664
a22f12b4
MP
166652012-02-07 Marek Polacek <polacek@redhat.com>
16666
16667 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16668 * sysdeps/gnu/_G_config.h: Likewise.
16669 * sysdeps/mach/hurd/_G_config.h: Likewise.
16670
148cf100
MP
166712012-02-07 Marek Polacek <polacek@redhat.com>
16672
16673 * math/Makefile (tests): Add tst-CMPLX2.
16674 * math/tst-CMPLX2.c: New file.
16675
cfdc0dd7
AS
166762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16677
84ba42c4
AS
16678 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16679
cfdc0dd7
AS
16680 * math/libm-test.inc (jn_test): Add missing L suffix.
16681
622c86f4
MP
166822012-02-06 Marek Polacek <polacek@redhat.com>
16683
16684 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16685 * sysdeps/i386/fpu/e_powf.S: Likewise.
16686 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16687 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16688 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16689 * sysdeps/i386/fpu/e_pow.S: Likewise.
16690 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16691 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16692 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16693 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16694 * sysdeps/i386/fpu/e_log2.S: Likewise.
16695 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16696 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16697 * sysdeps/i386/fpu/e_powl.S: Likewise.
16698 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16699 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16700 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16701 * sysdeps/i386/fpu/e_logl.S: Likewise.
16702 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16703 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16704 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16705 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16706 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16707 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16708 * sysdeps/i386/fpu/e_log.S: Likewise.
16709 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16710 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16711 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16712 * sysdeps/i386/fpu/e_logf.S: Likewise.
16713 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16714 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16715 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16716 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16717 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16718 * sysdeps/i386/fpu/e_log10.S: Likewise.
16719 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16720 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16721 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16722 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16723 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16724 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16725 * sysdeps/i386/asm-syntax.h: Likewise.
16726 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16727 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16728 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16729 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16730 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16731 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16732 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16733 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16734 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16735 * sysdeps/powerpc/sysdep.h: Likewise.
16736 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16737 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16738
d4a54ac6
JM
167392012-02-06 Joseph Myers <joseph@codesourcery.com>
16740
16741 [BZ #411]
16742 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16743
314054ea
JM
167442012-02-06 Joseph Myers <joseph@codesourcery.com>
16745
16746 * sysdeps/i386/sysdep.h: Include <features.h>.
16747 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16748 version.
16749
d8e0ca50
JM
167502012-02-05 Joseph Myers <joseph@codesourcery.com>
16751
16752 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16753 Define.
16754 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16755 LOAD_PIC_REG_STR.
16756
b1da7dd9
JM
167572012-02-03 Joseph Myers <joseph@codesourcery.com>
16758
16759 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16760 (SETUP_PIC_REG): Use GET_PC_THUNK.
16761 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16762 macro.
16763
9a1d9254
JM
167642012-02-03 Joseph Myers <joseph@codesourcery.com>
16765
16766 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16767 for non-PIC compilation.
16768 (SETUP_PIC_REG): Add .p2align directive.
16769 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16770 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16771 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16772 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16773 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16774 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16775 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16776 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16777 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16778 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16779 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16780 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16781 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16782 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16783 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16784 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16785 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16786 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16787 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16788 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16789 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16790 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16791 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16792 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16793 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16795 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16796 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16797 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16798 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16799 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16800 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16801 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16802 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16803 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16804 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16805 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16806 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16807 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16808 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16809 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16810
65dc3b75
JM
168112012-02-03 Joseph Myers <joseph@codesourcery.com>
16812
16813 * math/tst-CMPLX.c: Include <stdio.h>.
16814
d55bf177
JM
168152012-01-31 Joseph Myers <joseph@codesourcery.com>
16816
16817 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16818 float.
16819 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16820 * sysdeps/sparc/bits/mathdef.h: Likewise.
16821
69db4f8f
MP
168222012-01-31 Marek Polacek <polacek@redhat.com>
16823
16824 * libio/libio.h: Don't define _PARAMS.
16825 * locale/programs/config.h: Don't define PARAMS.
16826 * stdlib/strtol_l.c: Likewise.
16827 (__strtol_l): Remove PARAMS from the prototype.
16828
41b81892
UD
168292012-01-31 Ulrich Drepper <drepper@gmail.com>
16830
3b49edc0
UD
16831 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16832 names. Just use the correct names. Remove unnecessary wrapper
16833 functions.
16834 * malloc/arena.c: Likewise.
16835 * malloc/hooks.c: Likewise.
16836
41b81892
UD
16837 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16838 ARENA_TEST says not to. Simplify test for creation of a new arena.
16839 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16840
27a25b6e
UD
168412012-01-30 Ulrich Drepper <drepper@gmail.com>
16842
16843 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16844 into tail calls.
16845 (update_get_addr): New function.
16846 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16847 GET_ADDR_MODULE parameter.
16848
c8a89e7d
JM
168492012-01-30 Joseph Myers <joseph@codesourcery.com>
16850
16851 * crypt/cert.c: Remove __STDC__ conditionals.
16852 * crypt/crypt-entry.c: Likewise.
16853 * crypt/crypt_util.c: Likewise.
16854 * libio/filedoalloc.c: Likewise.
16855 * libio/fileops.c: Likewise.
16856 * libio/genops.c: Likewise.
16857 * libio/iofclose.c: Likewise.
16858 * libio/iofdopen.c: Likewise.
16859 * libio/iofopen.c: Likewise.
16860 * libio/iofopen64.c: Likewise.
16861 * libio/iogetdelim.c: Likewise.
16862 * libio/iopopen.c: Likewise.
16863 * libio/obprintf.c: Likewise.
16864 * libio/oldfileops.c: Likewise.
16865 * libio/oldiofclose.c: Likewise.
16866 * libio/oldiofdopen.c: Likewise.
16867 * libio/oldiofopen.c: Likewise.
16868 * libio/oldiopopen.c: Likewise.
16869 * libio/wfiledoalloc.c: Likewise.
16870 * libio/wgenops.c: Likewise.
16871 * locale/programs/xmalloc.c: Likewise.
16872 * misc/syslog.c: Likewise.
16873 * stdio-common/xbug.c: Likewise.
16874 * string/memchr.c: Likewise.
16875 * string/memcmp.c: Likewise.
16876 * string/memrchr.c: Likewise.
16877 * string/rawmemchr.c: Likewise.
16878 * sysdeps/posix/getcwd.c: Likewise.
16879 * time/strftime_l.c: Likewise.
16880
3b100462
JM
168812012-01-30 Joseph Myers <joseph@codesourcery.com>
16882
16883 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16884 * config.make.in (config-cflags-sse2avx): Define.
16885 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16886 Fix typo.
16887
607998af
CM
168882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16889
16890 * scripts/config.guess: Update from upstream config git repository.
16891 * scripts/config.sub: Likewise.
16892
3601428f
CM
168932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16894
3ac8b282
CM
16895 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16896 (EM_NUM): Update.
16897 (R_TILEPRO_*, R_TILEGX_*): New macros.
16898
e034841e
CM
16899 * scripts/firstversions.awk: Fix bug in version range handling.
16900
540d7568
CM
16901 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16902
3601428f
CM
16903 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16904
463de862
CM
16905 * include/sys/epoll.h: New file.
16906 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16907 libc_hidden_def.
16908
73139a76
UD
169092012-01-28 Ulrich Drepper <drepper@gmail.com>
16910
96bc5b45
UD
16911 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16912 Avoid unnecessary __WORDSIZE == 64 test.
16913 (fmaxf): Use VEX format if possible.
16914 (fmax): Likewise.
16915 (fminf): Likewise.
16916 (fmin): Likewise.
16917
56f6f6a2
UD
16918 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16919 * math/math_private.h: Remove libc_fegetround* and
16920 libc_fesetround*.
16921 * sysdeps/i386/configure.in: Check for -msse2avx.
16922 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16923 also if SSE2AVX is defined.
16924 Remove libc_fegetround* and libc_fesetround*.
16925 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16926 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16927 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16928 of HAS_YMM_USABLE.
16929 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16930 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16931 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16932 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16933 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16934
73139a76
UD
16935 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16936
d73f93a4
AZ
169372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16938
16939 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16940 size is not set.
16941 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16942
6ee65ed6
UD
169432012-01-27 Ulrich Drepper <drepper@gmail.com>
16944
16945 [BZ #13618]
16946 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16947 relocation.
16948 * Makeconfig (libm): Define.
16949 * elf/Makefile: Add rules to build and run tst-relsort1.
16950 * elf/tst-relsort1.c: New file.
16951 * elf/tst-relsort1mod1.c: New file.
16952 * elf/tst-relsort1mod2.c: New file.
16953
8db21882
JM
169542012-01-27 Joseph Myers <joseph@codesourcery.com>
16955
16956 * math/s_ldexp.c: Remove __STDC__ conditionals.
16957 * math/s_ldexpf.c: Likewise.
16958 * math/s_ldexpl.c: Likewise.
16959 * math/s_nextafter.c: Likewise.
16960 * math/s_nexttowardf.c: Likewise.
16961 * math/s_significand.c: Likewise.
16962 * math/s_significandf.c: Likewise.
16963 * math/s_significandl.c: Likewise.
16964 * math/w_jnl.c: Likewise.
16965 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16966 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16967 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16968 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16969 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16970 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16971 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16972 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16973 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16974 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16975 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16976 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16977 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16978 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16979 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16980 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16981 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16982 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16983 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16984 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16985 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16986 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16987 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16989 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16990 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16991 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16992 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16993 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16994 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16995 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16996 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16997 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16998 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16999 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17000 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17001 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17002 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17003 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17004 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17005 * sysdeps/ieee754/k_standard.c: Likewise.
17006 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17007 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17008 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17009 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17010 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17011 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17012 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17013 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17014 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17015 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17016 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17017 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17018 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17019 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17020 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17021 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17025 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17026 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17027 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17056 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17061 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17065 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17066 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17067 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17068 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17070 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17071 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17072 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17073 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17074 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17075 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17076 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17077 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17078 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17079 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17080 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17081 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17082 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17083 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17084 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17085 * sysdeps/ieee754/s_matherr.c: Likewise.
17086 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17087 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17090
965a54a4
JM
170912012-01-26 Joseph Myers <joseph@codesourcery.com>
17092
17093 * crypt/md5.h: Remove __STDC__ conditionals.
17094 * libio/libioP.h: Likewise.
17095 * locale/programs/config.h: Likewise.
17096 * sysdeps/generic/sysdep.h: Likewise.
17097 * sysdeps/i386/asm-syntax.h: Likewise.
17098 * sysdeps/s390/asm-syntax.h: Likewise.
17099 * sysdeps/unix/sysdep.h: Likewise.
17100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17102
7071ad79
JM
171032012-01-26 Joseph Myers <joseph@codesourcery.com>
17104
17105 * libio/libio.h: Remove __STDC__ conditionals.
17106 * malloc/obstack.h: Likewise.
17107 * math/complex.h: Likewise.
17108 * math/math.h: Likewise.
17109 * sysdeps/generic/_G_config.h: Likewise.
17110 * sysdeps/gnu/_G_config.h: Likewise.
17111 * sysdeps/mach/hurd/_G_config.h: Likewise.
17112 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17113 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17114 * sysdeps/sparc/bits/mathdef.h: Likewise.
17115
afc5ed09
UD
171162012-01-26 Ulrich Drepper <drepper@gmail.com>
17117
17118 [BZ #13583]
17119 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17120 Clean up HAS_* macros.
afc5ed09 17121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17122 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17123 possible.
17124 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17125 HAS_AVX.
17126 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17127 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17128 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17129 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17130 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17131
bdb6de1d
JM
171322012-01-25 Joseph Myers <joseph@codesourcery.com>
17133
17134 * elf/tst-unique3.cc (gets): Remove declaration.
17135 * elf/tst-unique3lib.cc (gets): Likewise.
17136 * elf/tst-unique3lib2.cc (gets): Likewise.
17137 * elf/tst-unique4.cc (gets): Likewise.
17138
b15549e6
UD
171392012-01-24 Ulrich Drepper <drepper@gmail.com>
17140
17141 * include/stdio.h: Add C++ protection. Add gets declarations and
17142 definitions.
17143 * debug/tst-chk1.c: Don't declare gets here.
17144 * stdio-common/tst-gets.c: Likewise.
17145
a037381f
JM
171462012-01-24 Joseph Myers <joseph@codesourcery.com>
17147
17148 * posix/glob: Remove directory.
17149
f1d4aa75
JM
171502012-01-24 Joseph Myers <joseph@codesourcery.com>
17151
17152 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17153
81c0c964
PT
171542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17155
17156 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17157 of the non-standard EPFNOSUPPORT.
17158
0ea698ae
ST
171592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17160
17161 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17162 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17163 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17164
d220b117
UD
171652012-01-21 Ulrich Drepper <drepper@gmail.com>
17166
17167 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17168
3e1aa84e
UD
171692012-01-20 Ulrich Drepper <drepper@gmail.com>
17170
17171 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17172 transient errors.
17173 * nscd/grpcache.c (cache_addgr): Likewise.
17174 * nscd/hstcache.c (cache_addhst): Likewise.
17175 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17176 * nscd/pwdcache.c (cache_addpw): Likewise.
17177 * nscd/servicescache.c (cache_addserv): Likewise.
17178
400aa020
UD
171792012-01-16 Ulrich Drepper <drepper@gmail.com>
17180
d77e7869
UD
17181 * malloc/malloc.c: Various cleanups.
17182 * malloc/hooks.c: Likewise.
17183
400aa020
UD
17184 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17185 * stdlib/bug-fmtmsg1.c: New file.
17186
17187 * stdlib/fmtmsg.c (init): Add missing unlock.
17188 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17189
e0a309cf
MP
171902012-01-12 Marek Polacek <polacek@redhat.com>
17191
17192 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17193 and _GNU_SOURCE.
17194
929d11c7
WS
171952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17196
17197 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17198 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17199 macro to ensure uniqueness of label name.
17200 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17201 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17202
41d0e869
UD
172032012-01-11 Ulrich Drepper <drepper@gmail.com>
17204
0cc5ed3b
UD
17205 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17206
41d0e869
UD
17207 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17208 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17209 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17211
a47a831a
UD
172122012-01-10 Ulrich Drepper <drepper@gmail.com>
17213
daa891c0
UD
17214 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17215
17216 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17217 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17218 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17219
e58ef0f2
UD
17220 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17221
a47a831a 17222 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17223 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17226
17227 * math/bits/math-finite.h: Add ldexp support.
17228
a0bfc9c7
MP
172292012-01-10 Marek Polacek <polacek@redhat.com>
17230
17231 * locale/programs/localedef.h (show_archive_content): Add noreturn
17232 attribute.
17233
d6e97a1d
UD
172342012-01-09 Ulrich Drepper <drepper@gmail.com>
17235
17236 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17237
d5835c26
UD
172382012-01-08 Ulrich Drepper <drepper@gmail.com>
17239
e5f484c6
UD
17240 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17241
d5835c26
UD
17242 * io/Makefile (headers): Add bits/poll2.h.
17243
d1f741e9
WS
172442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17245
17246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17247 typo #include statement.
17248
ec09c1c4
UD
172492012-01-08 Ulrich Drepper <drepper@gmail.com>
17250
17251 * include/sys/cdefs.h: Define __attribute_alloc_size.
17252 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17253 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17254 * elf/pldd.c: Likewise.
17255 * iconv/iconv_charmap.c: Likewise.
17256 * iconv/iconvconfig.c: Likewise.
17257 * iconv/strtab.c: Likewise.
17258 * locale/programs/locale.c: Likewise.
17259 * locale/programs/localedef.h: Likewise.
17260 * locale/programs/simple-hash.c: Likewise.
17261 * nscd/nscd.h: Likewise.
17262 * nss/makedb.c: Likewise.
17263 * sysdeps/generic/ldconfig.h: Likewise.
17264 * locale/programs/localedef.c: Remove xmalloc prototype.
17265 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17266
20b38e03
PP
172672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17268
17269 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17270 appropriate.
17271
a0da5fe1
UD
172722012-01-08 Ulrich Drepper <drepper@gmail.com>
17273
1d5a644a 17274 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17275 * math/tst-CMPLX.c: New file.
1d5a644a 17276
8784a6db
UD
17277 * math/complex.h (CMPLXL): Fix typo.
17278
d9a216c0
UD
17279 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17280 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17281 GLIBC_2.16.
17282 * debug/tst-chk1.c: Add poll and ppoll tests.
17283 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17284 * include/sys/poll.h: Add hidden proto for ppoll.
17285 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17286 * sysdeps/mach/hurd/ppoll.c: Likewise.
17287 * io/ppoll.c: Likewise.
17288 * debug/poll_chk.c: New file.
17289 * debug/ppoll_chk.c: New file.
17290 * include/bits/poll2.h: New file.
17291 * io/bits/poll2.h: New file.
17292
ac097f5c
UD
17293 [BZ #1350]
17294 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17295
2119dcfa
UD
17296 * configure.in: static is always set to yes. Remove.
17297 * config.make.in: Don't set build-static.
17298 * Makeconfig: Remove use of build-static.
17299 * dlfcn/Makefile: Likewise.
17300 * elf/Makefile: Likewise.
17301 * math/Makefile: Likewise.
17302 * misc/Makefile: Likewise.
17303 * nptl/Makefile: Likewise.
17304 * sysdeps/mach/hurd/Makefile: Likewise.
17305
121766a9
UD
17306 * configure.in: PWD_P is not used anymore.
17307 * config.make.in: Remove PWD_P entry.
17308
51a1d39c 17309 * configure.in: Remove last remnants of RANLIB.
8720d066 17310 No need to check for signed size_t anymore.
215f4bdc
UD
17311 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17312 and IA-64.
3857022a 17313 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17314 * aclocal.m4: Likewise.
17315
d3ed7225
UD
17316 * wcsmbs/mbrtoc16.c: Implement using towc function.
17317 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17318 * wcsmbs/wcsmbsload.c: Likewise.
17319 * iconv/gconv_simple.c: Likewise.
17320 * iconv/gconv_int.h: Likewise.
17321 * iconv/gconv_builtin.h: Likewise.
17322 * iconv/iconv_prog.c: Remove CHAR16 handling.
17323
17324 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17325
17326 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17327
a0da5fe1
UD
17328 * configure.in: Remove --with-elf and --enable-bounded options.
17329 Dont set base_machine for ia64. More non-ELF conditions removed.
17330 Remove testing and setting of leading underscore information.
17331 * config.make.in (build-bounded): Set to no.
17332 * config.h.in: Remove NO_UNDERSCORES entry.
17333 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17334 them.
17335 * csu/start.c: Remove !NO_UNDERSCORE code.
17336 * locale/localeinfo.h: Likewise.
17337 * sysdeps/generic/machine-gmon.h: Likewise.
17338 * sysdeps/generic/sysdep.h: Likewise.
17339 * sysdeps/i386/sysdep.h: Likewise.
17340 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17341 * sysdeps/mach/sysdep.h: Likewise.
17342 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17343 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17344 * sysdeps/sh/sysdep.h: Likewise.
17345 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17346 * sysdeps/unix/i386/sysdep.S: Likewise.
17347 * sysdeps/unix/sparc/start.c: Likewise.
17348 * sysdeps/unix/sparc/sysdep.S: Likewise.
17349 * sysdeps/unix/sparc/sysdep.h: Likewise.
17350 * sysdeps/unix/start.c: Likewise.
17351 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17352 * sysdeps/x86_64/sysdep.h: Likewise.
17353
df78418a
UD
173542012-01-07 Ulrich Drepper <drepper@gmail.com>
17355
a784e502
UD
17356 [BZ #13553]
17357 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17358 for non-gcc.
17359 * argp/argp-fmtstream.h: Use const instead __const.
17360 * argp/argp.h: Likewise.
17361 * assert/assert.h: Likewise.
17362 * bits/fenv.h: Likewise.
17363 * bits/sched.h: Likewise.
17364 * bits/sigset.h: Likewise.
17365 * bits/sigthread.h: Likewise.
17366 * catgets/nl_types.h: Likewise.
17367 * conform/data/pthread.h-data: Likewise.
17368 * crypt/crypt-private.h: Likewise.
17369 * crypt/crypt.h: Likewise.
17370 * crypt/crypt_util.c: Likewise.
17371 * ctype/ctype.h: Likewise.
17372 * debug/execinfo.h: Likewise.
17373 * debug/mbsnrtowcs_chk.c: Likewise.
17374 * debug/mbsrtowcs_chk.c: Likewise.
17375 * debug/wcsnrtombs_chk.c: Likewise.
17376 * debug/wcsrtombs_chk.c: Likewise.
17377 * debug/wcstombs_chk.c: Likewise.
17378 * dirent/dirent.h: Likewise.
17379 * dlfcn/dlfcn.h: Likewise.
17380 * elf/neededtest4.c: Likewise.
17381 * grp/grp.h: Likewise.
17382 * gshadow/gshadow.h: Likewise.
17383 * iconv/gconv.h: Likewise.
17384 * iconv/gconv_int.h: Likewise.
17385 * iconv/gconv_simple.c: Likewise.
17386 * iconv/iconv.h: Likewise.
17387 * iconv/loop.c: Likewise.
17388 * iconv/skeleton.c: Likewise.
17389 * include/aio.h: Likewise.
17390 * include/aliases.h: Likewise.
17391 * include/argz.h: Likewise.
17392 * include/arpa/inet.h: Likewise.
17393 * include/assert.h: Likewise.
17394 * include/dirent.h: Likewise.
17395 * include/dlfcn.h: Likewise.
17396 * include/execinfo.h: Likewise.
17397 * include/fcntl.h: Likewise.
17398 * include/fenv.h: Likewise.
17399 * include/glob.h: Likewise.
17400 * include/grp.h: Likewise.
17401 * include/libintl.h: Likewise.
17402 * include/mntent.h: Likewise.
17403 * include/netdb.h: Likewise.
17404 * include/pwd.h: Likewise.
17405 * include/rpc/netdb.h: Likewise.
17406 * include/sched.h: Likewise.
17407 * include/search.h: Likewise.
17408 * include/shadow.h: Likewise.
17409 * include/signal.h: Likewise.
17410 * include/stdio.h: Likewise.
17411 * include/stdlib.h: Likewise.
17412 * include/string.h: Likewise.
17413 * include/sys/socket.h: Likewise.
17414 * include/sys/stat.h: Likewise.
17415 * include/sys/statfs.h: Likewise.
17416 * include/sys/statvfs.h: Likewise.
17417 * include/sys/syslog.h: Likewise.
17418 * include/sys/time.h: Likewise.
17419 * include/sys/uio.h: Likewise.
17420 * include/time.h: Likewise.
17421 * include/unistd.h: Likewise.
17422 * include/utmp.h: Likewise.
17423 * include/wchar.h: Likewise.
17424 * include/wctype.h: Likewise.
17425 * inet/aliases.h: Likewise.
17426 * inet/arpa/inet.h: Likewise.
17427 * inet/netinet/ether.h: Likewise.
17428 * inet/netinet/in.h: Likewise.
17429 * intl/libintl.h: Likewise.
17430 * io/bits/fcntl2.h: Likewise.
17431 * io/fcntl.h: Likewise.
17432 * io/ftw.h: Likewise.
17433 * io/sys/poll.h: Likewise.
17434 * io/sys/stat.h: Likewise.
17435 * io/sys/statfs.h: Likewise.
17436 * io/sys/statvfs.h: Likewise.
17437 * io/utime.h: Likewise.
17438 * libio/bits/stdio.h: Likewise.
17439 * libio/bits/stdio2.h: Likewise.
17440 * libio/libio.h: Likewise.
17441 * libio/libioP.h: Likewise.
17442 * libio/stdio.h: Likewise.
17443 * locale/lc-ctype.c: Likewise.
17444 * locale/locale.h: Likewise.
17445 * login/utmp.h: Likewise.
17446 * malloc/arena.c: Likewise.
17447 * malloc/malloc.c: Likewise.
17448 * malloc/malloc.h: Likewise.
17449 * malloc/mcheck.c: Likewise.
17450 * malloc/mtrace.c: Likewise.
17451 * math/bits/mathcalls.h: Likewise.
17452 * math/fenv.h: Likewise.
17453 * math/math_private.h: Likewise.
17454 * misc/bits/error.h: Likewise.
17455 * misc/bits/syslog.h: Likewise.
17456 * misc/err.h: Likewise.
17457 * misc/error.h: Likewise.
17458 * misc/fstab.h: Likewise.
17459 * misc/mntent.h: Likewise.
17460 * misc/regexp.h: Likewise.
17461 * misc/search.h: Likewise.
17462 * misc/sgtty.h: Likewise.
17463 * misc/sys/mman.h: Likewise.
17464 * misc/sys/syslog.h: Likewise.
17465 * misc/sys/uio.h: Likewise.
17466 * misc/sys/xattr.h: Likewise.
17467 * misc/ttyent.h: Likewise.
17468 * nis/rpcsvc/ypclnt.h: Likewise.
17469 * nss/nss.h: Likewise.
17470 * posix/bits/unistd.h: Likewise.
17471 * posix/fnmatch.h: Likewise.
17472 * posix/glob.h: Likewise.
17473 * posix/sched.h: Likewise.
17474 * posix/spawn.h: Likewise.
17475 * posix/sys/wait.h: Likewise.
17476 * posix/unistd.h: Likewise.
17477 * posix/wordexp.h: Likewise.
17478 * pwd/pwd.h: Likewise.
17479 * resolv/netdb.h: Likewise.
17480 * resource/sys/resource.h: Likewise.
17481 * rt/aio.h: Likewise.
17482 * rt/bits/mqueue2.h: Likewise.
17483 * rt/mqueue.h: Likewise.
17484 * shadow/shadow.h: Likewise.
17485 * signal/signal.h: Likewise.
17486 * socket/send.c: Likewise.
17487 * socket/sendto.c: Likewise.
17488 * socket/sys/socket.h: Likewise.
17489 * stdio-common/printf.h: Likewise.
17490 * stdlib/bits/stdlib.h: Likewise.
17491 * stdlib/fmtmsg.h: Likewise.
17492 * stdlib/monetary.h: Likewise.
17493 * stdlib/stdlib.h: Likewise.
17494 * stdlib/ucontext.h: Likewise.
17495 * streams/stropts.h: Likewise.
17496 * string/argz.h: Likewise.
17497 * string/bits/string2.h: Likewise.
17498 * string/string.h: Likewise.
17499 * string/strings.h: Likewise.
17500 * sunrpc/rpc/auth.h: Likewise.
17501 * sunrpc/rpc/auth_des.h: Likewise.
17502 * sunrpc/rpc/clnt.h: Likewise.
17503 * sunrpc/rpc/netdb.h: Likewise.
17504 * sunrpc/rpc/pmap_clnt.h: Likewise.
17505 * sunrpc/rpc/xdr.h: Likewise.
17506 * sysdeps/generic/inttypes.h: Likewise.
17507 * sysdeps/generic/net/if.h: Likewise.
17508 * sysdeps/generic/sys/swap.h: Likewise.
17509 * sysdeps/gnu/net/if.h: Likewise.
17510 * sysdeps/gnu/utmpx.h: Likewise.
17511 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17512 * sysdeps/i386/i486/bits/string.h: Likewise.
17513 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17514 * sysdeps/s390/bits/string.h: Likewise.
17515 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17516 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17517 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17518 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17519 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17520 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17521 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17522 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17523 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17524 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17525 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17526 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17527 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17528 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17529 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17530 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17531 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17533 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17534 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17535 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17536 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17537 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17538 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17539 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17540 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17541 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17542 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17543 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17544 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17545 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17546 * sysvipc/sys/ipc.h: Likewise.
17547 * sysvipc/sys/msg.h: Likewise.
17548 * sysvipc/sys/sem.h: Likewise.
17549 * sysvipc/sys/shm.h: Likewise.
17550 * termios/termios.h: Likewise.
17551 * time/sys/time.h: Likewise.
17552 * time/time.h: Likewise.
17553 * wcsmbs/bits/wchar2.h: Likewise.
17554 * wcsmbs/uchar.h: Likewise.
17555 * wcsmbs/wchar.h: Likewise.
17556 * wctype/wctype.h: Likewise.
17557
0269750c
UD
17558 [BZ #13551]
17559 * Makeconfig: Remove all but ELF support including AIX support.
17560 * Makerules: Likewise.
17561 * config.h.in: Likewise.
17562 * config.make.in: Likewise.
17563 * configure: Likewise.
17564 * configure.in: Likewise.
17565 * csu/Makefile: Likewise.
17566 * csu/version.c: Likewise.
17567 * debug/Makefile: Likewise.
17568 * dlfcn/Makefile: Likewise.
17569 * elf/Makefile: Likewise.
17570 * extra-lib.mk: Likewise.
17571 * iconv/Makefile: Likewise.
17572 * include/libc-symbols.h: Likewise.
17573 * include/shlib-compat.h: Likewise.
17574 * resolv/Makefile: Likewise.
17575 * resolv/res_libc.c: Likewise.
17576 * rt/Makefile: Likewise.
17577 * sysdeps/i386/asm-syntax.h: Likewise.
17578 * sysdeps/i386/sysdep.h: Likewise.
17579 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17580 * sysdeps/mach/sysdep.h: Likewise.
17581 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17582 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17583 * sysdeps/s390/asm-syntax.h: Likewise.
17584 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17585 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17586 * sysdeps/sh/sysdep.h: Likewise.
17587 * sysdeps/unix/sparc/sysdep.h: Likewise.
17588 * sysdeps/wordsize-32/divdi3.c: Likewise.
17589 * sysdeps/x86_64/sysdep.h: Likewise.
17590
00bbd29b
UD
17591 * argp/Versions: Remove _argp_unlock_xxx.
17592
17593 [BZ #13559]
17594 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17595 * abilist/libBrokenLocale.abilist: Likewise.
17596 * abilist/libanl.abilist: Likewise.
17597 * abilist/libc.abilist: Likewise.
17598 * abilist/libcrypt.abilist: Likewise.
17599 * abilist/libdl.abilist: Likewise.
17600 * abilist/libm.abilist: Likewise.
17601 * abilist/libnsl.abilist: Likewise.
17602 * abilist/libpthread.abilist: Likewise.
17603 * abilist/libresolv.abilist: Likewise.
17604 * abilist/librt.abilist: Likewise.
17605 * abilist/libthread_db.abilist: Likewise.
17606 * abilist/libutil.abilist: Likewise.
17607 * abilist/libnss_db.abilist: New file.
17608
17609 * scripts/abilist.awk: Add support for indirect functions.
17610
a2693a0e
UD
17611 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17612
3f05895f
UD
17613 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17614
ecb6fb48
UD
17615 * shlib-versions: Remove entries for ports architectures.
17616
664f8cb9
UD
17617 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17618 files in ports.
17619 * elf/stackguard-macros.h: Remove support for IA-64.
17620 * elf/tst-auditmod1.c: Likewise.
17621 * sysdeps/generic/ldsodefs.h: Likewise.
17622
7ae81d88
UD
17623 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17624 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17625 configure files.
17626
bdeba135
UD
17627 [BZ #13552]
17628 * configure.in: Remove --enable-omitfp support.
17629 * FAQ.in: Adjust.
17630 * config.make.in: Likewise.
17631 * Makeconfig: Likewise.
17632 * manual/install.texi: Likewise.
17633
d75a0a62
UD
17634 In case anyone cares, the IA-64 architecture could move to ports.
17635 * sysdeps/ia64/*: Removed.
17636 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17637 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17638
dcc9756b
UD
17639 [BZ #13555]
17640 * configure.in: Remove entries for unsupported architectures.
17641
d3761ebc 17642 [BZ #13533]
9954432e
UD
17643 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17644 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17645 routines.
17646 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17647 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17648 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17649 fall back to using wcrtomb.
17650 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17651 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17652 renaming.
17653 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17654 * wcsmbs/tst-c16c32-1.c: New file.
17655
17656 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17657 local variable.
17658
c3a87236
UD
17659 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17660
28926a1b
UD
17661 * elf/tst-unique3.cc: Add explicit declaration of gets.
17662 * elf/tst-unique3lib.cc: Likewise.
17663 * elf/tst-unique3lib2.cc: Likewise.
17664 * elf/tst-unique4.cc: Likewise.
17665
df78418a
UD
17666 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17667
8ecd6b2a
JM
176682012-01-06 Joseph Myers <joseph@codesourcery.com>
17669
17670 [BZ #13566]
17671 * assert/assert.h (static_assert): Don't define for C++.
17672 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17673 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17674
9f115170
UD
176752012-01-03 Ulrich Drepper <drepper@gmail.com>
17676
5e0d0300
UD
17677 * iconv/loop.c (single loop): Fix assertion in storing of
17678 remaining bytes.
17679
9f115170
UD
17680 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17681
81fb02b0
UD
176822012-01-01 Ulrich Drepper <drepper@gmail.com>
17683
17684 * posix/getconf.c: Update copyright year.
17685 * nss/getent.c: Likewise.
a316c1f6 17686 * nss/makedb.c: Likewise.
81fb02b0
UD
17687 * iconv/iconvconfig.c: Likewise.
17688 * iconv/iconv_prog.c: Likewise.
17689 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17690 * elf/pldd.c: Likewise.
17691 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17692 * catgets/gencat.c: Likewise.
17693 * csu/version.c: Likewise.
17694 * elf/ldd.bash.in: Likewise.
17695 * elf/sprof.c (print_version): Likewise.
17696 * locale/programs/locale.c: Likewise.
17697 * locale/programs/localedef.c: Likewise.
a316c1f6 17698 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17699 * nscd/nscd.c (print_version): Likewise.
17700 * debug/xtrace.sh: Likewise.
17701 * malloc/memusage.sh: Likewise.
17702 * malloc/mtrace.pl: Likewise.
17703 * debug/catchsegv.sh: Likewise.
17704
2ba92745
JJ
177052011-12-30 Jakub Jelinek <jakub@redhat.com>
17706
17707 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17708 pure attribute.
17709
dadebdae
UD
177102011-12-24 Ulrich Drepper <drepper@gmail.com>
17711
d3761ebc 17712 [BZ #13533]
db6af3eb
UD
17713 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17714 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17715 transformations.
17716 * iconv/gconv_int.h: Likewise.
17717 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17718 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17719 from libc for GLIBC_2.16.
17720 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17721 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17722 * wcsmbs/uchar.h: Really define mbstate_t.
17723 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17724 * wcsmbs/c16rtomb.c: New file.
17725 * wcsmbs/mbrtoc16.c: New file.
17726 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17727 for C/POSIX locale.
17728 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17729 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17730
dadebdae
UD
17731 * wcsmbs/wchar.h: Add missing __restrict.
17732
67371b56
UD
177332011-12-23 Ulrich Drepper <drepper@gmail.com>
17734
74033a25
UD
17735 [BZ #13532]
17736 * time/Makefile (routines): Add timespec_get.
17737 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17738 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17739 timespec for ISO C11.
17740 * time/timespec_get.c: New file.
17741 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17742 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17743
380d7e87
UD
17744 [BZ #13531]
17745 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17746 * stdlib/stdlib.h: Declare aligned_alloc.
17747 * Versions.def: Add GLIBC_2.16 for libc.
17748 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17749
4e9e7a35
UD
17750 [BZ 13527]
17751 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17752 ISO C11.
17753
380d7e87 17754 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17755 code.
17756
03a71829
UD
17757 [BZ #13528]
17758 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17759
839e283e
UD
17760 [BZ #13529]
17761 * assert/assert.h (static_assert): Define.
17762
ce5294e2 17763 * version.h: Update for 2.16 development version.
90fa7312 17764
8d44e150 17765 [BZ #13526]
d7809905
UD
17766 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17767 _ISOC11_SOURCE.
17768
c0da14cd
UD
17769 * version.h (RELEASE): Bump for 2.15 release.
17770 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17771
530a3249
MP
17772 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17773 Patch by Marek Polacek <mpolacek@redhat.com>.
17774
67371b56
UD
17775 * bits/byteswap.h: Protect long long constants with __extension__.
17776 * sysdeps/i386/bits/byteswap.h: Likewise.
17777 * sysdeps/ia64/bits/byteswap.h: Likewise.
17778 * sysdeps/s390/bits/byteswap.h: Likewise.
17779 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17780
15db4de1
LD
177812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17782
17783 [BZ #13540]
bbe315ea
LD
17784 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17785 destination buffer.
15db4de1
LD
17786 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17787
2b2596b1
MP
177882011-12-23 Marek Polacek <polacek@redhat.com>
17789
17790 * elf/dl-addr.c (determine_info): Add inline keyword.
17791 * elf/tst-auditmod4b.c (check_avx): Likewise.
17792 * elf/tst-auditmod6b.c (check_avx): Likewise.
17793 * elf/tst-auditmod6c.c (check_avx): Likewise.
17794 * elf/tst-auditmod7b.c (check_avx): Likewise.
17795
70c6c246
UD
177962011-12-23 Ulrich Drepper <drepper@gmail.com>
17797
17798 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17799 !__SSE_MATH__.
17800
c044cf14
LD
178012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17802
15db4de1 17803 [BZ #13540]
c044cf14
LD
17804 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17805 processing for last bytes.
17806
6b13d9d9
BH
178072011-08-06 Bruno Haible <bruno@clisp.org>
17808
d455f537
BH
17809 [BZ #13061]
17810 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17811 U+0385, not to U+1FEE.
17812
6b13d9d9
BH
17813 [BZ #13062]
17814 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17815 entry for U+00A5 U+0301.
17816
db910efd
UD
178172011-12-22 Ulrich Drepper <drepper@gmail.com>
17818
27deeafc
UD
17819 [BZ #13166]
17820 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17821 buffer for the output is too small.
17822
aed9d171
UD
17823 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17824 optimization.
17825
db910efd
UD
17826 [BZ #13185]
17827 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17828 SSE flags if possible.
17829
2bd779ae
LD
178302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17831
e7f9dac3 17832 [BZ #13540]
2bd779ae
LD
17833 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17834 processing for last bytes.
17835
154bfc16
JM
178362011-12-22 Joseph Myers <joseph@codesourcery.com>
17837
17838 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17839 (syscall-list-default-options, syscall-list-default-condition)
17840 (syscall-list-includes): Define.
17841 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17842 list of ABIs and options and #if conditions for each ABI. Do not
17843 handle common syscalls between ABIs specially.
17844 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17845 Remove.
17846 (syscall-list-variants, syscall-list-32bit-options)
17847 (syscall-list-32bit-condition, syscall-list-64bit-options)
17848 (syscall-list-64bit-condition): Define.
17849 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17850 (syscall-list-variants, syscall-list-32bit-options)
17851 (syscall-list-32bit-condition, syscall-list-64bit-options)
17852 (syscall-list-64bit-condition): Define.
17853 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17854 Remove.
17855 (syscall-list-variants, syscall-list-32bit-options)
17856 (syscall-list-32bit-condition, syscall-list-64bit-options)
17857 (syscall-list-64bit-condition): Define.
17858 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17859 Remove.
17860 (syscall-list-variants, syscall-list-32bit-options)
17861 (syscall-list-32bit-condition, syscall-list-64bit-options)
17862 (syscall-list-64bit-condition): Define.
17863
21eaf3a5
UD
178642011-12-22 Ulrich Drepper <drepper@gmail.com>
17865
16c6f992
UD
17866 * locale/iso-639.def: Add brx entry.
17867
41043168
UD
17868 [BZ #13328]
17869 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17870 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17871
21eaf3a5
UD
17872 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17873 __feraiseexcept_renamed.
17874
e3a851a2
UD
178752011-12-21 Ulrich Drepper <drepper@gmail.com>
17876
4920765e
UD
17877 [BZ #13538]
17878 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17879 EPOLLET with unsigned values.
17880 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17881 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17882
e3a851a2
UD
17883 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17884 to large cancellation.
17885 * math/s_cacoshf.c: Likewise.
17886 * math/s_cacoshl.c: Likewise.
17887
b27e24b8
RK
178882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17889
17890 [BZ #13305]
aebefeee 17891 [BZ #12786]
b27e24b8
RK
17892 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17893 * math/s_cacoshf.c: Likewise.
17894 * math/s_cacoshl.c: Likewise.
17895
ee190f67
UD
178962011-12-21 Ulrich Drepper <drepper@gmail.com>
17897
17898 [BZ #13439]
17899 * iconv/gconv.h: Define __GCONV_SWAP.
17900 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17901 * iconvdata/utf-16.c: Likewise.
17902 * iconvdata/utf-32.c: Likewise.
17903
707f25df
AS
179042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17905
17906 [BZ #13524]
17907 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17908 numerator after shifting it by one limb.
17909
d2daaa1e
RÁE
179102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17911
17912 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17913 under [__USE_EXTERN_INLINES].
17914
a4647e72
UD
179152011-12-17 Ulrich Drepper <drepper@gmail.com>
17916
17917 [BZ #13446]
17918 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17919
f0b264f1
AZ
179202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17921
17922 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17923 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17924 optimized code.
17925 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17926 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17927 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17928 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17929 for strncasecmp/strncasecmp_l compilation.
17930 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17931 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17932
8ef4f244
MP
179332011-12-08 Marek Polacek <mpolacek@redhat.com>
17934
17935 [BZ #13484]
17936 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17937 of __asm__.
17938
97ac2654
UD
179392011-12-17 Ulrich Drepper <drepper@gmail.com>
17940
17941 [BZ #13506]
17942 * time/tzfile.c (__tzfile_read): Check values from file header.
17943
91d2a845
WS
179442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17945
17946 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17947 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17948 * powerpc/powerpc32/dl-start.S: Likewise.
17949 * powerpc/powerpc32/elf/start.S: Likewise.
17950 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17951 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17952 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17953 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17954 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17955 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17956 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17957 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17958 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17959 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17960 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17961 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17962 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17963 * powerpc/powerpc32/memset.S: Likewise.
17964 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17965 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17966 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17967 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17968 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17969 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17970 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17971 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17972 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17973 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17974 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17975 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17976 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17977
a1267ba1
AZ
179782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17979
17980 * math/libm-test.inc: Added more nearbyint tests.
17981 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17982 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17984 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17985
ad8ac1bd
RL
179862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17987
17988 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17989 FD_CLOEXEC.
17990
1d3e4b61
UD
179912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17992
17993 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17994 Add wcscpy-ssse3 wcscpy-c.
17995 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17996 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17997 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17998 * sysdeps/x86_64/wcschr.S: New file.
17999 * sysdeps/x86_64/wcsrchr.S: New file.
18000 * string/test-strcmp.c: Remove checking of wcscmp function for
18001 wrong alignments.
18002 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18003 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18004 wcsrchr-sse2 wcsrchr-c.
18005 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18006 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18007 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18008 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18009 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18010 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18011 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18012 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18013 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18014 * wcsmbc/wcschr.c (WCSCHR): New macro.
18015
5b330a2d
UD
180162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18017
18018 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18019 * wcsmbs/test-wcsrchr.c: New file.
18020 * string/test-strrchr.c: Add wcsrchr support.
18021 (WIDE): New macro.
18022 * wcsmbs/test-wcscpy.c: New file.
18023 * string/test-strcpy.c: Add wcscpy support.
18024 (WIDE): New macro.
26428b7c 18025
f039c043
UD
180262011-12-10 Ulrich Drepper <drepper@gmail.com>
18027
18028 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18029 the inner loop.
18030
850fb039
AS
180312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18032
18033 [BZ #13472]
18034 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18035
4efbd5cb
UD
180362011-12-04 Ulrich Drepper <drepper@gmail.com>
18037
52ff5dd0 18038 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18039 Minor optimizations.
52ff5dd0 18040
4efbd5cb
UD
18041 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18042 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18043 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18044
8a426e12
UD
180452011-12-03 Ulrich Drepper <drepper@gmail.com>
18046
aff2453d
UD
18047 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18048 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18049 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18050 for gcc to avoid warnings.
18051 * inet/Makefile (tests): Add tst-checks.
18052 * inet/tst-checks.c: New file.
18053
18054 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18055 warning.
18056
18057 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18058 __wmemcmp_sse2.
18059
18060 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18061 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18062
8a426e12
UD
18063 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18064
9bea3473
UD
180652011-12-02 Ulrich Drepper <drepper@gmail.com>
18066
3a965496
UD
18067 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18068 problem.
18069
9bea3473
UD
18070 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18071
f101631b
UD
180722011-11-29 Joseph Myers <joseph@codesourcery.com>
18073
18074 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18075 conditional on GCC version.
18076 (__arch_compare_and_exchange_val_8_acq)
18077 (__arch_compare_and_exchange_val_16_acq)
18078 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18079 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18080 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18081
a98275aa
UD
180822011-12-02 Joseph Myers <joseph@codesourcery.com>
18083
18084 * sysdeps/sh/backtrace.c: New file.
18085
d4cc29a2
AS
180862011-12-02 Andreas Schwab <schwab@redhat.com>
18087
18088 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18089 parenthesis.
18090
6257af2d
AS
180912011-12-01 Andreas Schwab <schwab@redhat.com>
18092
18093 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18094 falling back to utime.
18095
b5f44c1a
AS
180962011-11-30 Andreas Schwab <schwab@redhat.com>
18097
18098 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18099 expectations for float.
18100
f3a6cc0a
AS
181012011-11-29 Andreas Schwab <schwab@redhat.com>
18102
18103 * locale/weight.h (findidx): Add parameter len.
18104 * locale/weightwc.h (findidx): Likewise.
18105 * posix/fnmatch_loop.c (FCT): Adjust caller.
18106 * posix/regcomp.c (build_equiv_class): Likewise.
18107 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18108 * posix/regexec.c (check_node_accept_bytes): Likewise.
18109 * string/strcoll_l.c (STRCOLL): Likewise.
18110 * string/strxfrm_l.c (STRXFRM): Likewise.
18111
9d65ea3a
UD
181122011-11-17 Ulrich Drepper <drepper@gmail.com>
18113
18114 * Makefile.in: Remove CVSOPT handling.
18115 * configure.in: Remove use of AC_REVISION.
18116 * iconvdata/Makefile (distribute): No need to filter out CVS.
18117 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18118 handling.
18119
5583a086
AS
181202011-11-16 Andreas Schwab <schwab@redhat.com>
18121
18122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18123 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18124 [USE_AS_STRNCASECMP_L]: Likewise.
18125 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18126 NO_TLS_DIRECT_SEG_REFS.
18127 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18128 Fix argument offsets for non-PIC.
18129 [USE_AS_STRNCASECMP_L]: Likewise.
18130 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18131 NO_TLS_DIRECT_SEG_REFS.
18132
d62a8200
UD
181332011-11-15 Ulrich Drepper <drepper@gmail.com>
18134
9d65ea3a 18135 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18136 O_CLOEXEC.
18137 * locale/loadlocale.c (_nl_load_locale): Likewise.
18138
09f93bd3
AS
181392011-11-15 Andreas Schwab <schwab@redhat.com>
18140
446514f9
AS
18141 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18142 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18143 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18144 (SYSCALL_GETTIME): Set errno on error.
18145
09f93bd3
AS
18146 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18147 count references to noai6ai_cached.
18148
312be3f9
UD
181492011-11-15 Ulrich Drepper <drepper@gmail.com>
18150
18151 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18152
18153 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18154 FD_CLOEXEC for /proc/self/maps.
18155
18156 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18157 FD_CLOEXEC for /proc/meminfo.
18158
18159 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18160 gai.conf.
18161
18162 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18163 FD_CLOEXEC for given file.
18164
18165 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18166
18167 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18168 FD_CLOEXEC for /etc/hosts.
18169 (_gethtent): Likewise.
18170
18171 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18172
18173 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18174 cancellation and set FD_CLOEXEC for /etc/netgroup.
18175
18176 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18177 reading /etc/publickey.
18178
18179 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18180 allow cancellation when reading /etc/group.
18181
18182 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18183 cancellation.
18184 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18185
18186 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18187 when using data file.
18188
18189 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18190
18191 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18192 (write_nis_obj): Use "c" and "e" in fopen.
18193
18194 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18195
18196 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18197
18198 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18199
18200 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18201
18202 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18203 locale.alias.
18204
18205 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18206
18207 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18208
18209 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18210
18211 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18212 file parsing and set FD_CLOEXEC.
18213
82af0fa8
UD
182142011-11-14 Ulrich Drepper <drepper@gmail.com>
18215
18216 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18217
a5fb313c
AS
182182011-11-14 Andreas Schwab <schwab@redhat.com>
18219
18220 * malloc/arena.c (arena_get2): Don't call reused_arena when
18221 _int_new_arena failed.
18222
6abf3465
UD
182232011-11-14 Ulrich Drepper <drepper@gmail.com>
18224
18225 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18226 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18227 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18228 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18229 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18230 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18231 to compile strcasecmp and strncasecmp.
18232 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18233 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18234
18235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18236
76e3966e
UD
182372011-11-13 Ulrich Drepper <drepper@gmail.com>
18238
18239 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18240 locale-defines.sym to gen-as-const-headers.
18241 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18242 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18244 to compile strcasecmp and strncasecmp.
18245 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18246 strcasecmp_l and strncasecmp_l.
18247 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18248 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18249 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18250 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18251 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18252 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18253 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18254 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18255 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18256 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18257 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18258
ab26144e
UD
182592011-11-12 Ulrich Drepper <drepper@gmail.com>
18260
7edb22ef
UD
18261 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18262 result of SYSDEP_GETTIME_CPU to retval.
18263 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18264 parameter list to macro. Remove trailing semicolon. Adjust users.
18265
9694fc44
UD
18266 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18267 variable.
18268
8ad89ef8
UD
18269 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18270 mantissa words.
18271 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18272
0c822ef9
UD
18273 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18274 from unused variable.
18275
874e0564
UD
18276 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18277 DWARF definitions.
18278 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18279 for assembling.
18280
3a2edc79
UD
18281 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18282 over namespaces.
18283
f3c2577f
UD
18284 * sunrpc/rpc_prot.c (rejected): Fix case value.
18285
294ce126
UD
18286 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18287 unsigned long long int to avoid warnings in shift.
18288
5e2b63c6
UD
18289 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18290 of use of trans.
18291 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18292 variable tmp.
18293
e7f4b08e
UD
18294 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18295 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18296 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18297
ab26144e
UD
18298 * nis/nis_table.c (nis_list): Use variable of correct type for
18299 result of __follow_path call.
18300
8a6d5255
AZ
183012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18302
18303 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18304 of math functions ceil, trunc, floor, round, and sqrt, when
18305 avaliable on the platform.
18306 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18307 name clash.
18308 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18309 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18310 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18311
aaddc98c
MP
183122011-10-30 Marek Polacek <mpolacek@redhat.com>
18313
18314 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18315 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18316
95b7042b
RM
183172011-11-11 Roland McGrath <roland@hack.frob.com>
18318
18319 * include/unistd.h: Fix __readlink return type.
18320 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18321
57769839
UD
183222011-11-11 Ulrich Drepper <drepper@gmail.com>
18323
18324 * stdlib/ucontext.h: Undo last change for makecontext.
18325
edc5984d
AS
183262011-11-11 Andreas Schwab <schwab@redhat.com>
18327
98591e58
AS
18328 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18329
edc5984d
AS
18330 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18331 * setjmp/setjmp.h: Mark functions as non-leaf.
18332 * setjmp/bits/setjmp2.h: Likewise.
18333 * stdlib/ucontext.h: Likewise.
18334
77cdc054
AS
183352011-11-10 Andreas Schwab <schwab@redhat.com>
18336
18337 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18338 (reused_arena): Don't check arena limit.
18339 (arena_get2): Atomically check arena limit.
18340
fe72eebd
UD
183412011-11-08 Ulrich Drepper <drepper@gmail.com>
18342
5f078c32
UD
18343 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18344 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18345
fe72eebd
UD
18346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18347 instructions.
18348
ae1bc2fa
AS
183492011-11-07 Andreas Schwab <schwab@redhat.com>
18350
7583a88d
AS
18351 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18352 handler when locking.
18353
ae1bc2fa
AS
18354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18355 Fix size of allocated buffer.
18356
10fb0bfa
AS
183572011-11-04 Andreas Schwab <schwab@redhat.com>
18358
998832a4
AS
18359 [BZ #10103]
18360 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18361 declarations for long double functions.
18362 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18363
10fb0bfa
AS
18364 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18365
3d7ba52b
AS
183662011-11-03 Andreas Schwab <schwab@redhat.com>
18367
a9ae54a1
AS
18368 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18369 installed.
18370
3d7ba52b
AS
18371 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18372 is disabled.
18373
bc8db248
ST
183742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18375
18376 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18377
45b96dd6
AS
183782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18379
647776f6
AS
18380 * include/alloca.h (stackinfo_alloca_round): Define.
18381 (extend_alloca): Use it.
18382 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18383 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18384 here.
18385
d91a8b93
AS
18386 * scripts/check-local-headers.sh: Ignore libaudit.h.
18387
45b96dd6
AS
18388 * nscd/Makefile (extra-objs): Make recursively expanded.
18389
432d41ce
UD
183902011-11-01 Ulrich Drepper <drepper@gmail.com>
18391
34372fc6
UD
18392 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18393 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18394
fadb59f8
UD
18395 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18396 * posix/tst-rfc3484-2.c: Likewise.
18397 * posix/tst-rfc3484-3.c: Likewise.
18398
78239589
UD
18399 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18400 process_vm_writev.
18401 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18402 process_vm_writev.
18403 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18404 process_vm_writev from libc using GLIBC_2.15 version.
18405
432d41ce
UD
18406 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18407
02f9c6cf
PP
184082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18409
18410 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18411 stack usage.
18412
3a2c0242
UD
184132011-10-31 Ulrich Drepper <drepper@gmail.com>
18414
f4ec4833
UD
18415 [BZ #13367]
18416 * nss/getent.c (initgroups_keys): Show error message in case no group
18417 names are given.
18418
3a2c0242
UD
18419 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18420 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18421 __bump_nl_timestamp.
18422 * nscd/connections (nscd_init): When host database is served open
18423 netlink socket and request notification about configuration changes.
18424 (main_loop_poll): Track netlink file descriptor and bump timestamp
18425 in case data becomes available.
18426 (main_loop_epoll): Likewise.
18427 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18428 (database_pers_head): Add extra_data fileds.
18429 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18430 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18431 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18432 Adjust caller.
18433 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18434 in6ai data, call __free_in6ai.
18435 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18436 Add -DHAVE_NETLINK.
18437 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18438 interface information. Reuse previous data if netlink timestamp
18439 is not changed.
18440 (__bump_nl_timestamp): New function.
18441 (__free_in6ai): New function.
18442
636064eb
UD
184432011-10-30 Ulrich Drepper <drepper@gmail.com>
18444
18445 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18446 close_not_cancel_no_status here.
18447 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18448
9beb2334
UD
184492011-10-29 Ulrich Drepper <drepper@gmail.com>
18450
6ef76f3b
UD
18451 [BZ #13276]
18452 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18453 return value.
18454
0ffc4f3e 18455 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18456 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18457 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18458
cb95113e
UD
184592011-07-03 Andreas Jaeger <aj@suse.de>
18460
18461 [BZ #10709]
18462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18463 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18464 * math/libm-test.inc (sin_test): Add test case.
18465
a1b560ff
UD
184662011-10-29 Ulrich Drepper <drepper@gmail.com>
18467
c9aaface
UD
18468 [BZ #13337]
18469 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18470 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18471
d272e7f1
UD
18472 * elf/chroot_canon.c (chroot_canon): Cleanups.
18473
1bc33071
UD
18474 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18475
1760874d
TJ
18476 [BZ #13335]
18477 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18478 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18479
51d91b18
UD
18480 * string/test-strchr.c: Make usable for strchrnul testing.
18481 * string/test-strchrnul.c: New file.
18482 * string/Makefile (strop-tests): Add strchrnul.
18483
a1b560ff 18484 * po/it.po: Update from translation team.
b611fb81 18485 * po/es.po: Likewise.
a1b560ff 18486
a5b81e1f
UD
184872011-10-28 Ulrich Drepper <drepper@gmail.com>
18488
fd52bc6d
UD
18489 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18490 the three constants needed as parameters. Drop the others.
18491 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18492 __m128i_strloadu_tolower.
52e4b9eb
UD
18493 Create and initialize variable zero and use it in all the places
18494 where _mm_setzero_si128 was used.
fd52bc6d 18495
a5b81e1f
UD
18496 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18497 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18498 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18499 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18500 anymore.
18501 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18502 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18503 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18504 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18505 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18506 __mpranred, __mptan.
18507 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18508 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18509 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18510 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18511 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18512 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18513 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18514 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18515 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18516
b4343346
AS
185172011-10-28 Andreas Schwab <schwab@redhat.com>
18518
0c92d8a8
AS
18519 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18520 redefine if SHARED.
18521 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18522
b4343346
AS
18523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18524 wide char related routines to wcsmbs subdir.
18525
3871f58f
AS
185262011-10-27 Andreas Schwab <schwab@redhat.com>
18527
18528 [BZ #13344]
18529 * misc/sys/cdefs.h (__THROWNL): Define.
18530 * posix/unistd.h: Use __THREADNL instead of __THREAD
18531 for memory synchronization functions.
18532
94d44d9f
RM
185332011-10-26 Roland McGrath <roland@hack.frob.com>
18534
21b64b15 18535 [BZ #13349]
94d44d9f
RM
18536 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18537 doesn't exist.
18538 * manual/stdio.texi (Obstack Streams): Node removed.
18539
f6ce9294
AS
185402011-10-26 Andreas Schwab <schwab@redhat.com>
18541
80479147
AS
18542 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18543 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18544 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18545
f6ce9294
AS
18546 * math/math_private.h (math_force_eval): Allow non-addressable
18547 arguments.
18548 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18549
618280a1
UD
185502011-10-25 Ulrich Drepper <drepper@gmail.com>
18551
e0016b11
UD
18552 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18553 file is not needed.
18554
18555 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18557 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18558 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18559 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18560 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18562 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18563 Add AVX variants.
18564 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18565 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18566 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18567 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18568 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18569 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18570 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18571 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18572 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18573 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18574 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18575 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18576 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18577 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18578 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18579 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18580 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18581 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18582 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18583
18584 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18585 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18586
618280a1
UD
18587 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18588 place. Use VEX encoding when compiling for AVX.
18589
37822576
AS
185902011-10-25 Andreas Schwab <schwab@redhat.com>
18591
1f1e1947
AS
18592 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18593 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18594
37822576
AS
18595 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18596
31ea014d
UD
185972011-10-25 Ulrich Drepper <drepper@gmail.com>
18598
d7826aa1 18599 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18600 useless if() expression.
d7826aa1
UD
18601 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18602 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18603 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18605 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18606 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18607 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18608 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18609 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18610 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18611 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18612 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18613 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18614 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18615 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18616 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18617 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18618 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18619 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18620
31ea014d
UD
18621 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18622
16437fec
AS
186232011-10-25 Andreas Schwab <schwab@redhat.com>
18624
18625 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18626 condition.
18627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18628
31d3cc00
UD
186292011-10-25 Ulrich Drepper <drepper@gmail.com>
18630
18631 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18632 .text section. Avoid duplicate constants.
18633 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18635 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18642 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18643 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18644 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18645 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18646 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18647 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18648 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18649 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18650 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18651 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18653 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18654 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18655 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18656 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18657 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18658 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18659 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18660 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18661 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18662 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18663 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18664 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18665 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18666 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18667 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18668 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18669 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18670 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18671 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18672 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18673 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18674 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18675 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18676 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18677 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18678
58985aa9
UD
186792011-10-24 Ulrich Drepper <drepper@gmail.com>
18680
202c9deb
UD
18681 * sysdeps/x86_64/dla.h: Move to ...
18682 * sysdeps/x86_64/fpu/dla.h: ...here.
18683 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18684 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18685
af968f62
UD
18686 * config.make.in: Add have-mfma4 entry.
18687 * configure.in: Substitute libc_cv_cc_fma4.
18688 * math/Makefile (dbl-only-routines): Add sincostab.
18689 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18690 Use __sincostab not sincos.
18691 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18692 name is a macro.
18693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18697 using __copysign.
18698 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18699 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18700 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18701 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18702 and __inv.
18703 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18704 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18705 __copysign.
18706 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18707 define aliases when function name is a macro.
18708 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18709 sysdeps/ieee754/dbl-64/sincos.tbl.
18710 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18711 fma4-enabled routines.
18712 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18713 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18714 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18715 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18716 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18717 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18718 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18719 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18720 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18721 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18722 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18723 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18724 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18725 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18726 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18727 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18728 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18729 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18730 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18731 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18732 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18733 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18734 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18735 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18737 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18739 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18740 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18741 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18742
58985aa9
UD
18743 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18744 rename.
18745 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18746 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18748 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18749 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18750 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18751 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18752 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18753
a201fbcf
AS
187542011-10-24 Andreas Schwab <schwab@redhat.com>
18755
18756 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18757
fc2ee42a
LD
187582011-10-23 Ulrich Drepper <drepper@gmail.com>
18759
bb3129bd
UD
18760 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18761
0275fff8
UD
18762 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18763 prediction.
18764 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18765
2fa2ae85
UD
18766 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18767 Remove unused variable magic_bits.
18768 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18769
fc2ee42a
LD
18770 * string/strnlen.c: Define and use STRNLEN macro.
18771 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18772 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18774 * wcsmbs/wcslen.c: Define and use WCSLEN.
18775 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18776 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18777 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18778 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18779 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18780 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18781 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18782
ce7dd29f
LD
187832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18784
18785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18786 strnlen-sse2-no-bsf.
18787 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18788 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18789 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18790 Add strnlen support.
18791 (USE_AS_STRNLEN): New macro.
18792 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18793 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18794 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18795 * sysdeps/x86_64/wcslen.S: New file.
18796
979c70a3
MZ
187972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18798
18799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18800 XMM-moves are used for copying on small sizes.
18801
2d09f82f
LD
188022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18803
18804 * wcsmbs/Makefile (strop-tests): Add wcschr.
18805 * wcsmbs/test-wcschr.c: New file.
18806 * string/test-strchr.c: Update.
18807 Add wcschr support.
18808 (WIDE): New macro.
18809
619fccca
LD
188102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18811
2d09f82f 18812 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18813 * wcsmbs/test-wcslen.c: New file.
18814 * string/test-strlen.c: Update.
18815 Add wcslen support.
18816 (WIDE): New macro.
18817
09f699ea
UD
188182011-10-23 Ulrich Drepper <drepper@gmail.com>
18819
18820 * po/it.po: Update from translation team.
18821
95584d3b
LD
188222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18823
18824 * sysdeps/x86_64/wcscmp.S: Update.
18825 Fix wrong comparison semantics.
18826 wcscmp shall use signed comparison not unsigned.
18827 Don't use substraction to avoid overflow bug.
18828 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18829 * wcsmbc/wcscmp.c: Likewise.
18830 * string/test-strcmp.c: Likewise.
18831 Add new tests to check cases with negative values.
18832
c8b3296b
UD
188332011-10-23 Ulrich Drepper <drepper@gmail.com>
18834
18835 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18836 * sysdeps/x86_64/dla.h: ...here. New file.
18837 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18841 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18842 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18844 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18846
246ad57a
AS
188472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18848
18849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18850 __ynl_finite aliases.
18851
a1a87169
UD
188522011-10-22 Ulrich Drepper <drepper@gmail.com>
18853
0d355eb7
UD
18854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18855
a1a87169
UD
18856 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18857 define DLA_FMA.
18858 [DLA_FMA] (EMULV): Use DLA_FMA.
18859 [DLA_FMA] (MUL12): Use EMULV.
18860 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18861 that are not needed.
18862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18865 * sysdeps/ieee754/dbl-64/e_pow.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
ee2aafe0
AS
188702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18871
18872 * math/s_nan.c: Undef __nan.
18873 * math/s_nanf.c: Undef __nanf.
18874 * math/s_nanl.c: Undef __nanl.
18875 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18876 "math_private.h".
18877
bc62c2fb
UD
188782011-10-22 Ulrich Drepper <drepper@gmail.com>
18879
77425c63
UD
18880 * math/s_catan.c: Add branch predictions.
18881 * math/s_catanf.c: Likewise.
18882 * math/s_catanh.c: Likewise.
18883 * math/s_catanhf.c: Likewise.
18884 * math/s_catanhl.c: Likewise.
18885 * math/s_catanl.c: Likewise.
18886 * math/s_cexp.c: Likewise.
18887 * math/s_cexpf.c: Likewise.
18888 * math/s_cexpl.c: Likewise.
18889 * math/s_clog.c: Likewise.
18890 * math/s_clog10.c: Likewise.
18891 * math/s_clog10f.c: Likewise.
18892 * math/s_clog10l.c: Likewise.
18893 * math/s_clogf.c: Likewise.
18894 * math/s_clogl.c: Likewise.
18895 * math/s_csqrt.c: Likewise.
18896 * math/s_csqrtf.c: Likewise.
18897 * math/s_csqrtl.c: Likewise.
18898 * math/s_ctanf.c: Likewise.
18899 * math/s_ctanh.c: Likewise.
18900 * math/s_ctanhf.c: Likewise.
18901 * math/s_ctanhl.c: Likewise.
18902 * math/s_ctanl.c: Likewise.
18903
bc62c2fb
UD
18904 * math/math_private.h: Define __nan, __nanf, __nanl.
18905 * math/s_cacosh.c: Include <math_private.h>.
18906 * math/s_cacoshl.c: Likewise.
18907 * math/s_casinh.c: Likewise.
18908 * math/s_casinhf.c: Likewise.
18909 * math/s_casinhl.c: Likewise.
18910 * math/s_ccos.c: Rely entire on ccosh.
18911 * math/s_ccosf.c: Rely entire on ccoshf.
18912 * math/s_ccosl.c: Rely entirely on ccoshl.
18913 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18914 Remove tests for FE_INVALID.
18915 * math/s_ccoshf.c: Likewise.
18916 * math/s_ccoshl.c: Likewise.
18917 * math/s_csin.c: Likewise.
18918 * math/s_csinf.c: Likewise.
18919 * math/s_csinh.c Likewise.
18920 * math/s_csinhf.c: Likewise.
18921 * math/s_csinhl.c: Likewise.
18922 * math/s_csinl.c: Likewise.
18923 * math/s_ctan.c: Likewise.
18924 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18925 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18926 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18927
8ec250a4
UD
189282011-10-21 Ulrich Drepper <drepper@gmail.com>
18929
c196fed8
UD
18930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18931 compilation problems.
18932
8ec250a4
UD
18933 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18934 __builtin_expect.
18935
8d4f46c6
UD
189362011-10-20 Ulrich Drepper <drepper@gmail.com>
18937
ed72b654
UD
18938 * sysdeps/i386/configure.in: Test for -mfma4 option.
18939 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18940 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18941 COMMON_CPUID_INDEX_80000001.
18942 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18943 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18944 use it if FMA3 is not supported.
18945 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18946
8d4f46c6
UD
18947 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18948 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18949
d45c60c2
AS
189502011-10-20 Andreas Schwab <schwab@redhat.com>
18951
18952 [BZ #12892]
18953 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18954 it would create a cycle with a link time dependency.
18955
d9a4d2ab
UD
189562011-10-19 Ulrich Drepper <drepper@gmail.com>
18957
855d1560
UD
18958 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18959 instruction.
18960 * string/Makefile (strop-tests): Add rawmemchr.
18961 * string/test-rawmemchr.c: New file.
18962
d9a4d2ab
UD
18963 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18964 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18965 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18966 when compiling str{,n}casecmp and when AVX is available. Hook up
18967 new optimized code in initializers.
18968
8f3b1ffe
AS
189692011-10-19 Andreas Schwab <schwab@redhat.com>
18970
18971 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18972 __feraiseexcept instead of feraiseexcept.
18973
d38f1dba
UD
189742011-10-18 Ulrich Drepper <drepper@gmail.com>
18975
d9a8d0ab
UD
18976 * math/math_private.h: Define defaults for libc_fetestexcept and
18977 libc_feupdateenv.
18978 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18979 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18980 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18981 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18982 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18983 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18984 libc_fetestexcept and libc_feupdateenv.
18985
4855e3dd
UD
18986 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18987 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18988 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18989 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18990 libc_feholdexcept_setround.
18991
581d30e3
UD
18992 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18993 Add s_nearbyint-c and s_nearbyintf-c.
18994 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18995 nearbyintf inlines.
18996 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18997 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18998 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18999 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19000
d38f1dba
UD
19001 * math/math_private.h: Define defaults for libc_fegetround,
19002 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19003 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19004 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19005 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19006 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19007 standard functions.
19008 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19009 Remove comments and hacks for old compiler versions.
19010 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19011 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19012 libc_feholdexceptl.
19013
caa6c9d8
AS
190142011-10-18 Andreas Schwab <schwab@redhat.com>
19015
19016 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19017 (__feraiseexcept_renamed): Add __NTH.
19018 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19019 namespace violations.
19020
97c066e6
UD
190212011-10-17 Ulrich Drepper <drepper@gmail.com>
19022
99ce7b04
UD
19023 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19024
1004d182
UD
19025 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19026
228a984d
UD
19027 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19028 recently added interfaces.
19029 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19030
c8553a6a
UD
19031 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19032 about macro parameter expansion.
19033
ed22dcf6
UD
19034 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19035 __NO_MATH_INLINES is defined. Cleanups.
19036
19037 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19038 and __floorf is target has SSE4.1.
19039 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19040 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19041 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19042 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19043
b171c137
UD
19044 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19045 name.
19046 (floorf): Likewise.
19047
97c066e6
UD
19048 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19049
629f62ef
AS
190502011-10-17 Andreas Schwab <schwab@redhat.com>
19051
49a43d80
AS
19052 * misc/sys/cdefs.h: Fix last change.
19053
629f62ef
AS
19054 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19055 database lookup.
19056
e453f6cd
UD
190572011-10-16 Ulrich Drepper <drepper@gmail.com>
19058
aa78043a
UD
19059 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19060
ad0f5cad
UD
19061 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19062 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19063 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19064 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19065 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19066 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19067 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19068 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19069 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19070 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19071 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19072 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19073 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19074 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19075 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19076 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19077 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19078 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19079 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19080 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19081 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19082 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19083
19084 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19085 ceil, ceilf, floor, floorf.
19086
19087 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19088 Perform IRELATIVE relocations last.
19089
e453f6cd
UD
19090 * elf/do-rel.h: Add another parameter nrelative, replacing the
19091 local variable with the same name. Change name of the function
19092 to end in Rel or Rela (uppercase).
19093 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19094 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19095 elf_dynamic_do_##reloc function.
19096
fd5bdc09
UD
190972011-10-15 Ulrich Drepper <drepper@gmail.com>
19098
79b195b5
UD
19099 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19100 is sufficient, at least on modern CPUs.
19101
d4a28569
UD
19102 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19103
b61099b5
UD
19104 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19105 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19106
bcf01e6d
UD
19107 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19108 __expl_finite.
19109 * math/bits/math-finite.h: Add entries for exp.
19110 * math/e_expl.c: Add __*_finite alias.
19111 * sysdeps/i386/fpu/e_exp.S: Likewise.
19112 * sysdeps/i386/fpu/e_expf.S: Likewise.
19113 * sysdeps/i386/fpu/e_expl.c: Likewise.
19114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19115 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19116 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19118 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19119 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19120 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19121
ba1a0d59
UD
19122 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19123 is sufficient, at least on modern CPUs.
19124
fd5bdc09
UD
19125 * ctype/ctype-info.c (__ctype_init): Define.
19126 * include/ctype.h (__ctype_init): Declare.
19127 (__ctype_b_loc): The variable is always initialized.
19128 (__ctype_toupper_loc): Likewise.
19129 (__ctype_tolower_loc): Likewise.
19130 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19131 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19132
7872cfb0
AS
191332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19134
b468825a
AS
19135 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19136
7872cfb0
AS
19137 * configure.in: Also look in $cxxmachine/include for C++ system
19138 headers.
19139
be13f7bf
LD
191402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19141
19142 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19143 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19144 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19145 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19146 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19147 (USE_AS_WMEMCMP): New macro.
19148 Fixing indents.
19149 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19150 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19151 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19152 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19154 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19155 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19156 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19157 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19158 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19159 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19160 (USE_AS_WMEMCMP): New macro.
19161 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19162 * sysdeps/string/test-memcmp.c: Update.
19163 Fix simple_wmemcmp.
19164 Add new tests.
19165 * wcsmbs/wmemcmp.c: Update.
19166 (WMEMCMP): New macro.
19167 Fix overflow bug.
19168
556a2007
AJ
191692011-10-12 Andreas Jaeger <aj@suse.de>
19170
19171 [BZ #13268]
19172 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19173
538faaa7
UD
191742011-10-15 Ulrich Drepper <drepper@gmail.com>
19175
ab6737ff
UD
19176 * libio/iofwide.c (do_length): Avoid warning.
19177
538faaa7
UD
19178 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19179
396a21b1
UD
191802011-10-14 Ulrich Drepper <drepper@gmail.com>
19181
cdf2901f
UD
19182 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19183
38ad40ce
UD
19184 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19185 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19186 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19187 * sysdeps/i386/i686/fpu/e_log.S: New file.
19188 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19189 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19190
396a21b1
UD
19191 * ctype/ctype.h: Add support for inlined isXXX functions when
19192 compiling C++ code.
19193
6b1f68c9
AS
191942011-10-14 Andreas Schwab <schwab@redhat.com>
19195
349290c0
AS
19196 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19197
6b1f68c9
AS
19198 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19199
f2282d42
RM
192002011-10-13 Roland McGrath <roland@hack.frob.com>
19201
19202 [BZ #13291]
19203 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19204
5298ffa8
AS
192052011-10-13 Andreas Schwab <schwab@redhat.com>
19206
714fad23
AS
19207 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19208 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19209 feraiseexcept.
19210
81dcc7fb
AS
19211 * sysdeps/x86_64/memrchr.S: Check for zero size.
19212
5298ffa8
AS
19213 * string/stratcliff.c: Add memrchr tests.
19214
951fbcec
LD
192152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19216
19217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19218 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19219 rawmemchr-sse2 rawmemchr-sse2-bsf.
19220 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19221 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19222 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19223 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19224 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19225 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19226 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19227 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19228 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19229 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19230 * string/memrchr.c (MEMRCHR): New macro.
19231
0ac5ae23
UD
192322011-10-12 Ulrich Drepper <drepper@gmail.com>
19233
19234 Add integration with gcc's -ffinite-math-only and optimize wrapper
19235 functions in libm.
19236 * Versions.def: Define GLIBC_2.15 version for libm.
19237 * math/Makefile (headers): Add bits/math-finite.h.
19238 * math/bits/math-finite.h: New file.
19239 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19240 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19241 * math/e_acoshl.c: Add __*_finite alias.
19242 * math/e_acosl.c: Likewise.
19243 * math/e_asinl.c: Likewise.
19244 * math/e_atan2l.c: Likewise.
19245 * math/e_atanhl.c: Likewise.
19246 * math/e_coshl.c: Likewise.
19247 * math/e_exp10.c: Likewise.
19248 * math/e_exp10f.c: Likewise.
19249 * math/e_exp10l.c: Likewise.
19250 * math/e_exp2l.c: Likewise.
19251 * math/e_fmodl.c: Likewise.
19252 * math/e_gammal_r.c: Likewise.
19253 * math/e_hypotl.c: Likewise.
19254 * math/e_j0l.c: Likewise.
19255 * math/e_j1l.c: Likewise.
19256 * math/e_jnl.c: Likewise.
19257 * math/e_lgammal_r.c: Likewise.
19258 * math/e_log10l.c: Likewise.
19259 * math/e_log2l.c: Likewise.
19260 * math/e_logl.c: Likewise.
19261 * math/e_powl.c: Likewise.
19262 * math/e_sinhl.c: Likewise.
19263 * math/e_sqrtl.c: Likewise.
19264 * math/e_scalb.c: Completely rewritten and optimized.
19265 * math/e_scalbf.c: Likewise.
19266 * math/e_scalbl.c: Likewise.
19267 * math/w_acos.c: Likewise.
19268 * math/w_acosf.c: Likewise.
19269 * math/w_acosl.c: Likewise.
19270 * math/w_acosh.c: Likewise.
19271 * math/w_acoshf.c: Likewise.
19272 * math/w_acoshl.c: Likewise.
19273 * math/w_asin.c: Likewise.
19274 * math/w_asinf.c: Likewise.
19275 * math/w_asinl.c: Likewise.
19276 * math/w_atan2.c: Likewise.
19277 * math/w_atan2f.c: Likewise.
19278 * math/w_atan2l.c: Likewise.
19279 * math/w_atanh.c: Likewise.
19280 * math/w_atanhf.c: Likewise.
19281 * math/w_atanhl.c: Likewise.
19282 * math/w_exp10.c: Likewise.
19283 * math/w_exp10f.c: Likewise.
19284 * math/w_exp10l.c: Likewise.
19285 * math/w_fmod.c: Likewise.
19286 * math/w_fmodf.c: Likewise.
19287 * math/w_fmodl.c: Likewise.
19288 * math/w_j0.c: Likewise.
19289 * math/w_j0f.c: Likewise.
19290 * math/w_j0l.c: Likewise.
19291 * math/w_j1.c: Likewise.
19292 * math/w_j1f.c: Likewise.
19293 * math/w_j1l.c: Likewise.
19294 * math/w_jn.c: Likewise.
19295 * math/w_jnf.c: Likewise.
19296 * math/w_log.c: Likewise.
19297 * math/w_logf.c: Likewise.
19298 * math/w_logl.c: Likewise.
19299 * math/w_log10.c: Likewise.
19300 * math/w_log10f.c: Likewise.
19301 * math/w_log10l.c: Likewise.
19302 * math/w_log2.c: Likewise.
19303 * math/w_log2f.c: Likewise.
19304 * math/w_log2l.c: Likewise.
19305 * math/w_pow.c: Likewise.
19306 * math/w_powf.c: Likewise.
19307 * math/w_powl.c: Likewise.
19308 * math/w_remainder.c: Likewise.
19309 * math/w_remainderf.c: Likewise.
19310 * math/w_remainderl.c: Likewise.
19311 * math/w_scalb.c: Likewise.
19312 * math/w_scalbf.c: Likewise.
19313 * math/w_scalbl.c: Likewise.
19314 * math/w_sqrt.c: Likewise.
19315 * math/w_sqrtf.c: Likewise.
19316 * math/w_sqrtl.c: Likewise.
19317 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19318 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19319 used.
19320 * math/math_private.h: Declare __kernel_standard_f.
19321 * math/w_cosh.c: Remove cruft and optimize a bit.
19322 * math/w_coshf.c: Likewise.
19323 * math/w_coshl.c: Likewise.
19324 * math/w_exp2.c: Likewise.
19325 * math/w_exp2f.c: Likewise.
19326 * math/w_exp2l.c: Likewise.
19327 * math/w_hypot.c: Likewise.
19328 * math/w_hypotf.c: Likewise.
19329 * math/w_hypotl.c: Likewise.
19330 * math/w_lgamma.c: Likewise.
19331 * math/w_lgamma_r.c: Likewise.
19332 * math/w_lgammaf.c: Likewise.
19333 * math/w_lgammaf_r.c: Likewise.
19334 * math/w_lgammal.c: Likewise.
19335 * math/w_lgammal_r.c: Likewise.
19336 * math/w_sinh.c: Likewise.
19337 * math/w_sinhf.c: Likewise.
19338 * math/w_sinhl.c: Likewise.
19339 * math/w_tgamma.c: Likewise.
19340 * math/w_tgammaf.c: Likewise.
19341 * math/w_tgammal.c: Likewise.
19342 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19343 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19344 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19345 Minor optimizations. Pretty printing. Remove cruft.
19346 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19347 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19348 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19349 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19350 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19351 * sysdeps/i386/fpu/e_asin.S: Likewise.
19352 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19353 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19354 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19355 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19356 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19357 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19358 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19359 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19360 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19361 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19362 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19363 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19364 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19365 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19366 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19367 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19368 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19369 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19370 * sysdeps/i386/fpu/e_log.S: Likewise.
19371 * sysdeps/i386/fpu/e_log10.S: Likewise.
19372 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19373 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19374 * sysdeps/i386/fpu/e_log2.S: Likewise.
19375 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19376 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19377 * sysdeps/i386/fpu/e_logf.S: Likewise.
19378 * sysdeps/i386/fpu/e_logl.S: Likewise.
19379 * sysdeps/i386/fpu/e_pow.S: Likewise.
19380 * sysdeps/i386/fpu/e_powf.S: Likewise.
19381 * sysdeps/i386/fpu/e_powl.S: Likewise.
19382 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19383 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19384 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19385 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19386 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19387 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19388 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19389 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19390 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19399 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19402 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19404 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19406 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19407 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19408 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19409 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19412 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19413 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19414 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19415 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19416 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19417 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19418 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19419 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19420 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19421 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19422 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19423 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19424 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19425 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19426 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19427 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19428 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19429 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19430 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19431 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19432 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19433 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19434 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19435 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19436 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19437 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19438 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19439 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19440 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19441 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19442 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19443 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19444 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19445 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19446 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19447 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19448 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19449 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19450 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19451 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19452 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19455 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19456 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19457 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19459 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19460 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19461 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19462 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19463 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19466 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19468 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19469 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19470 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19471 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19472 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19473 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19474 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19475 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19476 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19477 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19478 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19479 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19480 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19482 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19483 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19484 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19485 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19486 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19487 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19488 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19489 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19490 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19491 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19492 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19493 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19494 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19495 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19496 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19497 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19498 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19499 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19500 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19501 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19502 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19503 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19504 (__isnanf): Likewise.
19505 (__isinf_ns): Likewise.
19506 (__isinf_nsf): Likewise.
19507 (__finite): Likewise.
19508 (__finitef): Likewise.
19509 (__ieee754_sqrt): Define as macro.
19510 (__ieee754_sqrtf): Define as macro.
19511 (__ieee754_sqrtl): Define as macro.
19512 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19513 inlined copy.
19514 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19515 __FINITE_MATH_ONLY__ consistent.
19516 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19517
12cc2fcd
AS
195182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19519
a843a204
AS
19520 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19521 of rawmemchr.
19522
12cc2fcd
AS
19523 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19524
c853acd5
UD
195252011-10-09 Ulrich Drepper <drepper@gmail.com>
19526
19527 * po/ja.po: Update from translation team.
19528
c658d255
RM
195292011-10-08 Roland McGrath <roland@hack.frob.com>
19530
110946e4
RM
19531 * locale/programs/locarchive.c (prepare_address_space): New function.
19532 (create_archive, enlarge_archive, open_archive): Use it.
19533
50604220
RM
19534 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19535 inside [SHARED], where it is used.
19536
c658d255
RM
19537 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19538
19539 * nss/getent.c (netgroup_keys): Remove unused variable.
19540 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19541
6a621eb7
UD
195422011-10-08 Ulrich Drepper <drepper@gmail.com>
19543
7edb55ce
UD
19544 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19545 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19547 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19548 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19549 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19550 * math/Makefile (libm-calls): Add s_isinf_ns.
19551 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19552 * math/multc3.c: Likewise.
19553 * math/s_casin.c: Likewise.
19554 * math/s_casinf.c: Likewise.
19555 * math/s_casinl.c: Likewise.
19556 * math/s_ccos.c: Likewise.
19557 * math/s_ccosf.c: Likewise.
19558 * math/s_ccosl.c: Likewise.
19559 * math/s_ctan.c: Likewise.
19560 * math/s_ctanf.c: Likewise.
19561 * math/s_ctanh.c: Likewise.
19562 * math/s_ctanhf.c: Likewise.
19563 * math/s_ctanhl.c: Likewise.
19564 * math/s_ctanl.c: Likewise.
19565 * math/w_fmod.c: Likewise.
19566 * math/w_fmodf.c: Likewise.
19567 * math/w_fmodl.c: Likewise.
19568 * math/w_remainder.c: Likewise.
19569 * math/w_remainderf.c: Likewise.
19570 * math/w_remainderl.c: Likewise.
19571 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19572 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19573 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19575 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19576 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19577 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19578 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19579
187da0ae
UD
19580 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19581 of the number.
19582 * stdio-common/printf_fphex.c: Likewise.
19583 * stdio-common/printf_size.c: Likewise.
19584
9277c064
UD
19585 * math/e_exp10.c: Include math_private.h using <...> not "...".
19586 * math/e_exp10f.c: Likewise.
19587 * math/e_exp10l.c: Likewise.
19588 * math/e_exp2l.c: Likewise.
19589 * math/e_j0l.c: Likewise.
19590 * math/e_j1l.c: Likewise.
19591 * math/e_jnl.c: Likewise.
19592 * math/e_lgammal_r.c: Likewise.
19593 * math/e_rem_pio2l.c: Likewise.
19594 * math/e_scalb.c: Likewise.
19595 * math/e_scalbf.c: Likewise.
19596 * math/e_scalbl.c: Likewise.
19597 * math/k_cosl.c: Likewise.
19598 * math/k_sinl.c: Likewise.
19599 * math/k_tanl.c: Likewise.
19600 * math/s_cacoshf.c: Likewise.
19601 * math/s_catan.c: Likewise.
19602 * math/s_catanf.c: Likewise.
19603 * math/s_catanh.c: Likewise.
19604 * math/s_catanhf.c: Likewise.
19605 * math/s_catanhl.c: Likewise.
19606 * math/s_catanl.c: Likewise.
19607 * math/s_ccosh.c: Likewise.
19608 * math/s_ccoshf.c: Likewise.
19609 * math/s_ccoshl.c: Likewise.
19610 * math/s_cexp.c: Likewise.
19611 * math/s_cexpf.c: Likewise.
19612 * math/s_cexpl.c: Likewise.
19613 * math/s_clog.c: Likewise.
19614 * math/s_clog10.c: Likewise.
19615 * math/s_clog10f.c: Likewise.
19616 * math/s_clog10l.c: Likewise.
19617 * math/s_clogf.c: Likewise.
19618 * math/s_clogl.c: Likewise.
19619 * math/s_csin.c: Likewise.
19620 * math/s_csinf.c: Likewise.
19621 * math/s_csinh.c: Likewise.
19622 * math/s_csinhf.c: Likewise.
19623 * math/s_csinhl.c: Likewise.
19624 * math/s_csinl.c: Likewise.
19625 * math/s_csqrt.c: Likewise.
19626 * math/s_csqrtf.c: Likewise.
19627 * math/s_csqrtl.c: Likewise.
19628 * math/s_ctan.c: Likewise.
19629 * math/s_ctanf.c: Likewise.
19630 * math/s_ctanh.c: Likewise.
19631 * math/s_ctanhf.c: Likewise.
19632 * math/s_ctanhl.c: Likewise.
19633 * math/s_ctanl.c: Likewise.
19634 * math/s_ldexp.c: Likewise.
19635 * math/s_ldexpf.c: Likewise.
19636 * math/s_ldexpl.c: Likewise.
19637 * math/s_significand.c: Likewise.
19638 * math/s_significandf.c: Likewise.
19639 * math/s_significandl.c: Likewise.
19640 * math/w_acos.c: Likewise.
19641 * math/w_acosf.c: Likewise.
19642 * math/w_acosh.c: Likewise.
19643 * math/w_acoshf.c: Likewise.
19644 * math/w_acoshl.c: Likewise.
19645 * math/w_acosl.c: Likewise.
19646 * math/w_asin.c: Likewise.
19647 * math/w_asinf.c: Likewise.
19648 * math/w_asinl.c: Likewise.
19649 * math/w_atan2.c: Likewise.
19650 * math/w_atan2f.c: Likewise.
19651 * math/w_atan2l.c: Likewise.
19652 * math/w_atanh.c: Likewise.
19653 * math/w_atanhf.c: Likewise.
19654 * math/w_atanhl.c: Likewise.
19655 * math/w_cosh.c: Likewise.
19656 * math/w_coshf.c: Likewise.
19657 * math/w_coshl.c: Likewise.
19658 * math/w_dremf.c: Likewise.
19659 * math/w_exp10.c: Likewise.
19660 * math/w_exp10f.c: Likewise.
19661 * math/w_exp10l.c: Likewise.
19662 * math/w_exp2.c: Likewise.
19663 * math/w_exp2f.c: Likewise.
19664 * math/w_fmod.c: Likewise.
19665 * math/w_fmodf.c: Likewise.
19666 * math/w_fmodl.c: Likewise.
19667 * math/w_hypot.c: Likewise.
19668 * math/w_hypotf.c: Likewise.
19669 * math/w_hypotl.c: Likewise.
19670 * math/w_j0.c: Likewise.
19671 * math/w_j0f.c: Likewise.
19672 * math/w_j0l.c: Likewise.
19673 * math/w_j1.c: Likewise.
19674 * math/w_j1f.c: Likewise.
19675 * math/w_j1l.c: Likewise.
19676 * math/w_jn.c: Likewise.
19677 * math/w_jnf.c: Likewise.
19678 * math/w_jnl.c: Likewise.
19679 * math/w_lgamma.c: Likewise.
19680 * math/w_lgamma_r.c: Likewise.
19681 * math/w_lgammaf.c: Likewise.
19682 * math/w_lgammaf_r.c: Likewise.
19683 * math/w_lgammal.c: Likewise.
19684 * math/w_lgammal_r.c: Likewise.
19685 * math/w_log.c: Likewise.
19686 * math/w_log10.c: Likewise.
19687 * math/w_log10f.c: Likewise.
19688 * math/w_log10l.c: Likewise.
19689 * math/w_log2.c: Likewise.
19690 * math/w_log2f.c: Likewise.
19691 * math/w_log2l.c: Likewise.
19692 * math/w_logf.c: Likewise.
19693 * math/w_logl.c: Likewise.
19694 * math/w_pow.c: Likewise.
19695 * math/w_powf.c: Likewise.
19696 * math/w_powl.c: Likewise.
19697 * math/w_remainder.c: Likewise.
19698 * math/w_remainderf.c: Likewise.
19699 * math/w_remainderl.c: Likewise.
19700 * math/w_scalb.c: Likewise.
19701 * math/w_scalbf.c: Likewise.
19702 * math/w_scalbl.c: Likewise.
19703 * math/w_sinh.c: Likewise.
19704 * math/w_sinhf.c: Likewise.
19705 * math/w_sinhl.c: Likewise.
19706 * math/w_sqrt.c: Likewise.
19707 * math/w_sqrtf.c: Likewise.
19708 * math/w_sqrtl.c: Likewise.
19709 * math/w_tgamma.c: Likewise.
19710 * math/w_tgammaf.c: Likewise.
19711 * math/w_tgammal.c: Likewise.
19712
6a621eb7
UD
19713 * po/ja.po: Update from translation team.
19714
bf582445
AJ
197152011-09-29 Andreas Jaeger <aj@suse.de>
19716
f9efbf3a
AJ
19717 [BZ #13179]
19718 * sunrpc/netname.c (netname2host): Fix logic.
19719
bf582445
AJ
19720 [BZ #6779]
19721 [BZ #6783]
19722 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19723 correctly.
19724 * math/w_remainder.c (__remainder): Likewise.
19725 * math/w_remainderf.c (__remainderf): Likewise.
19726 * math/libm-test.inc (remainder_test): Add test cases.
19727
48693bea
AK
197282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19729
19730 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19731 sdiv_qrnnd.
19732
42622229
LD
197332011-10-07 Ulrich Drepper <drepper@gmail.com>
19734
19735 * string/test-memcmp.c: Avoid unncessary #defines.
19736 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19737
093ecf92
LD
197382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19739
19740 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19741 Use new sse2 version for core i3 - i7 as it's faster
19742 than sse42 version.
19743 (bit_Prefer_PMINUB_for_stringop): New.
19744 * sysdeps/x86_64/rawmemchr.S: Update.
19745 Replace with faster SSE2 version.
19746 * sysdeps/x86_64/memrchr.S: New file.
19747 * sysdeps/x86_64/memchr.S: Update.
19748 Replace with faster SSE2 version.
19749
fde56e5c
MP
197502011-09-12 Marek Polacek <mpolacek@redhat.com>
19751
19752 * elf/dl-load.c (lose): Add cast to avoid warning.
19753
21fd49a9
UD
197542011-10-07 Ulrich Drepper <drepper@gmail.com>
19755
5a06e643
UD
19756 * po/ca.po: Update from translation team.
19757
684ae515
UD
19758 * inet/getnetgrent_r.c: Hook up nscd.
19759 * nscd/Makefile (routines): Add nscd_netgroup.
19760 (nscd-modules): Add netgroupcache.
19761 (CFLAGS-netgroupcache.c): Define.
19762 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19763 (cache_search): Add const to second parameter.
19764 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19765 INNETGR.
19766 (dbs): Add netgrdb entry.
19767 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19768 (verify_persistent_db): Handle netgrdb.
19769 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19770 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19771 GETFDNETGR.
19772 (netgroup_response_header): Define.
19773 (innetgroup_response_header): Define.
19774 (datahead): Add netgroup_response_header and innetgroup_response_header
19775 elements.
19776 * nscd/nscd.conf: Add entries for netgroup cache.
19777 * nscd/nscd.h (dbtype): Add netgrdb.
19778 (_PATH_NSCD_NETGROUP_DB): Define.
19779 (netgroup_iov_disabled): Declare.
19780 (xmalloc, xcalloc, xrealloc): Move declarations here.
19781 (cache_search): Adjust prototype.
19782 Add netgroup-related prototypes.
19783 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19784 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19785 (__nscd_innetgr): Declare.
19786 * nscd/selinux.c (perms): Use access_vector_t as element type and
19787 add netgroup-related initializers.
19788 * nscd/netgroupcache.c: New file.
19789 * nscd/nscd_netgroup.c: New file.
19790 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19791 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19792 For four parameters use innetgr.
19793 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19794 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19795 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19796 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19797
21fd49a9
UD
19798 * nscd/connections.c (register_traced_file): Don't register file
19799 for disabled databases.
19800
054c0457
UD
198012011-10-06 Ulrich Drepper <drepper@gmail.com>
19802
32b63198
UD
19803 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19804
054c0457
UD
19805 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19806 from tree and freeing node.
19807
64031225
JO
198082011-09-25 Jiri Olsa <jolsa@redhat.com>
19809
19810 * nss/nsswitch.c (__nss_database_lookup): Handle
19811 nss_parse_service_list out of memory case.
19812
0490345c
JO
198132011-09-15 Jiri Olsa <jolsa@redhat.com>
19814
19815 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19816 out of memory case.
19817
3a62d00d
AS
198182011-10-04 Andreas Schwab <schwab@redhat.com>
19819
19820 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19821 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19822 pass it down.
19823 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19824 elf_machine_rela, elf_machine_lazy_rel.
19825 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19826 (ELF_DYNAMIC_DO_REL): Likewise.
19827 (ELF_DYNAMIC_DO_RELA): Likewise.
19828 (ELF_DYNAMIC_RELOCATE): Likewise.
19829 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19830 to ELF_DYNAMIC_DO_REL.
19831 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19832 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19833 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19834 elf_machine_rela.
19835 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19836 skip_ifunc, don't call ifunc function if non-zero.
19837 (elf_machine_rela): Likewise.
19838 (elf_machine_lazy_rel): Likewise.
19839 (elf_machine_lazy_rela): Likewise.
19840 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19841 (elf_machine_lazy_rel): Likewise.
19842 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19843 Likewise.
19844 (elf_machine_lazy_rel): Likewise.
19845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19846 Likewise.
19847 (elf_machine_lazy_rel): Likewise.
19848 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19849 (elf_machine_lazy_rel): Likewise.
19850 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19851 (elf_machine_lazy_rel): Likewise.
19852 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19853 (elf_machine_lazy_rel): Likewise.
19854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19855 (elf_machine_lazy_rel): Likewise.
19856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19857 (elf_machine_lazy_rel): Likewise.
19858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19859 (elf_machine_lazy_rel): Likewise.
19860
68577918
UD
198612011-09-28 Ulrich Drepper <drepper@gmail.com>
19862
19863 * nss/nss_files/files-init.c (_nss_files_init): Use static
19864 initialization for all the *_traced_file variables.
19865
68822d74
AS
198662011-09-28 Andreas Schwab <schwab@redhat.com>
19867
19868 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19869
2056100b
RM
198702011-09-27 Roland McGrath <roland@hack.frob.com>
19871
19872 [BZ #13226]
19873 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19874
32c76b63
AS
198752011-09-27 Andreas Schwab <schwab@redhat.com>
19876
19877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19878 Reread the line before reparsing it.
19879
bf972c9d
AS
198802011-09-26 Andreas Schwab <schwab@redhat.com>
19881
19882 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19883
e057a1b5
JM
198842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19885 Maxim Kuvyrkov <maxim@codesourcery.com>
19886 Joseph Myers <joseph@codesourcery.com>
19887
19888 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19889 if needed for __stack_chk_guard.
19890
bc7e1c36
RM
198912011-09-19 Roland McGrath <roland@hack.frob.com>
19892
ecb1482f
RM
19893 * sysdeps/posix/spawni.c (script_execute): Always define it.
19894 It will be optimized away if unused.
19895 (maybe_script_execute): New function.
19896 (__spawni): Call it.
19897
bc7e1c36
RM
19898 * Makerules: Don't include tls.make.
19899 (config-tls): Always set to thread.
19900 * tls.make.c: File removed.
19901
1c3b002b
MF
199022011-09-19 Mike Frysinger <vapier@gentoo.org>
19903
19904 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19905 * config.make.in (CPPFLAGS-config): New substituted variable.
19906
2840865d
UD
199072011-09-15 Ulrich Drepper <drepper@gmail.com>
19908
88738eb6
UD
19909 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19910
cbf645a6 19911 [BZ #13192]
2840865d
UD
19912 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19913 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19914
b402e91a
RM
199152011-09-15 Roland McGrath <roland@hack.frob.com>
19916
19917 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19918 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19919 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19920 (CALL_FAIL): Likewise.
19921 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19922 (CALL_FAIL): Macro removed.
19923 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19924
4c1a1f71
UD
199252011-09-15 Ulrich Drepper <drepper@gmail.com>
19926
19927 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19928 for __FINITE_MATH_ONLY__ == 1.
19929
edc121be
AS
199302011-09-15 Andreas Schwab <schwab@redhat.com>
19931
19932 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19933 __ieee754_sqrt instead of sqrt.
19934 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19935 __ieee754_sqrtf instead of sqrtf.
19936 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19937 __floorf instead of floorf.
19938 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19939 __floorf, __truncf instead of floorf, truncf.
19940
cd205654
UD
199412011-09-14 Ulrich Drepper <drepper@gmail.com>
19942
ee4d0315
UD
19943 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19944
cd205654
UD
19945 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19946 __extern_always_inline.
19947 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19948 32-bit.
19949
48b67d71
AS
199502011-09-14 Andreas Schwab <schwab@redhat.com>
19951
19952 * elf/rtld.c (dl_main): Also relocate in dependency order when
19953 doing symbol dependency testing.
19954
1ae12c75
AS
199552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19956
19957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19958 Always define `refsym'.
19959
995a80df
AS
199602011-09-13 Andreas Schwab <schwab@redhat.com>
19961
e529793b
AS
19962 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19963 (__FD_ELT): Renamed from __FDELT.
19964 * misc/bits/select2.h (__FD_ELT): Likewise.
19965 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19966 __FD_MASK instead of __FDELT, __FDMASK.
19967 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19968 Likewise.
19969 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19970 Likewise.
19971
52d4fef8
AS
19972 * elf/Makefile (gen-ldd): Fix pattern.
19973
995a80df
AS
19974 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19975 (init_tls): Likewise.
19976
8682f8b0
UD
199772011-09-12 Ulrich Drepper <drepper@gmail.com>
19978
19979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19980
de82006d
AS
199812011-09-12 Andreas Schwab <schwab@redhat.com>
19982
a7c8e6a1
AS
19983 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19984 `struct cmsghdr *' instead of `void *'.
19985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19986 Likewise.
19987
0f31fe77
AS
199882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19989
19990 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19991 if non-absolute.
19992 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19993 ldd_rewrite_script.
0f31fe77 19994
32b4c839
UD
199952011-09-11 Ulrich Drepper <drepper@gmail.com>
19996
83cd1420
UD
19997 * configure.in: Remove --with-tls option.
19998 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19999 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20000 out in case it is missing.
20001 * sysdeps/ia64/elf/configure.in: Likewise.
20002 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20003 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20004 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20005 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20006 * sysdeps/sh/elf/configure.in: Likewise.
20007 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20008 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20009 * sysdeps/x86_64/elf/configure.in: Likewise.
20010 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20011 * sysdeps/mach/hurd/tls.h: Likewise.
20012
633f745d
UD
20013 [BZ #13067]
20014 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20015
f318beb8
UD
20016 [BZ #13090]
20017 * configure.in: Fix use of AC_INIT.
20018
32b4c839
UD
20019 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20020
3ce1f295
UD
200212011-09-10 Ulrich Drepper <drepper@gmail.com>
20022
bb016596
UD
20023 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20024 __set_errno.
8e58439c
UD
20025 * malloc/hooks.c: Likewise.
20026
aebae053 20027 [BZ #11929]
02d46fc4
UD
20028 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20029 variables statically.
20030 (narenas): Initialize.
20031 (list_lock): Initialize.
bb016596
UD
20032 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20033 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20034 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20035 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20036 Add initializers to main_arena and mp_.
20037 (malloc_state): Remove pagesize member. Change all users to use
20038 GLRO(dl_pagesize).
20039
20040 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20041 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20042 is always initialized.
20043
22a89187
UD
20044 * malloc/malloc.c: Removed unused configurations and dead code.
20045 * malloc/arena.c: Likewise.
20046 * malloc/hooks.c: Likewise.
02d46fc4 20047 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20048
d063d164
UD
20049 * include/tls.h: Removed. USE___THREAD must always be defined.
20050 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20051 * elf/dl-libc.c: Likewise.
20052 * elf/dl-tsd.c: Likewise.
20053 * include/errno.h: Likewise.
20054 * include/netdb.h: Likewise.
20055 * include/resolv.h: Likewise.
20056 * inet/herrno-loc.c: Likewise.
20057 * inet/herrno.c: Likewise.
20058 * malloc/arena.c: Likewise.
20059 * malloc/hooks.c: Likewise.
20060 * malloc/malloc.c: Likewise.
20061 * resolv/res-state.c: Likewise.
20062 * resolv/res_libc.c: Likewise.
20063 * sysdeps/i386/dl-machine.h: Likewise.
20064 * sysdeps/ia64/dl-machine.h: Likewise.
20065 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20066 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20067 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20068 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20069 * sysdeps/sh/dl-machine.h: Likewise.
20070 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20071 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20072 * sysdeps/unix/i386/sysdep.S: Likewise.
20073 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20074 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20076 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20078 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20079 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20081 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20083 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20084 * sysdeps/x86_64/dl-machine.h: Likewise.
20085 * tls.make.c: Likewise.
20086
3ce1f295
UD
20087 * configure.in: Remove --with-__thread option. Make tests for
20088 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20089 tls_model attribute fail if no support is available. Remove
20090 USE_IN_LIBIO.
20091 * Makeconfig: Adjust for dropped configure option. All features are
20092 now mandatory.
20093 * Makerules: Likewise.
20094 * Versions.def: Likewise.
20095 * argp/argp-fmtstream.c: Likewise.
20096 * argp/argp-fmtstream.h: Likewise.
20097 * argp/argp-help.c: Likewise.
20098 * assert/assert.c: Likewise.
20099 * config.h.in: Likewise.
20100 * config.make.in: Likewise.
20101 * configure: Likewise.
20102 * configure.in: Likewise.
20103 * csu/Versions: Likewise.
20104 * csu/init.c: Likewise.
20105 * elf/tst-audit2.c: Likewise.
20106 * elf/tst-tls10.c: Likewise.
20107 * elf/tst-tls10.h: Likewise.
20108 * elf/tst-tls11.c: Likewise.
20109 * elf/tst-tls12.c: Likewise.
20110 * elf/tst-tls14.c: Likewise.
20111 * elf/tst-tlsmod11.c: Likewise.
20112 * elf/tst-tlsmod12.c: Likewise.
20113 * elf/tst-tlsmod13.c: Likewise.
20114 * elf/tst-tlsmod13a.c: Likewise.
20115 * elf/tst-tlsmod14a.c: Likewise.
20116 * elf/tst-tlsmod15b.c: Likewise.
20117 * elf/tst-tlsmod16a.c: Likewise.
20118 * elf/tst-tlsmod16b.c: Likewise.
20119 * elf/tst-tlsmod7.c: Likewise.
20120 * elf/tst-tlsmod8.c: Likewise.
20121 * elf/tst-tlsmod9.c: Likewise.
20122 * gmon/gmon.c: Likewise.
20123 * grp/fgetgrent_r.c: Likewise.
20124 * grp/putgrent.c: Likewise.
20125 * hurd/fopenport.c: Likewise.
20126 * include/libc-symbols.h: Likewise.
20127 * include/tls.h: Likewise.
20128 * intl/gettextP.h: Likewise.
20129 * intl/loadinfo.h: Likewise.
20130 * locale/global-locale.c: Likewise.
20131 * locale/localeinfo.h: Likewise.
20132 * mach/devstream.c: Likewise.
20133 * malloc/arena.c: Likewise.
20134 * malloc/set-freeres.c: Likewise.
20135 * misc/err.c: Likewise.
20136 * misc/getttyent.c: Likewise.
20137 * misc/mntent_r.c: Likewise.
20138 * posix/getopt.c: Likewise.
20139 * posix/wordexp.c: Likewise.
20140 * pwd/fgetpwent_r.c: Likewise.
20141 * resolv/Versions: Likewise.
20142 * resolv/res_hconf.c: Likewise.
20143 * shadow/fgetspent_r.c: Likewise.
20144 * shadow/putspent.c: Likewise.
20145 * stdio-common/printf_fphex.c: Likewise.
20146 * stdio-common/tmpfile.c: Likewise.
20147 * stdlib/abort.c: Likewise.
20148 * stdlib/fmtmsg.c: Likewise.
20149 * sunrpc/auth_unix.c: Likewise.
20150 * sunrpc/clnt_perr.c: Likewise.
20151 * sunrpc/clnt_tcp.c: Likewise.
20152 * sunrpc/clnt_udp.c: Likewise.
20153 * sunrpc/clnt_unix.c: Likewise.
20154 * sunrpc/openchild.c: Likewise.
20155 * sunrpc/svc_simple.c: Likewise.
20156 * sunrpc/svc_tcp.c: Likewise.
20157 * sunrpc/svc_udp.c: Likewise.
20158 * sunrpc/svc_unix.c: Likewise.
20159 * sunrpc/xdr.c: Likewise.
20160 * sunrpc/xdr_array.c: Likewise.
20161 * sunrpc/xdr_rec.c: Likewise.
20162 * sunrpc/xdr_ref.c: Likewise.
20163 * sunrpc/xdr_stdio.c: Likewise.
20164
1248c1c4
PB
201652011-09-09 Ulrich Drepper <drepper@gmail.com>
20166
20167 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20168
201692011-07-03 Andreas Jaeger <aj@suse.de>
20170
20171 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20172 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20173 regenerate with gen-libm-tests.pl.
20174
201752010-05-12 Petr Baudis <pasky@suse.cz>
20176
20177 [BZ #11589]
20178 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20179 around j0() zero points by switching to j1().
20180 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20181 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20183 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20184
f22e1074
UD
201852011-09-09 Ulrich Drepper <drepper@gmail.com>
20186
f19009c1
UD
20187 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20188 instead of 0.
20189 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20190 instead of 0.
f19009c1
UD
20191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20192 Patch in part by Pavel Roskin <proski@gnu.org>.
20193
3f8cc204
UD
20194 [BZ #13138]
20195 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20196 realloc.
20197 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20198 Free memory block if necessary.
20199
f22e1074
UD
20200 [BZ #12847]
20201 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20202 be NULL. Don't lock in this case.
20203
0a2349f9
RM
202042011-09-09 Roland McGrath <roland@hack.frob.com>
20205
20206 * elf/elf.h (ELFOSABI_GNU): New macro.
20207 (ELFOSABI_LINUX): Define to that.
20208
f3cdd467
DZ
202092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20210
20211 * string/strncat.c (strncat): Undef the symbol in case it has been
20212 defined in bits/string.h.
20213
74718d13
UD
202142011-09-09 Ulrich Drepper <drepper@gmail.com>
20215
633e9e0f
UD
20216 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20217
0a2349f9 20218 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20219 link map.
20220
f9924780
AJ
202212011-08-17 Andreas Jaeger <aj@suse.de>
20222
20223 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20224
7f5517aa
PP
202252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20226 Ian Lance Taylor <iant@google.com>
20227
20228 * math/libm-test.inc (lround_test): New testcase.
20229 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20230
762011fe
UD
202312011-09-08 Ulrich Drepper <drepper@gmail.com>
20232
92963737
UD
20233 * Makefile: Remove support for automatic cvs check-ins.
20234 * Makerules: Likewise.
20235 * config.make.in: Likewise.
20236 * configure.in: Likewise.
20237 * intl/Makefile: Likewise.
20238 * locale/Makefile: Likewise.
20239 * po/Makefile: Likewise.
20240 * posix/Makefile: Likewise.
20241 * sysdeps/gnu/Makefile: Likewise.
20242 * sysdeps/mach/hurd/Makefile: Likewise.
20243 * sysdeps/sparc/sparc32/Makefile: Likewise.
20244
b0727fd8
JS
20245 [BZ #13118]
20246 * posix/Makefile (bug-regex32-ENV): Define.
20247 Patch by John Stanley <jpsinthemix@verizon.net>.
20248
a0f33f99
UD
20249 * misc/Makefile (headers): Add bits/select2.h.
20250 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20251 * misc/bits/select2.h: New file.
20252 * include/bits/select2.h: New file.
20253 * debug/Makefile (routines): Add fdelt_chk.
20254 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20255 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20256 FD_ISSET.
20257 * debug/fdelt_chk.c: New file.
20258
762011fe
UD
20259 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20260 * wcsmbs/test-wmemcmp.c: Likewise.
20261 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20262 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20263
202642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20265
20266 * string/Makefile (strop-tests): Add memcmp.
20267 * string/test-wmemcmp.c: New file.
20268 * string/test-memcmp.c: Add wmemcmp support.
20269
7f513ec8
RM
202702011-09-08 Roland McGrath <roland@hack.frob.com>
20271
0442afb4
RM
20272 [BZ #13153]
20273 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20274 2011-07-19 change.
20275
7f513ec8
RM
20276 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20277 garbage value in a __mach_port_mod_refs call in the cases of the
20278 task-self and thread-self ports.
20279
a12b2239
ST
202802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20281
20282 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20283
610f9ab4
AS
202842011-09-08 Andreas Schwab <schwab@redhat.com>
20285
7f513ec8 20286 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20287
48882a1a
LD
202882011-09-07 Ulrich Drepper <drepper@gmail.com>
20289
b49865be
UD
20290 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20291
fdc86bc9
UD
20292 * elf/dl-libc.c (dlerror_run): Pass back error code from
20293 dl_catch_error.
20294
c966526a
UD
20295 [BZ #13123]
20296 * elf/dl-load.c (lose): Free l_origin if it is valid.
20297
48882a1a
LD
20298 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20299 names.
20300 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20301 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20302 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20303 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20304 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20305 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20306
77a2a8b4
AZ
203072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20308
20309 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20310 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20311 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20312 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20313 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20314 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20315 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20316 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20317 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20318 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20319
24f579d8
AM
203202011-08-15 Alan Modra <amodra@gmail.com>
20321
20322 [BZ #13092]
20323 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20324 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20325 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20326 ppc_mcount to static-only-routines.
20327 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20328 __mcount_internal.
20329 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20330 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20331
3d4837df
UD
203322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20333
20334 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20335 for finite and infinity parameters.
20336
22700377
WS
203372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20338
20339 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20340 and add nop instructions for throughput optimization.
20341 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20342
5025581e
WS
203432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20344
20345 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20346 aligned copy for power7 with vector-scalar instructions.
20347 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20348
08a300c9
L
203492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20350
20351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20352 AVX check.
20353
59178ef9
AS
203542011-09-07 Andreas Schwab <schwab@redhat.com>
20355
20356 [BZ #13144]
20357 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20358 last change.
20359
e38ba7ab
UD
203602011-09-07 Ulrich Drepper <drepper@gmail.com>
20361
20362 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20363 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20364 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20365 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20366 clock_gettime.
20367
d53a73ac
UD
203682011-09-06 Ulrich Drepper <drepper@gmail.com>
20369
fc8bffcc
UD
20370 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20371 Forgot to demangle the pointer.
20372
ceaa0c5d
UD
20373 * sysdeps/i386/sysdep.h: Define atom_text_section.
20374 * sysdeps/x86_64/sysdep.h: Likewise.
20375 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20376 section with atom_text_section.
20377 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20378 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20379 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20381 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20382
a77d3c17
UD
20383 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20384 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20385 already be defined. Change to take two parameters and don't assign
20386 result to variable. Adjust all users.
20387 Define INTERNAL_GETTIME if not already defined.
20388 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20389 call.
20390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20391 HAVE_CLOCK_GETTIME_VSYSCALL.
20392 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20393
d53a73ac
UD
20394 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20395 gettimeofday vsyscall, just use time.
20396
a8f84144
AS
203972011-09-06 Andreas Schwab <schwab@redhat.com>
20398
20399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20400 <errno.h>.
20401
ef606249
UD
204022011-09-06 Ulrich Drepper <drepper@gmail.com>
20403
20404 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20405 syscall on x86-64.
20406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20407 syscall.
20408 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20409 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20410 syscall if possible.
20411
6585cb60
UD
204122011-09-05 Ulrich Drepper <drepper@gmail.com>
20413
20414 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20415 e_ident. Don't pass to find_mapsXX.
20416 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20417
a5f524e4
LD
204182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20419
20420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20421 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20422 * sysdeps/x86_64/multiarch/strchr.S: Update.
20423 Check bit_slow_BSF bit.
20424 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20425 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20426 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20427
554881ef
UD
204282011-09-05 Ulrich Drepper <drepper@gmail.com>
20429
d96de963
UD
20430 [BZ #13134]
20431 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20432 before glibc 2.15.
20433 (tryshell): Define.
20434 (__spawni): Change last parameter to be flag. Test
20435 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20436 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20437 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20438 * posix/spawni.c: Likewise.
20439 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20440 * posix/spawnp.c: Likewise. Change normal version to use
20441 SPAWN_XFLAGS_USE_PATH.
20442 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20443 SPAWN_XFLAGS_TRY_SHELL.
20444
d48e5868
UD
20445 [BZ #13150]
20446 * posix/glob.h: Remove gcc 1.x support.
20447
554881ef
UD
20448 [BZ #13068]
20449 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20450
693fb948
LD
204512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20452
20453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20454 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20455 strrchr-sse2-bsf
20456 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20457 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20458 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20459 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20460 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20461 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20462
1b48c537
UD
204632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20464
49d42c37
UD
20465 * sysdeps/x86_64/wcscmp.S: New file.
20466
1b48c537
UD
20467 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20468 wcscmp-c wcscmp-sse2
20469 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20470 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20471 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20472 * wcsmbs/wcscmp.c: Allow renaming.
20473
15c95c5d
DM
204742011-09-05 David S. Miller <davem@davemloft.net>
20475
20476 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20477 stack slot, rather than the struct return pointer slot.
20478 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20479 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20481 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20482
2f0ad8f3
UD
204832011-09-05 Ulrich Drepper <drepper@gmail.com>
20484
d88ae418
UD
20485 * po/ja.po: Update from translation team.
20486
2f0ad8f3
UD
20487 [BZ #13144]
20488 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20489 kernel in 64-bit binaries.
20490
5f4318d1
DM
204912011-09-01 David S. Miller <davem@davemloft.net>
20492
20493 * elf/elf.h (HWCAP_SPARC_*): Move to..
20494 * sysdeps/sparc/sysdep.h: this new file and add new values.
20495 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20496 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20497 _DL_HWCAP_COUNT to 24.
20498 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20499 entries.
20500 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20501 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20502 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20504 instead of magic constants.
20505 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20506
3ba57516
DM
205072011-08-31 David S. Miller <davem@davemloft.net>
20508
20509 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20510 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20511 Reimplement to do errno handling inline.
20512 (SYSCALL_ERROR_HANDLER): New macro.
20513 (__SYSCALL_STRING): Do not do errno handling in asm.
20514 (__CLONE_SYSCALL_STRING): Delete.
20515 (__INTERNAL_SYSCALL_STRING): Delete.
20516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20517 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20518 (PSEUDO): Reimplement to do errno handling inline.
20519 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20520 (SYSCALL_ERROR_HANDLER): New macro.
20521 (__SYSCALL_STRING): Do not do errno handling in asm.
20522 (__CLONE_SYSCALL_STRING): Delete.
20523 (__INTERNAL_SYSCALL_STRING): Delete.
20524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20525 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20526 i386.
20527 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20528 (inline_syscall*): Add 'err' argument.
20529 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20530 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20531 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20532 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20533
20534 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20535 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20536
2bc17433
AS
205372011-08-30 Andreas Schwab <schwab@redhat.com>
20538
20539 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20540
fbeb5f4d
JO
205412011-08-29 Jiri Olsa <jolsa@redhat.com>
20542
20543 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20544 directive.
20545
ad69cc26
DM
205462011-08-24 David S. Miller <davem@davemloft.net>
20547
20548 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20549
39dd69df
AS
205502011-08-24 Andreas Schwab <schwab@redhat.com>
20551
20552 * elf/Makefile: Add rules to build and run unload8 test.
20553 * elf/unload8.c: New file.
20554 * elf/unload8mod1.c: New file.
20555 * elf/unload8mod1x.c: New file.
20556 * elf/unload8mod2.c: New file.
20557 * elf/unload8mod3.c: New file.
20558
20559 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20560 it wasn't used.
20561
2c0b250a
DM
205622011-08-23 David S. Miller <davem@davemloft.net>
20563
20564 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20565 subtract stack bias.
20566 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20567 %sp not %fp in calculations.
20568 (_JMPBUF_UNWINDS_ADJ): Likewise.
20569
22044b48
DM
20570 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20571 (aio_suspend): Call it to force an exception region around the
20572 AIO_MISC_WAIT() invocation.
20573
2cae4995
AS
205742011-08-23 Andreas Schwab <schwab@redhat.com>
20575
20576 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20577 backslash.
20578
873a772e
AJ
205792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20580
20581 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20582 protection macro.
20583 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20584 and <dl-machine.h>.
20585 (Elf64_FuncDesc): Remove.
20586
25ad0df1
DM
205872011-08-22 David S. Miller <davem@davemloft.net>
20588
20589 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20590 sigaltstack check, add missing cfi directives.
20591 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20592 missing cfi directives, and sigaltstack handling.
20593
e888bcbe
AS
205942011-08-16 Andreas Schwab <schwab@redhat.com>
20595
20596 [BZ #11724]
20597 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20598 object is seen twice.
20599 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20600
20601 * elf/Makefile (distribute): Add tst-initorder2.c.
20602 (tests): Add tst-initorder2.
20603 (modules-names): Add tst-initorder2a tst-initorder2b
20604 tst-initorder2c tst-initorder2d. Add rules to build them.
20605 ($(objpfx)tst-initorder2.out): New rule.
20606 * elf/tst-initorder2.c: New file.
20607 * elf/tst-initorder2.exp: New file.
20608
87162f46
AS
206092011-08-22 Andreas Schwab <schwab@redhat.com>
20610
70538b7f
AS
20611 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20612
f55ffe58
AS
20613 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20614 dependencies back to end of function.
20615
87162f46
AS
20616 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20617 $(elfobjdir)/ld.so.
20618
91b392a4
UD
206192011-08-21 Ulrich Drepper <drepper@gmail.com>
20620
20621 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20622 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20623 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20624 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20625 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20626 of __vdso_gettimeofday.
20627 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20628 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20629 attribute_hidden.
20630 (_libc_vdso_platform_setup): Remove initialization of
20631 __vdso_gettimeofday and __vdso_time.
20632
5c43483f
UD
206332011-08-20 Ulrich Drepper <drepper@gmail.com>
20634
775a77e7
UD
20635 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20636 and fgetc_unlocked.
20637 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20638 getc_unlocked.
89f447ed 20639
49c74ba9
UD
20640 * elf/dl-open.c (add_to_global): Report additions to the global scope
20641 for LD_DEBUG=scopes.
20642 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20643 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20644
5c43483f
UD
20645 [BZ #13114]
20646 * stdio-common/Makefile (tests): Add bug24.
20647 * stdio-common/bug24.c: New file.
20648
a101b025
AJ
206492011-08-19 Andreas Jaeger <aj@suse.de>
20650
20651 [BZ #13114]
20652 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20653 non-existant file when using close-on-exec mode.
20654
c88f1766
UD
206552011-08-20 Ulrich Drepper <drepper@gmail.com>
20656
0276a718
UD
20657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20658 the very first instruction.
20659
c88f1766
UD
20660 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20661 the CFI state in the end.
20662 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20663 inclusion of dl-trampoline.h.
20664 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20665
51ccffa0
AS
206662011-08-19 Andreas Schwab <schwab@redhat.com>
20667
94d7165f
AS
20668 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20669 expectations for long double.
20670
51ccffa0
AS
20671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20672 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20673
fd708658 206742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20675
20676 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20677 artificual limit depends upon the system page size.
20678
44f0a71e
UD
206792011-08-17 Ulrich Drepper <drepper@gmail.com>
20680
20681 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20682 * resolv/Makefile: Define CFLAGS-libresolv.
20683
8de79a24
AS
206842011-08-17 Andreas Schwab <schwab@redhat.com>
20685
20686 * nss/makedb.c (compute_tables): Make variables used in nested
20687 function static.
20688
27724598
UD
206892011-08-17 Ulrich Drepper <drepper@gmail.com>
20690
c5305d88
UD
20691 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20692 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20693 if buffer was too small.
20694
27724598
UD
20695 * elf/pldd.c (main): Attach to all threads in the process.
20696 Rewrite /proc handling to use *at functions.
20697
076fe015
UD
206982011-08-16 Ulrich Drepper <drepper@gmail.com>
20699
174baab3
UD
20700 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20701 specifies first scope to show.
20702 (dl_open_worker): Update callers. Move printing scope of new
20703 object to before the relocation.
44f0a71e 20704 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20705 * sysdeps/generic/ldsodefs.h: Update declaration.
20706
076fe015
UD
20707 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20708 string for the scope number.
20709
a60df2c3
UD
207102011-08-14 Ulrich Drepper <drepper@gmail.com>
20711
20712 * nscd/servicescache.c (cache_addserv): Make sure written is always
20713 initialized.
20714
5e4287d1
RM
207152011-08-14 Roland McGrath <roland@hack.frob.com>
20716
85ae0589
RM
20717 * sysdeps/i386/i486/bits/atomic.h
20718 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20719 statement expression, so as to suppress "set but not used" warning.
20720 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20721
69f63097
RM
20722 * string/strncat.c (STRNCAT): Use prototype definition.
20723
675456ef
RM
20724 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20725 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20726 -Iprograms here.
20727 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20728 (localedef-modules): Add localedef.
20729 (locale-modules): Add locale.
20730
5e4287d1
RM
20731 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20732 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20733 to avoid a warning.
20734
9c96ff23
DM
207352011-08-14 David S. Miller <davem@davemloft.net>
20736
20737 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20738 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20739
f9ddf089
UD
207402011-08-13 Ulrich Drepper <drepper@gmail.com>
20741
44f0a71e 20742 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20743 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20744 * elf/rtld.c (dl_main): Set l_name of vDSO.
20745 Call _dl_show_scope when DL_DEBUG_SCOPES.
20746 (process_dl_debug): Recognize scopes flag and also set it for all.
20747 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20748 Declare _dl_show_scope.
20749
1dc27704
UD
20750 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20751 (do_dlopen): Pass caller_dlopen to dl_open.
20752 (__libc_dlopen_mode): Initialize caller_dlopen.
20753
f9ddf089
UD
20754 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20755 of libc. Make tolower call locale-independent. Optimize a bit by
20756 using isdigit instead of isalnum.
20757 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20758
9ac533d3
UD
207592011-08-12 Ulrich Drepper <drepper@gmail.com>
20760
20761 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20762 was a dependency or dynamically loaded.
20763
89edf2e9
UD
207642011-08-11 Ulrich Drepper <drepper@gmail.com>
20765
8e999d29
UD
20766 * intl/l10nflist.c: Allow architecture-specific pop function.
20767 * sysdeps/x86_64/l10nflist.c: New file.
20768
89edf2e9
UD
20769 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20770 classification.
20771
14d96785
AS
207722011-08-10 Andreas Schwab <schwab@redhat.com>
20773
20774 * include/dirent.h: Add libc_hidden_proto for scandirat and
20775 scandirat64. Don't declare __scandirat64.
20776 * dirent/scandirat.c: Add libc_hidden_def.
20777 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20778 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20779
6761ac04
DM
207802011-08-10 David S. Miller <davem@davemloft.net>
20781
20782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20783 enum.
20784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20786 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20787
c55fbd1e
UD
207882011-08-09 Ulrich Drepper <drepper@gmail.com>
20789
20790 * Versions.def [libc]: Add GLIBC_2.15.
20791 * dirent/Makefile (routines): Add scandirat and scandirat64.
20792 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20793 GLIBC_2.15.
20794 * dirent/dirent.h: Declare scandirat and scandirat64.
20795 * dirent/scandirat.c: New file.
20796 * dirent/scandirat64.c: New file.
20797 * sysdeps/wordsize-64/scandirat.c: New file.
20798 * sysdeps/wordsize-64/scandirat64.c: New file.
20799 * dirent/opendir.c: Define opendirat.
20800 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20801 using scandirat.
20802 * dirent/scandir64.c: Adjust for scandir.c change.
20803 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20804 __scandirat64, and __scandir_cancel_handler.
20805 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20806 additional parameter and use openat instead of open (outside of ld.so).
20807 Add new __opendir as wrapper around __opendirat.
20808 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20809 here without requiring old scandirat implementation.
20810
879165f2
UD
208112011-08-08 Ulrich Drepper <drepper@gmail.com>
20812
20813 * dirent/scandir.c (cancel_handler): Renamed to
20814 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20815 defined. Adjust users.
20816 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20817 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20818
cb7e923b
UD
208192011-08-04 Ulrich Drepper <drepper@gmail.com>
20820
16292edd
UD
20821 * string/test-string.h (IMPL): Use __STRING to expand name and then
20822 stringify it.
20823
cb7e923b
UD
20824 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20825 of cleanups.
20826
cff82933
LD
208272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20828
20829 * string/Makefile: Update.
20830 (strop-tests): Append strncat.
20831 * string/test-wcscmp.c: New file.
20832 New comprehensive test for wcscmp.
20833 * string/test-strcmp.c: Update.
20834 (WIDE): New define.
20835
9be9bfcc
AS
208362011-07-22 Andreas Schwab <schwab@redhat.com>
20837
20838 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20839 line.
20840
2e96f1c7
AS
208412011-07-26 Andreas Schwab <schwab@redhat.com>
20842
20843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20844 encoding to ACE if AI_IDN.
20845
85188888
JJ
208462011-08-01 Jakub Jelinek <jakub@redhat.com>
20847
20848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20849 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20850
5fa16e9b
LD
208512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20852
20853 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20854 Fix overflow bug in strncat.
20855 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20856
20857 * string/test-strncat.c: Update.
20858 Add new tests for checking overflow bugs.
20859
208602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20861
20862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20863 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20864 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20865 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20866 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20867 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20868 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20869 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20870 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20871
20872 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20873 (USE_AS_STRCAT): Define.
20874 Add strcat and strncat support.
20875 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20876
8c1a459f
AS
208772011-07-25 Andreas Schwab <schwab@redhat.com>
20878
20879 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20880 __n bigger than INT_MAX+1.
20881 (__strncmp_g): Likewise.
20882
bba33c28
UD
208832011-07-23 Ulrich Drepper <drepper@gmail.com>
20884
798be72d
UD
20885 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20886 * libio/stido.h: Likewise.
20887
8accd4dc
UD
20888 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20889 (AF_NFC): Define.
20890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20891 (AF_NFC): Define.
20892
cbff0d96
UD
20893 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20894 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20895 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20896 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20897 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20898
9191c04a
UD
20899 [BZ #13021]
20900 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20901 installed.
20902
bba33c28
UD
20903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20904 typo.
20905 (_dl_x86_64_save_sse): Likewise.
20906
90f139dd
UD
209072011-07-22 Ulrich Drepper <drepper@gmail.com>
20908
1aae088a
UD
20909 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20910 OSXSAVE.
20911 (_dl_x86_64_save_sse): Likewise.
20912
8e2045f5
UD
20913 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20914
90f139dd
UD
20915 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20916
1d002f25
AS
209172011-07-21 Andreas Schwab <schwab@redhat.com>
20918
20919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20920 change.
20921 (_dl_x86_64_save_sse): Use correct AVX check.
20922
21137f89
UD
209232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20924
20925 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20926 bug in strncpy/strncat.
20927 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20928
a65c0b7a
UD
209292011-07-21 Ulrich Drepper <drepper@gmail.com>
20930
20931 * string/tester.c (test_strcat): Add tests for different alignments
20932 of source and destination.
20933 (test_strncat): Likewise.
20934
6986b98a
UD
209352011-07-20 Ulrich Drepper <drepper@gmail.com>
20936
90bb2039
UD
20937 [BZ #12852]
20938 * posix/glob.c (glob): Check passed in values before using them in
20939 expressions to avoid some overflows.
20940 (glob_in_dir): Likewise.
20941
5644ef54
UD
20942 [BZ #13007]
20943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20944 check for AVX enablement so that we don't crash with old kernels and
20945 new hardware.
20946 * elf/tst-audit4.c: Add same checks here.
20947 * elf/tst-audit6.c: Likewise.
20948
20949 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20950
bfc9dc9b
AS
209512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20952
20953 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20954
702e64bb
UD
209552011-07-20 Ulrich Drepper <drepper@gmail.com>
20956
20957 * po/cs.po: Update from translation team.
20958 * po/bg.po: Likewise.
20959
295e904f
MP
209602011-07-12 Marek Polacek <mpolacek@redhat.com>
20961
20962 * misc/sys/cdefs.h: Add support for const attribute.
20963 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20964 to gnu_dev_{major,minor,makedev} functions.
20965
3ff94596
MP
209662011-07-20 Marek Polacek <mpolacek@redhat.com>
20967
20968 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20969
28b59fca
AS
209702011-07-20 Andreas Schwab <schwab@redhat.com>
20971
20972 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20973 strlen results.
20974
19df733e
AK
209752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20976
20977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20978 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20979 register in order to avoid conflicts with the soft frame pointer
20980 being held in r11 when necessary.
20981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20982 (INTERNAL_VSYSCALL_NCS): Likewise.
20983
c8835729
MP
209842011-07-14 Marek Polacek <mpolacek@redhat.com>
20985
20986 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20987 * elf/dl-fini.c (_dl_fini): Adjust caller.
20988 * elf/dl-close.c (_dl_close_worker): Likewise.
20989 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20990
b902330c
MP
209912011-07-15 Marek Polacek <mpolacek@redhat.com>
20992
8991e135
MP
20993 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20994 "aux_cache->nlibs < 0".
20995
b902330c
MP
20996 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20997 in the reload-count case.
20998
99710781
LD
209992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21000
21001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21002 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21003 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21004 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21005 * sysdeps/x86_64/multiarch/strcat.S: New file.
21006 * sysdeps/x86_64/multiarch/strncat.S: New file.
21007 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21008 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21009 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21010 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21011 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21012 (USE_AS_STRCAT): Define.
21013 Add strcat and strncat support.
21014 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21015 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21016 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21017 * string/strncat.c: Update.
21018 (USE_AS_STRNCAT): Define.
21019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21020 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21021 and i7.
21022 * sysdeps/x86_64/multiarch/init-arch.h
21023 (bit_Prefer_PMINUB_for_stringop): New.
21024 (index_Prefer_PMINUB_for_stringop): Likewise.
21025 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21026 bit_Prefer_PMINUB_for_stringop.
21027
7dc6bd90
UD
210282011-07-19 Ulrich Drepper <drepper@gmail.com>
21029
21030 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21031 buffer64.
21032 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21033 of casting of buffer.
21034 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21035 buffer32 and buffer64.
21036 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21037 writes instead of casting of buffer.
21038 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21039 buffer32.
21040 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21041 casting of buffer.
21042
e0e72284
AS
210432011-07-19 Andreas Schwab <schwab@redhat.com>
21044
21045 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21046
feb1eb0b
UD
210472011-07-19 Ulrich Drepper <drepper@gmail.com>
21048
21049 * nscd/nscd.c (termination_handler): Don't do anything for a database
21050 if it has not yet been initialized.
21051
298711ff
UD
210522011-07-18 Ulrich Drepper <drepper@gmail.com>
21053
21054 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21055
210562011-07-15 Marek Polacek <mpolacek@redhat.com>
21057
21058 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21059
f9d68389
UD
210602011-07-18 Ulrich Drepper <drepper@gmail.com>
21061
21062 * po/nl.po: Update from translation team.
21063 * po/sv.po: Likewise.
21064
db290cf5
RM
210652011-07-16 Roland McGrath <roland@hack.frob.com>
21066
21067 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21068 now disallowed by GCC.
5c550700 21069
fd5e21c7
RM
21070 * configure.in (use-default-link): Default to yes if a test -shared
21071 link meets our qualifications.
21072 * configure: Regenerated.
21073
5c550700
RM
21074 * config.make.in (output-format): New variable.
21075 * configure.in: Check for ld --print-output-format support.
21076 * configure: Regenerated.
21077 * Makerules ($(common-objpfx)format.lds)
21078 [$(output-format) != unknown]: Just use $(output-format),
21079 instead of the linker-script munging.
21080
9fa2c032
RM
210812011-07-14 Roland McGrath <roland@hack.frob.com>
21082
a6928d51
RM
21083 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21084 of $(common-objpfx)shlib.lds.
21085 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21086
661607b3
RM
21087 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21088 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21089
9fa2c032
RM
21090 * configure.in (-z relro check): Adjust test code to add a large
21091 writable data section after it.
21092 * configure: Regenerated.
21093
defe9061
RM
210942011-07-11 Roland McGrath <roland@hack.frob.com>
21095
21096 * configure.in (-z relro check): Fix test code to make the variable
21097 truly const.
21098 * configure: Regenerated.
21099
319b9ad4
UD
211002011-07-11 Ulrich Drepper <drepper@gmail.com>
21101
21102 * nscd/nscd.h (struct traced_file): Define.
21103 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21104 elements. Add traced_files.
21105 (inotify_fd): Declare.
21106 (register_traced_file): Declare.
21107 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21108 (inotify_fd): Export.
21109 (resolv_conf_descr): Remove.
21110 (nscd_init): Move inotify descriptor creation to main.
21111 Don't register files for notification here.
21112 (register_traced_file): New function.
21113 (invalidate_cache): Don't use reset_res to determine whether to call
21114 res_init, go through the list of registered files.
21115 (main_loop_poll): The inotify descriptors are now stored in the
21116 structures for the traced files.
21117 (main_loop_epoll): Likewise
21118 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21119 to __nss_disable_nscd.
21120 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21121 for a database anymore. Check the records for all the registered
21122 files instead.
21123 * nss/Makefile (libnss_files-routines): Add files-init.
21124 (libnss_db-routines): Add db-init.
21125 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21126 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21127 * nss/nss_db/db-init.c: New file.
21128 * nss/nss_files/files-init.c: New file.
21129 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21130 __nss_lookup_function.
21131 (__nss_lookup_function): Call nss_load_library.
21132 (nss_load_all_libraries): New function.
21133 (__nss_disable_nscd): Take parameter with callback function for files
21134 to register. Set is_nscd. Load all the DSOs for the NSS modules
21135 used for the cached services.
21136 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21137 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21138 options for features to all the files in nscd.
21139
21140 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21141
23bee3e8
RM
211422011-07-10 Roland McGrath <roland@hack.frob.com>
21143
21144 * csu/elf-init.c (__libc_csu_init): Comment typo.
21145
46a5b7f0
UD
211462011-07-09 Ulrich Drepper <drepper@gmail.com>
21147
21148 * po/pl.po: Update from translation team.
21149 * po/ja.po: Likewise.
21150 * po/ru.po: Likewise.
21151 * po/ko.po: Likewise.
21152 * po/fr.po: Likewise.
21153
d30cf5bb
RM
211542011-07-09 Roland McGrath <roland@hack.frob.com>
21155
113ddea4
RM
21156 * configure.in (.ctors/.dtors header and trailer check):
21157 Use an empirical test on a built program.
21158 * configure: Regenerated.
21159
574920b4
RM
21160 * configure.in (-z relro check): Use an empirical test on a built DSO.
21161 Detect, but do not require, on ia64.
21162 * configure: Regenerated.
21163
d30cf5bb
RM
21164 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21165 Update tests that use readelf to use $READELF instead.
21166 * configure: Regenerated.
21167
8538fdb3
UD
211682011-07-08 Ulrich Drepper <drepper@gmail.com>
21169
21170 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21171 if the result is not used.
21172
04d08991
AJ
211732011-07-05 Andreas Jaeger <aj@suse.de>
21174
21175 [BZ#9696]
21176 * stdlib/tst-strtod.c: Add testcase.
21177
de283087
AD
211782011-07-07 Ulrich Drepper <drepper@gmail.com>
21179
4e5f31c8 21180 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21181 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21182 The latter has a higher limit. Take additional parameter to pass to
21183 the new function.
21184 (__pathconf): Pass file to __statfs_link_max.
21185 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21186 __statfs_link_max.
21187 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21188 __statfs_link_max.
21189
de283087
AD
21190 [BZ #12868]
21191 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21192 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21193 Handle Lustre.
21194 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21195 (__statfs_filesize_max): Likewise.
21196 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21197
c75fa153
AJ
211982011-07-05 Andreas Jaeger <aj@suse.de>
21199
21200 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21201
1a544854
UD
212022011-07-06 Marek Polacek <mpolacek@redhat.com>
21203
21204 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21205 `status' variable.
21206 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21207 Likewise.
21208
6f0eec67
UD
212092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21210
21211 * Makefile (strop-tests): Add strncat.
21212 * string/test-strncat.c: New file.
21213
aae30307
UD
212142011-06-30 Marek Polacek <mpolacek@redhat.com>
21215
21216 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21217
c0cfb5eb
UD
212182011-06-21 Andreas Jaeger <aj@suse.de>
21219
21220 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21221 Copy rule from iconvdata/Makefile.
21222
01636b21
UD
212232011-07-06 Ulrich Drepper <drepper@gmail.com>
21224
21225 [BZ #12922]
21226 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21227 but no long options are defined, just return 'W'.
21228
9895c8bc
UD
212292011-06-22 Marek Polacek <mpolacek@redhat.com>
21230
21231 [BZ #9696]
21232 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21233
5d4cf042
UD
212342011-07-06 Ulrich Drepper <drepper@gmail.com>
21235
21236 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21237 netgroups to read.
960e5535 21238 (innetgr): Likewise.
5d4cf042 21239
751eb97e
RM
212402011-07-05 Roland McGrath <roland@hack.frob.com>
21241
21242 * config.make.in (install_root): Default to $(DESTDIR).
21243
f15f1e45
UD
212442011-07-05 Ulrich Drepper <drepper@gmail.com>
21245
21246 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21247
4e34ac6a
RM
212482011-07-02 Roland McGrath <roland@hack.frob.com>
21249
5e9b6af4
RM
21250 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21251
84f9ea0f
RM
21252 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21253 containing directory rather than embedding absolute directory names.
21254
ea5ee9f7
RM
21255 * scripts/check-local-headers.sh: Rewritten using awk.
21256 Match by word, not by line. Print error messages for matches.
21257 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21258
1b74661a
RM
21259 * Makerules [shlib-lds-flags empty]:
21260 ($(common-objpfx)libc_pic.opts): New target.
21261 ($(common-objpfx)libc_pic.os.clean): New target.
21262 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21263
21264 * config.make.in (OBJCOPY): New variable.
21265 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21266 * configure: Regenerated.
21267
f781ef40
RM
21268 * config.make.in (use-default-link): New variable.
21269 * configure.in (use_default_link): Grok --with-default-link to set it.
21270 * configure: Regenerated.
21271 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21272 (shlib-lds, shlib-lds-flags): Define to empty.
21273
2d4fa81e
RM
21274 * Makerules (shlib-lds): New variable.
21275 (shlib-lds-flags): New variable.
21276 (build-shlib, build-moduile, build-module-asneeded): Use it.
21277 ($(common-objpfx)libc.so): Use $(shlib-lds).
21278 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21279 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21280
31fffa6b
RM
21281 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21282 DT_FLAGS/DT_FLAGS_1 with zero flags.
21283
4e34ac6a
RM
21284 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21285 linker script munging.
21286
fcfc776b
UD
212872011-07-02 Ulrich Drepper <drepper@gmail.com>
21288
21289 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21290 as 128-bit value.
21291 * crypt/sha512.c (sha512_process_block): Perform total addition using
21292 128-bit if possible.
21293 (__sha512_finish_ctx): Likewise.
21294 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21295 as 64-bit value.
21296 * crypt/sha256.c (SWAP64): Define.
21297 (sha256_process_block): Perform total addition using 64-bit if
21298 possible.
21299 (__sha256_finish_ctx): Likewise.
21300
99231d9a
UD
213012011-07-01 Ulrich Drepper <drepper@gmail.com>
21302
21303 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21305 * nscd/hstcache.c (cache_addhst): Likewise.
21306 * nscd/grpcache.c (cache_addgr): Likewise.
21307 * nscd/aicache.c (addhstaiX): Likewise
21308 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21309
445b4a53
TK
213102011-07-01 Thorsten Kukuk <kukuk@suse.de>
21311
21312 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21313 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21314 * nscd/hstcache.c (cache_addhst): Likewise.
21315 * nscd/grpcache.c (cache_addgr): Likewise.
21316 * nscd/aicache.c (addhstaiX): Likewise
21317
6d4d8e8e
AS
213182011-07-01 Andreas Schwab <schwab@redhat.com>
21319
21320 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21321 domain only when needed.
21322
89f654c5
AS
213232011-06-30 Andreas Schwab <schwab@redhat.com>
21324
21325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21326 is always restored.
21327
cf3b23ff
UD
213282011-06-29 Ulrich Drepper <drepper@gmail.com>
21329
21330 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21331 are re-adding the entry.
21332 * nscd/servicescache.c (cache_addserv): Likewise.
21333
751626f9
AJ
213342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21335
21336 * sysdeps/generic/dl-irel.h: fix protection against multiple
21337 inclusions.
21338 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21339
9113ea1f
UD
213402011-06-28 Ulrich Drepper <drepper@gmail.com>
21341
5c0b8d90
UD
21342 [BZ #12935]
21343 * malloc/memusage.sh: Fix quoting in message.
21344 * debug/xtrace.sh: Likewise.
21345
9113ea1f
UD
21346 * configure.in: Remove support for --experimental-malloc option, make
21347 it the default.
21348 * config.make.in: Likewise.
21349 * malloc/Makefile: Likewise.
21350
a4172181
AS
213512011-06-27 Andreas Schwab <schwab@redhat.com>
21352
21353 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21354 two-byte characters.
21355
78a7eee7
RM
213562011-06-27 Roland McGrath <roland@hack.frob.com>
21357
62bede13
RM
21358 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21359 AC_CACHE_CHECK invocation.
21360 * configure: Regenerated.
21361
78a7eee7
RM
21362 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21363
5ce33a62
UD
213642011-06-27 Ulrich Drepper <drepper@gmail.com>
21365
034807a9
UD
21366 [BZ #12350]
21367 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21368 bit from old_res_options.
21369
4902da17
UD
21370 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21371
5ce33a62
UD
21372 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21373 value type for setfct.
21374
c2344f56
L
213752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21376
21377 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21378 __gettimeofday instead of gettimeofday.
21379
68468076
UD
213802011-06-26 Ulrich Drepper <drepper@gmail.com>
21381
21382 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21383
acb0d739
L
213842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21385
21386 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21387
21388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21389 info.
21390
8912479f
L
213912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21392
21393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21394 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21395 strcpy-sse2-unaligned strncpy-sse2-unaligned
21396 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21397 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21398 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21399 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21400 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21401 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21402 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21403 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21404 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21405 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21406 (STRCPY): Support SSE2 and SSSE3 versions.
21407
d5495a11
UD
214082011-06-24 Ulrich Drepper <drepper@gmail.com>
21409
21410 [BZ #12874]
21411 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21412 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21413 kernels which artificially limit size of requests.
21414
0b1cbaae
L
214152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21416
21417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21418 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21419 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21420 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21421 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21422 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21423 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21424 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21425 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21426 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21427 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21428 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21429 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21430 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21431 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21433 Enable unaligned load optimization for Intel Core i3, i5 and i7
21434 processors.
21435 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21436 Define.
21437 (index_Fast_Unaligned_Load): Define.
21438 (HAS_FAST_UNALIGNED_LOAD): Define.
21439
07f494a0
MP
214402011-06-23 Marek Polacek <mpolacek@redhat.com>
21441
21442 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21443
fa3fc0fe
UD
214442011-06-22 Ulrich Drepper <drepper@gmail.com>
21445
21446 [BZ #12907]
21447 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21448 until it is clear that the information is realy needed.
21449 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21450
e12df166
AS
214512011-06-22 Andreas Schwab <schwab@redhat.com>
21452
21453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21454
852eb34d
UD
214552011-06-22 Ulrich Drepper <drepper@gmail.com>
21456
84e2a551
UD
21457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21458 /sys/devices/system/cpu/online if it is usable.
21459
852eb34d
UD
21460 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21461 reading the information from the /proc filesystem to once a second.
21462
6e502e19
UD
214632011-06-21 Andreas Jaeger <aj@suse.de>
21464
21465 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21466 NULL after inclusion of kernel headers.
21467
75d39ff2
UD
214682011-06-21 Ulrich Drepper <drepper@gmail.com>
21469
51f9aa6a
UD
21470 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21471 calls to internal_setent.
21472
c0244a9d
UD
21473 [BZ #12885]
21474 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21475 addresses using gethostbyname4_r ignore IPv4 addresses.
21476
c5e3c2ae
UD
21477 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21478 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21479
75d39ff2
UD
21480 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21481
42675c6f
DM
214822011-06-20 David S. Miller <davem@davemloft.net>
21483
21484 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21485 inclusions.
21486 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21487
21488 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21489 (elf_irel): Use it.
21490 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21491 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21492 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21493 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21494 * sysdeps/x86_64/dl-irel.h: Likewise.
21495
21496 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21497 * elf/dl-sym.c: Likewise.
21498
57912a71
UD
214992011-06-15 Ulrich Drepper <drepper@gmail.com>
21500
21501 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21502 need to dereference resplen2.
21503
ee22793d
AS
215042011-06-14 Andreas Schwab <schwab@redhat.com>
21505
21506 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21507
a9e836b0
UD
215082011-06-15 Ulrich Drepper <drepper@gmail.com>
21509
77fb9117
UD
21510 * Makeconfig: Define vardbdir and inst_vardbdir.
21511 * nss/Makefile: Add rules to install db-Makefile.
21512
40c1b22c
UD
21513 * nss/nss_db/db-XXX.c: Cleanup.
21514
9f2da732
UD
21515 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21516 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21517 GLIBC_PRIVATE.
21518 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21519 * nss/makedb.c: Implement -g option to specify that value strings
21520 are generated and should not be added to table iterated over for
21521 get*ent calls.
21522 * nss/nss_db/db-initgroups.c: New file.
21523
82e9a1f7
UD
21524 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21525 interface.
21526
c41af17e
UD
21527 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21528 (internal_getgrouplist): Adjust to name change.
21529 Update use_initgroups_entry if this is not the first call.
21530 * nss/databases.def: Add initgroups entry.
21531
a9e836b0
UD
21532 * nss/makedb.c (compute_tables): Check result of multiple hash table
21533 sizes to minimize maximum chain length.
21534
2666d441
UD
215352011-06-14 Ulrich Drepper <drepper@gmail.com>
21536
21537 * Versions.def: Add entry for libnss_db.
21538 * shlib-versions: Likewise.
21539 * nss/Makefile: Add rules to build libnss_db.
21540 * nss/Versions: Add libnss_db information. Organize libnss_files
21541 entries better.
21542 * nss/db-Makefile: Add gshadow support. Change rules for the new
21543 makedb progra. Some minor improvements to generate smaller files.
21544 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21545 here from...
21546 * nss/makedb.c: ...here.
21547 Improve database format to be smaller and require less memory at
21548 runtime.
21549 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21550 db anymore.
21551 * nss/nss_db/db-netgrp.c: Likewise.
21552 * nss/nss_db/db-open.c: Likewise.
21553 * nss/nss_files/flies-XXX.x: Adjust comments.
21554 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21555 * nss/nss_files/files-grp.c: Likewise.
21556 * nss/nss_files/files-hosts.c: Likewise.
21557 * nss/nss_files/files-network.c: Likewise.
21558 * nss/nss_files/files-proto.c: Likewise.
21559 * nss/nss_files/files-pwd.c: Likewise.
21560 * nss/nss_files/files-rpc.c: Likewise.
21561 * nss/nss_files/files-service.c: Likewise.
21562 * nss/nss_files/files-sgrp.c: Likewise.
21563 * nss/nss_files/files-spwd.c: Likewise.
21564 * nss/nss_db/db-alias.c: Removed.
21565 * nss/nss_db/dummy-db.h: Removed.
21566
9ee76b5a
UD
215672011-06-02 Ulrich Drepper <drepper@gmail.com>
21568
21569 * nss/makedb.c: Rewritten to not use database library.
21570 * nss/Makefile: Update to build new makedb program.
21571
c71ca1f8
AJ
215722011-06-14 Andreas Jaeger <aj@suse.de>
21573
21574 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21575 memset declaration.
21576
3154bfb8
UD
215772011-06-10 Andreas Schwab <schwab@redhat.com>
21578
21579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21580 tmpbuf.
21581
b350afab
RM
215822011-06-10 Roland McGrath <roland@hack.frob.com>
21583
decd4e50
RM
21584 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21585 * elf/Makefile ($(objpfx)ld.so): Likewise.
21586
5615eaf2
RM
21587 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21588 Don't list ld.so twice in dependencies.
21589
21590 * posix/bug-regex31.c: Include <stdlib.h>.
21591
21592 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21593
21594 * nis/nss_compat/compat-spwd.c
21595 (getspent_next_nss_netgr): Remove unused variable.
21596 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21597
21598 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21599 nonmembers" output to use the right array.
21600
21601 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21602
21603 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21604
21605 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21606 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21607 * catgets/gencat.c (read_input_file): Likewise.
21608 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21609
21610 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21611 variable definition inside #if's controlling its use.
21612
21613 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21614
21615 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21616
21617 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21618
21619 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21620 unreachable code.
21621
21622 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21623
b68e08db
RM
21624 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21625 * configure: Regenerated.
21626
b350afab
RM
21627 * Makerules: Revert last change.
21628 * elf/Makefile: Likewise.
21629
28368601
RM
216302011-06-09 Roland McGrath <roland@hack.frob.com>
21631
21632 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21633 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21634 (reloc-link): Likewise.
21635
11988f8f
UD
216362011-06-09 Ulrich Drepper <drepper@gmail.com>
21637
21638 * elf/Makefile: Add rules to build pldd.
21639 * elf/pldd.c: New file.
21640 * elf/pldd-xx.c: New file.
21641
e80fab37
UD
216422011-06-07 Ulrich Drepper <drepper@gmail.com>
21643
21644 * version.h: Update for 2.15 development version.
21645
9b849836
DM
216462011-06-07 David S. Miller <davem@davemloft.net>
21647
21648 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21649 ifuncs.
21650 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21651 elf_machine_lazy_rel): Likewise.
21652 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21654 elf_machine_lazy_rel): Likewise.
21655 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21656 dl_hwcap via passed in argument.
21657 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21658 Likewise.
21659
5a31b283
AK
216602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21661
21662 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21663
069e52f8
RM
216642011-06-06 Roland McGrath <roland@hack.frob.com>
21665
21666 [BZ #12849]
21667 * manual/fdl-1.1.texi: New file, verbatim from:
21668 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21669 * manual/lgpl-2.1.texi: New file, verbatim from:
21670 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21671 * manual/Makefile (licenses): New variable, list those new file names.
21672 (texis): Use it.
21673 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21674
21675 * manual/fdl.texi: File removed.
21676 * manual/lesser.texi: File removed.
21677 * manual/libc.texinfo (Copying, Documentation License):
21678 Use new @include file names, put @appendix directive before @include.
21679
f16846a5
JJ
216802011-06-04 Jakub Jelinek <jakub@redhat.com>
21681
21682 [BZ #12841]
21683 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21684 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21685 (mq_open): Add __NTH.
21686
3d29045b
L
216872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21688
21689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21690 Assume Intel Core i3/i5/i7 processor if AVX is available.
21691
8c297311
UD
216922011-05-31 Ulrich Drepper <drepper@gmail.com>
21693
21694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21695 typo.
21696
c8fc0c91
UD
216972011-05-31 Andreas Schwab <schwab@redhat.com>
21698
21699 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21700 memory. Use alloca_account. Fix memory leak when retrying.
21701
5b27a807
UD
217022011-05-31 Ulrich Drepper <drepper@gmail.com>
21703
356f8bc6
UD
21704 * version.h (RELEASE): Bump for 2.14 release.
21705 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21706
5b27a807
UD
21707 * config.make.in (RANLIB): Remove entry.
21708
01f16ab0
UD
217092011-05-30 Ulrich Drepper <drepper@gmail.com>
21710
41fce8bd
UD
21711 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21712 (libc.pot): Work around missing support for .ksh extension in xgettext.
21713
4769ae77
UD
21714 [BZ #12684]
21715 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21716 if both request failed.
21717 (send_dg): In case of server errors clear resplen or *resplen2.
21718
6b1e7d19
UD
21719 [BZ #12454]
21720 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21721 when there are multiple maps.
21722 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21723 (_dl_fini): Remove test here.
21724
01f16ab0
UD
21725 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21726
b1ebd700
UD
217272011-05-29 Ulrich Drepper <drepper@gmail.com>
21728
7ae22829
UD
21729 [BZ #12350]
21730 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21731 bit from old_res_options.
21732 (gaih_inet): Likewise.
21733
553149f6 21734 [BZ #11099]
18a84741 21735 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21736 as signed.
21737
652ffab1
UD
21738 * resolv/res_init.c (res_setoptions): Make the code more compact.
21739
16985fd0
UD
21740 [BZ #11558]
21741 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21742 set RES_USEVC.
21743
0464f746
UD
21744 [BZ #11634]
21745 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21746
7d17596c
UD
21747 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21748
cf6bbbd7
UD
21749 [BZ #11781]
21750 * malloc/malloc.h: Declare malloc hook variables as volatile.
21751
13f1ab36
UD
21752 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21753 in last patch.
21754
b1ebd700
UD
21755 [BZ #11799]
21756 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21757 raise in the comment.
80e2212d
UD
21758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21759 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21760 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21761
ce67228d
UD
217622011-05-28 Ulrich Drepper <drepper@gmail.com>
21763
8887a920
UD
21764 [BZ #12811]
21765 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21766 grow the buffers more if it already has to be sufficient.
21767 (build_wcs_upper_buffer): Likewise.
21768 * posix/regexec.c (check_matching): Likewise.
21769 (clean_state_log_if_needed): Likewise.
21770 (extend_buffers): Don't enlarge buffers beyond size of the input
21771 buffer.
21772 Patches mostly by Emil Wojak <emil@wojak.eu>.
21773 * posix/bug-regex32.c: New file.
21774 * posix/Makefile (tests): Add bug-regex32.
21775
4f031072
UD
21776 * locale/findlocale.c (_nl_find_locale): Return right away if
21777 _nl_explode_name failed.
21778 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21779
d0478f0c
UD
21780 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21781
de81b246
UD
21782 * debug/xtrace.sh: Unify messages.
21783 * malloc/memusage.sh: Likewise.
21784
c738465a
UD
21785 [BZ #12813]
21786 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21787 time symbol from vDSO. Substitute with vsyscall if not available.
21788 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21789 __vdso_time.
21790
f1f929d7
UD
21791 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21792 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21793 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21794 Add sendmmsg and internal_sendmmsg.
21795 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21796 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21797 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21798
ce67228d
UD
21799 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21800 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21801 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21802
e57420c6
UD
218032011-05-27 Ulrich Drepper <drepper@gmail.com>
21804
a8509ca5
UD
21805 [BZ #12813]
21806 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21807 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21808 available.
21809 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21810 __vdso_getcpu.
21811
e57420c6
UD
21812 [BZ #12814]
21813 * iconvdata/Makefile (tests): Add bug-iconv9.
21814 * iconvdata/bug-iconv9.c: New file.
21815
4d07db15
AS
218162011-05-27 Andreas Schwab <schwab@redhat.com>
21817
21818 [BZ #12814]
21819 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21820
ea486f69
JJ
218212011-05-25 Jakub Jelinek <jakub@redhat.com>
21822
21823 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21824 (struct user_regs_struct): Change intcs field back to cs.
21825
6f038433
UD
218262011-05-25 Ulrich Drepper <drepper@gmail.com>
21827
21828 * po/ja.po: Update from translation team.
21829
67f86a25
UD
218302011-05-23 Ulrich Drepper <drepper@gmail.com>
21831
21832 [BZ #12795]
21833 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21834 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21835
def7fbd6
AS
218362011-05-20 Andreas Schwab <schwab@redhat.com>
21837
21838 * stdlib/longlong.h: Update from GCC.
21839
f50ef8f1
AS
218402011-05-23 Andreas Schwab <schwab@redhat.com>
21841
21842 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21843 parameter name.
21844 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21845 Add parameter name.
21846 (__sysconf): Pass it down.
21847
de7ce8f1
UD
218482011-05-22 Ulrich Drepper <drepper@gmail.com>
21849
f2962a71
UD
21850 [BZ #12671]
21851 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21852 some situations.
21853 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21854 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21855 add in in __libc_use_alloca calls. Adjust callers.
21856 (glob): Use malloc in some situations.
21857
de7ce8f1
UD
21858 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21859 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21860 pltexit.
21861
aec84f53
UD
218622011-05-21 Ulrich Drepper <drepper@gmail.com>
21863
05bb4a68
UD
21864 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21865 and CLOCK_BOOTTIME_ALARM.
21866
7ea72f99
UD
21867 [BZ #12782]
21868 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21869 is returned.
21870
7e4afad5
UD
21871 * string/_strerror.c (__strerror_r): Print negative errors as signed
21872 numbers.
21873
8e211fec
UD
21874 [BZ #12777]
21875 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21876 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21877 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21878
f7d82dc9
UD
21879 * configure.in: Fix typo in redirection and correct removal of test
21880 files in two cases.
21881
cc9e536d
UD
21882 [BZ #12788]
21883 * locale/setlocale.c (new_composite_name): Fix test to check for
21884 identical name of all categories.
21885
aec84f53
UD
21886 [BZ #12792]
21887 * libio/filedoalloc.c (local_isatty): New function.
21888 (_IO_file_doallocate): Use local_isatty.
21889 * stdio-common/perror.c (perror): In case a new stream is used
21890 forward the stream error.
21891 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21892 error flag.
21893
78e64fdc
RT
218942011-05-20 Ulrich Drepper <drepper@gmail.com>
21895
34a9094f
UD
21896 [BZ #11869]
21897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21898 alloca.
21899 * include/alloca.h (extend_alloca_account): Define.
21900
78e64fdc
RT
21901 [BZ #11857]
21902 * posix/regex.h: Fix comments with documentation of user-accessible
21903 fields after compilation and describe correct free'ing of pattern
21904 after re_compile_pattern.
21905 Patch by Reuben Thomas <rrt@sc3d.org>.
21906
457bddfc
RA
219072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21908
21909 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21910 and -mno-altivec to prevent the compiler from using Altivec and/or
21911 VSX instructions when the corresponding registers are not available.
21912
a4527b51
AS
219132011-05-19 Andreas Schwab <schwab@redhat.com>
21914
21915 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21916
ed690b2f
UD
219172011-05-19 Ulrich Drepper <drepper@gmail.com>
21918
21919 * libio/freopen.c (freopen): Use __dup2, not dup2.
21920 * libio/freopen64.c (freopen64): Likewise.
21921
8db73634
L
219222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21923
21924 [BZ #12775]
21925 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21926 * math/Makefile (tests): Add test-powl.
21927 (CFLAGS-test-powl.c): Define.
21928 * math/test-powl.c: New file.
21929
0a197a9d
L
219302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21931
21932 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21933
ee30c380
UD
219342011-05-17 Ulrich Drepper <drepper@gmail.com>
21935
21936 [BZ #11837]
21937 * iconvdata/gb18030.c: Update to GB18020-2005.
21938
6ce75379
UD
219392011-05-16 Ulrich Drepper <drepper@gmail.com>
21940
a4b89fd8
AR
21941 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21942 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21943 Patch by Aharon Robbins <arnold@skeeve.com>.
21944
ea389b12
UD
21945 [BZ #11892]
21946 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21947 on the stack.
21948
68a3f91f
UD
21949 [BZ #11895]
21950 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21951 through underflows.
21952
15cc7dd1
UD
21953 [BZ #12766]
21954 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21955 point to strings before performing equality test for error_one_per_line
21956 mode.
21957
f3799213
UD
21958 [BZ #11697]
21959 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21960
d79a9c94
UD
21961 [BZ #11820]
21962 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21963 (struct user_fpregs_struct): Avoid __uint*_t types.
21964
56e5eb46
UD
21965 [BZ #6420]
21966 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21967 symbol info. Use it instead of calling _dl_addr locally.
21968 (lock_and_info): New function.
21969 (tr_freehook): Call lock_and_info and pass symbol info as additional
21970 parameter to tr_where.
21971 (tr_mallochook): Likewise.
21972 (tr_reallochook): Likewise.
21973 (tr_memalignhook): Likewise.
21974
6ce75379
UD
21975 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21976 used and couldn't be at all thread-safe.
21977
f8a3b5bf
UD
219782011-05-15 Ulrich Drepper <drepper@gmail.com>
21979
94b7cc37
UD
21980 * libio/freopen.c (freopen): Don't close old file descriptor
21981 before the new one is opened. Instead dup the new file descriptor
21982 to the old one after the new stream is created.
21983 * libio/freopen64.c (freopen64): Likewise.
21984 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21985 * libio/fileops.c (_IO_new_file_close_it): Handle new
21986 _IO_FLAGS2_NOCLOSE flag.
21987 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21988 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21989 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21990 _IO_FLAGS2_NOCLOSE flag.
21991 * include/unistd.h: Add hidden_proto for dup3.
21992 Define __have_dup3.
21993 * io/dup3.c: Define hidden symbol.
21994 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21995
bd25564e
UD
21996 [BZ #7101]
21997 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21998 when an incomplete long option is used.
21999 * posix/tst-getopt_long1.c: New file.
22000 * posix/Makefile (tests): Add tst-getopt_long1.
22001
c84cfef4
UD
22002 [BZ #10138]
22003 * scripts/config.guess: Update from autoconf-2.68.
22004 * scripts/config.sub: Likewise.
22005
3b85df27
UD
22006 [BZ #10157]
22007 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22008 tests into ...
22009 (has_cpuclock): ...this. New function.
22010 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22011 macro here based on has_cpuclock code.
22012
15a856b1
UD
22013 [BZ #10149]
22014 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22015 First byte (not low byte) is now always NUL.
22016 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22017
05f399e6
UD
22018 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22019 Use non-cancelable interfaces.
22020
10a52685 22021 [BZ #9809]
94ecc67d
UD
22022 * locale/iso-639.def: Add entry for Sorani.
22023
f8a3b5bf
UD
22024 [BZ #11901]
22025 * include/stdlib.h: Move include protection to the right place.
22026 Define abort_msg_s. Declare __abort_msg with it.
22027 * stdlib/abort.c (__abort_msg): Adjust type.
22028 * assert/assert.c (__assert_fail_base): New function. Majority
22029 of code from __assert_fail. Allocate memory for __abort_msg with
22030 mmap.
22031 (__assert_fail): Now call __assert_fail_base.
22032 * assert/assert-perr.c: Remove bulk of implementation. Use
22033 __assert_fail_base.
22034 * include/assert.hL Declare __assert_fail_base.
22035 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22036 mmap.
22037 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22038
1af4e298
UD
220392011-05-14 Ulrich Drepper <drepper@gmail.com>
22040
f8a3b5bf 22041 [BZ #11952]
d26dfc60
MG
22042 [BZ #12453]
22043 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22044 until all modules are registered in the DTV.
22045 * elf/Makefile: Add rules to build and run tst-tls19.
22046 * elf/tst-tls19.c: New file.
22047 * elf/tst-tls19mod1.c: New file.
22048 * elf/tst-tls19mod2.c: New file.
22049 * elf/tst-tls19mod3.c: New file.
22050 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22051
2fc54d6f
UD
22052 [BZ #12083]
22053 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22054 correctly.
22055
98d76b46
UD
22056 [BZ #12601]
22057 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22058 two-byte sequence errors.
22059 * iconvdata/Makefile (tests): Add bug-iconv8.
22060 * iconvdata/bug-iconv8.c: New file.
22061
da3c19ef
UD
22062 [BZ #12626]
22063 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22064 buf2 definition.
22065
ca408c15
UD
22066 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22067
d6f67f7d
UD
22068 [BZ #12432]
22069 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22070 (dummy_getcfa): New function.
22071 (init): Get _Unwind_GetCFA address, use dummy if not found.
22072 (backtrace_helper): In recursion check, also check whether CFA changes.
22073 (__backtrace): Completely initialize arg.
22074
1af4e298 22075 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22076 storing incomplete byte sequence in state object. Avoid testing for
22077 guaranteed too small input if we know there is enough data available.
1af4e298 22078
da62f81b
AS
220792011-05-11 Andreas Schwab <schwab@redhat.com>
22080
22081 * Makeconfig (+link-pie): Indent.
22082 * Rules (binaries-pie): Define if $(have-fpie) and
22083 $(build-shared).
22084 (binaries-shared): Also filter out $(binaries-pie).
22085 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22086 * nscd/Makefile (others-pie): Add nscd.
22087 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22088 ($(objpfx)nscd): Remove command override.
22089 * login/Makefile (others-pie): Add pt_chown.
22090 ($(objpfx)pt_chown): Remove command override.
22091 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22092 remove command overrides.
22093
fcabc0f8
UD
220942011-05-13 Ulrich Drepper <drepper@gmail.com>
22095
20030ae6
UD
22096 * libio/tst_putwc.c: Fix error messages.
22097
fcabc0f8
UD
22098 [BZ #12724]
22099 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22100 currently writing and seek to current position when not.
22101 * libio/Makefile (tests): Add bug-fclose1.
22102 * libio/bug-fclose1.c: New file.
22103
320a5dc0
PB
221042011-05-12 Ulrich Drepper <drepper@gmail.com>
22105
22106 [BZ #12511]
22107 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22108 don't set DF_1_NODELETE here.
22109 (do_lookup_x): When entering new entry test for copy relocation
22110 and if necessary set DF_1_NODELETE flag.
22111 * elf/tst-unique4.cc: New file.
22112 * elf/tst-unique4.h: New file.
22113 * elf/tst-unique4lib.cc: New file.
22114 * elf/Makefile: Add rules to build and run tst-unique4.
22115 Patch by Piotr Bury <pbury@goahead.com>.
22116
22836f52
UD
221172011-05-11 Ulrich Drepper <drepper@gmail.com>
22118
f574184a
UD
22119 [BZ #12052]
22120 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22121
e1fb097f
UD
22122 [BZ #12625]
22123 * misc/mntent_r.c (addmntent): Flush the stream after the output
22124
22836f52
UD
22125 [BZ #12393]
22126 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22127 (is_trusted_path_normalize): Skip initial colon. Append slash
22128 to empty buffer. Duplicate is_trusted_path code but allow
22129 constructed patch to be prefix.
22130 (is_dst): Allow $ORIGIN followed by /.
22131 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22132 Correct testing of result of is_trusted_path_normalize
22133 (decompose_rpath): Fix warning.
22134
7b3b0b2a
UD
221352011-05-10 Ulrich Drepper <drepper@gmail.com>
22136
22137 [BZ #11257]
22138 * grp/initgroups.c (internal_getgrouplist): When we found the service
22139 list through the initgroups entry in nsswitch.conf do not always
22140 continue on a successful lookup. Don't always use the
eac80ce2 22141 __nss_group_database value if it is set.
7b3b0b2a
UD
22142 * nss/nsswitch.conf (initgroups): Change action for successful db
22143 lookup to continue for compatibility.
22144
2a81eaa5
UD
221452011-05-09 Ulrich Drepper <drepper@gmail.com>
22146
be97a69e
UD
22147 [BZ #11532]
22148 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22149 and CP774 modules.
22150 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22151 and CP774 modules.
22152 * iconvdata/tst-tables.sh: Likewise.
22153 * iconvdata/cp770.c: New file.
22154 * iconvdata/cp771.c: New file.
22155 * iconvdata/cp772.c: New file.
22156 * iconvdata/cp773.c: New file.
22157 * iconvdata/cp774.c: New file.
22158 * iconvdata/testdata/CP770: New file.
22159 * iconvdata/testdata/CP770..UTF8: New file.
22160 * iconvdata/testdata/CP771: New file.
22161 * iconvdata/testdata/CP771..UTF8: New file.
22162 * iconvdata/testdata/CP772: New file.
22163 * iconvdata/testdata/CP772..UTF8: New file.
22164 * iconvdata/testdata/CP773: New file.
22165 * iconvdata/testdata/CP773..UTF8: New file.
22166 * iconvdata/testdata/CP774: New file.
22167 * iconvdata/testdata/CP774..UTF8: New file.
22168
22169 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22170 END CHARMAP line.
22171 * iconvdata/gen-8bit-gap.sh: Likewise.
22172 * iconvdata/gen-8bit.sh: Likewise.
22173
c1e9e399
UD
22174 * locale/iso-639.def: Add ary entry.
22175
24c55fb3 22176 [BZ #11258]
96b4b1b0
UD
22177 * locale/C-translit.h.in: Add U20A1 transliteration.
22178
bdc2f971
KB
22179 [BZ #12178]
22180 * locale/iso-639.def: Add wae entry.
22181 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22182
2952b117
UD
22183 [BZ #12545]
22184 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22185 for n.
22186
2a81eaa5
UD
22187 [BZ #12711]
22188 * locale/C-translit.h.in: Add entry for U20B9.
22189 Patch by pravin.d.s@gmail.com.
22190
28377d1b
UD
221912011-05-08 Ulrich Drepper <drepper@gmail.com>
22192
7fb90fb8
UD
22193 [BZ #12713]
22194 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22195 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22196 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22197 in rtld. Use *stat64.
7fb90fb8 22198 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22199 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22200 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22201 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22202 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22203 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22204 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22205 __fstatat64 macros.
7fb90fb8
UD
22206 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22207 * dirent/rewinddir.c: Add libc_hidden_def.
22208 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22209 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22210
28377d1b
UD
22211 * include/dirent.h (__alloc_dir): Add flags parameter.
22212 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22213 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22214 __alloc_dir.
22215 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22216 from fdopendir if O_CLOEXEC is already set.
22217
66bdbaa4
AM
222182011-03-15 Alan Modra <amodra@gmail.com>
22219
22220 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22221 l_tls_firstbyte_offset non-zero. Save padding offset in
22222 l_tls_firstbyte_offset for later use.
22223 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22224 freeing static tls block.
22225
95721191
JN
222262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22227
22228 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22229 where #ifdef was intended. The intent is to prevent ARG_MAX from
22230 being defined by the kernel headers.
22231
f87dfb1f
UD
222322011-05-07 Ulrich Drepper <drepper@gmail.com>
22233
22234 [BZ #12734]
22235 * resolv/resolv.h: Define RES_NOTLDQUERY.
22236 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22237 no-tld-query and set RES_NOTLDQUERY.
22238 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22239 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22240 modern BIND to search name as TLD unless forbidden.
22241
47c3cd7a
UD
222422011-05-07 Petr Baudis <pasky@suse.cz>
22243 Ulrich Drepper <drepper@gmail.com>
22244
22245 [BZ #12393]
22246 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22247 (is_trusted_path): ...to here.
c1e9ea35 22248 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22249 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22250 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22251
8a35c912
PP
222522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22253
22254 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22255 __BEGIN/__END_DECLS.
22256
acd41f47
UD
222572011-05-06 Ulrich Drepper <drepper@gmail.com>
22258
22259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22260 NSS_STATUS_NOTFOUND if no record was found.
22261
597df647
AS
222622011-05-05 Andreas Schwab <schwab@redhat.com>
22263
22264 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22265 (headers-not-in-tirpc): Remove rpc/netdb.h
22266 * resolv/netdb.h: Revert last change.
22267
b9af1301
PP
222682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22269
22270 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22271 circular dependency between libgcc.a and libc.a.
22272
4e34d5f5
AS
222732011-05-05 Andreas Schwab <schwab@redhat.com>
22274
22275 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22276 * nis/Makefile: Don't install rpcsvc/*.
22277 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22278 instead of <rpc/types.h>.
22279 (MAXHOSTNAMELEN): Define.
22280
00ee369c
AS
222812011-05-03 Andreas Schwab <schwab@redhat.com>
22282
22283 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22284
0b592a30
MB
222852011-04-28 Maciej Babinski <mbabinski@google.com>
22286
22287 [BZ #12714]
22288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22289 gethostbyname4_r when IPv6 results are possible.
22290
6e04cbbe
UD
222912011-05-02 Ulrich Drepper <drepper@gmail.com>
22292
22293 [BZ #12723]
22294 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22295 _PC_PIPE_BUF handling.
22296
e4ecafe0
BH
222972011-04-30 Bruno Haible <bruno@clisp.org>
22298
22299 [BZ #12717]
22300 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22301 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22302 to 'int'.
22303 * inet/getnameinfo.c (getnameinfo): Likewise.
22304
125ee683
UD
223052011-04-29 Ulrich Drepper <drepper@gmail.com>
22306
22307 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22308 to groups setting in database lookup.
22309 * nss/nsswitch.conf: Add initgroups entry.
22310
b722481a
EB
223112011-04-22 Ulrich Drepper <drepper@gmail.com>
22312
22313 [BZ #12685]
22314 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22315 mode string.
22316 Patch by Eric Blake <eblake@redhat.com>.
22317
4df46dbd
L
223182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22319
22320 * sunrpc/Makefile (need-export-routines): Add svc_run.
22321 (routines): Remove svc_run.
22322 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22323 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22324 * sunrpc/svc_run.c (svc_run): Likewise.
22325 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22326
e84142d2
UD
223272011-04-21 Ulrich Drepper <drepper@gmail.com>
22328
22329 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22330 problem in reallocation in last patch.
22331
877175d8
UD
223322011-04-20 Ulrich Drepper <drepper@gmail.com>
22333
22334 * sunrpc/Makefile: Move inclusion of Rules.
22335
ab8eed78
UD
223362011-04-19 Ulrich Drepper <drepper@gmail.com>
22337
22338 * nss/nss_files/files-initgroups.c: New file.
22339 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22340 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22341 _nss_files_initgroups_dyn.
22342
e3d8f584
RS
223432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22344
22345 * elf/elf.h (R_ARM_IRELATIVE): Define.
22346
af190f45
UD
223472011-04-19 Ulrich Drepper <drepper@gmail.com>
22348
22349 * po/ru.po: Update from translation team.
22350
53cf59ef
UD
223512011-04-17 Ulrich Drepper <drepper@gmail.com>
22352
22353 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22354 dependencies.
22355
4c559bcd
MF
223562011-02-06 Mike Frysinger <vapier@gentoo.org>
22357
22358 [BZ #12653]
22359 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22360 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22361 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22362 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22363 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22364
4420675c
AS
223652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22366
22367 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22368 differing bytes.
22369 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22370 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22371 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22372
75ea32ab
UD
223732011-04-17 Ulrich Drepper <drepper@gmail.com>
22374
22375 [BZ #12420]
22376 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22377 storing it.
22378 * stdlib/bug-getcontext.c: New file.
22379 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22380
27390476
AK
223812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22382
22383 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22384 instructions into .machine "z9-109".
22385 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22386 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22387
10442705
AK
223882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22389
22390 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22391 between environment variables and auxiliary vector.
22392
7b57bfe5
UD
223932011-04-16 Ulrich Drepper <drepper@gmail.com>
22394
22395 * Makefile: Add rules to build linkobj/libc.so.
22396 * include/libc-symbols.h: Define libc_hidden_nolink.
22397 * include/rpc/auth.h: Mark functions which are to be hidden.
22398 * include/rpc/auth_des.h: Likewise.
22399 * include/rpc/auth_unix.h: Likewise.
22400 * include/rpc/clnt.h: Likewise.
22401 * include/rpc/des_crypt.h: Likewise.
22402 * include/rpc/key_prot.h: Likewise.
22403 * include/rpc/pmap_clnt.h: Likewise.
22404 * include/rpc/pmap_prot.h: Likewise.
22405 * include/rpc/pmap_rmt.h: Likewise.
22406 * include/rpc/rpc_msg.h: Likewise.
22407 * include/rpc/svc.h: Likewise.
22408 * include/rpc/svc_auth.h: Likewise.
22409 * include/rpc/xdr.h: Likewise.
22410 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22411 * nss/Makefile: Likewise.
22412 * sunrpc/Makefile: Don't install headers. Build library with normal
22413 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22414 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22415 for the compat linking library. Remove use of INTDEF/INTUSE.
22416 * sunrpc/auth_none.c: Likewise.
22417 * sunrpc/auth_unix.c: Likewise.
22418 * sunrpc/authdes_prot.c: Likewise.
22419 * sunrpc/authuxprot.c: Likewise.
22420 * sunrpc/clnt_gen.c: Likewise.
22421 * sunrpc/clnt_perr.c: Likewise.
22422 * sunrpc/clnt_raw.c: Likewise.
22423 * sunrpc/clnt_simp.c: Likewise.
22424 * sunrpc/clnt_tcp.c: Likewise.
22425 * sunrpc/clnt_udp.c: Likewise.
22426 * sunrpc/clnt_unix.c: Likewise.
22427 * sunrpc/des_crypt.c: Likewise.
22428 * sunrpc/des_soft.c: Likewise.
22429 * sunrpc/get_myaddr.c: Likewise.
22430 * sunrpc/key_call.c: Likewise.
22431 * sunrpc/key_prot.c: Likewise.
22432 * sunrpc/netname.c: Likewise.
22433 * sunrpc/pm_getmaps.c: Likewise.
22434 * sunrpc/pm_getport.c: Likewise.
22435 * sunrpc/pmap_clnt.c: Likewise.
22436 * sunrpc/pmap_prot.c: Likewise.
22437 * sunrpc/pmap_prot2.c: Likewise.
22438 * sunrpc/pmap_rmt.c: Likewise.
22439 * sunrpc/publickey.c: Likewise.
22440 * sunrpc/rpc_cmsg.c: Likewise.
22441 * sunrpc/rpc_common.c: Likewise.
22442 * sunrpc/rpc_dtable.c: Likewise.
22443 * sunrpc/rpc_prot.c: Likewise.
22444 * sunrpc/rpc_thread.c: Likewise.
22445 * sunrpc/rtime.c: Likewise.
22446 * sunrpc/svc.c: Likewise.
22447 * sunrpc/svc_auth.c: Likewise.
22448 * sunrpc/svc_authux.c: Likewise.
22449 * sunrpc/svc_raw.c: Likewise.
22450 * sunrpc/svc_run.c: Likewise.
22451 * sunrpc/svc_simple.c: Likewise.
22452 * sunrpc/svc_tcp.c: Likewise.
22453 * sunrpc/svc_udp.c: Likewise.
22454 * sunrpc/svc_unix.c: Likewise.
22455 * sunrpc/svcauth_des.c: Likewise.
22456 * sunrpc/xcrypt.c: Likewise.
22457 * sunrpc/xdr.c: Likewise.
22458 * sunrpc/xdr_array.c: Likewise.
22459 * sunrpc/xdr_float.c: Likewise.
22460 * sunrpc/xdr_intXX_t.c: Likewise.
22461 * sunrpc/xdr_mem.c: Likewise.
22462 * sunrpc/xdr_rec.c: Likewise.
22463 * sunrpc/xdr_ref.c: Likewise.
22464 * sunrpc/xdr_sizeof.c: Likewise.
22465 * sunrpc/xdr_stdio.c: Likewise.
22466
e6c61494
UD
224672011-04-10 Ulrich Drepper <drepper@gmail.com>
22468
22469 [BZ #12650]
22470 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22471 * sysdeps/ia64/dl-tls.h: Likewise.
22472 * sysdeps/powerpc/dl-tls.h: Likewise.
22473 * sysdeps/s390/dl-tls.h: Likewise.
22474 * sysdeps/sh/dl-tls.h: Likewise.
22475 * sysdeps/sparc/dl-tls.h: Likewise.
22476 * sysdeps/x86_64/dl-tls.h: Likewise.
22477 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22478
34fe483e
AS
224792011-03-14 Andreas Schwab <schwab@redhat.com>
22480
22481 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22482 rpath element also skip the following colon.
22483 (expand_dynamic_string_token): Add is_path parameter and pass
22484 down to DL_DST_REQUIRED and _dl_dst_substitute.
22485 (decompose_rpath): Call expand_dynamic_string_token with
22486 non-zero is_path. Ignore empty rpaths.
22487 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22488 with zero is_path.
22489
f12a32e6
AS
224902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22491
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22493 Make cancelable.
22494
38a7d692
UD
224952011-04-09 Ulrich Drepper <drepper@gmail.com>
22496
22497 [BZ #12655]
22498 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22499 Patch by Filipe David Manana <fdmanana@apache.org>.
22500
e451d22b
AS
225012011-04-07 Andreas Schwab <schwab@redhat.com>
22502
22503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22504 Maintain aligned stack.
22505 (CHECK_RSP): Remove unused macro.
22506
dedc7c7b
UD
225072011-04-03 Ulrich Drepper <drepper@gmail.com>
22508
22509 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22510 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22511
94521213
UD
225122011-04-02 Ulrich Drepper <drepper@gmail.com>
22513
22514 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22515
8cb700c0 22516 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22517
0354e355
L
225182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22519
22520 [BZ #12518]
22521 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22522 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22523 * sysdeps/x86_64/memmove.c: New file.
22524 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22525 (memcpy): Renamed to ...
22526 (__new_memcpy): This.
22527 (memcpy): Provide GLIBC_2_14 memcpy.
22528 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22529 (memcpy): Provide GLIBC_2_2_5 memcpy.
22530
8593482f
UD
225312011-04-01 Ulrich Drepper <drepper@gmail.com>
22532
22533 [BZ #12631]
22534 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22535
81a5726b
AS
225362011-03-30 Andreas Schwab <schwab@redhat.com>
22537
22538 * misc/syncfs.c: New file.
22539 * misc/Makefile (routines): Add syncfs.
22540 * posix/unistd.h: Declare syncfs.
22541 * sysdeps/unix/syscalls.list: Add syncfs.
22542
00e5419f
AS
225432011-04-01 Andreas Schwab <schwab@redhat.com>
22544
22545 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22546 open_by_handle_at.
22547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22548 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22552 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22553 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22554
748876bf
UD
225552011-04-01 Ulrich Drepper <drepper@gmail.com>
22556
658e451d
UD
22557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22559 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22561 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22564
748876bf
UD
22565 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22566 sync_file_range.c with -fexceptions.
22567 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22568 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22569 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22570 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22571 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22572 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22574 sync_file_range as cancellation point
22575 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22576 now a wrapper around __call_sync_file_range with cancellation handling.
22577 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22578 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22579 function name to __call_sync_file_range.
22580 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22581 Add call_sync_file_range.
748876bf 22582
6e63d5e1
AS
225832011-04-01 Andreas Schwab <schwab@redhat.com>
22584
22585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22586 bits/timex.h.
6e63d5e1 22587
46998f74
UD
225882011-04-01 Ulrich Drepper <drepper@gmail.com>
22589
4c1423ed
UD
22590 * iconv/iconv.h: Fix typo in comment.
22591 * io/fcntl.h: Likewise.
22592 * libio/stdio.h: Likewise.
22593 * posix/spawn.h: Likewise.
22594 * posix/unistd.h: Likewise.
22595 * stdlib/stdlib.h: Likewise.
22596 * time/time.h: Likewise.
22597 * wcsmbs/wchar.h: Likewise.
22598
158648c0
UD
22599 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22600 open_by_handle): Add.
22601 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22602 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22603 Augment a few comments.
22604 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22606 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22609 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22610 open_by_handle.
22611
46998f74
UD
22612 * io/fcntl.h (AT_EMPTY_PATH): Define.
22613
83fe108b
UD
226142011-03-30 Ulrich Drepper <drepper@gmail.com>
22615
22616 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22617 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22618 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22619 to...
22620 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22621 * Versions.def: Add GLIBC_2.14.
22622 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22623 Export.
83fe108b 22624
bb242059
UD
226252011-03-22 Ulrich Drepper <drepper@gmail.com>
22626
22627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22628 round counter.
22629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22630
c97a1282
L
226312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22632
22633 [BZ #12597]
22634 * string/test-strncmp.c (do_page_test): New function.
22635 (check2): Likewise.
22636 (test_main): Call check2.
22637 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22638
2a115601
UD
226392011-03-20 Ulrich Drepper <drepper@gmail.com>
22640
22641 [BZ #12587]
22642 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22643 Handle cache information in CPU leaf 4.
22644 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22645
8126d904
UD
226462011-03-18 Ulrich Drepper <drepper@gmail.com>
22647
042c49c6 22648 [BZ #12583]
8126d904
UD
22649 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22650 character representation.
22651 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22652
ccfe366e
RA
226532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22654
22655 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22656 END(__isnan) to END(__isnanf) to match function entry point/label
22657 EALIGN(__isnanf,...).
22658
c6e13027
JJ
226592011-03-10 Jakub Jelinek <jakub@redhat.com>
22660
22661 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22662
33f85a3f
UD
226632011-03-10 Ulrich Drepper <drepper@gmail.com>
22664
028478fa
UD
22665 [BZ #12510]
22666 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22667 copy from the symbol referenced in the relocation to initialize the
22668 used variable.
22669 Patch by Piotr Bury <pbury@goahead.com>.
22670 * elf/Makefile: Add rules to build and tst-unique3.
22671 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22672 * elf/tst-unique3.cc: New file.
22673 * elf/tst-unique3.h: New file.
22674 * elf/tst-unique3lib.cc: New file.
22675 * elf/tst-unique3lib2.cc: New file.
22676
33f85a3f
UD
22677 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22678
03592fc7
MF
226792011-03-10 Mike Frysinger <vapier@gentoo.org>
22680
22681 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22682 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22683 to _start.
03592fc7 22684
6a5ee102
UD
226852011-03-06 Ulrich Drepper <drepper@gmail.com>
22686
22687 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22688 to-be-loaded object along a path to loader is ld.so.
22689
7e4ba49c
HJ
226902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22691 Ulrich Drepper <drepper@gmail.com>
22692
22693 * sysdeps/x86_64/memset.S: After aligning destination, code
22694 branches to different locations depending on the value of
22695 misalignment, when multiarch is enabled. Fix this.
22696
226972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22698
22699 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22700 Set _x86_64_preferred_memory_instruction for AMD processsors.
22701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22702 Set bit_Prefer_SSE_for_memop for AMD processors.
22703
13a804de
UD
227042011-03-04 Ulrich Drepper <drepper@gmail.com>
22705
22706 * libio/fmemopen.c (fmemopen): Optimize a bit.
22707
9d25c392
AS
227082011-03-03 Andreas Schwab <schwab@redhat.com>
22709
22710 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22711
a5543c6a
RM
227122011-03-03 Roland McGrath <roland@redhat.com>
22713
22714 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22715
012d35f7
DM
227162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22717
7e4ba49c 22718 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22719 __bzero_ultra1 instead of __memset_ultra1.
22720
4bff6e01
AS
227212011-02-23 Andreas Schwab <schwab@redhat.com>
22722 Ulrich Drepper <drepper@gmail.com>
22723
22724 [BZ #12509]
22725 * include/link.h (struct link_map): Add l_orig_initfini.
22726 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22727 returning unsuccessfully.
22728 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22729 close of a file loaded at startup, restore the original l_initfini
22730 list.
22731 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22732 list, store the pointer.
22733 * elf/Makefile ($(objpfx)noload-mem): New rule.
22734 (noload-ENV): Define.
22735 (tests): Add $(objpfx)noload-mem.
22736 * elf/noload.c: Include <memcheck.h>.
22737 (main): Call mtrace. Close all opened handles.
22738
f2092faf
AS
227392011-02-17 Andreas Schwab <schwab@redhat.com>
22740
22741 [BZ #12454]
22742 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22743 dependencies are missing.
22744
6c8a2e88
ST
227452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22746
f2092faf 22747 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22748 Hurd needs munmap.
22749 * sysdeps/mach/hurd/ifreq.h: New file.
22750
84a42118
PB
227512011-01-27 Petr Baudis <pasky@suse.cz>
22752 Ulrich Drepper <drepper@gmail.com>
22753
071f805e 22754 [BZ 12445]#
84a42118
PB
22755 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22756 to extend_alloca().
22757 * stdio-common/bug23.c: New file.
22758 * stdio-common/Makefile (tests): Add bug23.
22759
e23fe25b
AS
227602010-09-28 Andreas Schwab <schwab@redhat.com>
22761 Ulrich Drepper <drepper@gmail.com>
22762
22763 [BZ #12489]
22764 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22765 before performing relro protection. At old place add assertion
22766 to make sure nothing changed.
22767
d3f02e10
NS
227682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22769 Glauber de Oliveira Costa <glommer@gmail.com>
22770
22771 * elf/elf.h: Add new ARM TLS relocs.
22772
d55fd7a5
RA
227732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22774
22775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22776 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22777 cast from r3.
22778 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22779 'tests' variable.
22780 * sysdeps/wordsize-64/tst-writev.c: New file.
22781
2206397e
RA
227822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22783
22784 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22785 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22786 insns in _dl_start to prevent a TOC reference before relocs are
22787 resolved.
22788
e9433893
UD
227892011-02-15 Ulrich Drepper <drepper@gmail.com>
22790
22791 [BZ #12469]
22792 * Makeconfig: Remove RANLIB definition.
22793 * Makerules: Don't use RANLIB.
22794 * aclocal.m4: Remove ranlib test.
22795 * configure.in: No need to check for ranlib.
22796 * elf/rtld-Rules: Don't use RANLIB.
22797
f75286c6
ST
227982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22799
8e31c82d
ST
22800 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22801 protection macro.
22802 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22803 inclusion protection macro.
22804
f75286c6
ST
22805 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22806 SIGRTMIN and SIGRTMAX and print information in that case only when
22807 SIGRTMIN is defined.
22808
c1d0e639
JJ
228092011-02-11 Jakub Jelinek <jakub@redhat.com>
22810
22811 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22812 arginfo fn returning -1.
22813
22814 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22815 and thousands string is zero terminated.
22816
edf9294e
AS
228172011-02-03 Andreas Schwab <schwab@redhat.com>
22818
22819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22820 sysdeps/unix/sysv/linux/bits/socket.h.
22821
2b7e92df
ST
228222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22823
edf9294e
AS
22824 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22825 (__CPU_COUNT): Remove old macros.
22826 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22827 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22828 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22829 (__sched_cpualloc, __sched_cpufree): Add declarations.
22830
a4c7ea7b
UD
228312011-02-05 Ulrich Drepper <drepper@gmail.com>
22832
22833 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22834 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22835 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22836 (readdhstai): Return value of addhstaiX call.
22837 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22838 (addgrbyX): Return value returned by cache_addgr.
22839 (readdgrbyname): Return value returned by addgrbyX.
22840 (readdgrbygid): Likewise.
22841 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22842 (addpwbyX): Return value returned by cache_addpw.
22843 (readdpwbyname): Return value returned by addhstbyX.
22844 (readdpwbyuid): Likewise.
22845 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22846 (addservbyX): Return value returned by cache_addserv.
22847 (readdservbyname): Return value returned by addservbyX:
22848 (readdservbyport): Likewise.
22849 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22850 (addhstbyX): Return value returned by cache_addhst.
22851 (readdhstbyname): Return value returned by addhstbyX.
22852 (readdhstbyaddr): Likewise.
22853 (readdhstbynamev6): Likewise.
22854 (readdhstbyaddrv6): Likewise.
22855 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22856 (readdinitgroups): Return value returned by addinitgroupsX.
22857 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22858 (prune_cache): Keep track of timeout value of re-added entries.
22859 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22860 * nscd/nscd.h: Adjust prototypes of readd* functions.
22861
a0bf67cc
RM
228622011-02-04 Roland McGrath <roland@redhat.com>
22863
22864 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22865 (nis_stats): Likewise.
22866 * nis/nis_modify.c (nis_modify): Likewise.
22867 * nis/nis_remove.c (nis_remove): Likewise.
22868 * nis/nis_add.c (nis_add): Likewise.
22869
22870 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22871
22872 * posix/fnmatch_loop.c: Add some consts.
22873
22874 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22875
435b95eb
L
228762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22877
22878 [BZ #12460]
22879 * config.make.in (config-cflags-novzeroupper): Define.
22880 * configure.in: Substitute libc_cv_cc_novzeroupper.
22881 * elf/Makefile (AVX-CFLAGS): Define.
22882 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22883 (CFLAGS-tst-auditmod4a.c): Likewise.
22884 (CFLAGS-tst-auditmod4b.c): Likewise.
22885 (CFLAGS-tst-auditmod6b.c): Likewise.
22886 (CFLAGS-tst-auditmod6c.c): Likewise.
22887 (CFLAGS-tst-auditmod7b.c): Likewise.
22888 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22889
8517b15e
UD
228902011-02-02 Ulrich Drepper <drepper@gmail.com>
22891
22892 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22893 function to the callback.
22894 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22895
10a656fe
AS
228962011-02-02 Andreas Schwab <schwab@redhat.com>
22897
22898 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22899 of errno.
22900
968dad0a
UD
229012011-01-19 Ulrich Drepper <drepper@gmail.com>
22902
9f94d2ea 22903 [BZ #11724]
968dad0a
UD
22904 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22905 of constructors.
22906 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22907 of destructors.
22908 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22909
22910 [BZ #11724]
22911 * elf/Makefile: Add rules to build and run new test.
22912 * elf/tst-initorder.c: New file.
22913 * elf/tst-initorder.exp: New file.
22914 * elf/tst-initordera1.c: New file.
22915 * elf/tst-initordera2.c: New file.
22916 * elf/tst-initordera3.c: New file.
22917 * elf/tst-initordera4.c: New file.
22918 * elf/tst-initorderb1.c: New file.
22919 * elf/tst-initorderb2.c: New file.
22920 * elf/tst-order-a1.c: New file.
22921 * elf/tst-order-a2.c: New file.
22922 * elf/tst-order-a3.c: New file.
22923 * elf/tst-order-a4.c: New file.
22924 * elf/tst-order-b1.c: New file.
22925 * elf/tst-order-b2.c: New file.
22926 * elf/tst-order-main.c: New file.
22927 New test case by George Gensure <werkt0@gmail.com>.
22928
86e92359
UD
229292010-10-01 Andreas Schwab <schwab@redhat.com>
22930
22931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22932 decoding ACE if AI_CANONIDN.
22933
5d5732b0
UD
229342011-01-18 Ulrich Drepper <drepper@gmail.com>
22935
22936 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22937
a77e8cbc
UD
229382011-01-17 Ulrich Drepper <drepper@gmail.com>
22939
6392473f
UD
22940 * version.h (RELEASE): Bump for 2.13 release.
22941 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22942
620a0529
UD
22943 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22944
18ba70a5
UD
22945 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22946 MADV_NOHUGEPAGE.
32465c3e
UD
22947 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22948 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22949 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22950 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22952 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22953
c0dafcf1
UD
22954 * posix/getconf.c: Update copyright year.
22955 * catgets/gencat.c: Likewise.
22956 * csu/version.c: Likewise.
22957 * debug/catchsegv.sh: Likewise.
22958 * debug/xtrace.sh: Likewise.
22959 * elf/ldconfig.c: Likewise.
22960 * elf/ldd.bash.in: Likewise.
22961 * elf/sprof.c (print_version): Likewise.
22962 * iconv/iconv_prog.c: Likewise.
22963 * iconv/iconvconfig.c: Likewise.
22964 * locale/programs/locale.c: Likewise.
22965 * locale/programs/localedef.c: Likewise.
22966 * malloc/memusage.sh: Likewise.
22967 * malloc/mtrace.pl: Likewise.
22968 * nscd/nscd.c (print_version): Likewise.
22969 * nss/getent.c: Likewise.
22970
a77e8cbc
UD
22971 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22972 PF_CAIF, and PF_ALG.
22973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22974
77e8bddf
AS
229752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22976
1f20b93a
AS
22977 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22978 (modules-names): Use them.
22979 (ifunc-test-modules, ifunc-pie-tests): Define.
22980 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22981 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22982 (test-extras): Likewise.
22983 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22984 $(compile-command.c).
22985 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22986 (all-built-dso): Define.
22987 (check-textrel.out, check-execstack.out): Depend on it.
22988
77e8bddf
AS
22989 * configure.in: Don't override --enable-multi-arch.
22990
bc425b33
UD
229912011-01-15 Ulrich Drepper <drepper@gmail.com>
22992
22993 [BZ #6812]
22994 * nscd/hstcache.c (tryagain): Define.
22995 (cache_addhst): Return tryagain not notfound for temporary errors.
22996 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22997 failed.
22998
794c3ad3
UD
229992011-01-14 Ulrich Drepper <drepper@gmail.com>
23000
70181fdd
UD
23001 [BZ #10563]
23002 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23003 to make the syscall.
23004 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23005
794c3ad3
UD
23006 [BZ #12378]
23007 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23008 and fall back to matching as normal character if the string ends before
23009 the matching ']' is found. This is what POSIX requires.
23010 * posix/testfnm.c: Adjust test result.
23011 * posix/globtest.sh: Adjust test result. Add new test.
23012 * posix/tst-fnmatch.input: Likewise.
23013 * posix/tst-fnmatch2.c: Add new test.
23014
68dc9497
AS
230152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23016
23017 * elf/Makefile (check-execstack): Revert last change. Depend on
23018 check-execstack.h.
23019 (check-execstack.h): New target.
23020 (generated): Add check-execstack.h.
23021 * elf/check-execstack.c: Include "check-execstack.h".
23022 (main): Revert last change.
23023 (handle_file): Return zero if GNU_STACK is absent and
23024 DEFAULT_STACK_PERMS doesn't include PF_X.
23025
451f001b
UD
230262011-01-13 Ulrich Drepper <drepper@gmail.com>
23027
cfa28e56
UD
23028 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23029 in child fails because the descriptor is already closed.
8cf8ce17
UD
23030 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23031 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23032 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23033
1086d70d
UD
23034 [BZ #12397]
23035 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23036 syscall.
23037
451f001b
UD
23038 [BZ #10484]
23039 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23040 temporary buffer used to handle multi lookups locally.
a85b5cb4 23041 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23042
08769175
UD
230432011-01-12 Ulrich Drepper <drepper@gmail.com>
23044
23045 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23046 loader is ld.so.
23047
5e49c52e
UD
230482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23049
23050 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23051 alignment for SSE2.
23052
60522a5f
UD
230532011-01-12 Ulrich Drepper <drepper@gmail.com>
23054
23055 [BZ #12394]
23056 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23057 characters. When rounding increased number of integer digits recompute
23058 number of groups.
23059 * stdio-common/tst-grouping.c: New file.
23060 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23061
f257bbd7
UD
230622011-01-09 Ulrich Drepper <drepper@gmail.com>
23063
23064 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23065 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23066
23067 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23068 void.
23069 * bits/select.h: Likewise.
23070
fa9c15cb
UD
230712011-01-08 Ulrich Drepper <drepper@gmail.com>
23072
23073 * po/ja.po: Update from translation team.
23074
16c2895f
DM
230752011-01-04 David S. Miller <davem@sunset.davemloft.net>
23076
23077 [BZ #11155]
23078 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23079 implementation just like for lxstat, fxstatat, et al.
23080
2543fef2
JM
230812010-12-27 Jim Meyering <meyering@redhat.com>
23082
23083 [BZ #12348]
23084 * posix/regexec.c (build_trtable): Return failure indication upon
23085 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23086
98727dbe
UD
230872010-12-25 Ulrich Drepper <drepper@gmail.com>
23088
5bd6dc5c
UD
23089 [BZ #12201]
23090 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23091 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23092 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23093 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23094
97983464
UD
23095 [BZ #12207]
23096 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23097
98727dbe
UD
23098 [BZ #12204]
23099 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23100 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23101
4a531bb0
L
231022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23103
23104 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23105 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23106 script has SORT_BY_INIT_PRIORITY.
23107 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23108 NO_CTORS_DTORS_SECTIONS is defined.
23109 * elf/soinit.c: Likewise.
23110 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23111 NO_CTORS_DTORS_SECTIONS is defined.
23112 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23113 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23114 * sysdeps/sh/init-first.c: Likewise.
23115 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23116
07eb4b71
UD
231172010-12-24 Ulrich Drepper <drepper@gmail.com>
23118
23119 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23120 always use the slow path.
23121
30950a5f
RA
231222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23123
23124 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23125 similar rule which adds the sysdep directories to the header search in
23126 order to pick up the correct platform stackinfo.h.
23127 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23128 perform test if it is, otherwise return successfully without testing.
23129 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23130 DEFAULT_STACK_PERMS define in stackinfo.h.
23131 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23132 defined in stackinfo.h.
23133 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23134 DEFAULT_STACK_PERMS defined in stackinfo.h.
23135 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23136 * sysdeps/ia64/stackinfo.h: Likewise.
23137 * sysdeps/s390/stackinfo.h: Likewise.
23138 * sysdeps/sh/stackinfo.h: Likewise.
23139 * sysdeps/sparc/stackinfo.h: Likewise.
23140 * sysdeps/x86_64/stackinfo.h: Likewise.
23141 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23142 PF_X for powerpc64. Retain PF_X for powerpc32.
23143
db753e2c
UD
231442010-12-19 Ulrich Drepper <drepper@gmail.com>
23145
14b697f7
UD
23146 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23147 accurately.
db753e2c
UD
23148 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23149 GETDENTS_64BIT_ALIGNED.
23150
28300719
UD
231512010-12-14 Ulrich Drepper <dreper@gmail.com>
23152
14b697f7 23153 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23154
4f197237
AS
231552010-12-10 Andreas Schwab <schwab@redhat.com>
23156
dbb0472f
AS
23157 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23158 _GNU_SOURCE.
23159
4f197237
AS
23160 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23161 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23162 Remove __restrict.
23163 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23164 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23165
fb88ac72
UD
231662010-12-09 Ulrich Drepper <drepper@gmail.com>
23167
23168 [BZ #11655]
23169 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23170 are initialized.
23171
42acbb92
JJ
231722010-12-09 Jakub Jelinek <jakub@redhat.com>
23173
23174 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23175
c038d98d
UD
231762010-12-03 Ulrich Drepper <drepper@gmail.com>
23177
23178 * po/it.po: Update from translation team.
23179
3a4a2499
L
231802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23181
23182 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23183 unused codes.
23184
1e24cf6e
UD
231852010-11-30 Ulrich Drepper <drepper@gmail.com>
23186
23187 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23188
a7690819
AS
231892010-11-24 Andreas Schwab <schwab@redhat.com>
23190
23191 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23192 specially.
23193 (gaih_getanswer_slice): Likewise.
23194
3bf8d1b1
JJ
231952010-10-20 Jakub Jelinek <jakub@redhat.com>
23196
23197 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23198
6db52fbb
PB
231992010-05-31 Petr Baudis <pasky@suse.cz>
23200
23201 [BZ #11149]
23202 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23203 silently even in the chroot mode.
23204
eaca7569
UD
232052010-11-22 Ulrich Drepper <drepper@gmail.com>
23206
23207 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23208 last patch a bit. Pretty printing
23209
3056dcdb
UD
232102010-05-31 Petr Baudis <pasky@suse.cz>
23211
23212 [BZ #10085]
23213 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23214 initialization of skip_initgroups_dyn.
23215
cf7c9078
UD
232162010-11-19 Ulrich Drepper <drepper@gmail.com>
23217
23218 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23219 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23220
a1fb5e3e
UD
232212010-11-16 Ulrich Drepper <drepper@gmail.com>
23222
23223 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23224
3540d66b
AS
232252010-11-11 Andreas Schwab <schwab@redhat.com>
23226
23227 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23228 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23229 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23230 ($(objpfx)tst-fnmatch-mem): New rule.
23231 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23232 * posix/tst-fnmatch.c (main): Call mtrace.
23233
13b69574
L
232342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23235
23236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23237 Support Intel processor model 6 and model 0x2c.
23238
da93d214
LM
232392010-11-10 Luis Machado <luisgpm@br.ibm.com>
23240
23241 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23242 signed comparison.
23243
8ca52c6e
L
232442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23245
23246 [BZ #12205]
23247 * string/test-strncasecmp.c (check_result): New function.
23248 (do_one_test): Use it.
23249 (check1): New function.
23250 (test_main): Use it.
23251 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23252 Support strcasecmp and strncasecmp.
23253
69da074d
UD
232542010-11-08 Ulrich Drepper <drepper@gmail.com>
23255
23256 [BZ #12194]
23257 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23259
ff02d528
L
232602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23261
23262 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23263 IFUNC support.
23264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23265 memset-x86-64.
23266 * sysdeps/x86_64/multiarch/bzero.S: New file.
23267 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23268 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23269 * sysdeps/x86_64/multiarch/memset.S: New file.
23270 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23272 Set bit_Prefer_SSE_for_memop for Intel processors.
23273 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23274 Define.
23275 (index_Prefer_SSE_for_memop): Define.
23276 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23277
344d0b54
LM
232782010-11-04 Luis Machado <luisgpm@br.ibm.com>
23279
23280 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23281 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23282
c0dde15b
UD
232832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23284
23285 [BZ #12191]
23286 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23287 (__x86_64_raw_data_cache_size_half): Likewise.
23288 (__x86_64_raw_shared_cache_size): Likewise.
23289 (__x86_64_raw_shared_cache_size_half): Likewise.
23290
23291 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23292 (__x86_64_raw_data_cache_size_half): Likewise.
23293 (__x86_64_raw_shared_cache_size): Likewise.
23294 (__x86_64_raw_shared_cache_size_half): Likewise.
23295 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23296 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23297 and __x86_64_raw_shared_cache_size_half. Round
23298 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23299 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23300 to multiple of 256 bytes.
23301
0e516e0e
MS
233022010-11-03 Ulrich Drepper <drepper@gmail.com>
23303
23304 [BZ #12167]
23305 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23306 of inacessible symlinks. Verify result of symlink before returning it.
23307 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23308 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23309
0e012e87
ER
233102010-10-28 Erich Ritz <erichritz@gmail.com>
23311
23312 * math/math.h (isinf): Fix typo in comment.
23313
de0ff7bc
UD
233142010-11-01 Ulrich Drepper <drepper@gmail.com>
23315
23316 * po/da.po: Update from translation team.
23317
fa41c84d
UD
233182010-10-26 Ulrich Drepper <drepper@gmail.com>
23319
23320 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23321 is added to the list.
23322
f0967738
AK
233232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23324 Ulrich Drepper <drepper@gmail.com>
23325
23326 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23327 the global list here. Move code to...
23328 (_dl_add_to_namespace_list): ...here. New function.
23329 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23330 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23331 * elf/dl-load.c (lose): Don't remove the element from the list.
23332 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23333 (_dl_map_object): Likewise.
23334
233352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23336
23337 [BZ #12159]
23338 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23339 into all bytes of SSE register.
23340 Patch by Richard Li <richardpku@gmail.com>.
23341
f0967738 233422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23343
23344 [BZ #12140]
23345 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23346 perturbing.
23347
d0b9e94f
MB
233482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23349
23350 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23351 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23352 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23353 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23355 submachine.
23356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23357
8e9f92e9
AS
233582010-10-22 Andreas Schwab <schwab@redhat.com>
23359
23360 * include/dlfcn.h (__RTLD_SECURE): Define.
23361 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23362 mode & __RTLD_SECURE instead.
23363 (open_path): Rename preloaded parameter to secure.
23364 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23365 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23366 * elf/dl-deps.c (openaux): Likewise.
23367 * elf/rtld.c (struct map_args): Remove is_preloaded.
23368 (map_doit): Don't use it.
23369 (dl_main): Likewise.
23370 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23371 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23372
bc96fbda
AS
233732010-09-09 Andreas Schwab <schwab@redhat.com>
23374
23375 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23376 (sysd-rules-targets): Remove duplicates.
23377 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23378 rtld-%.$o dependency.
23379
22cd1c9b
AS
233802010-10-18 Andreas Schwab <schwab@redhat.com>
23381
23382 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23383 _dl_map_object do it.
23384
18edac48
UD
233852010-10-19 Ulrich Drepper <drepper@gmail.com>
23386
23387 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23388 fast fma builtins, define the macros in the C99 standard.
23389 (FP_FAST_FMAF): Likewise.
23390 (FP_FAST_FMAL): Likewise.
23391 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23392
23393 * bits/mathdef.h: Update copyright year.
23394 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23395
d2050124
MM
233962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23397
23398 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23399 builtins, define the macros in the C99 standard.
23400 (FP_FAST_FMAF): Likewise.
23401 (FP_FAST_FMAL): Likewise.
23402 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23403 multiply/add.
23404 (FP_FAST_FMAF): Likewise.
23405
475facd1
JJ
234062010-10-15 Jakub Jelinek <jakub@redhat.com>
23407
23408 [BZ #3268]
23409 * math/libm-test.inc (fma_test): Some new testcases.
23410 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23411 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23412 y and infinite z. Do multiplication by C already in long double.
23413 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23415 y and infinite z. Do bitwise or of inexact bit into u.d.
23416 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23417 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23418 * sysdeps/i386/fpu/s_fma.S: Removed.
23419 * sysdeps/i386/fpu/s_fmal.S: Removed.
23420
7c08a05c
JJ
234212010-10-16 Jakub Jelinek <jakub@redhat.com>
23422
23423 [BZ #3268]
23424 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23426 computation is not scheduled after fetestexcept. Fix value
23427 of minimum denormal long double.
23428
f3f7372d
JJ
234292010-10-14 Jakub Jelinek <jakub@redhat.com>
23430
23431 [BZ #3268]
23432 * math/libm-test.inc (fma_test): Add some more tests.
23433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23434 correctly.
23435
14d43591
AS
234362010-10-15 Andreas Schwab <schwab@redhat.com>
23437
23438 * scripts/data/localplt-s390-linux-gnu.data: New file.
23439 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23440
5e908464
JJ
234412010-10-13 Jakub Jelinek <jakub@redhat.com>
23442
23443 [BZ #3268]
23444 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23445 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23446 instead of dbl-64.
23447 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23448 inlines.
23449 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23451 if one of x and y is very large and the other is subnormal.
23452 * sysdeps/s390/fpu/s_fmaf.c: New file.
23453 * sysdeps/s390/fpu/s_fma.c: New file.
23454 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23455 * sysdeps/powerpc/fpu/s_fma.S: New file.
23456 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23457 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23458 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23459
234602010-10-12 Jakub Jelinek <jakub@redhat.com>
23461
23462 [BZ #3268]
23463 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23464 fma tests.
23465 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23466 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23467 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23468 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23469 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23470 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23471 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23472
b833d51f
UD
234732010-10-12 Ulrich Drepper <drepper@redhat.com>
23474
23475 [BZ #12078]
23476 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23477 * posix/bug-regex31.input: Add test case.
23478
1751705d
UD
234792010-10-11 Ulrich Drepper <drepper@gmail.com>
23480
e9b9cbf5
UD
23481 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23482 * posix/bug-regex31.input: New file.
23483
23484 [BZ #12078]
23485 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23486 (parse_sub_exp): Fix last change, use postorder.
23487
ef06edbe
UD
23488 * posix/bug-regex31.c: New file.
23489 * posix/Makefile: Add rules to build and run bug-regex31.
23490
a129c80d
UD
23491 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23492
23493 [BZ #12078]
23494 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23495
b76b818e
UD
23496 [BZ #12108]
23497 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23498 to have entries in sys_siglist.
23499
1751705d
UD
23500 [BZ #12093]
23501 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23502 be NULL.
23503
9ff8d36f
JJ
235042010-10-07 Jakub Jelinek <jakub@redhat.com>
23505
23506 [BZ #3268]
23507 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23508 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23509 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23510 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23511 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23512 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23513 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23514 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23515 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23516 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23517 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23518 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23519 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23520 * math/ftestexcept.c (fetestexcept): Likewise.
23521 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23522 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23523 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23524 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23525 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23526 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23527 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23528
af325969
UD
235292010-10-11 Ulrich Drepper <drepper@gmail.com>
23530
c579b202 23531 [BZ #12107]
af325969
UD
23532 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23533 newline.
23534
67a67b95
UD
235352010-10-06 Ulrich Drepper <drepper@gmail.com>
23536
23537 * string/bug-strstr1.c: New file.
23538 * string/Makefile: Add rules to build and run bug-strstr1.
23539
5fb308bc
EB
235402010-10-05 Eric Blake <eblake@redhat.com>
23541
23542 [BZ #12092]
23543 * string/str-two-way.h (two_way_long_needle): Always clear memory
23544 when skipping input due to the shift table.
23545
45db99c7
UD
235462010-10-03 Ulrich Drepper <drepper@gmail.com>
23547
3b111893
UD
23548 [BZ #12005]
23549 * malloc/mcheck.c: Handle large requests.
23550
45db99c7
UD
23551 [BZ #12077]
23552 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23553 for strncmp and strncasecmp.
23554 * string/stratcliff.c: Add tests for strcmp and strncmp.
23555 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23556
cf7a1eb8
NI
235572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23558
23559 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23560 __set_fpscr.
23561
6484ba5e
AJ
235622010-09-30 Andreas Jaeger <aj@suse.de>
23563
23564 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23565 (CGROUP_SUPER_MAGIC): Define.
23566 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23567 Handle btrfs and cgroup file systems.
23568 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23569 Likewise.
23570
91c42559
LM
235712010-09-27 Luis Machado <luisgpm@br.ibm.com>
23572
23573 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23574 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23575
87a97932
AK
235762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23577
23578 [BZ #12067]
23579 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23580 trying to locate the ELF header.
23581
c21cc9bc
AS
235822010-09-27 Andreas Schwab <schwab@redhat.com>
23583
23584 [BZ #11611]
23585 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23586 Mask out sign-bit copies when constructing f_fsid.
23587
315970f6
PB
235882010-09-24 Petr Baudis <pasky@suse.cz>
23589
23590 * debug/stack_chk_fail_local.c: Add missing licence exception.
23591 * debug/warning-nop.c: Likewise.
23592
1ac7a2c7
JM
235932010-09-15 Joseph Myers <joseph@codesourcery.com>
23594
23595 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23596 implementing getdents64 using getdents syscall, set d_type if
23597 __ASSUME_GETDENTS32_D_TYPE.
23598
56801c50
AS
235992010-09-16 Andreas Schwab <schwab@redhat.com>
23600
23601 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23602 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23603
dda51327
UD
236042010-09-21 Ulrich Drepper <drepper@redhat.com>
23605
23606 [BZ #12037]
23607 * posix/unistd.h: Undo change of feature selection for ftruncate from
23608 2010-01-11.
23609
8ffcee4a
UD
236102010-09-20 Ulrich Drepper <drepper@redhat.com>
23611
a545ecd9 23612 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23613 detection.
23614
e24f0a8b
AS
236152010-09-20 Andreas Schwab <schwab@redhat.com>
23616
23617 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23618 fanotify_mark.
23619 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23620
7291c56f
AS
236212010-09-14 Andreas Schwab <schwab@redhat.com>
23622
23623 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23624 variables after CHECK_SP call.
23625 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23626
bc5fb037
AS
236272010-09-13 Andreas Schwab <schwab@redhat.com>
23628 Ulrich Drepper <drepper@redhat.com>
23629
23630 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23631 re-relocationg ld.so.
23632 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23633 _dl_init_paths call.
23634 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23635 here anymore.
23636
e66e7419
UD
236372010-09-14 Ulrich Drepper <drepper@redhat.com>
23638
23639 * resolv/res_init.c (__res_vinit): Count the default server we added.
23640
c044aa75
CLT
236412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23642 Ulrich Drepper <drepper@redhat.com>
23643
23644 [BZ #11968]
23645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23646 (____longjmp_chk): Use %ebx for saving value across system call.
23647 Add unwind info.
23648
32cf4069
AS
236492010-09-06 Andreas Schwab <schwab@redhat.com>
23650
23651 * manual/Makefile: Don't mix pattern rules with normal rules.
23652
817328ee
AS
236532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23654
23655 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23656 operation.
23657 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23658 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23659 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23660 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23662 Likewise.
23663
29fddf61
UD
236642010-09-04 Ulrich Drepper <drepper@redhat.com>
23665
23666 [BZ #11979]
23667 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23668 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23669
0959ffc9
UD
236702010-09-02 Ulrich Drepper <drepper@redhat.com>
23671
23672 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23673 * sysdeps/x86_64/addmul_1.S: Likewise.
23674 * sysdeps/x86_64/lshift.S: Likewise.
23675 * sysdeps/x86_64/mul_1.S: Likewise.
23676 * sysdeps/x86_64/rshift.S: Likewise.
23677 * sysdeps/x86_64/sub_n.S: Likewise.
23678 * sysdeps/x86_64/submul_1.S: Likewise.
23679
ece29840
ST
236802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23681
0959ffc9
UD
23682 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23683 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23684 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23685 * bits/sched.h [__need_schedparam]
ece29840 23686 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23687 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23688 (__defined_schedparam): Define to 1.
ece29840
ST
23689 (__sched_param): New structure, identical to sched_param.
23690 (__need_schedparam): Undefine.
23691
e53a31fe
MF
236922010-08-31 Mike Frysinger <vapier@gentoo.org>
23693
fdc0c10d
MF
23694 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23695 (epoll_create1): Declare.
23696
e53a31fe
MF
23697 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23698
a726d796
AS
236992010-08-31 Andreas Schwab <schwab@redhat.com>
23700
23701 [BZ #7066]
23702 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23703 shifting retval into place.
23704
2f3e3dc7
UD
237052010-09-01 Ulrich Drepper <drepper@redhat.com>
23706
f2933da9
UD
23707 * nis/rpcsvc/nis.h: Update copyright notice.
23708 * nis/rpcsvc/nis.x: Likewise.
23709 * nis/rpcsvc/nis_callback.h: Likewise.
23710 * nis/rpcsvc/nis_callback.x: Likewise.
23711 * nis/rpcsvc/nis_object.x: Likewise.
23712 * nis/rpcsvc/nis_tags.h: Likewise.
23713 * nis/rpcsvc/yp.h: Likewise.
23714 * nis/rpcsvc/yp.x: Likewise.
23715 * nis/rpcsvc/ypupd.h: Likewise.
23716 * nis/yp_xdr.c: Likewise.
23717 * nis/ypupdate_xdr.c: Likewise.
23718
2f3e3dc7
UD
23719 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23720 mainly the body of pmap_getport. Add parameters to specify timeouts.
23721 (pmap_getport): Use __libc_rpc_getport.
23722 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23723 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23724 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23725
f3dcc2f9
AS
237262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23727
23728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23729 fanotify_mark.
23730
6d34eb5b
RM
237312010-08-27 Roland McGrath <roland@redhat.com>
23732
23733 * sysdeps/i386/i686/multiarch/Makefile
23734 (CFLAGS-varshift.c): New variable.
23735
9ea3de11
UD
237362010-08-27 Ulrich Drepper <drepper@redhat.com>
23737
c96d23fc
UD
23738 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23739 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23740
9ea3de11
UD
23741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23742
23743 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23744
623aac7f
L
237452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23746
23747 * sysdeps/x86_64/strlen.S: Unroll the loop.
23748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23749 strlen-sse2 strlen-sse2-bsf.
23750 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23751 __strlen_no_bsf if bit_Slow_BSF is set.
23752 (__strlen_sse42): Removed.
23753 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23754 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23755
8b2b7715
RM
237562010-08-25 Roland McGrath <roland@redhat.com>
23757
23758 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23759 * sysdeps/x86_64/multiarch/varshift.c: New file.
23760 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23761 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23762 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23763 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23764
e73015f2
L
237652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23766
23767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23768 strlen-sse2 strlen-sse2-bsf.
23769 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23770 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23771 (__strlen_sse2): Removed.
23772 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23775 bit_Slow_BSF for Atom.
23776 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23777 (index_Slow_BSF): Define.
23778 (HAS_SLOW_BSF): Define.
23779
df24a73e
UD
237802010-08-25 Ulrich Drepper <drepper@redhat.com>
23781
23782 [BZ #10851]
23783 * resolv/res_init.c (__res_vinit): When no server address at all
23784 is given default to loopback.
23785
f2ac4868
RM
237862010-08-24 Roland McGrath <roland@redhat.com>
23787
09055553
RM
23788 * configure.in: Remove config-name.h generation.
23789 * configure: Regenerated.
23790 * config-name.in: File removed.
23791 * scripts/config-uname.sh: New file.
23792 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23793 ($(objdir)config-name.h): New target.
23794
f2ac4868
RM
23795 * sunrpc/rpc_parse.h: Avoid nested comment.
23796
73f27d5e
RH
237972010-08-24 Richard Henderson <rth@redhat.com>
23798 Ulrich Drepper <drepper@redhat.com>
23799 H.J. Lu <hongjiu.lu@intel.com>
23800
23801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23803 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23804 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23805 _mm_alignr_epi8 with _mm_loadu_si128.
23806 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23807 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23808 (__m128i_shift_right): Removed.
23809 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23810 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23811 * sysdeps/x86_64/multiarch/varshift.h: New file.
23812 * sysdeps/x86_64/multiarch/varshift.S: New file.
23813
84b9230c
MF
238142010-08-21 Mike Frysinger <vapier@gentoo.org>
23815
23816 * configure.in: Move assembler checks to before sysdep dir checking.
23817
9bbd0ddc
PB
238182010-08-20 Petr Baudis <pasky@suse.cz>
23819
23820 * LICENSES: Sync the sunrpc license.
23821
9da4bb31
UD
238222010-08-19 Ulrich Drepper <drepper@redhat.com>
23823
a7ab6ec8
UD
23824 * sunrpc/auth_des.c: Update copyright notice once again.
23825 * sunrpc/auth_none.c: Likewise.
23826 * sunrpc/auth_unix.c: Likewise.
23827 * sunrpc/authdes_prot.c: Likewise.
23828 * sunrpc/authuxprot.c: Likewise.
23829 * sunrpc/bindrsvprt.c: Likewise.
23830 * sunrpc/clnt_gen.c: Likewise.
23831 * sunrpc/clnt_perr.c: Likewise.
23832 * sunrpc/clnt_raw.c: Likewise.
23833 * sunrpc/clnt_simp.c: Likewise.
23834 * sunrpc/clnt_tcp.c: Likewise.
23835 * sunrpc/clnt_udp.c: Likewise.
23836 * sunrpc/clnt_unix.c: Likewise.
23837 * sunrpc/des_crypt.c: Likewise.
23838 * sunrpc/des_soft.c: Likewise.
23839 * sunrpc/get_myaddr.c: Likewise.
23840 * sunrpc/getrpcport.c: Likewise.
23841 * sunrpc/key_call.c: Likewise.
23842 * sunrpc/key_prot.c: Likewise.
23843 * sunrpc/openchild.c: Likewise.
23844 * sunrpc/pm_getmaps.c: Likewise.
23845 * sunrpc/pm_getport.c: Likewise.
23846 * sunrpc/pmap_clnt.c: Likewise.
23847 * sunrpc/pmap_prot.c: Likewise.
23848 * sunrpc/pmap_prot2.c: Likewise.
23849 * sunrpc/pmap_rmt.c: Likewise.
23850 * sunrpc/rpc/auth.h: Likewise.
23851 * sunrpc/rpc/auth_unix.h: Likewise.
23852 * sunrpc/rpc/clnt.h: Likewise.
23853 * sunrpc/rpc/des_crypt.h: Likewise.
23854 * sunrpc/rpc/key_prot.h: Likewise.
23855 * sunrpc/rpc/netdb.h: Likewise.
23856 * sunrpc/rpc/pmap_clnt.h: Likewise.
23857 * sunrpc/rpc/pmap_prot.h: Likewise.
23858 * sunrpc/rpc/pmap_rmt.h: Likewise.
23859 * sunrpc/rpc/rpc.h: Likewise.
23860 * sunrpc/rpc/rpc_des.h: Likewise.
23861 * sunrpc/rpc/rpc_msg.h: Likewise.
23862 * sunrpc/rpc/svc.h: Likewise.
23863 * sunrpc/rpc/svc_auth.h: Likewise.
23864 * sunrpc/rpc/types.h: Likewise.
23865 * sunrpc/rpc/xdr.h: Likewise.
23866 * sunrpc/rpc_clntout.c: Likewise.
23867 * sunrpc/rpc_cmsg.c: Likewise.
23868 * sunrpc/rpc_common.c: Likewise.
23869 * sunrpc/rpc_cout.c: Likewise.
23870 * sunrpc/rpc_dtable.c: Likewise.
23871 * sunrpc/rpc_hout.c: Likewise.
23872 * sunrpc/rpc_main.c: Likewise.
23873 * sunrpc/rpc_parse.c: Likewise.
23874 * sunrpc/rpc_parse.h: Likewise.
23875 * sunrpc/rpc_prot.c: Likewise.
23876 * sunrpc/rpc_sample.c: Likewise.
23877 * sunrpc/rpc_scan.c: Likewise.
23878 * sunrpc/rpc_scan.h: Likewise.
23879 * sunrpc/rpc_svcout.c: Likewise.
23880 * sunrpc/rpc_tblout.c: Likewise.
23881 * sunrpc/rpc_util.c: Likewise.
23882 * sunrpc/rpc_util.h: Likewise.
23883 * sunrpc/rpcinfo.c: Likewise.
23884 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23885 * sunrpc/rpcsvc/key_prot.x: Likewise.
23886 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23887 * sunrpc/rpcsvc/mount.x: Likewise.
23888 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23889 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23890 * sunrpc/rpcsvc/rex.x: Likewise.
23891 * sunrpc/rpcsvc/rstat.x: Likewise.
23892 * sunrpc/rpcsvc/rusers.x: Likewise.
23893 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23894 * sunrpc/rpcsvc/spray.x: Likewise.
23895 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23896 * sunrpc/rtime.c: Likewise.
23897 * sunrpc/svc.c: Likewise.
23898 * sunrpc/svc_auth.c: Likewise.
23899 * sunrpc/svc_authux.c: Likewise.
23900 * sunrpc/svc_raw.c: Likewise.
23901 * sunrpc/svc_run.c: Likewise.
23902 * sunrpc/svc_simple.c: Likewise.
23903 * sunrpc/svc_tcp.c: Likewise.
23904 * sunrpc/svc_udp.c: Likewise.
23905 * sunrpc/svc_unix.c: Likewise.
23906 * sunrpc/svcauth_des.c: Likewise.
23907 * sunrpc/xcrypt.c: Likewise.
23908 * sunrpc/xdr.c: Likewise.
23909 * sunrpc/xdr_array.c: Likewise.
23910 * sunrpc/xdr_float.c: Likewise.
23911 * sunrpc/xdr_mem.c: Likewise.
23912 * sunrpc/xdr_rec.c: Likewise.
23913 * sunrpc/xdr_ref.c: Likewise.
23914 * sunrpc/xdr_sizeof.c: Likewise.
23915 * sunrpc/xdr_stdio.c: Likewise.
23916
9da4bb31
UD
23917 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23918 handling.
23919
bdaa77bc
AS
239202010-08-19 Andreas Schwab <schwab@redhat.com>
23921
23922 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23923
fe2f79db
LM
239242010-08-19 Luis Machado <luisgpm@br.ibm.com>
23925
23926 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23927 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23928 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23929 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23930 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23931 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23932 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23933 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23934 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23935 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23936 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23937 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23938 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23939 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23940
b9b42ee0
AB
239412010-07-26 Anton Blanchard <anton@samba.org>
23942
23943 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23944 * malloc/arena.c (heap_trim): Likewise.
23945
1c06ba31
UD
239462010-08-16 Ulrich Drepper <drepper@redhat.com>
23947
23948 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23949 here. Not...
23950 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23951 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23952
f8392f40
L
239532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23954
23955 * sysdeps/i386/elf/Makefile: New file.
23956
3162f12e
AS
239572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23958
23959 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23960 from fanotify_init.
23961 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23962 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23963
28c90b2c
UD
239642010-08-15 Ulrich Drepper <drepper@redhat.com>
23965
23966 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23967 of strncasecmp_l.
1feccb6c 23968 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23969
ca6bb004
UD
239702010-08-14 Ulrich Drepper <drepper@redhat.com>
23971
e9f82e0d
UD
23972 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23973 strncase_l-nonascii.
23974 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23975 Add strncase_l-ssse3.
23976 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23977 * sysdeps/x86_64/strcmp.S: Likewise.
23978 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23979 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23980 * sysdeps/x86_64/strncase.S: New file.
23981 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23982 * sysdeps/x86_64/strncase_l.S: New file.
23983 * string/Makefile (strop-tests): Add strncasecmp.
23984 * string/test-strncasecmp.c: New file.
23985
23986 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23987 warning.
23988
ca6bb004
UD
23989 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23990 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23991
052fa7b3
AS
239922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23993
23994 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23995
962dba78
UD
239962010-08-12 Ulrich Drepper <drepper@redhat.com>
23997
23998 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23999 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24000 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24001
bebff237
AM
240022010-05-01 Alan Modra <amodra@gmail.com>
24003
24004 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24005 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24006 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24007 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24008 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24009 tidying. Don't tail-call __sigjmp_save for static lib.
24010 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24011 save location.
24012 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24013 (CALL_MCOUNT): Add eh info, and nop after bl.
24014 (TAIL_CALL_SYSCALL_ERROR): New macro.
24015 (PSEUDO_RET): Use it.
24016 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24017 Correct save location of integer regs and cr.
24018 (_dl_profile_resolve): Correct cr save location. Delete nops
24019 after bl when SHARED. Reduce cfi size a little by better
24020 placement of cfi directives.
24021 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24022 make a stack frame. Instead use parm save area as a temp.
24023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24024 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24026 Don't make a stack frame for parent, use parm save area.
24027 Increase child stack frame to 112 bytes. Don't save unused reg,
24028 and adjust reg usage. Set up cfi on error recovery and
24029 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24031 (__makecontext): Add dummy nop after jump to exit.
24032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24033 Use correct parm save area and cr save, reduce stack frame.
24034 Correct cfi for possible PSEUDO_RET frame setup.
24035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24036 Branch to local label emitted by PSEUDO_RET rather than
24037 __syscall_error.
24038
02637374
AS
240392010-08-12 Andreas Schwab <schwab@redhat.com>
24040
24041 [BZ #11904]
24042 * locale/programs/locale.c (print_assignment): New function.
24043 (show_locale_vars): Use it.
24044
c3e2f19b
UD
240452010-08-11 Ulrich Drepper <drepper@redhat.com>
24046
3cdaa6ad
UD
24047 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24048 field.
24049 (struct statfs64): Likewise.
24050 (_STATFS_F_FLAGS): Define.
24051 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24052 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24053 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24054 (ST_VALID): Define locally.
24055 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24056 __statvfs_getflags, use the provided value.
24057 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24058 __ASSUME_STATFS_F_FLAGS.
24059
754f7da3
UD
24060 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24061
10b3bedc
UD
24062 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24063 Add sys/fanotify.h.
24064 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24065 fanotify_mask for GLIBC_2.13.
24066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24067 fanotify_init and fanotify_mark.
24068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24069 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24070
c08fb0d7
UD
24071 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24072 Add prlimit.
24073 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24074 prlimit64 for GLIBC_2.13.
24075 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24076 prlimit64.
24077 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24078 syscall.
24079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24080 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24081 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24082 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24083 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24084 add prlimit alias.
24085 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24086
15bac72b
UD
24087 [BZ #11903]
24088 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24089 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24090
c3e2f19b
UD
24091 * nss/Makefile: Add rules to build and run tst-nss-test1.
24092 * shlib-versions: Add entry for libnss_test1.
24093 * nss/nss_test1.c: New file.
24094 * nss/tst-nss-test1.c: New file.
24095
24096 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24097 (__nss_configure_lookup): Set appropriate entry in
24098 __nss_configure_lookup to true.
24099 * nss/nsswitch.h: Define enum with indeces of databases in
24100 databases and __nss_database_custom arrays. Declare
24101 __nss_database_custom.
24102 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24103 to avoid using nscd when custom rules are installed.
24104 * nss/getXXbyYY_r.c: Likewise.
24105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24106
24107 * nss/nss_files/files-parse.c: Whitespace fixes.
24108
f15ce4d8
UD
241092010-08-09 Ulrich Drepper <drepper@redhat.com>
24110
24111 [BZ #11883]
24112 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24113 * posix/fnmatch_loop.c: Likewise.
24114
d22e4cc9
AK
241152010-07-17 Andi Kleen <ak@linux.intel.com>
24116
24117 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24118 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24119 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24120 * Versions.def [GLIBC_2.13]: Add.
24121
805bc17d
UD
241222010-08-06 Ulrich Drepper <drepper@redhat.com>
24123
24124 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24125 Also fail if tpwd after pwuid call is NULL.
24126
5a42321d
ST
241272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24128
24129 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24130 when converting to ms.
24131
fd3ebeda
ST
241322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24133
24134 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24135 EOPNOTSUPP errors with ENOTTY.
24136 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24137 EOPNOTSUPP errors with ENOTTY.
24138
73507d3a
UD
241392010-07-31 Ulrich Drepper <drepper@redhat.com>
24140
24141 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24142 Add strcasecmp_l-ssse3.
24143 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24144 strcasecmp.
24145 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24146 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24147 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24148
fe36dd02
UD
241492010-07-30 Ulrich Drepper <drepper@redhat.com>
24150
66f6765a
UD
24151 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24152
42e08a54
UD
24153 * string/Makefile (strop-tests): Add strcasecmp.
24154 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24155 strcasecmp_l-nonascii.
24156 (gen-as-const-headers): Add locale-defines.sym.
24157 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24158 * sysdeps/x86_64/strcasecmp.S: New file.
24159 * sysdeps/x86_64/strcasecmp_l.S: New file.
24160 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24161 * sysdeps/x86_64/locale-defines.sym: New file.
24162 * string/test-strcasecmp.c: New file.
24163
fe36dd02
UD
24164 * string/test-strcasestr.c: Test both ends of the range of characters.
24165 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24166
48cbc0d6
RM
241672010-07-29 Roland McGrath <roland@redhat.com>
24168
76e6d6bc 24169 [BZ #11856]
48cbc0d6
RM
24170 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24171
880113d9
UD
241722010-07-27 Ulrich Drepper <drepper@redhat.com>
24173
24174 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24175 for ld.so.
24176
deb9cabb
AS
241772010-07-27 Andreas Schwab <schwab@redhat.com>
24178
24179 * manual/memory.texi (Malloc Tunable Parameters): Document
24180 M_PERTURB.
24181
1c7570ff
RM
241822010-07-26 Roland McGrath <roland@redhat.com>
24183
24184 [BZ #11840]
24185 * configure.in (-fgnu89-inline check): Set and substitute
24186 gnu89_inline, not libc_cv_gnu89_inline.
24187 * configure: Regenerated.
24188 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24189
24fb0f88
UD
241902010-07-26 Ulrich Drepper <drepper@redhat.com>
24191
24192 * string/test-strnlen.c: New file.
24193 * string/Makefile (strop-tests): Add strnlen.
24194 * string/tester.c (test_strnlen): Add a few more test cases.
24195 * string/tst-strlen.c: Better error reporting.
24196
24197 * sysdeps/x86_64/strnlen.S: New file.
24198
8e96b93a
UD
241992010-07-24 Ulrich Drepper <drepper@redhat.com>
24200
24201 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24202 lower-latency instructions.
24203
dbc676d4
UD
242042010-07-23 Ulrich Drepper <drepper@redhat.com>
24205
24206 * string/test-strcasestr.c: New file.
24207 * string/test-strstr.c: New file.
24208 * string/Makefile (strop-tests): Add strstr and strcasestr.
24209 * string/str-two-way.h: Don't undefine MAX.
24210 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24211
f6a31e0e
AS
242122010-07-21 Andreas Schwab <schwab@redhat.com>
24213
24214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24215 strcasestr-nonascii.
24216 (CFLAGS-strcasestr-nonascii.c): Define.
24217 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24218 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24219 Remove unused attribute.
24220
5dbc3b6c
RM
242212010-07-20 Roland McGrath <roland@redhat.com>
24222
24223 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24224 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24225 ld.so.cache was broken. With it, there is no way to disable dsocaps
24226 like LD_HWCAP_MASK can disable hwcaps.
24227
23d101d8
EPM
242282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24229
24230 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24231
cc9f2e47
UD
242322010-07-16 Ulrich Drepper <drepper@redhat.com>
24233
24234 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24235 call in strcasestr.
24236 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24237 __strcasestr_sse42_nonascii.
24238 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24239 strcasestr-nonascii.c.
24240 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24241
77c1b069
LM
242422010-06-15 Luis Machado <luisgpm@br.ibm.com>
24243
24244 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24245 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24246 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24247 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24248
440566c3
UD
242492010-07-09 Ulrich Drepper <drepper@redhat.com>
24250
24251 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24252 fcntl.
24253
5be9d05d
AS
242542010-07-06 Andreas Schwab <schwab@redhat.com>
24255
c30b7ee2 24256 [BZ #11577]
5be9d05d
AS
24257 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24258 dl_signal_cerror.
24259
8a492a67
UD
242602010-07-06 Ulrich Drepper <drepper@redhat.com>
24261
24262 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24263 _PC_PIPE_BUF using F_GETPIPE_SZ.
24264
713df3d5
RM
242652010-07-05 Roland McGrath <roland@redhat.com>
24266
24267 * manual/arith.texi (Rounding Functions): Fix rint description
24268 implicit in round description.
24269
702e8f14
UD
242702010-07-02 Ulrich Drepper <drepper@redhat.com>
24271
24272 * elf/Makefile: Fix linking for a few tests to make recent linker
24273 happy.
24274
52ed8be9
AS
242752010-06-30 Andreas Schwab <schwab@redhat.com>
24276
24277 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24278 $(common-objpfx)libc_nonshared.a.
24279
f47c9a11
LM
242802010-06-21 Luis Machado <luisgpm@br.ibm.com>
24281
24282 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24283 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24284 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24285 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24286 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24287 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24288 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24289 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24304 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24305 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24306 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24307 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24308 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24309 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24310 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24311 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24312 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24313 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24314 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24315 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24330
6fb8cbcb
L
243312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24332
24333 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24334 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24335 * string/memmove.c (memmove): Renamed to ...
24336 (MEMMOVE): ...this. Default to memmove.
24337 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24338 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24339 (END_CHK): Define.
24340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24341 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24342 mempcpy-ssse3-back memmove-ssse3-back.
24343 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24344 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24345 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24346 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24347 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24348 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24349 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24350 * sysdeps/x86_64/multiarch/memmove.c: New file.
24351 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24352 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24353 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24354 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24355 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24356 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24357 Define.
24358 (index_Fast_Copy_Backward): Define.
24359 (HAS_ARCH_FEATURE): Define.
24360 (HAS_FAST_REP_STRING): Define.
24361 (HAS_FAST_COPY_BACKWARD): Define.
24362
4e733bac 243632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24364
24365 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24366 Restore proper fallback handling.
24367
63c4ed22
UD
243682010-06-19 Ulrich Drepper <drepper@redhat.com>
24369
ac2b484c
UD
24370 [BZ #11701]
24371 * posix/group_member.c (__group_member): Correct checking loop.
24372
63c4ed22
UD
24373 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24374 OOM in getpwuid_r correctly. Return error number when the caller
24375 should return, otherwise -1.
24376 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24377 call returning > 0 value.
24378 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24379
765ade4b
AS
243802010-06-07 Andreas Schwab <schwab@redhat.com>
24381
24382 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24383 libc_nonshared.a from targets in modules-names.
24384
80da2e09
KS
243852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24386
24387 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24388 requires it.
24389
158db122
LM
243902010-06-10 Luis Machado <luisgpm@br.ibm.com>
24391
24392 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24393 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24394 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24395 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24396
caa78cf8
AS
243972010-06-02 Andreas Schwab <schwab@redhat.com>
24398
24399 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24400
b2ef2c01
UD
244012010-06-14 Ulrich Drepper <drepper@redhat.com>
24402
24403 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24404 and F_GETPIPE_SZ.
24405 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24406 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24409 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24410 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24411
fbd643b6
RM
244122010-06-14 Roland McGrath <roland@redhat.com>
24413
24414 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24415
f32f2869
JJ
244162010-06-07 Jakub Jelinek <jakub@redhat.com>
24417
24418 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24419 __REDIRECT followed by __THROW.
24420 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24421 * posix/getopt.h (getopt): Likewise.
24422
2a50c078
EPM
244232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24424
24425 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24426 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24427 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24428 in AT_FLAGS.
24429 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24430 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24431
eb5ad2eb
LM
244322010-05-28 Luis Machado <luisgpm@br.ibm.com>
24433
24434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24435
3c88fe1e
L
244362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24437
24438 [BZ #11640]
24439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24440 Properly check family and model.
24441
d2f73151
TY
244422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24443
24444 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24445
ebd2e13d
LM
244462010-05-24 Luis Machado <luisgpm@br.ibm.com>
24447
24448 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24449
b32b8b45
UD
244502010-05-21 Ulrich Drepper <drepper@redhat.com>
24451
24452 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24453 symbol reference.
24454
9acbe24d
AS
244552010-05-19 Andreas Schwab <schwab@redhat.com>
24456
24457 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24458 symbol reference.
24459
f0ccf6ea
AS
244602010-05-21 Andreas Schwab <schwab@redhat.com>
24461
3d04ff3a
AS
24462 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24463 and internal_recvmmsg.
24464 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24465 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24466 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24467 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24468
f0ccf6ea
AS
24469 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24470 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24471 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24472
5b08ac57
AS
244732010-05-20 Andreas Schwab <schwab@redhat.com>
24474
24475 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24476
4828935d
LM
244772010-05-17 Luis Machado <luisgpm@br.ibm.com>
24478
24479 POWER7 optimizations.
24480 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24481 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24482
373d545e
UD
244832010-05-19 Ulrich Drepper <drepper@redhat.com>
24484
24485 * version.h: Update for 2.13 development version.
24486
21a2b1ae
AS
244872010-05-12 Andrew Stubbs <ams@codesourcery.com>
24488
24489 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24490 exceptions. Return 0.
24491
3f7dcb2b
RM
244922010-05-07 Roland McGrath <roland@redhat.com>
24493
24494 * elf/ldconfig.c (main): Add a const.
24495
5f24d53a 244962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24497
a160f8d8
UD
24498 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24499 (args_options): Add no-idn option.
24500 (ahosts_keys_int): Add idn_flags to ai_flags.
24501 (parse_option): Handle 'i' option to clear idn_flags.
24502
5f24d53a
UD
24503 * malloc/malloc.c (_int_free): Possible race in the most recently
24504 added check. Only act on the data if no current modification
24505 happened.
265bb1ce
UD
24506
24507See ChangeLog.17 for earlier changes.