]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ulimit: move linux implementation as posix
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9cbbc4ae
PT
12013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2
3 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4 * sysdeps/posix/ulimit.c: ... this.
5
5655a0b5
AC
62013-01-23 Adam Conrad <adconrad@0c3.net>
7
8 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9 (LDFLAGS-tst-array5): Likewise.
10
052aff95
JM
112013-01-23 Joseph Myers <joseph@codesourcery.com>
12
13 [BZ #15036]
14 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
16 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18
7c1e01aa
DM
192013-01-21 David S. Miller <davem@davemloft.net>
20
21 * sysdeps/sparc/backtrace.c: New file.
22 * sysdeps/sparc/sparc32/backtrace.h: New file.
23 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24 * sysdeps/sparc/sparc64/backtrace.h: New file.
25 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27 -funwind-tables.
28
ab087e0a
AS
292013-01-21 Andreas Schwab <schwab@suse.de>
30
31 [BZ #15020]
32 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33 closed its stdout.
34
ed689c2f
AS
352013-01-20 Andreas Schwab <schwab@linux-m68k.org>
36
37 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38 "mpa2.h".
39 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40
31d470ac
JM
412013-01-18 Joseph Myers <joseph@codesourcery.com>
42 Mark Mitchell <mark@codesourcery.com>
43 Tom de Vries <tom@codesourcery.com>
44 Paul Pluzhnikov <ppluzhnikov@google.com>
45
46 * debug/tst-backtrace2.c: New file.
47 * debug/tst-backtrace3.c: Likewise.
48 * debug/tst-backtrace4.c: Likewise.
49 * debug/tst-backtrace5.c: Likewise.
50 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51 (CFLAGS-tst-backtrace3.c): Likewise.
52 (CFLAGS-tst-backtrace4.c): Likewise.
53 (CFLAGS-tst-backtrace5.c): Likewise.
54 (LDFLAGS-tst-backtrace2): Likewise.
55 (LDFLAGS-tst-backtrace3): Likewise.
56 (LDFLAGS-tst-backtrace4): Likewise.
57 (LDFLAGS-tst-backtrace5): Likewise.
58 (tests): Add new tests tst-backtrace2, tst-backtrace3,
59 tst-backtrace4 and tst-backtrace5.
60
90567f30 612013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
62 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
63
64 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
66 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
67 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
68 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
70 "+r" and remove output regs list as redundant. Add explicit inline
71 asm to specify register of return val to work around compiler codegen
72 bug. Remove (int) cast on return value. Add return type parameter to
73 use in macro so that this macro does not truncate return value for
74 64-bit values.
75 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
76 pass to INTERNAL_VSYSCALL_NCS.
77 (INLINE_VSYSCALL): Add 'long int' as return type to
78 INTERNAL_VSYSCALL_NCS macro invocation.
79 (INTERNAL_VSYSCALL): Add 'long int' as return type to
80 INTERNAL_VSYSCALL_NCS macro invocation.
81 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
82
d3b9ea61
SP
832013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
84
0b57daeb
SP
85 [BZ #14496]
86 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
87 Fix application of SIMD FP exception mask.
88
caa99d06
SP
89 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
90 mp_no from a power of two.
91 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
92 __mpexp_twomm1. Use __pow_mp.
93
d3b9ea61
SP
94 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
95 multiplication.
96
1dbaee3c
DM
972013-01-17 David S. Miller <davem@davemloft.net>
98
99 * sysdeps/sparc/fpu/libm-test-ulps: Update.
100
728d7b43
JM
1012013-01-17 Joseph Myers <joseph@codesourcery.com>
102
103 [BZ #15023]
104 * include/complex.h: Condition contents on [!_COMPLEX_H].
105 (__kernel_casinhf): New prototype.
106 (__kernel_casinh): Likewise.
107 (__kernel_casinhl): Likewise.
108 * math/Makefile (libm_calls): Add k_casinh.
109 * math/k_casinh.c: New file.
110 * math/k_casinhf.c: Likewise.
111 * math/k_casinhl.c: Likewise.
112 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
113 finite nonzero arguments.
114 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
115 finite nonzero arguments.
116 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
117 finite nonzero arguments.
118 * math/s_casinh.c: Do not include <float.h>.
119 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
120 * math/s_casinhf.c: Do not include <float.h>.
121 (__casinhf): Move code for finite nonzero arguments to
122 k_casinhf.c.
123 * math/s_casinhl.c: Do not include <float.h>.
124 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
125 redefine.
126 (__casinhl): Move code for finite nonzero arguments to
127 k_casinhl.c.
128 * math/libm-test.inc (cacos_test): Add more tests.
129 * sysdeps/i386/fpu/libm-test-ulps: Update.
130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
131
2a26ef3a
PT
1322013-01-17 Pino Toscano <toscano.pino@tiscali.it>
133
134 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
135 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
136 [!HAVE_MREMAP]: Remove [defined linux] case.
137 * malloc/arena.c: Do not include <malloc-sysdep.h>.
138
a897655d
SP
1392013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
140
141 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
142
881ebe89 1432013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
144
145 * elf/elf.h (R_386_SIZE32): New relocation.
146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
147 R_386_SIZE32.
148 (elf_machine_rela): Likewise.
149 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
150 R_X86_64_SIZE64 and R_X86_64_SIZE32.
151
59981e9b
JM
1522013-01-17 Joseph Myers <joseph@codesourcery.com>
153
154 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
155 (FP_FAST_FMA): Do not define.
156 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
157 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
158 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
159 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
160 !_SOFT_FLOAT]: Likewise.
161 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
162 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
163 value.
164 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
165 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
166 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
167 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
168 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
169 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
170 file.
171
cfa8054f
AS
1722013-01-16 Andreas Schwab <schwab@suse.de>
173
174 [BZ #14327]
175 * include/stdlib.h (__mktemp): Add declaration.
176 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
177 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
178
dd930cc5
SP
1792013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
180
881ebe89
SP
181 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
182 definitions.
183 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
184 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
185 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
186 definitions here.
187 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
188 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
189 definitions.
190 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
191 and ONE.
192 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
193 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
194 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
195 definitions.
196 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
197 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
198 definitions.
199 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 200
dd930cc5
SP
201 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
202
c19a9f89
DM
2032013-01-15 David S. Miller <davem@davemloft.net>
204
1aa61767
DM
205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
206 trunc{,f} to libm-sysdep_routes.
207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
209 file.
210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
212 file.
213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
214 file.
215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
217 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
218 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
219 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
220 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
221 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
222 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
223
c42d5e98
DM
224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
225 nearbyint{,f} to libm-sysdep_routes.
226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
228 New file.
229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
230 file.
231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
232 New file.
233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
234 file.
235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
238 file.
239 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
240 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
241 file.
242 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
243 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
244 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
245
c19a9f89
DM
246 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
247 libc_feholdexcept and libc_fesetenv.
248
357679d2
MF
2492013-01-15 Mike Frysinger <vapier@gentoo.org>
250
251 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
252
65a82e3d
DM
2532013-01-14 David S. Miller <davem@davemloft.net>
254
8b954ab9
DM
255 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
256 (SPARC_ASM_VIS2_IFUNC): Likewise.
257 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
259 use of 'siam' instruction.
260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
261 Likewise.
262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
263 Likewise.
264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
265 Likewise.
266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
271 file.
272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
273 file.
274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
275 file.
276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
277 file.
278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
283 new VIS2 routines.
284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
287 Likewise.
288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
293 routines to libm-sysdep_routines.
294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
295
65a82e3d
DM
296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
297 fdim/fdimf to libm-sysdep_routines.
298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
299 file.
300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
302 file.
303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
306 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
307 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
308 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
309 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
310
e34ab705
SP
3112013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
312
2a91b573
SP
313 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
314 to optimize copies.
315
1066a534
SP
316 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
319
e34ab705
SP
320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
321 local variable MPTWO.
322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
323 Likewise.
324
aba5e596
MF
3252013-01-13 Mike Frysinger <vapier@gentoo.org>
326
327 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
328 GLOB_NOESCAPE.
329
e557e9e5
MF
3302013-01-13 Mike Frysinger <vapier@gentoo.org>
331
332 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
333
0428cec9
MF
3342013-01-13 Mike Frysinger <vapier@gentoo.org>
335
336 * manual/pattern.texi (glob_t): Document gl_flags.
337 (glob64_t): Likewise.
338
8794a964
DM
3392013-01-11 David S. Miller <davem@davemloft.net>
340
66438c3f
RM
341 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
342 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
343 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
344 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
345 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
346 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
347 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
348 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
349 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
350 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
351 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
352 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
353 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
354
4ae4244d
DM
355 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
356 sparc V9 rather than using V8 code.
357 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
358 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
359
8794a964
DM
360 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
361 Move to...
362 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
363 Here.
364
6270516e
RM
3652013-01-11 Roland McGrath <roland@hack.frob.com>
366
367 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
368 not in the main loop.
369 * configure: Regenerated.
370
6a57d931
JM
3712013-01-11 Joseph Myers <joseph@codesourcery.com>
372
373 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
374 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
375 to just #else.
376 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
377 [!__GLIBC_HAVE_LONG_LONG] case.
378 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
379 condition to just #else.
380 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
381 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
382 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
383 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
384 unconditional.
385 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
386 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
387 #elif condition to just #else.
388 * sysdeps/unix/sysv/linux/sys/sysmacros.h
389 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
390 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
391 #elif condition to just #else.
392
0e8529e9
SE
3932013-01-11 Steve Ellcey <sellcey@mips.com>
394
395 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
396 (EF_MIPS_ARCH_64): Fix value.
397 (EF_MIPS_ARCH_32R2): New.
398 (EF_MIPS_ARCH_64R2): New.
399
740b3dbe
L
4002013-01-11 H.J. Lu <hongjiu.lu@intel.com>
401
402 * Makeconfig (+link-pie-before-libc): New.
403 (+link-pie-after-libc): Likewise.
404 (+link-pie-tests): Likewise.
405 (+link-pie): Rewritten.
406 (link-before-libc): Remove $(config-LDFLAGS).
407 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
408 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
409 (config-LDFLAGS): Renamed to ...
410 (rtld-LDFLAGS): This.
411 (rtld-tests-LDFLAGS): New macro.
412 (link-libc-rpath-link): Likewise.
413 (link-libc-tests-rpath-link): Likewise.
414 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
415 (link-libc): Prepand $(link-libc-rpath-link).
416 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
417 (test-program-prefix): New macro.
418 (test-via-rtld-prefix): Likewise.
419 (test-program-cmd): Likewise.
420 (host-test-program-cmd): Likewise.
421 * Makefile ($(common-objpfx)testrun.sh): Replace
422 $(run-program-prefix) with $(test-program-prefix).
423 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
424 $(rtld-LDFLAGS).
425 ($(common-objpfx)shlib.lds): Likewise.
426 (build-module-helper): Likewise.
427 ($(common-objpfx)format.lds): Likewise.
428 * Rules (binaries-pie-tests): New.
429 (binaries-pie-notests): Likewise.
430 (binaries-pie): Rewritten.
431 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
432 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
433 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
434 (make-test-out): Replace $(host-built-program-cmd) with
435 $(host-test-program-cmd).
436 * config.make.in (build-hardcoded-path-in-tests): New variable.
437 * configure.in (--enable-hardcoded-path-in-tests): New configure
438 option.
439 (hardcoded_path_in_tests): New AC_SUBST.
440 * configure: Regenerated.
441 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
442 $(built-program-cmd) with $(test-program-cmd).
443 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
444 (test_program_cmd): This.
445 * elf/Makefile ($(objpfx)order.out): Run test with
446 $(test-program-prefix).
447 ($(objpfx)order2.out): Likewise.
448 ($(objpfx)tst-initorder.out): Likewise.
449 ($(objpfx)tst-initorder2.out): Likewise.
450 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
451 $(test-program-cmd).
452 ($(objpfx)tst-array1-static.out): Likewise.
453 ($(objpfx)tst-array2.out): Likewise.
454 ($(objpfx)tst-array3.out): Likewise.
455 ($(objpfx)tst-array4.out): Likewise.
456 ($(objpfx)tst-array5.out): Likewise.
457 ($(objpfx)tst-array5-static.out): Likewise.
458 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
459 $(test-program-cmd).
460 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
461 $(run-program-prefix) with $(test-program-prefix).
462 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
463 (test_program_prefix): This.
464 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
465 $(run-program-prefix) with $(test-program-prefix).
466 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
467 (test_program_prefix): This.
468 * iconvdata/tst-tables.sh: Likewise.
469 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
470 $(run-program-prefix) with $(test-program-prefix).
471 ($(objpfx)tst-translit.out): Likewise.
472 ($(objpfx)tst-gettext2.out): Likewise.
473 ($(objpfx)tst-gettext4.out): Likewise.
474 ($(objpfx)tst-gettext6.out): Likewise.
475 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
476 (test_program_prefix): This.
477 * intl/tst-gettext2.sh: Likewise.
478 * intl/tst-gettext4.sh Likewise.
479 * intl/tst-gettext6.sh: Likewise.
480 * intl/tst-translit.sh: Likewise.
481 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
482 with $(test-program-cmd).
483 * libio/Makefile ($(objpfx)test-freopen.out): Replace
484 $(run-program-prefix) with $(test-program-prefix).
485 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
486 (test_program_prefix): This.
487 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
488 $(run-program-prefix) with $(test-program-prefix).
489 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
490 (test_program_prefix): This.
491 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
492 * posix/Makefile ($(objpfx)globtest.out): Replace
493 $(run-via-rtld-prefix) and $(test-wrapper) with
494 $(test-program-prefix) and $(test-via-rtld-prefix).
495 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
496 $(test-program-prefix).
497 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
498 $(host-test-program-cmd).
499 (tst-spawn-ARGS): Likewise.
500 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
501 $(test-program-prefix).
502 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
503 (test_via_rtld_prefix): This.
504 (test_wrapper): Renamed to ...
505 (test_program_prefix): This.
506 (run_program_prefix): Replaced by test_program_prefix.
507 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
508 (test_program_prefix): This.
509 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
510 with $(host-test-program-cmd).
511 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
512 $(run-program-prefix) with $(test-program-prefix).
513 ($(objpfx)tst-printf.out): Likewise.
514 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
515 $(test-program-cmd).
516 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
517 (test_program_prefix): This.
518 * stdio-common/tst-unbputc.sh: Likewise.
519 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
520 $(run-program-prefix) with $(test-program-prefix).
521 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
522 (test_program_prefix): This.
523 * string/Makefile ($(objpfx)tst-svc.out): Replace
524 $(built-program-cmd) with $(test-program-cmd).
525
c6fe55cf
AJ
5262013-01-11 Andreas Jaeger <aj@suse.de>
527
528 [BZ #15003]
529 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
530 value. Sync with Linux 3.7.
531
9e6919c8
DM
5322013-01-10 David S. Miller <davem@davemloft.net>
533
534 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
535 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
536 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
537
1c9f1a02
RM
5382013-01-10 Roland McGrath <roland@hack.frob.com>
539
540 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
541 never set.
542 * configure: Regenerated.
543
b9de2dde
DM
5442013-01-10 David S. Miller <davem@davemloft.net>
545
546 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
547 sparc V9 rather than using V8 code.
548 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
549 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
550
e7f68ef4
RM
5512013-01-10 Roland McGrath <roland@hack.frob.com>
552
553 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
554 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
555 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
556 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
557 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
558 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
559 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
560 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
561 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
562 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
563 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
564 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
565 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
566 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
567 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
568 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
569 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
570 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
571 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
572 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
573 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
574 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
575 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
576 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
577 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
578 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
579 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
580
5a47cc9c
DM
5812013-01-10 David S. Miller <davem@davemloft.net>
582
583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
584
4cf8f209
L
5852013-01-10 H.J. Lu <hongjiu.lu@intel.com>
586
587 * posix/Makefile (tests-static): New variable.
588 (tests): Add $(tests-static).
589 (tst-exec-static-ARGS): New variable.
590 (tst-spawn-static-ARGS): Likewise.
591 * posix/tst-exec-static.c: New file.
592 * posix/tst-spawn-static.c: Likewise.
593 * posix/tst-exec.c: Support run directly.
594 * posix/tst-spawn.c: Likewise.
595
fed0faa1
JM
5962013-01-10 Joseph Myers <joseph@codesourcery.com>
597
828beb13
JM
598 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
599 long.
600 * math/bits/mathcalls.h (llrint): Likewise.
601 (llround): Likewise.
602 * stdlib/stdlib.h (struct drand48_data): Likewise.
603 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
604 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
605 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
606 Likewise.
607 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
608 Likewise.
609 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
610 (elf_greg_t): Likewise.
611 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
612 (__jmp_buf): Likewise.
613 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
614 definitions.
615 (llrint): Likewise, for all definitions.
616 (llrintl): Likewise.
617
fed0faa1
JM
618 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
619 Remove [__GNUC__] condition.
620 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
621 condition to just [__USE_ISOC99].
622 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
623
1a20cb20
L
6242013-01-10 H.J. Lu <hongjiu.lu@intel.com>
625
626 [BZ #14200]
627 * sysdeps/unix/sysv/linux/x86/bits/environments.h
628 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
629 defined.
630 (_POSIX_V6_ILP32_OFF32): Likewise.
631 (_XBS5_ILP32_OFF32): Likewise.
632 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
633 (__ILP32_OFFBIG_LDFLAGS): Likewise.
634
751b85f7
SP
6352013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
636
7490eb81
SP
637 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
638
751b85f7
SP
639 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
640 doubles __mpexp_twomm1. Adjust usage.
641 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
642 Remove.
643
988197f0
AS
6442013-01-10 Andreas Schwab <schwab@suse.de>
645
646 [BZ #14964]
647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
648 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
649
e83d7298
DM
6502013-01-09 David S. Miller <davem@davemloft.net>
651
034ed64b 652 [BZ #15003]
e83d7298
DM
653 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
654 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
655 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
656 TCP_FASTOPEN): Define.
657 (tcp_repair_opt): New structure.
658 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
659 enum values.
660 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
661 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
662 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
663 (tcp_cookie_transactions): New structure.
664
d5e0b9bd
AB
6652013-01-09 Anton Blanchard <anton@samba.org>
666
667 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
668 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
669 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
670 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
671
0c07e3ea
JM
6722013-01-09 Joseph Myers <joseph@codesourcery.com>
673
674 * include/features.h (__USE_ANSI): Remove.
675
232f7002
RM
6762013-01-09 Roland McGrath <roland@hack.frob.com>
677
ad98e30c
RM
678 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
679
232f7002
RM
680 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
681
950c99ca
SP
6822013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
683
b5792741
SP
684 * sysdeps/s390/fpu/libm-test-ulps: Update.
685
47cf2278
SP
686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
687
950c99ca
SP
688 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
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 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
703 (__acr): Likewise.
704 (__cpy): Likewise.
705 (norm): Likewise.
706 (denorm): Likewise.
707 (__mp_dbl): Likewise.
708 (__dbl_mp): Likewise.
709 (add_magnitudes): Likewise.
710 (sub_magnitudes): Likewise.
711 (__add): Likewise.
712 (__sub): Likewise.
713 (__mul): Likewise.
714 (__inv): Likewise.
715 (__dvd): Likewise.
716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
717 (__acr): Likewise.
718 (__cpy): Likewise.
719 (norm): Likewise.
720 (denorm): Likewise.
721 (__mp_dbl): Likewise.
722 (__dbl_mp): Likewise.
723 (add_magnitudes): Likewise.
724 (sub_magnitudes): Likewise.
725 (__add): Likewise.
726 (__sub): Likewise.
727 (__mul): Likewise.
728 (__inv): Likewise.
729 (__dvd): Likewise.
730
eede9df9
JM
7312013-01-08 Joseph Myers <joseph@codesourcery.com>
732
733 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
734 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
735 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
736 2 && __USE_EXTERN_INLINES]: Likewise.
737
c40ea3d9
AJ
7382013-01-08 Andreas Jaeger <aj@suse.de>
739
740 [BZ# 14985]
741 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
742 Remove.
743 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
744 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
745
2ccdea26
AB
7462013-01-07 Anton Blanchard <anton@samba.org>
747
748 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
749 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
750 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
751 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
752 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
753 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
754 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
755 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
757 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
758 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
759 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
760 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
762 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
763 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
765 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
766 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
767 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
768 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
769 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
770 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
771 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
772 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
773 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
774 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
775 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
777 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
778 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
780 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
781 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
782 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
783 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
784 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
785 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
786 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
787 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
788 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
789 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
790 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
791
a9708fed
JM
7922013-01-07 Joseph Myers <joseph@codesourcery.com>
793
375607b9
JM
794 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
795 (__MALLOC_PMT): Likewise.
796 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
797 [__GNUC__], only on [_LIBC].
798 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
799 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
800 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
801 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
802 forward declaration.
803 (realloc_hook_ini): Likewise.
804 (memalign_hook_ini): Likewise.
805 (__libc_memalign): Do not use __MALLOC_PMT in variable
806 declaration.
807 (__libc_valloc): Likewise.
808 (__libc_pvalloc): Likewise.
809 (__libc_calloc): Likewise.
810 (__posix_memalign): Likewise.
811
a9708fed
JM
812 [BZ #14996]
813 * math/s_casinh.c: Include <float.h>.
814 (__casinh): Do not do computation with squaring and square root
815 for large arguments.
816 * math/s_casinhf.c: Include <float.h>.
817 (__casinhf): Do not do computation with squaring and square root
818 for large arguments.
819 * math/s_casinhl.c: Include <float.h>.
820 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
821 (__casinhl): Do not do computation with squaring and square root
822 for large arguments.
823 * math/libm-test.inc (casin_test): Add more tests.
824 (casinh_test): Likewise.
825 * sysdeps/i386/fpu/libm-test-ulps: Update.
826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
827
afec409a
L
8282013-01-04 H.J. Lu <hongjiu.lu@intel.com>
829
830 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
831 (__x86_64_raw_data_cache_size): Likewise.
832 (__x86_64_data_cache_size_half): Likewise.
833 (__x86_64_raw_data_cache_size_half): Likewise.
834 (__x86_64_shared_cache_size): Likewise.
835 (__x86_64_raw_shared_cache_size): Likewise.
836 (__x86_64_shared_cache_size_half): Likewise.
837 (__x86_64_raw_shared_cache_size_half): Likewise.
838 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
839 to ...
840 (__x86_data_cache_size): This.
841 (__x86_64_raw_data_cache_size): Renamed to ...
842 (__x86_raw_data_cache_size): This.
843 (__x86_64_data_cache_size_half): Renamed to ...
844 (__x86_data_cache_size_half): This.
845 (__x86_64_raw_data_cache_size_half): Renamed to ...
846 (__x86_raw_data_cache_size_half): This.
847 (__x86_64_shared_cache_size): Renamed to ...
848 (__x86_shared_cache_size): This.
849 (__x86_64_raw_shared_cache_size): Renamed to ...
850 (__x86_raw_shared_cache_size): This.
851 (__x86_64_shared_cache_size_half): Renamed to ...
852 (__x86_shared_cache_size_half): This.
853 (__x86_64_raw_shared_cache_size_half): Renamed to ...
854 (__x86_raw_shared_cache_size_half): This.
855 * sysdeps/x86_64/memcpy.S: Updated.
856 * sysdeps/x86_64/memset.S: Likewise.
857 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
858 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
860
0b3986d0
DM
8612013-01-04 David S. Miller <davem@davemloft.net>
862
863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
864
e47686e9
AS
8652013-01-04 Andreas Schwab <schwab@linux-m68k.org>
866
d643bac1
AS
867 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
868 1 to avoid redefinition warning.
869 (__USE_GNU): Don't define.
870 (init_signaling_nan): Protoize.
871
e47686e9
AS
872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
873
b18decba
SP
8742013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
875
fffb407f
SP
876 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
878 (__cpymn): Likewise.
879 (norm): Remove commented code.
880 (denorm): Likewise.
881 (__mp_dbl): Likewise.
882 (__inv): Likewise.
883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
884 (__cpymn): Likewise.
885 (norm): Remove commented code.
886 (denorm): Likewise.
887 (__mp_dbl): Likewise.
888 (__inv): Likewise.
889
b18decba
SP
890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
891 mp_no value for 1.0 and 2.0.
892 (norm): Use RADIXI instead of radixi.d.
893 (denorm): Likewise.
894 (__mul): Use 0.0 instead of zero.d.
895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
896 mp_no value for 1.0 and 2.0.
897 (norm): Use RADIXI instead of radixi.d.
898 (denorm): Likewise.
899 (__mul): Use 0.0 instead of zero.d.
900
cdc1c96f
JM
9012013-01-04 Joseph Myers <joseph@codesourcery.com>
902
903 [BZ #14994]
904 * math/s_casinh.c (__casinh): Reduce finite argument to first
905 quadrant then set signs of results at the end.
906 * math/s_casinhf.c (__casinhf): Likewise.
907 * math/s_casinhl.c (__casinhl): Likewise.
908 * math/libm-test.inc (casin_test): Add more tests.
909 (casinh_test): Likewise.
910 * sysdeps/i386/fpu/libm-test-ulps: Update.
911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
912
302913e1
SP
9132013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
914
6420d207
SP
915 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
916
a9e48ab4
SP
917 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
918
b7837264
SP
919 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
920 declarations.
921 (denorm): Likewise.
922 (__mp_dbl): Likewise.
923 (__inv): Likewise.
924
f8af25d2
SP
925 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
926 and adjust the header comment.
927
302913e1
SP
928 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
929 variable name from declaration.
930
5d7dd1ca
L
9312013-01-03 H.J. Lu <hongjiu.lu@intel.com>
932
933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
934 Initialize COMMON_CPUID_INDEX_7 element.
935 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
936 (CPUID_RTM): Likewise.
937 (HAS_RTM): Likewise.
938 (COMMON_CPUID_INDEX_7): New enum.
939
2f5f40f4
AS
9402013-01-03 Andreas Schwab <schwab@linux-m68k.org>
941
942 [BZ #14981]
943 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
944 size is zero, record memory as freed.
945
4056f4a0
AJ
9462013-01-03 Andreas Jaeger <aj@suse.de>
947
948 * po/ia.po: Add new Interlingua translation.
949
ab15736f 9502012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
951
952 * locale/programs/localedef.c: Fix description of '--posix' flag.
953
568035b7
JM
9542013-01-02 Joseph Myers <joseph@codesourcery.com>
955
e6898b8d
JM
956 * NEWS: Update dates in second copyright notice.
957 * README: Update copyright dates in example.
958 * manual/libc.texinfo: Update copyright dates.
959 * scripts/test-installation.pl: Update copyright date in --version
960 output.
961
0e2f9562
JM
962 * hurd/ctty-input.c: Fix copyright notice formatting.
963 * hurd/ctty-output.c: Likewise.
964 * hurd/dtable.c: Likewise.
965 * hurd/hurd-raise.c: Likewise.
966 * hurd/hurdprio.c: Likewise.
967 * hurd/msgportdemux.c: Likewise.
968 * misc/sys/file.h: Likewise.
969 * misc/sys/ioctl.h: Likewise.
970 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
971 * sysdeps/mach/hurd/chdir.c: Likewise.
972 * sysdeps/mach/hurd/fchdir.c: Likewise.
973 * sysdeps/mach/hurd/rename.c: Likewise.
974 * sysdeps/mach/hurd/rmdir.c: Likewise.
975 * sysdeps/mach/hurd/seekdir.c: Likewise.
976 * sysdeps/mach/hurd/setsid.c: Likewise.
977 * sysdeps/posix/wait3.c: Likewise.
978
568035b7
JM
979 * All files with FSF copyright notices: Update copyright dates
980 using scripts/update-copyrights.
981 * intl/plural.c: Regenerated.
982 * locale/programs/charmap-kw.h: Likewise.
983 * locale/programs/locfile-kw.h: Likewise.
984
da08f647
SP
9852013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
986
0f5477af
SP
987 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
988 four values.
989
44e0d4c2
SP
990 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
991 calculation loop and add branch prediction.
992
4d55b4e5
SP
993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
994 check access beyond bounds of m1np.
995
da08f647
SP
996 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
997 MPTWO.
998 (__inv): Remove local variable MPTWO to use the global
999 constant.
1000 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1002 variable MPTWO.
1003 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1004 MP3HALFS static const.
1005
8e051029
DM
10062013-01-01 David S. Miller <davem@davemloft.net>
1007
1008 * po/ca.po: Update from translation team.
1009
f4cf5f2d
JM
10102013-01-01 Joseph Myers <joseph@codesourcery.com>
1011
1012 * scripts/update-copyrights: New file.
1013 * Makeconfig: Reformat copyright notice.
1014 * ctype/ctype.h: Likewise.
1015 * debug/swprintf_chk.c: Likewise.
1016 * elf/dl-cache.c: Likewise.
1017 * elf/dl-debug.c: Likewise.
1018 * elf/dl-object.c: Likewise.
1019 * grp/initgroups.c: Likewise.
1020 * hurd/Makefile: Likewise.
1021 * hurd/hurd/signal.h: Likewise.
1022 * hurd/hurdfault.c: Likewise.
1023 * hurd/hurdioctl.c: Likewise.
1024 * hurd/hurdlookup.c: Likewise.
1025 * hurd/intr-msg.c: Likewise.
1026 * iconv/gconv_open.c: Likewise.
1027 * libio/swprintf.c: Likewise.
1028 * locale/lc-ctype.c: Likewise.
1029 * locale/nl_langinfo.c: Likewise.
1030 * mach/Machrules: Likewise.
1031 * mach/Makefile: Likewise.
1032 * malloc/obstack.h: Likewise.
1033 * manual/Makefile: Likewise.
1034 * manual/tsort.awk: Likewise.
1035 * misc/bits/stab.def: Likewise.
1036 * nis/nis_print_group_entry.c: Likewise.
1037 * nis/nis_table.c: Likewise.
1038 * nis/nss_compat/compat-pwd.c: Likewise.
1039 * nis/nss_compat/compat-spwd.c: Likewise.
1040 * po/Makefile: Likewise.
1041 * posix/fnmatch.c: Likewise.
1042 * posix/regex.h: Likewise.
1043 * resolv/Makefile: Likewise.
1044 * resolv/nss_dns/dns-network.c: Likewise.
1045 * resolv/res_hconf.c: Likewise.
1046 * scripts/gen-sorted.awk: Likewise.
1047 * soft-fp/soft-fp.h: Likewise.
1048 * stdio-common/printf.h: Likewise.
1049 * stdlib/monetary.h: Likewise.
1050 * stdlib/random.c: Likewise.
1051 * stdlib/random_r.c: Likewise.
1052 * sysdeps/generic/Makefile: Likewise.
1053 * sysdeps/gnu/Makefile: Likewise.
1054 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1055 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1056 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1058 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1061 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1064 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1065 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1066 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1067 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1068 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1069 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1070 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1071 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1072 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1074 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1075 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1076 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1077 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1078 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1079 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1080 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1081 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1082 * sysdeps/mach/hurd/errnos.awk: Likewise.
1083 * sysdeps/mach/hurd/fork.c: Likewise.
1084 * sysdeps/mach/hurd/getcwd.c: Likewise.
1085 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1086 * sysdeps/mach/hurd/mmap.c: Likewise.
1087 * sysdeps/mach/hurd/utimes.c: Likewise.
1088 * sysdeps/mach/hurd/xmknod.c: Likewise.
1089 * sysdeps/posix/profil.c: Likewise.
1090 * sysdeps/posix/readdir_r.c: Likewise.
1091 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1092 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1093 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1094 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1096 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1097 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1098 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1100 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1101 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1102 * sysdeps/pthread/lio_listio.c: Likewise.
1103 * sysdeps/sparc/dl-procinfo.h: Likewise.
1104 * sysdeps/unix/i386/sysdep.S: Likewise.
1105 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1106 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1107 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1108 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1110 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1111 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1112 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1113 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1114 * sysdeps/wordsize-32/divdi3.c: Likewise.
1115 * time/sys/time.h: Likewise.
1116 * wcsmbs/Makefile: Likewise.
1117
0549fbba
DM
11182013-01-01 David S. Miller <davem@davemloft.net>
1119
a141f1a7
DM
1120 * po/fr.po: Update from translation team.
1121
0549fbba
DM
1122 * catgets/gencat.c: Update copyright year.
1123 * csu/version.c: Likewise.
1124 * debug/catchsegv.sh: Likewise.
1125 * debug/pcprofiledump.c: Likewise.
1126 * debug/xtrace.sh: Likewise.
1127 * elf/ldconfig.c: Likewise.
1128 * elf/ldd.bash.in: Likewise.
1129 * elf/pldd.c: Likewise.
1130 * elf/sotruss.ksh: Likewise.
1131 * elf/sprof.c: Likewise.
1132 * iconv/iconv_prog.c: Likewise.
1133 * iconv/iconvconfig.c: Likewise.
1134 * locale/programs/locale.c: Likewise.
1135 * locale/programs/localedef.c: Likewise.
1136 * login/programs/pt_chown.c: Likewise.
1137 * malloc/memusage.sh: Likewise.
1138 * malloc/memusagestat.c: Likewise.
1139 * malloc/mtrace.pl: Likewise.
1140 * nscd/nscd.c: Likewise.
1141 * nss/getent.c: Likewise.
1142 * nss/makedb.c: Likewise.
1143 * posix/getconf.c: Likewise.
1144
18ea052c
SP
11452012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1146
1147 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1148 numbers.
1149
9c89fca6
MF
11502012-12-30 Mike Frysinger <vapier@gentoo.org>
1151
1152 * math/bits/mathcalls.h (modf): Use __nonnull.
1153
085ec079
SP
11542012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1155
1156 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1157 (split): Use macro CN instead of the bare value.
1158 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1159 could be used.
1160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1161 instead of the bare value.
1162 (power1): Likewise.
1163
6d9f97e1
SP
11642012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1165
d63f73be
SP
1166 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1167 __ATAN_TWOM.
1168 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1169
6d9f97e1
SP
1170 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1171 their values.
1172 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1173 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1174 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1175 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1176
4c4febf5
AJ
11772012-12-28 Andreas Jaeger <aj@suse.de>
1178
af5843ef
AJ
1179 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1180 values are from Linux 3.7.
1181
4c4febf5
AJ
1182 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1183 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1184
99136f82
SP
11852012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1186
2f216c3c 1187 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1188 TRUE case.
1189
99136f82
SP
1190 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1191 (norm): Likewise.
1192 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1193 variables with preprocessor constants.
1194 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1195 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1196 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1197
7fffbdff
BH
11982012-12-27 Bruno Haible <bruno@clisp.org>
1199
1200 [BZ #14317]
1201 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1202 only if needed.
1203
b76eb5f0
SP
12042012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1205
31a7fe5c
SP
1206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1207 and use variable directly.
1208 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1209
b76eb5f0
SP
1210 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1211 MPONE.
1212 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1213 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1214 variable MPONE.
1215 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1217 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1218 include directive. Remove local variable MPONE.
1219 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1220 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1221 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1222
2c8bfe7d
DM
12232012-12-25 David S. Miller <davem@davemloft.net>
1224
1225 * version.h (RELEASE): Set to "development".
1226 (VERSION): Set to "2.17.90".
1227 * NEWS: Add 2.18 section.
1228
147d03b0
DM
12292012-12-21 David S. Miller <davem@davemloft.net>
1230
1231 * po/hr.po: Update from translation team.
1232
a8ebb2b9
AK
12332012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1234
1235 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1236
95b4f1b6
SE
12372012-12-19 Steve Ellcey <sellcey@mips.com>
1238
b2d94007 1239 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1240
cedb2a90
MS
12412012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1242
1243 * manual/contrib.texi (Contributors): Spelling correction.
1244
bbf527d6
DM
12452012-12-15 David S. Miller <davem@davemloft.net>
1246
1247 * po/ru.po: Update from translation team.
1248
bc38c906
DM
12492012-12-13 David S. Miller <davem@davemloft.net>
1250
85429b1a
DM
1251 * NEWS: Mention IFUNC testsuite enhancements.
1252
d283e353
DM
1253 * po/pl.po: Update from translation team.
1254 * po/bg.po: Likewise.
1255
bc38c906
DM
1256 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1257 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1258
a181b0d7
DM
12592012-12-11 David S. Miller <davem@davemloft.net>
1260
4641d57e
DM
1261 * po/sv.po: Update from translation team.
1262
f7bc6495
DM
1263 * po/vi.po: Update from translation team.
1264
6fc9048f
DM
1265 * po/cs.po: Update from translation team.
1266
a181b0d7
DM
1267 * po/de.po: Update from translation team.
1268 * po/eo.po: Likewise.
1269 * po/nl.po: Likewise.
1270
f70bfe80
SP
12712012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1272
3c8b4190
SP
1273 [BZ #14246]
1274 * manual/argp.texi (Argp Helper Functions): Move node to follow
1275 Argp Parsing State.
1276
f70bfe80
SP
1277 [BZ #14872]
1278 * manual/conf.texi (Limits on File System Capacity): Mention if
1279 terminating null is included in the max size.
1280
188f0adf
AJ
12812012-12-10 Andreas Jaeger <aj@suse.de>
1282
1283 * po/cs.po: Update from translation team.
1284
56e7d3ad
SP
12852012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1286
1287 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1288 void pointer and cast to uintptr_t.
1289 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1290 path.
1291 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1292 * sysdeps/s390/s390-64/memset.S: Likewise.
1293
76f2d2ea 12942012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1295
1296 [BZ #14833]
1297 * menual/message.texi (Message Translation): Fix typos.
1298 (Helper programs for gettext): Likewise.
1299
67cbf9a2
AS
13002012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1301
1302 [BZ #14898]
1303 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1304 Change to -1.
1305
682d0e9a
DM
13062012-12-07 David S. Miller <davem@davemloft.net>
1307
1308 * po/libc.pot: Update.
1309
573cd484
RH
13102012-12-07 Richard Henderson <rth@redhat.com>
1311
7e9da188 1312 [BZ #10114]
573cd484
RH
1313 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1314 normal/normal case to before the switch.
1315 (_FP_DIV): Likewise.
1316
e933a943
MF
13172012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1318 Mike Frysinger <vapier@gentoo.org>
1319
1320 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1321 check for __NR_fadvise64_64.
1322
82123268
CM
13232012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1324
1325 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1326 0, not just to plain "0" as a statement.
1327 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1328 with cw.
1329
d9814526
JM
13302012-12-06 Joseph Myers <joseph@codesourcery.com>
1331
1332 * NEWS: Use sourceware.org in Bugzilla URL.
1333
7728c574
SP
13342012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1335
f16946dd
SP
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1337 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1338
5704bbcb
SP
1339 * stdio-common/tst-put-error.c (do_test): Add newline to the
1340 padded test to ensure flush.
1341
17aa0516
JL
13422012-12-05 Jeff Law <law@redhat.com>
1343
1344 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1345
363313b5
JM
13462012-12-05 Joseph Myers <joseph@codesourcery.com>
1347
effbd42a
JM
1348 * README: Don't refer to ports add-on as distributed separately.
1349 Mention AArch64 in list of systems supported in the ports add-on.
1350
87600365
JM
1351 * LICENSES: Add more non-FSF copyright and license notices.
1352
a0d7066a
JM
1353 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1354 ((unused)).
1355
66ca5a5b
JM
1356 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1357
363313b5
JM
1358 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1359 10000 as width of padded output.
1360
b37984ad
JM
13612012-12-04 Joseph Myers <joseph@codesourcery.com>
1362
9003570a
JM
1363 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1364
b37984ad
JM
1365 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1366 variable LX with __attribute__ ((unused)).
1367 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1368 Likewise.
1369 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1370 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1371 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1372 with __attribute__ ((unused)).
1373
c8df52ec
DM
13742012-12-04 David S. Miller <davem@abraco.davemloft.net>
1375
1376 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1377
b3b099af
JM
13782012-12-04 Joseph Myers <joseph@codesourcery.com>
1379
c33aa6e3
JM
1380 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1381 (CFLAGS-nldbl-acos.c): New variable.
1382 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1383 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1384 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1385 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1386 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1387 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1388 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1389 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1390 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1391 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1392 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1393 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1394 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1395 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1396 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1397 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1398 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1399 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1400 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1401 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1402 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1403 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1404 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1405 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1406 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1407 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1408 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1409 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1410 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1411 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1412 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1413 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1414 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1415 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1416 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1417 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1418 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1419 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1420 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1421 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1422 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1423 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1424 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1425 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1426 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1427 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1428 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1429 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1430 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1431 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1432 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1433 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1434 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1435 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1436 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1437 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1438 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1439 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1440 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1441 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1442 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1443 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1444 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1445 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1446 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1447 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1448 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1449 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1450 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1451 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1452 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1453 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1454 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1455 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1456 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1457 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1458 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1459 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1460 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1461 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1462 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1463 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1464 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1465 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1466 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1467 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1468 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1469 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1470 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1471 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1472 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1473 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1474 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1475 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1476 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1477 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1478 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1479
20f0018d
JM
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1481 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1482
b3b099af
JM
1483 [BZ #14914]
1484 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1485 whole low double instead of just low 47 bits when splitting values
1486 into two parts.
1487
029264d1
AM
14882012-12-03 Allan McRae <allan@archlinux.org>
1489
1490 * manual/stdio.texi (Predefined Printf Handlers): Remove
1491 @hsep and @vsep usage.
1492
c9d6789e
MF
14932012-12-03 Mike Frysinger <vapier@gentoo.org>
1494
1495 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1496 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1497
4b7634a5
JL
14982012-12-03 Jeff Law <law@redhat.com>
1499
1500 * time/sys/time.h (settimeofday): Do not mark TV argument
1501 as __nonnull.
1502
eb6cbd24
MF
15032012-12-01 Mike Frysinger <vapier@gentoo.org>
1504
1505 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1506 when currently writing and seek to current position when not.
1507 * libio/Makefile (tests): Remove bug-fclose1.
1508 * libio/bug-fclose1.c: Delete.
1509
f638872a
JM
15102012-12-01 Joseph Myers <joseph@codesourcery.com>
1511
1512 * manual/arith.texi (feenableexcept): Fix typo.
1513 (fedisableexcept): Likewise.
1514
48085d14
RM
15152012-11-30 Roland McGrath <roland@hack.frob.com>
1516
1517 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1518 second, differently-typed declaration, rather than a cast.
1519
1a538b9f
SP
15202012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1521
1522 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1523 * include/rpc/svc.h: ... here.
1524
d07f2ff1 15252012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1526
1527 [BZ #13013]
1528 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1529 depending n and resplen2 to catch cases where answer
1530 equals answerp2.
1531
c93ec1f0
CD
15322012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1533
1534 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1535 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1536
37db69de
MF
15372012-11-29 Mike Frysinger <vapier@gentoo.org>
1538
1539 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1540
e10c4e4f
RM
15412012-11-29 Roland McGrath <roland@hack.frob.com>
1542
1543 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1544
2af1b328
JL
15452012-11-28 Jeff Law <law@redhat.com>
1546
1547 [BZ #13761]
1548 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1549 dataset_temporary. Track alloca usage into alloca_used.
1550 If dataset is large allocate and release it via malloc/free.
1551
111db5b1
FW
15522012-06-04 Florian Weimer <fweimer@redhat.com>
1553
f06cc227 1554 [BZ #14197]
111db5b1
FW
1555 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1556
dd694abd
DM
15572012-11-28 David S. Miller <davem@davemloft.net>
1558
1559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1560
9984dd01
JM
15612012-11-28 Joseph Myers <joseph@codesourcery.com>
1562
1563 [BZ #14803]
1564 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1565 of pi/2 rounded to nearest to 64 bits.
1566 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1567 nearest to 64 bits.
1568 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1569 bits.
1570
14bc93a9
JL
15712012-11-28 Jeff Law <law@redhat.com>
1572 Martin Osvald <mosvald@redhat.com>
1573
1574 [BZ #14889]
1575 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1576 * sunrpc/svc.c: Include time.h.
1577 (__svc_accept_failed): New function.
1578 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1579 any reason other than EINTR, call __svc_accept_failed.
1580 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1581 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1582
e3c6aa3a
AS
15832012-11-28 Andreas Schwab <schwab@suse.de>
1584
1585 * scripts/abilist.awk: Also handle indirect functions in .opd
1586 section.
1587
1bead169
JM
15882012-11-28 Joseph Myers <joseph@codesourcery.com>
1589
1590 [BZ #13881]
1591 * sysdeps/x86/fpu/powl_helper.c: New file.
1592 * sysdeps/x86/fpu/Makefile: Likewise.
1593 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1594 (p3): New object.
1595 (__ieee754_powl): Use __powl_helper for finite arguments except
1596 integer exponents below 8.
1597 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1598 (p3): New object.
1599 (__ieee754_powl): Use __powl_helper for finite arguments except
1600 integer exponents below 8.
1601 * math/libm-test.inc (pow_test): Add more tests and enable some
1602 previously disabled tests.
1603 * sysdeps/i386/fpu/libm-test-ulps: Update.
1604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1605
0817d63d
SP
16062012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1607 Carlos O'Donell <carlos_odonell@mentor.com>
1608
1609 * nss/makedb.c (is_prime): Assert that input is odd and greater
1610 than 4. Note that fact in a comment too.
1611 (next_prime): Add 4 to input.
1612
de2fd463
SP
16132012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1614
1615 [BZ #11741]
1616 * libio/Makefile (tests): Add test case tst-fwrite-error.
1617 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1618 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1619 * libio/tst-fwrite-error.c: New test case.
1620
c515fb51
L
16212012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1622
1623 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1624 before casting to void *.
1625 * include/libc-internal.h (__pointer_type): New macro.
1626 (__integer_if_pointer_type_sub): Likewise.
1627 (__integer_if_pointer_type): Likewise.
1628 (cast_to_integer): Likewise.
1629 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1630 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1631 before casting to atomic64_t.
1632 (atomic_exchange_acq): Likewise.
1633 (__arch_exchange_and_add_body): Likewise.
1634 (__arch_add_body): Likewise.
1635 (atomic_add_negative): Likewise.
1636 (atomic_add_zero): Likewise.
1637
4cf77aa9
JM
16382012-11-26 Joseph Myers <joseph@codesourcery.com>
1639
1640 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1641 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1642 (add_fdes): Likewise.
1643 (linear_search_fdes): Likewise.
1644 (binary_search_unencoded_fdes): Likewise.
1645
d260b3b4
AS
16462012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1647
1648 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1649
67060746
AC
16502012-11-24 Adam Conrad <adconrad@0c3.net>
1651
1652 * configure.in: Autodetect C++ header directories.
1653 * configure: Regenerated.
1654
800938a1
MF
16552012-11-23 Mike Frysinger <vapier@gentoo.org>
1656
1657 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1658
4e6e34e6
AS
16592012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1660
1661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1662
7c7feb47
JM
16632012-11-22 Joseph Myers <joseph@codesourcery.com>
1664
7184dcdf
JM
1665 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1666 LDBL_MANT_DIG == 106]: Disable some tests.
1667 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1668 Likewise.
1669 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1670 Likewise.
1671
0a42601f
JM
1672 [BZ #14871]
1673 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1674 input for small inputs. Return +/- pi/2 for large inputs.
1675 * math/libm-test.inc (atan_test): Add more tests.
1676
79c9b9fe
JM
1677 * sysdeps/generic/unwind-dw2-fde-glibc.c
1678 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1679 __attribute__ ((unused)).
1680
c60d3bf2
JM
1681 [BZ #14645]
1682 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1683 x * y if x and y are nonzero and z is zero.
1684
ef1e0867
JM
1685 [BZ #14811]
1686 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1687 nonzero exponents with absolute value below 0x1p-117 to +/-
1688 0x1p-117.
1689
1468ded3
JM
1690 [BZ #14869]
1691 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1692 up arguments below 2**-450, not just those below 2**-500.
1693 * math/libm-test.inc (hypot_test): Add another test.
1694
8e27e3cc
JM
1695 [BZ #14868]
1696 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1697 Return a+b for ratio over 2**120, not 2**60.
1698 * math/libm-test.inc (hypot_test): Add another test.
1699
c9c0279b
JM
1700 * math/libm-test.inc (clog_test): Use
1701 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1702 (clog10_test): Likewise.
1703
7c7feb47
JM
1704 [BZ #6778]
1705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1706
fff1530e
AS
17072012-11-22 Andreas Schwab <schwab@suse.de>
1708
1709 * sysdeps/i386/fpu/libm-test-ulps: Update.
1710
94558d30
PT
17112012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1712
1713 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1714 printf output with newline.
1715
7e1be741
L
17162012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1717
6bfea974
L
1718 [BZ #14865]
1719 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1720 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1721 -z nodlopen, -z initfirst and -z execstack support.
1722 * configure: Regenerated.
1723
7e1be741
L
1724 * elf/elf.h (DF_1_NODIRECT): New macro.
1725 (DF_1_IGNMULDEF): Likewise.
1726 (DF_1_NOKSYMS): Likewise.
1727 (DF_1_NOHDR): Likewise.
1728 (DF_1_EDITED): Likewise.
1729 (DF_1_NORELOC): Likewise.
1730 (DF_1_SYMINTPOSE): Likewise.
1731 (DF_1_GLOBAUDIT): Likewise.
1732 (DF_1_SINGLETON): Likewise.
1733 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1734 DT_1_SUPPORTED_MASK bits.
1735 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1736
105ce2ce
CD
17372012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1738
1739 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1740
123be9de
TS
17412012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1742
d072f3f7
TS
1743 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1744 macro.
1745
123be9de
TS
1746 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1747 (sendmmsg): Move declarations...
1748 * socket/sys/socket.h: ... here.
1749 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1750 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1751 include it from...
1752 * socket/recvmmsg.c: ... this new file.
1753 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1754 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1755 definition of __sendmmsg hidden.
1756 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1757 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1758 Move ENOSYS stub into and include it from...
1759 * socket/sendmmsg.c: ... this new file.
1760 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1761 (sysdep_routines): Move recvmmsg and sendmmsg...
1762 * socket/Makefile (routines): ... here.
1763 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1764 (GLIBC_PRIVATE): Add __sendmmsg.
1765 * include/sys/socket.h (__sendmmsg): Add declarations.
1766 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1767 sendmmsg.
1768
cf9a5d18
JM
17692012-11-20 Joseph Myers <joseph@codesourcery.com>
1770
1771 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1772 variable I1 with __attribute__ ((unused)).
1773 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1774
ecd4caf9
JM
17752012-11-19 Joseph Myers <joseph@codesourcery.com>
1776
be14d48f
JM
1777 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1778 DUMMY variables with __attribute__ ((unused)).
1779
ecd4caf9
JM
1780 * bits/byteswap.h: Include <bits/types.h>.
1781 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1782
986cab95
PT
17832012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1784
1785 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1786 string_t. Do not manually set errno.
1787 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1788 length with __strnlen. Make sure to both set errno and return it on
1789 failure.
1790
6d33cc9d
DM
17912012-11-19 David S. Miller <davem@davemloft.net>
1792
1793 With help from Joseph Myers.
1794 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1795 very large arguments properly.
1796 * math/libm-test.inc (atan_test): New tests.
1797 (atan2_test): New tests.
1798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1800
ee663277
JM
18012012-11-19 Joseph Myers <joseph@codesourcery.com>
1802
877f2d8e
JM
1803 [BZ #14856]
1804 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1805 Define to 3.
1806
116fc08a
JM
1807 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1808 [POSIX] (EADDRNOTAVAIL): Likewise.
1809 [POSIX] (EAFNOSUPPORT): Likewise.
1810 [POSIX] (EALREADY): Likewise.
1811 [POSIX] (ECONNABORTED): Likewise.
1812 [POSIX] (ECONNREFUSED): Likewise.
1813 [POSIX] (ECONNRESET): Likewise.
1814 [POSIX] (EDESTADDRREQ): Likewise.
1815 [POSIX] (EDQUOT): Likewise.
1816 [POSIX] (EHOSTUNREACH): Likewise.
1817 [POSIX] (EIDRM): Likewise.
1818 [POSIX] (EISCONN): Likewise.
1819 [POSIX] (ELOOP): Likewise.
1820 [POSIX] (EMULTIHOP): Likewise.
1821 [POSIX] (ENETDOWN): Likewise.
1822 [POSIX] (ENETUNREACH): Likewise.
1823 [POSIX] (ENOBUFS): Likewise.
1824 [POSIX] (ENODATA): Likewise.
1825 [POSIX] (ENOLINK): Likewise.
1826 [POSIX] (ENOMSG): Likewise.
1827 [POSIX] (ENOPROTOOPT): Likewise.
1828 [POSIX] (ENOSR): Likewise.
1829 [POSIX] (ENOSTR): Likewise.
1830 [POSIX] (ENOTCONN): Likewise.
1831 [POSIX] (ENOTSOCK): Likewise.
1832 [POSIX] (EOPNOTSUPP): Likewise.
1833 [POSIX] (EOVERFLOW): Likewise.
1834 [POSIX] (EPROTO): Likewise.
1835 [POSIX] (EPROTONOSUPPORT): Likewise.
1836 [POSIX] (EPROTOTYPE): Likewise.
1837 [POSIX] (ESTALE): Likewise.
1838 [POSIX] (ETIME): Likewise.
1839 [POSIX] (ETXTBSY): Likewise.
1840 [POSIX] (EWOULDBLOCK): Likewise.
1841 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1842 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1843 [POSIX] (SEEK_CUR): Likewise.
1844 [POSIX] (SEEK_END): Likewise.
1845 [POSIX || UNIX98] (mode_t): Do not require.
1846 [POSIX] (off_t): Likewise.
1847 [POSIX] (pid_t): Likewise.
1848 [POSIX] (sys/stat.h): Do not allow header.
1849 [POSIX] (unistd.h): Likewise.
1850 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1851 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1852 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1853 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1854 require.
1855 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1856 sigevent): Specify elements.
1857 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1858 entry.
1859 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1860 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1861
a483863f
JM
1862 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1863 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1864 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1865 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1866 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1867 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1868 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1869 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1870 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1871 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1872 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1873 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1874 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1875 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1876 Likewise.
1877 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1878 Likewise.
1879 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1880 Likewise.
1881 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1882 Likewise.
1883 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1884 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1885 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1886 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1887 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1888 Specify lower bound on value.
1889 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1890 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1891 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1892 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1893 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1894 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1895 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1896 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1897 value.
1898 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1899 as optional.
1900 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1901 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1902 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1903 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1904 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1905 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1906 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1907 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1908 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1909 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1910 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1911 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1912 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1913 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1914 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1915 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1916 entry.
1917 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1918 optional.
1919 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1920 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1921 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1922 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1923 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1924 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1925 Likewise.
1926 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1927 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1928 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1929 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1930 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1931 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1932 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1933 as optional.
1934 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1935 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1936 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1937 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1938 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1939 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1940 specify as optional.
1941 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1942 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1943 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1944 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1945 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1946 [XPG3] (NL_LANGMAX): Likewise.
1947 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1948 [POSIX || XPG3] (NL_NMAX): Likewise.
1949 [POSIX || XPG3] (NL_SETMAX): Likewise.
1950 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1951 [XPG3] (NZERO): Likewise.
1952 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1953 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1954 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1955 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1956 (REG_ERANGE): Expect.
1957 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1958 optional-constant.
1959 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1960 Use (void) in prototype.
1961 [POSIX] (*_t): Allow.
1962 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1963 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1964 (WRDE_BADVAL): Expect.
1965
5ba924e3
JM
1966 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1967 expect.
1968 [XPG3 || XPG4] (O_RSYNC): Likewise.
1969 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1970 Likewise.
1971 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1972 [XPG3 || XPG4] (sigqueue): Likewise.
1973 [XPG3 || XPG4] (sigtimedwait): Likewise.
1974 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1975 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1976 [XPG3 || XPG4] (vsnprintf): Likewise.
1977 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1978 Likewise.
1979 [XPG3 || XPG4] (blksize_t): Likewise.
1980 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1981 Likewise.
1982 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1983 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1984 [XPG3 || XPG4] (struct itimerspec): Likewise.
1985 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1986 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1987 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1988 [XPG3 || XPG4] (clockid_t): Likewise.
1989 [XPG3 || XPG4] (timer_t): Likewise.
1990 [XPG3 || XPG4] (clock_getres): Likewise.
1991 [XPG3 || XPG4] (clock_gettime): Likewise.
1992 [XPG3 || XPG4] (clock_settime): Likewise.
1993 [XPG3 || XPG4] (nanosleep): Likewise.
1994 [XPG3 || XPG4] (timer_create): Likewise.
1995 [XPG3 || XPG4] (timer_delete): Likewise.
1996 [XPG3 || XPG4] (timer_gettime): Likewise.
1997 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1998 [XPG3 || XPG4] (timer_settime): Likewise.
1999 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2000 [XPG3 || XPG4] (getlogin_r): Likewise.
2001 [XPG3 || XPG4] (pread): Likewise.
2002 [XPG3 || XPG4] (pthread_atfork): Likewise.
2003 [XPG3 || XPG4] (pwrite): Likewise.
2004
ee663277
JM
2005 [BZ #14835]
2006 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2007 <bits/siginfo.h>.
2008
942caa16
PT
20092012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2010
e19af380
PT
2011 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2012 finalizing MALLSTREAM.
2013
942caa16
PT
2014 * sysdeps/mach/hurd/syncfs.c: New file.
2015
cfde9b46
SP
20162012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2017
2018 [BZ #14719]
2019 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2020 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2021 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2022 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2023 (_nss_dns_gethostbyname4_r): Likewise.
2024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2025 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2026
f6da27e5
PH
20272012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2028
2029 [BZ #13763]
2030 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2031
6665d4a2
SM
20322012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2033
1f51ee92
SM
2034 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2035 * elf/cache.c (print_entry): Print ",AArch64" for
2036 FLAG_AARCH64_LIB64
2037
6665d4a2
SM
2038 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2039 * elf/cache.c (print_entry): Print ",hard-float" for
2040 FLAG_ARM_LIBHF.
2041
05b227bd
DM
20422012-11-18 David S. Miller <davem@davemloft.net>
2043
2044 With help from Joseph Myers.
2045 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2046 cutoff to 2**-13.
2047 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2048 cutoff to 2**-25.
2049 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2050 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2051 small.
2052 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2053 * math/libm-test.inc (y0_test): New tests.
2054 (y1_test): New tests.
2055 * sysdeps/i386/fpu/libm-test-ulps: Update.
2056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2058
786b0b67
AS
20592012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2060
2061 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2062 64-bit targets.
2063 * configure: Regenerated.
2064
8e18b86d
DM
20652012-11-17 David S. Miller <davem@davemloft.net>
2066
2067 [BZ #14811]
2068 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2069 nonzero exponents with absolute value below 0x1p-128 to +/-
2070 0x1p-128.
2071
531f1ae0
JM
20722012-11-17 Joseph Myers <joseph@codesourcery.com>
2073
12df29e2
JM
2074 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2075
150dc1a0
JM
2076 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2077
531f1ae0
JM
2078 * posix/getconf-speclist.c: New file.
2079 * posix/posix-envs.def: Likewise.
2080 * posix/confstr.c (START_ENV_GROUP): New macro.
2081 (END_ENV_GROUP): Likewise.
2082 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2083 (KNOWN_PRESENT_ENV_STRING): Likewise.
2084 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2085 (UNKNOWN_ENVIRONMENT): Likewise.
2086 (confstr): Include posix-envs.def instead of handling
2087 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2088 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2089 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2090 (END_ENV_GROUP): Likewise.
2091 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2092 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2093 (UNKNOWN_ENVIRONMENT): Likewise.
2094 (__sysconf): Include posix-envs.def instead of handling associated
2095 cases directly here.
2096 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2097 preprocessing getconf-speclist.c rather than running getconf or
2098 generating empty file.
2099
a93f9cbc
PT
21002012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2101
2102 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2103
d64d9f87
AL
21042012-11-16 Andrej Lajovic <natrij@gmail.com>
2105
2106 [BZ #14672]
2107 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2108
447885eb
DM
21092012-11-16 David S. Miller <davem@davemloft.net>
2110
2111 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2112 smaller than LDBL_EPSILON/2.0L, just return xm1.
2113
bcbf9830
L
21142012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2115
2116 * elf/tst-array1.c (init): Set constructor priority to 1000.
2117 (fini): Set destructor priority to 1000.
2118 * elf/tst-array2dep.c: Likewise.
2119
2b766585
SP
21202012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2121
2122 [BZ #11741]
2123 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2124 (_IO_new_file_xsputn): Also return EOF if none of the input
2125 data was written when overflow failed.
2126 * libio/iopadn.c (_IO_padn): Likewise.
2127 * libio/iowpadn.c (_IO_wpadn): Likewise.
2128 * stdio-common/tst-put-error.c: Add copyright notice.
2129 (do_test): Add case for printing padded string.
2130 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2131 _IO_padn returned error.
2132 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2133 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2134 return EOF.
2135
b1848fde
SP
21362012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2137
2138 * libio/libioP.h: Add comment note that the references to C++
2139 bits are now obsolete.
2140
2fd89785
MS
21412012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2142
2143 * math/libm-test.inc (check_complex): Use asprintf.
2144
e3ea5409
JM
21452012-11-14 Joseph Myers <joseph@codesourcery.com>
2146
2147 * debug/pcprofiledump.c (print_version): Update copyright year.
2148 * malloc/memusagestat.c (print_version): Likewise.
2149
2e64d265
L
21502012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2151
2152 [BZ #14831]
2153 * elf/Makefile (tests): Add tst-audit8.
2154 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2155 ($(objpfx)tst-audit8.out): New target.
2156 (tst-audit8-ENV): New variable.
2157 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2158 audit if l_reloc_result is NULL.
2159 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2160 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2161 * elf/tst-audit8.c: New file.
2162
c485e4d2
MS
21632012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2164
2165 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2166 * misc/Makefile (CFLAGS-select.c): Define.
2167 * posix/Makefile (CFLAGS-pause.c): Define.
2168
3a0d900a
DM
21692012-11-13 David S. Miller <davem@davemloft.net>
2170
2171 * crypt/Makefile: Move test targets after toplevel Rules
2172 inclusion. Grab any necessary sysdep routines when linking.
2173 * crypt/md5.c (md5_process_block): Remove define, we will always
2174 name it __md5_process_block.
2175 (md5_finish_ctx): Update md5_process_block call.
2176 (md5_stream): Likewise.
2177 (md5_process_bytes): Likewise.
2178 (md5_process_block): Rename to __md5_process_block and move to ...
2179 * crypt/md5-block.c: ... here.
2180 * crypt/sha256.c (sha256_process_block): Move to ...
2181 * crypt/sha256-block.c: ... here.
2182 * crypt/sha512.c (sha512_process_block): Move to ...
2183 * crypt/sha512-block.c: ... here.
2184 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2185 path.
2186 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2187 * sysdeps/sparc/sparc64/multiarch/Makefile
2188 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2189 crypt subdir.
2190 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2191 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2192 multiarch changes.
2193 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2194 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2195 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2196 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2197 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2198 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2199 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2200 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2202 file.
2203 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2204 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2205 file.
2206 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2207
8ca89318
JM
22082012-11-13 Joseph Myers <joseph@codesourcery.com>
2209
e27d476a
JM
2210 * timezone/tzselect.ksh: Update from tzcode git revision
2211 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2212 * timezone/zdump.c: Likewise.
2213 * timezone/zic.c: Likewise.
2214 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2215 in TZVERSION setting, not $(PKGVERSION).
2216 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2217 REPORT_BUGS_TO settings.
2218
8ca89318
JM
2219 [BZ #14838]
2220 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2221 macro.
2222
47594329
MS
22232012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2224
2225 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2226 detection to immediately after _FP_ROUND().
2227 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2228 bits are 0.
2229
640ac3f1
DM
22302012-11-11 David S. Miller <davem@davemloft.net>
2231
2232 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2233 inttypes.h
2234 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2235 __close rather than their public counterparts.
2236
3d2577bb
JM
22372012-11-10 Joseph Myers <joseph@codesourcery.com>
2238
2239 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2240 file.
2241 [UNIX98] (sem_timedwait): Do not expect.
2242 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2243 [XPG4 || UNIX98] (sockatmark): Do not expect.
2244 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2245 (clock_getcpuclockid): Do not expect.
2246 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2247 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2248 Do not expect.
2249 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2250 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2251 [UNIX98] (vwscanf): Likewise.
2252 [UNIX98] (vswscanf): Likewise.
2253
fb1ae1ee
JM
22542012-11-09 Joseph Myers <joseph@codesourcery.com>
2255
9ec6f8bd
JM
2256 * timezone/version.h: Remove file.
2257 * timezone/README: Do not refer to version.h.
2258 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2259 $(objpfx)version.h.
2260 ($(objpfx)zdump.o): Likewise.
c3f81911 2261 ($(objpfx)version.h): New target.
9ec6f8bd 2262
0aa8f8a1
JM
2263 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2264 2012i.
2265 * timezone/README: Don't mention modification to tzselect.ksh.
2266 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2267 work on unmodified tzselect.ksh. Substitute version numbers in
2268 tzselect.ksh.
2269
4e87147f
JM
2270 * Makefile (format-me): Remove.
2271 (INSTALL): Adjust indentation. Use commands directly instead of
2272 using $(format-me).
2273
8b748aed
JM
2274 * aclocal.m4 (ACX_PKGVERSION): New macro.
2275 (ACX_BUGURL): Likewise.
2276 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2277 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2278 (REPORT_BUGS_TO): Likewise.
2279 * configure: Regenerated.
2280 * config.h.in (PKGVERSION): New macro.
2281 (REPORT_BUGS_TO): Likewise.
2282 * config.make.in (PKGVERSION): New variable.
2283 (PKGVERSION_TEXI): Likewise.
2284 (REPORT_BUGS_TO): Likewise.
2285 (REPORT_BUGS_TEXI): Likewise.
2286 * Makefile (format-me): Use -I$(common-objpfx)manual.
2287 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2288 ($(common-objpfx)manual/%): New target.
2289 (manual/%): Remove target.
2290 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2291 (print_version): Use PKGVERSION.
2292 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2293 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2294 and REPORT_BUGS_TO.
2295 ($(objpfx)xtrace): Likewise.
2296 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2297 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2298 (print_version): Use PKGVERSION.
2299 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2300 (do_version): Use PKGVERSION.
2301 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2302 REPORT_BUGS_TO.
2303 (common-ldd-rewrite): Likewise.
2304 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2305 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2306 (print_version): Use PKGVERSION.
2307 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2308 * elf/pldd.c (argp_program_bug_address): Remove variable.
2309 (more_help): New function.
2310 (argp): Use more_help.
2311 (print_version): Use PKGVERSION.
2312 * elf/sln.c (main): Use PKGVERSION.
2313 (usage): Use REPORT_BUGS_TO.
2314 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2315 (top level): Use PKGVERSION.
2316 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2317 (print_version): Use PKGVERSION.
2318 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2319 (print_version): Use PKGVERSION.
2320 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2321 (print_version): Use PKGVERSION.
2322 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2323 (print_version): Use PKGVERSION.
2324 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2325 (print_version): Use PKGVERSION.
2326 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2327 (print_version): Use PKGVERSION.
2328 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2329 and BUGURL.
2330 ($(objpfx)memusage): Likewise.
2331 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2332 (do_version): Use PKGVERSION.
2333 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2334 (print_version): Use PKGVERSION.
2335 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2336 ($PKGVERSION): New variable.
2337 ($REPORT_BUGS_TO): Likewise.
2338 (usage): Use $REPORT_BUGS_TO.
2339 (top level): Use $PKGVERSION.
2340 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2341 ($(objpfx)pkgvers.texi): New rule.
2342 ($(objpfx)stamp-pkgvers): Likewise.
2343 * manual/install.texi: Include pkgvers.texi.
2344 (--with-pkgversion): Document new configure option.
2345 (--with-bugurl): Likewise.
2346 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2347 than necessarily for this particular distribution. Use
2348 REPORT_BUGS_TO for where to report bugs.
2349 * INSTALL: Regenerated.
2350 * manual/libc.texinfo: Include pkgvers.texi.
2351 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2352 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2353 (print_version): Use PKGVERSION.
2354 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2355 (print_version): Use PKGVERSION.
2356 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2357 (print_version): Use PKGVERSION.
2358 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2359 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2360 macro.
2361 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2362 (print_version): Use PKGVERSION.
2363 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2364 (print_version): Use PKGVERSION.
2365 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2366 and PKGVERSION.
2367
92e4b6a9
JM
2368 * timezone/checktab.awk: Update from tzcode 2012i.
2369 * timezone/ialloc.c: Likewise.
2370 * timezone/private.h: Likewise.
2371 * timezone/scheck.c: Likewise.
2372 * timezone/tzfile.h: Likewise.
2373 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2374 (TZVERSION): Hardcode tzcode version number.
2375 * timezone/zdump.c: Update from tzcode 2012i.
2376 * timezone/zic.c: Likewise.
2377 * timezone/version.h: New file.
2378 * timezone/README: Describe version.h. Update upstream location.
2379
9bde902c
JM
2380 [BZ #14824]
2381 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2382 (mktemp): Enable declaration.
2383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2384 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2387 Likewise.
2388 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2389 Likewise.
2390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2391 Likewise.
2392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2393 Likewise.
2394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2395 Likewise.
2396 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2397 Likewise.
2398
fb1ae1ee
JM
2399 [BZ #14821]
2400 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2401 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2402 for copies of such integer values.
2403 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2404 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2405
2c1adbcb
AJ
24062012-11-09 Andreas Jaeger <aj@suse.de>
2407
2408 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2409 definitions and declarations that are provided by
2410 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2411
d0f8457e
AK
24122012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2413
3a235abb 2414 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2415 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2416 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2417 definition.
2418
57241e26
MS
24192012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2420
2421 * elf/elf.h: Update comment before AArch64 relocations.
2422
60e8270d
DM
24232012-11-07 David S. Miller <davem@davemloft.net>
2424
2425 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2426 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2427 (__start_context): Declare.
2428 (__makecontext_ret): Delete.
2429 (__makecontext): Hook up __start_context instead of
2430 __makecontext_ret.
2431 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2432 (sysdep_routines): Add __start_context when in stdlib.
2433
0fbb0fbc
JM
24342012-11-07 Joseph Myers <joseph@codesourcery.com>
2435
2436 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2437 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2438 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2439 hardcoded "nm".
2440 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2441 (READELF): New variable. Use it instead of hardcoded "readelf".
2442
eb48db7e
L
24432012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2444
2445 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2446 * sysdeps/x86/Makefile: Here.
2447 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2448 * sysdeps/x86/tst-xmmymm.sh: This.
2449
05bcf62a
JM
24502012-11-07 Joseph Myers <joseph@codesourcery.com>
2451
c4b6cf53
JM
2452 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2453 expectations.
2454 [UNIX98] (pthread_barrier_t): Do not expect.
2455 [UNIX98] (pthread_barrierattr_t): Likewise.
2456 [UNIX98] (pthread_spinlock_t): Likewise.
2457 [UNIX98] (pthread_barrier_destroy): Likewise.
2458 [UNIX98] (pthread_barrier_init): Likewise.
2459 [UNIX98] (pthread_barrier_wait): Likewise.
2460 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2461 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2462 [UNIX98] (pthread_barrierattr_init): Likewise.
2463 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2464 [UNIX98] (pthread_getcpuclockid): Likewise.
2465 [UNIX98] (pthread_mutex_timedlock): Likewise.
2466 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2467 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2468 [UNIX98] (pthread_sigmask): Likewise.
2469 [UNIX98] (pthread_spin_destroy): Likewise.
2470 [UNIX98] (pthread_spin_init): Likewise.
2471 [UNIX98] (pthread_spin_lock): Likewise.
2472 [UNIX98] (pthread_spin_trylock): Likewise.
2473 [UNIX98] (pthread_spin_unlock): Likewise.
2474 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2475 Do not expect.
2476 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2477 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2478 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2479 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2480 [XPG3 || XPG4] (pthread_key_t): Likewise.
2481 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2482 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2483 [XPG3 || XPG4] (pthread_once_t): Likewise.
2484 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2485 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2486 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2487 [XPG3 || XPG4] (pthread_t): Likewise.
2488
cbe6e120
JM
2489 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2490 not expect.
2491 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2492
1b126443
JM
2493 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2494 Change function return type to int.
2495
b961a573
JM
2496 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2497 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2498 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2499 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2500 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2501 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2502 [!POSIX] (posix_madvise): Likewise.
2503 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2504 && !UNIX98].
2505 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2506 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2507 (mode_t): Likewise.
2508 (posix_mem_offset): Likewise.
2509 (posix_typed_mem_get_info): Likewise.
2510 (posix_typed_mem_open): Likewise.
2511
9e188909
JM
2512 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2513 Change condition to [XOPEN2K8].
2514
05bcf62a
JM
2515 * conform/conformtest.pl: Preprocess allow-header data with -x c
2516 instead of from stdin.
2517 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2518 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2519 [C99-based standards] (cerfc): Likewise.
2520 [C99-based standards] (cexp2): Likewise.
2521 [C99-based standards] (cexpm1): Likewise.
2522 [C99-based standards] (clog10): Likewise.
2523 [C99-based standards] (clog1p): Likewise.
2524 [C99-based standards] (clog2): Likewise.
2525 [C99-based standards] (clgamma): Likewise.
2526 [C99-based standards] (ctgamma): Likewise.
2527 [C99-based standards] (cerff): Likewise.
2528 [C99-based standards] (cerfcf): Likewise.
2529 [C99-based standards] (cexp2f): Likewise.
2530 [C99-based standards] (cexpm1f): Likewise.
2531 [C99-based standards] (clog10f): Likewise.
2532 [C99-based standards] (clog1pf): Likewise.
2533 [C99-based standards] (clog2f): Likewise.
2534 [C99-based standards] (clgammaf): Likewise.
2535 [C99-based standards] (ctgammaf): Likewise.
2536 [C99-based standards] (cerfl): Likewise.
2537 [C99-based standards] (cerfcl): Likewise.
2538 [C99-based standards] (cexp2l): Likewise.
2539 [C99-based standards] (cexpm1l): Likewise.
2540 [C99-based standards] (clog10l): Likewise.
2541 [C99-based standards] (clog1pl): Likewise.
2542 [C99-based standards] (clog2l): Likewise.
2543 [C99-based standards] (clgammal): Likewise.
2544 [C99-based standards] (ctgammal): Likewise.
2545 * conform/data/inttypes.h-data [C99-based standards]: Include
2546 stdint.h-data. Remove all expectations for stdint.h contents.
2547 [C99-based standards] (PRI*): Do not allow.
2548 [C99-based standards] (SCN*): Likewise.
2549 [C99-based standards] (*_t): Likewise.
2550 [C99-based-standards] (PRId8): Expect macro.
2551 [C99-based-standards] (PRIi8): Likewise.
2552 [C99-based-standards] (PRIo8): Likewise.
2553 [C99-based-standards] (PRIu8): Likewise.
2554 [C99-based-standards] (PRIx8): Likewise.
2555 [C99-based-standards] (PRIX8): Likewise.
2556 [C99-based-standards] (SCNd8): Likewise.
2557 [C99-based-standards] (SCNi8): Likewise.
2558 [C99-based-standards] (SCNo8): Likewise.
2559 [C99-based-standards] (SCNu8): Likewise.
2560 [C99-based-standards] (SCNx8): Likewise.
2561 [C99-based-standards] (PRIdLEAST8): Likewise.
2562 [C99-based-standards] (PRIiLEAST8): Likewise.
2563 [C99-based-standards] (PRIoLEAST8): Likewise.
2564 [C99-based-standards] (PRIuLEAST8): Likewise.
2565 [C99-based-standards] (PRIxLEAST8): Likewise.
2566 [C99-based-standards] (PRIXLEAST8): Likewise.
2567 [C99-based-standards] (SCNdLEAST8): Likewise.
2568 [C99-based-standards] (SCNiLEAST8): Likewise.
2569 [C99-based-standards] (SCNoLEAST8): Likewise.
2570 [C99-based-standards] (SCNuLEAST8): Likewise.
2571 [C99-based-standards] (SCNxLEAST8): Likewise.
2572 [C99-based-standards] (PRIdFAST8): Likewise.
2573 [C99-based-standards] (PRIiFAST8): Likewise.
2574 [C99-based-standards] (PRIoFAST8): Likewise.
2575 [C99-based-standards] (PRIuFAST8): Likewise.
2576 [C99-based-standards] (PRIxFAST8): Likewise.
2577 [C99-based-standards] (PRIXFAST8): Likewise.
2578 [C99-based-standards] (SCNdFAST8): Likewise.
2579 [C99-based-standards] (SCNiFAST8): Likewise.
2580 [C99-based-standards] (SCNoFAST8): Likewise.
2581 [C99-based-standards] (SCNuFAST8): Likewise.
2582 [C99-based-standards] (SCNxFAST8): Likewise.
2583 [C99-based-standards] (PRId16): Likewise.
2584 [C99-based-standards] (PRIi16): Likewise.
2585 [C99-based-standards] (PRIo16): Likewise.
2586 [C99-based-standards] (PRIu16): Likewise.
2587 [C99-based-standards] (PRIx16): Likewise.
2588 [C99-based-standards] (PRIX16): Likewise.
2589 [C99-based-standards] (SCNd16): Likewise.
2590 [C99-based-standards] (SCNi16): Likewise.
2591 [C99-based-standards] (SCNo16): Likewise.
2592 [C99-based-standards] (SCNu16): Likewise.
2593 [C99-based-standards] (SCNx16): Likewise.
2594 [C99-based-standards] (PRIdLEAST16): Likewise.
2595 [C99-based-standards] (PRIiLEAST16): Likewise.
2596 [C99-based-standards] (PRIoLEAST16): Likewise.
2597 [C99-based-standards] (PRIuLEAST16): Likewise.
2598 [C99-based-standards] (PRIxLEAST16): Likewise.
2599 [C99-based-standards] (PRIXLEAST16): Likewise.
2600 [C99-based-standards] (SCNdLEAST16): Likewise.
2601 [C99-based-standards] (SCNiLEAST16): Likewise.
2602 [C99-based-standards] (SCNoLEAST16): Likewise.
2603 [C99-based-standards] (SCNuLEAST16): Likewise.
2604 [C99-based-standards] (SCNxLEAST16): Likewise.
2605 [C99-based-standards] (PRIdFAST16): Likewise.
2606 [C99-based-standards] (PRIiFAST16): Likewise.
2607 [C99-based-standards] (PRIoFAST16): Likewise.
2608 [C99-based-standards] (PRIuFAST16): Likewise.
2609 [C99-based-standards] (PRIxFAST16): Likewise.
2610 [C99-based-standards] (PRIXFAST16): Likewise.
2611 [C99-based-standards] (SCNdFAST16): Likewise.
2612 [C99-based-standards] (SCNiFAST16): Likewise.
2613 [C99-based-standards] (SCNoFAST16): Likewise.
2614 [C99-based-standards] (SCNuFAST16): Likewise.
2615 [C99-based-standards] (SCNxFAST16): Likewise.
2616 [C99-based-standards] (PRId32): Likewise.
2617 [C99-based-standards] (PRIi32): Likewise.
2618 [C99-based-standards] (PRIo32): Likewise.
2619 [C99-based-standards] (PRIu32): Likewise.
2620 [C99-based-standards] (PRIx32): Likewise.
2621 [C99-based-standards] (PRIX32): Likewise.
2622 [C99-based-standards] (SCNd32): Likewise.
2623 [C99-based-standards] (SCNi32): Likewise.
2624 [C99-based-standards] (SCNo32): Likewise.
2625 [C99-based-standards] (SCNu32): Likewise.
2626 [C99-based-standards] (SCNx32): Likewise.
2627 [C99-based-standards] (PRIdLEAST32): Likewise.
2628 [C99-based-standards] (PRIiLEAST32): Likewise.
2629 [C99-based-standards] (PRIoLEAST32): Likewise.
2630 [C99-based-standards] (PRIuLEAST32): Likewise.
2631 [C99-based-standards] (PRIxLEAST32): Likewise.
2632 [C99-based-standards] (PRIXLEAST32): Likewise.
2633 [C99-based-standards] (SCNdLEAST32): Likewise.
2634 [C99-based-standards] (SCNiLEAST32): Likewise.
2635 [C99-based-standards] (SCNoLEAST32): Likewise.
2636 [C99-based-standards] (SCNuLEAST32): Likewise.
2637 [C99-based-standards] (SCNxLEAST32): Likewise.
2638 [C99-based-standards] (PRIdFAST32): Likewise.
2639 [C99-based-standards] (PRIiFAST32): Likewise.
2640 [C99-based-standards] (PRIoFAST32): Likewise.
2641 [C99-based-standards] (PRIuFAST32): Likewise.
2642 [C99-based-standards] (PRIxFAST32): Likewise.
2643 [C99-based-standards] (PRIXFAST32): Likewise.
2644 [C99-based-standards] (SCNdFAST32): Likewise.
2645 [C99-based-standards] (SCNiFAST32): Likewise.
2646 [C99-based-standards] (SCNoFAST32): Likewise.
2647 [C99-based-standards] (SCNuFAST32): Likewise.
2648 [C99-based-standards] (SCNxFAST32): Likewise.
2649 [C99-based-standards] (PRId64): Likewise.
2650 [C99-based-standards] (PRIi64): Likewise.
2651 [C99-based-standards] (PRIo64): Likewise.
2652 [C99-based-standards] (PRIu64): Likewise.
2653 [C99-based-standards] (PRIx64): Likewise.
2654 [C99-based-standards] (PRIX64): Likewise.
2655 [C99-based-standards] (SCNd64): Likewise.
2656 [C99-based-standards] (SCNi64): Likewise.
2657 [C99-based-standards] (SCNo64): Likewise.
2658 [C99-based-standards] (SCNu64): Likewise.
2659 [C99-based-standards] (SCNx64): Likewise.
2660 [C99-based-standards] (PRIdLEAST64): Likewise.
2661 [C99-based-standards] (PRIiLEAST64): Likewise.
2662 [C99-based-standards] (PRIoLEAST64): Likewise.
2663 [C99-based-standards] (PRIuLEAST64): Likewise.
2664 [C99-based-standards] (PRIxLEAST64): Likewise.
2665 [C99-based-standards] (PRIXLEAST64): Likewise.
2666 [C99-based-standards] (SCNdLEAST64): Likewise.
2667 [C99-based-standards] (SCNiLEAST64): Likewise.
2668 [C99-based-standards] (SCNoLEAST64): Likewise.
2669 [C99-based-standards] (SCNuLEAST64): Likewise.
2670 [C99-based-standards] (SCNxLEAST64): Likewise.
2671 [C99-based-standards] (PRIdFAST64): Likewise.
2672 [C99-based-standards] (PRIiFAST64): Likewise.
2673 [C99-based-standards] (PRIoFAST64): Likewise.
2674 [C99-based-standards] (PRIuFAST64): Likewise.
2675 [C99-based-standards] (PRIxFAST64): Likewise.
2676 [C99-based-standards] (PRIXFAST64): Likewise.
2677 [C99-based-standards] (SCNdFAST64): Likewise.
2678 [C99-based-standards] (SCNiFAST64): Likewise.
2679 [C99-based-standards] (SCNoFAST64): Likewise.
2680 [C99-based-standards] (SCNuFAST64): Likewise.
2681 [C99-based-standards] (SCNxFAST64): Likewise.
2682 [C99-based-standards] (PRIdMAX): Likewise.
2683 [C99-based-standards] (PRIiMAX): Likewise.
2684 [C99-based-standards] (PRIoMAX): Likewise.
2685 [C99-based-standards] (PRIuMAX): Likewise.
2686 [C99-based-standards] (PRIxMAX): Likewise.
2687 [C99-based-standards] (PRIXMAX): Likewise.
2688 [C99-based-standards] (SCNdMAX): Likewise.
2689 [C99-based-standards] (SCNiMAX): Likewise.
2690 [C99-based-standards] (SCNoMAX): Likewise.
2691 [C99-based-standards] (SCNuMAX): Likewise.
2692 [C99-based-standards] (SCNxMAX): Likewise.
2693 [C99-based-standards] (PRIdPTR): Likewise.
2694 [C99-based-standards] (PRIiPTR): Likewise.
2695 [C99-based-standards] (PRIoPTR): Likewise.
2696 [C99-based-standards] (PRIuPTR): Likewise.
2697 [C99-based-standards] (PRIxPTR): Likewise.
2698 [C99-based-standards] (PRIXPTR): Likewise.
2699 [C99-based-standards] (SCNdPTR): Likewise.
2700 [C99-based-standards] (SCNiPTR): Likewise.
2701 [C99-based-standards] (SCNoPTR): Likewise.
2702 [C99-based-standards] (SCNuPTR): Likewise.
2703 [C99-based-standards] (SCNxPTR): Likewise.
2704 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2705 allow.
2706 * conform/data/stdint.h-data: Update comments to clarify
2707 requirements.
2708 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2709 type.
2710 [C99-based standards] (INT8_MAX): Likewise.
2711 [C99-based standards] (INT16_MIN): Likewise.
2712 [C99-based standards] (INT16_MAX): Likewise.
2713 [C99-based standards] (INT32_MIN): Likewise.
2714 [C99-based standards] (INT32_MAX): Likewise.
2715 [C99-based standards] (INT64_MIN): Likewise.
2716 [C99-based standards] (INT64_MAX): Likewise.
2717 [C99-based standards] (UINT8_MAX): Likewise.
2718 [C99-based standards] (UINT16_MAX): Likewise.
2719 [C99-based standards] (UINT32_MAX): Likewise.
2720 [C99-based standards] (UINT64_MAX): Likewise.
2721 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2722 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2723 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2724 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2725 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2726 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2727 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2728 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2729 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2730 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2731 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2732 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2733 [C99-based standards] (INT_FAST8_MIN): Likewise.
2734 [C99-based standards] (INT_FAST8_MAX): Likewise.
2735 [C99-based standards] (INT_FAST16_MIN): Likewise.
2736 [C99-based standards] (INT_FAST16_MAX): Likewise.
2737 [C99-based standards] (INT_FAST32_MIN): Likewise.
2738 [C99-based standards] (INT_FAST32_MAX): Likewise.
2739 [C99-based standards] (INT_FAST64_MIN): Likewise.
2740 [C99-based standards] (INT_FAST64_MAX): Likewise.
2741 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2742 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2743 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2744 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2745 [C99-based standards] (INTPTR_MIN): Likewise.
2746 [C99-based standards] (INTPTR_MAX): Likewise.
2747 [C99-based standards] (UINTPTR_MAX): Likewise.
2748 [C99-based standards] (INTMAX_MIN): Likewise.
2749 [C99-based standards] (INTMAX_MAX): Likewise.
2750 [C99-based standards] (UINTMAX_MAX): Likewise.
2751 [C99-based standards] (PTRDIFF_MIN): Likewise.
2752 [C99-based standards] (PTRDIFF_MAX): Likewise.
2753 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2754 [C99-based standards] (SIZE_MAX): Likewise.
2755 [C99-based standards] (WCHAR_MAX): Likewise.
2756 [C99-based standards] (WINT_MAX): Likewise.
2757 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2758 constraint on value.
2759 [C99-based standards] (WCHAR_MIN): Likewise.
2760 [C99-based standards] (WINT_MIN): Likewise.
2761 [C99-based standards] (*_t): Allow.
2762 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2763 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2764 Include math.h-data and complex.h-data. Remove all expectations
2765 of math.h and complex.h contents.
2766 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2767 at end of line.
2768 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2769 (struct tm): Expect tag.
2770 [C99-based-standards] (wcstof): Expect function.
2771 [C99-based-standards] (wcstold): Likewise.
2772 [C99-based-standards] (wcstoll): Likewise.
2773 [C99-based-standards] (wcstoull): Likewise.
2774 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2775 macro-int-constant. Specify type.
2776 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2777 constraint on value.
2778 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2779 Specify type.
2780 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2781 Specify value.
2782 [ISO C standards]: Do not allow headers.
2783 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2784 wcs[abcdefghijklmnopqrstuvwxyz]*.
2785 [ISO C standards] (*_t): Do not allow.
2786 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2787 Expect function.
2788 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2789 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2790 Specify type.
2791 [ISO C standards]: Do not allow headers.
2792 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2793 is[abcdefghijklmnopqrstuvwxyz]*.
2794 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2795 to[abcdefghijklmnopqrstuvwxyz]*.
2796 [ISO C standards] (*_t): Do not allow.
2797 * conform/data/stdalign.h-data: New file.
2798 * conform/data/stdbool.h-data: Likewise.
2799 * conform/data/stdnoreturn.h-data: Likewise.
2800
7514feb8
RM
28012012-11-07 Roland McGrath <roland@hack.frob.com>
2802
2803 [BZ #14815]
2804 * manual/filesys.texi (Directory Entries): Typo fix.
2805 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2806
19b2ecfc
MS
28072012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2808
2809 * elf/elf.h (EM_AARCH64): New macro.
2810 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2811 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2812 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2813 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2814 (R_AARCH64_TLSDESC): Likewise.
2815 (NT_ARM_TLS): Likewise.
2816 (NT_ARM_HW_BREAK): Likewise.
2817 (NT_ARM_HW_WATCH): Likewise.
2818
60e235ee
JM
28192012-11-07 Joseph Myers <joseph@codesourcery.com>
2820
2821 [BZ #14811]
2822 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2823 (__ieee754_powl): Saturate nonzero exponents with absolute value
2824 below 0x1p-79 to +/- 0x1p-79.
2825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2826 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2827 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2828 nonzero exponents with absolute value below 0x1p-32 to +/-
2829 0x1p-32.
2830 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2831 (__ieee754_powl): Saturate nonzero exponents with absolute value
2832 below 0x1p-79 to +/- 0x1p-79.
2833 * math/libm-test.inc (pow_test): Add more tests.
2834
0ab234b7
AK
28352012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2836
2837 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2838 _dl_s390_cap_flags with kernel. Increase string length.
2839 (_dl_s390_platforms): Add z196 and zEC12.
2840
45832f74
JM
28412012-11-07 Joseph Myers <joseph@codesourcery.com>
2842
2843 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2844 Change XOPEN21K to XOPEN2K.
2845
19218757
MK
28462012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2847
2848 * string/memmove.c: Use memcpy when possible.
2849
c5f45721
AJ
28502012-11-06 Andreas Jaeger <aj@suse.de>
2851
2852 * po/eo.po: Update from translation team.
2853
82477c28
JM
28542012-11-06 Joseph Myers <joseph@codesourcery.com>
2855
2856 [BZ #14793]
2857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2858 exponent and small x and y exponents, scale x or y up. Increase
2859 by 2 the exponent used in scaling up.
2860 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2861 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2862 * math/libm-test.inc (fma_test): Add more tests.
2863 (fma_test_towardzero): Likewise.
2864 (fma_test_downward): Likewise.
2865 (fma_test_upward): Likewise.
2866
99252c8c
JM
28672012-11-05 Joseph Myers <joseph@codesourcery.com>
2868
acfa885f
JM
2869 [BZ #14805]
2870 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2871 fenv_t *.
2872
99252c8c
JM
2873 [BZ #14801]
2874 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2875 namespace for names of struct fields.
2876 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2877 fenv_t fields.
2878 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2879 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2880
d6d98dea
ST
28812012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2882
2883 [BZ #3665]
2884 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2885
e10bb107
TS
28862012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2887
2888 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2889 PTR_DEMANGLE.
2890
2891 [BZ #5246]
2892 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2893 PTR_DEMANGLE.
2894
a0c2940d
JM
28952012-11-04 Joseph Myers <joseph@codesourcery.com>
2896
2897 [BZ #14797]
2898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2899 definitely overflow as x * y not x * y + z.
2900 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2902 * math/libm-test.inc (fma_test): Add more tests.
2903 (fma_test_towardzero): Likewise.
2904 (fma_test_downward): Likewise.
2905 (fma_test_upward): Likewise.
2906
b830319d
TS
29072012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2908
2909 [BZ #157]
2910
2911 * include/stub-tag.h: Remove file.
2912 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2913 '#include' of it.
2914 * manual/maint.texi (Porting): Don't reference it.
2915 * Makerules ($(objpfx)stubs): Likewise.
2916 * dirent/closedir.c: Don't include <stub-tag.h>.
2917 * dirent/dirfd.c: Likewise.
2918 * dirent/fdopendir.c: Likewise.
2919 * dirent/getdents.c: Likewise.
2920 * dirent/getdents64.c: Likewise.
2921 * dirent/opendir.c: Likewise.
2922 * dirent/readdir.c: Likewise.
2923 * dirent/readdir64.c: Likewise.
2924 * dirent/readdir64_r.c: Likewise.
2925 * dirent/readdir_r.c: Likewise.
2926 * dirent/rewinddir.c: Likewise.
2927 * dirent/seekdir.c: Likewise.
2928 * dirent/telldir.c: Likewise.
2929 * gmon/profil.c: Likewise.
2930 * grp/setgroups.c: Likewise.
2931 * inet/if_index.c: Likewise.
2932 * io/access.c: Likewise.
2933 * io/chdir.c: Likewise.
2934 * io/chmod.c: Likewise.
2935 * io/chown.c: Likewise.
2936 * io/close.c: Likewise.
2937 * io/dup.c: Likewise.
2938 * io/dup2.c: Likewise.
2939 * io/dup3.c: Likewise.
2940 * io/euidaccess.c: Likewise.
2941 * io/faccessat.c: Likewise.
2942 * io/fchdir.c: Likewise.
2943 * io/fchmod.c: Likewise.
2944 * io/fchmodat.c: Likewise.
2945 * io/fchown.c: Likewise.
2946 * io/fchownat.c: Likewise.
2947 * io/fcntl.c: Likewise.
2948 * io/flock.c: Likewise.
2949 * io/fstatfs.c: Likewise.
2950 * io/fstatfs64.c: Likewise.
2951 * io/fstatvfs.c: Likewise.
2952 * io/fstatvfs64.c: Likewise.
2953 * io/futimens.c: Likewise.
2954 * io/fxstat.c: Likewise.
2955 * io/fxstat64.c: Likewise.
2956 * io/fxstatat.c: Likewise.
2957 * io/fxstatat64.c: Likewise.
2958 * io/getcwd.c: Likewise.
2959 * io/isatty.c: Likewise.
2960 * io/lchmod.c: Likewise.
2961 * io/lchown.c: Likewise.
2962 * io/link.c: Likewise.
2963 * io/linkat.c: Likewise.
2964 * io/lseek.c: Likewise.
2965 * io/lseek64.c: Likewise.
2966 * io/lxstat64.c: Likewise.
2967 * io/mkdir.c: Likewise.
2968 * io/mkdirat.c: Likewise.
2969 * io/mkfifo.c: Likewise.
2970 * io/mkfifoat.c: Likewise.
2971 * io/open.c: Likewise.
2972 * io/open64.c: Likewise.
2973 * io/openat.c: Likewise.
2974 * io/openat64.c: Likewise.
2975 * io/pipe.c: Likewise.
2976 * io/pipe2.c: Likewise.
2977 * io/poll.c: Likewise.
2978 * io/posix_fadvise.c: Likewise.
2979 * io/posix_fadvise64.c: Likewise.
2980 * io/posix_fallocate.c: Likewise.
2981 * io/posix_fallocate64.c: Likewise.
2982 * io/read.c: Likewise.
2983 * io/readlink.c: Likewise.
2984 * io/readlinkat.c: Likewise.
2985 * io/rmdir.c: Likewise.
2986 * io/sendfile.c: Likewise.
2987 * io/sendfile64.c: Likewise.
2988 * io/statfs.c: Likewise.
2989 * io/statfs64.c: Likewise.
2990 * io/statvfs.c: Likewise.
2991 * io/statvfs64.c: Likewise.
2992 * io/symlink.c: Likewise.
2993 * io/symlinkat.c: Likewise.
2994 * io/ttyname.c: Likewise.
2995 * io/ttyname_r.c: Likewise.
2996 * io/umask.c: Likewise.
2997 * io/unlink.c: Likewise.
2998 * io/unlinkat.c: Likewise.
2999 * io/utime.c: Likewise.
3000 * io/utimensat.c: Likewise.
3001 * io/write.c: Likewise.
3002 * io/xmknod.c: Likewise.
3003 * io/xmknodat.c: Likewise.
3004 * io/xstat.c: Likewise.
3005 * io/xstat64.c: Likewise.
3006 * login/getpt.c: Likewise.
3007 * login/grantpt.c: Likewise.
3008 * login/unlockpt.c: Likewise.
3009 * math/e_acoshl.c: Likewise.
3010 * math/e_acosl.c: Likewise.
3011 * math/e_asinl.c: Likewise.
3012 * math/e_atan2l.c: Likewise.
3013 * math/e_atanhl.c: Likewise.
3014 * math/e_coshl.c: Likewise.
3015 * math/e_expl.c: Likewise.
3016 * math/e_fmodl.c: Likewise.
3017 * math/e_gammal_r.c: Likewise.
3018 * math/e_hypotl.c: Likewise.
3019 * math/e_j0l.c: Likewise.
3020 * math/e_j1l.c: Likewise.
3021 * math/e_jnl.c: Likewise.
3022 * math/e_lgammal_r.c: Likewise.
3023 * math/e_log10l.c: Likewise.
3024 * math/e_log2l.c: Likewise.
3025 * math/e_logl.c: Likewise.
3026 * math/e_powl.c: Likewise.
3027 * math/e_rem_pio2l.c: Likewise.
3028 * math/e_sinhl.c: Likewise.
3029 * math/e_sqrtl.c: Likewise.
3030 * math/fclrexcpt.c: Likewise.
3031 * math/fedisblxcpt.c: Likewise.
3032 * math/feenablxcpt.c: Likewise.
3033 * math/fegetenv.c: Likewise.
3034 * math/fegetexcept.c: Likewise.
3035 * math/fegetround.c: Likewise.
3036 * math/feholdexcpt.c: Likewise.
3037 * math/fesetenv.c: Likewise.
3038 * math/fesetround.c: Likewise.
3039 * math/feupdateenv.c: Likewise.
3040 * math/fgetexcptflg.c: Likewise.
3041 * math/fraiseexcpt.c: Likewise.
3042 * math/fsetexcptflg.c: Likewise.
3043 * math/ftestexcept.c: Likewise.
3044 * math/k_cosl.c: Likewise.
3045 * math/k_rem_pio2l.c: Likewise.
3046 * math/k_sinl.c: Likewise.
3047 * math/k_tanl.c: Likewise.
3048 * math/s_asinhl.c: Likewise.
3049 * math/s_atanl.c: Likewise.
3050 * math/s_cbrtl.c: Likewise.
3051 * math/s_erfl.c: Likewise.
3052 * math/s_expm1l.c: Likewise.
3053 * math/s_log1pl.c: Likewise.
3054 * math/s_tanhl.c: Likewise.
3055 * misc/acct.c: Likewise.
3056 * misc/brk.c: Likewise.
3057 * misc/chflags.c: Likewise.
3058 * misc/chroot.c: Likewise.
3059 * misc/fchflags.c: Likewise.
3060 * misc/fgetxattr.c: Likewise.
3061 * misc/flistxattr.c: Likewise.
3062 * misc/fremovexattr.c: Likewise.
3063 * misc/fsetxattr.c: Likewise.
3064 * misc/fsync.c: Likewise.
3065 * misc/ftruncate.c: Likewise.
3066 * misc/futimes.c: Likewise.
3067 * misc/futimesat.c: Likewise.
3068 * misc/getdomain.c: Likewise.
3069 * misc/getdtsz.c: Likewise.
3070 * misc/gethostid.c: Likewise.
3071 * misc/gethostname.c: Likewise.
3072 * misc/getloadavg.c: Likewise.
3073 * misc/getpagesize.c: Likewise.
3074 * misc/getsysstats.c: Likewise.
3075 * misc/getxattr.c: Likewise.
3076 * misc/gtty.c: Likewise.
3077 * misc/ioctl.c: Likewise.
3078 * misc/lgetxattr.c: Likewise.
3079 * misc/listxattr.c: Likewise.
3080 * misc/llistxattr.c: Likewise.
3081 * misc/lremovexattr.c: Likewise.
3082 * misc/lsetxattr.c: Likewise.
3083 * misc/lutimes.c: Likewise.
3084 * misc/madvise.c: Likewise.
3085 * misc/mincore.c: Likewise.
3086 * misc/mlock.c: Likewise.
3087 * misc/mlockall.c: Likewise.
3088 * misc/mmap.c: Likewise.
3089 * misc/mprotect.c: Likewise.
3090 * misc/msync.c: Likewise.
3091 * misc/munlock.c: Likewise.
3092 * misc/munlockall.c: Likewise.
3093 * misc/munmap.c: Likewise.
3094 * misc/preadv.c: Likewise.
3095 * misc/preadv64.c: Likewise.
3096 * misc/ptrace.c: Likewise.
3097 * misc/pwritev.c: Likewise.
3098 * misc/pwritev64.c: Likewise.
3099 * misc/readv.c: Likewise.
3100 * misc/reboot.c: Likewise.
3101 * misc/remap_file_pages.c: Likewise.
3102 * misc/removexattr.c: Likewise.
3103 * misc/revoke.c: Likewise.
3104 * misc/select.c: Likewise.
3105 * misc/setdomain.c: Likewise.
3106 * misc/setegid.c: Likewise.
3107 * misc/seteuid.c: Likewise.
3108 * misc/sethostid.c: Likewise.
3109 * misc/sethostname.c: Likewise.
3110 * misc/setregid.c: Likewise.
3111 * misc/setreuid.c: Likewise.
3112 * misc/setxattr.c: Likewise.
3113 * misc/sstk.c: Likewise.
3114 * misc/stty.c: Likewise.
3115 * misc/swapoff.c: Likewise.
3116 * misc/swapon.c: Likewise.
3117 * misc/sync.c: Likewise.
3118 * misc/syncfs.c: Likewise.
3119 * misc/syscall.c: Likewise.
3120 * misc/truncate.c: Likewise.
3121 * misc/ualarm.c: Likewise.
3122 * misc/usleep.c: Likewise.
3123 * misc/ustat.c: Likewise.
3124 * misc/utimes.c: Likewise.
3125 * misc/vhangup.c: Likewise.
3126 * misc/writev.c: Likewise.
3127 * posix/_exit.c: Likewise.
3128 * posix/alarm.c: Likewise.
3129 * posix/execve.c: Likewise.
3130 * posix/fexecve.c: Likewise.
3131 * posix/fork.c: Likewise.
3132 * posix/fpathconf.c: Likewise.
3133 * posix/getaddrinfo.c: Likewise.
3134 * posix/getegid.c: Likewise.
3135 * posix/geteuid.c: Likewise.
3136 * posix/getgid.c: Likewise.
3137 * posix/getgroups.c: Likewise.
3138 * posix/getlogin.c: Likewise.
3139 * posix/getlogin_r.c: Likewise.
3140 * posix/getpgid.c: Likewise.
3141 * posix/getpid.c: Likewise.
3142 * posix/getppid.c: Likewise.
3143 * posix/getresgid.c: Likewise.
3144 * posix/getresuid.c: Likewise.
3145 * posix/getsid.c: Likewise.
3146 * posix/getuid.c: Likewise.
3147 * posix/glob64.c: Likewise.
3148 * posix/nanosleep.c: Likewise.
3149 * posix/pathconf.c: Likewise.
3150 * posix/pause.c: Likewise.
3151 * posix/posix_madvise.c: Likewise.
3152 * posix/pread.c: Likewise.
3153 * posix/pread64.c: Likewise.
3154 * posix/pwrite.c: Likewise.
3155 * posix/pwrite64.c: Likewise.
3156 * posix/sched_getaffinity.c: Likewise.
3157 * posix/sched_getp.c: Likewise.
3158 * posix/sched_gets.c: Likewise.
3159 * posix/sched_primax.c: Likewise.
3160 * posix/sched_primin.c: Likewise.
3161 * posix/sched_rr_gi.c: Likewise.
3162 * posix/sched_setaffinity.c: Likewise.
3163 * posix/sched_setp.c: Likewise.
3164 * posix/sched_sets.c: Likewise.
3165 * posix/sched_yield.c: Likewise.
3166 * posix/setgid.c: Likewise.
3167 * posix/setlogin.c: Likewise.
3168 * posix/setpgid.c: Likewise.
3169 * posix/setresgid.c: Likewise.
3170 * posix/setresuid.c: Likewise.
3171 * posix/setsid.c: Likewise.
3172 * posix/setuid.c: Likewise.
3173 * posix/sleep.c: Likewise.
3174 * posix/spawni.c: Likewise.
3175 * posix/sysconf.c: Likewise.
3176 * posix/times.c: Likewise.
3177 * posix/wait.c: Likewise.
3178 * posix/wait3.c: Likewise.
3179 * posix/wait4.c: Likewise.
3180 * posix/waitpid.c: Likewise.
3181 * resolv/gai_sigqueue.c: Likewise.
3182 * resource/getpriority.c: Likewise.
3183 * resource/getrlimit.c: Likewise.
3184 * resource/getrusage.c: Likewise.
3185 * resource/nice.c: Likewise.
3186 * resource/setpriority.c: Likewise.
3187 * resource/setrlimit.c: Likewise.
3188 * resource/ulimit.c: Likewise.
3189 * rt/aio_cancel.c: Likewise.
3190 * rt/aio_fsync.c: Likewise.
3191 * rt/aio_read.c: Likewise.
3192 * rt/aio_sigqueue.c: Likewise.
3193 * rt/aio_suspend.c: Likewise.
3194 * rt/aio_write.c: Likewise.
3195 * rt/clock_getres.c: Likewise.
3196 * rt/clock_gettime.c: Likewise.
3197 * rt/clock_nanosleep.c: Likewise.
3198 * rt/clock_settime.c: Likewise.
3199 * rt/lio_listio.c: Likewise.
3200 * rt/mq_close.c: Likewise.
3201 * rt/mq_getattr.c: Likewise.
3202 * rt/mq_notify.c: Likewise.
3203 * rt/mq_open.c: Likewise.
3204 * rt/mq_receive.c: Likewise.
3205 * rt/mq_send.c: Likewise.
3206 * rt/mq_setattr.c: Likewise.
3207 * rt/mq_timedreceive.c: Likewise.
3208 * rt/mq_timedsend.c: Likewise.
3209 * rt/mq_unlink.c: Likewise.
3210 * rt/shm_open.c: Likewise.
3211 * rt/shm_unlink.c: Likewise.
3212 * rt/timer_create.c: Likewise.
3213 * rt/timer_delete.c: Likewise.
3214 * rt/timer_getoverr.c: Likewise.
3215 * rt/timer_gettime.c: Likewise.
3216 * rt/timer_settime.c: Likewise.
3217 * setjmp/__longjmp.c: Likewise.
3218 * setjmp/setjmp.c: Likewise.
3219 * signal/kill.c: Likewise.
3220 * signal/killpg.c: Likewise.
3221 * signal/raise.c: Likewise.
3222 * signal/sigaction.c: Likewise.
3223 * signal/sigaltstack.c: Likewise.
3224 * signal/sigblock.c: Likewise.
3225 * signal/sigignore.c: Likewise.
3226 * signal/sigintr.c: Likewise.
3227 * signal/signal.c: Likewise.
3228 * signal/sigpause.c: Likewise.
3229 * signal/sigpending.c: Likewise.
3230 * signal/sigqueue.c: Likewise.
3231 * signal/sigreturn.c: Likewise.
3232 * signal/sigset.c: Likewise.
3233 * signal/sigsetmask.c: Likewise.
3234 * signal/sigstack.c: Likewise.
3235 * signal/sigsuspend.c: Likewise.
3236 * signal/sigtimedwait.c: Likewise.
3237 * signal/sigvec.c: Likewise.
3238 * signal/sigwait.c: Likewise.
3239 * signal/sigwaitinfo.c: Likewise.
3240 * signal/sysv_signal.c: Likewise.
3241 * socket/accept.c: Likewise.
3242 * socket/accept4.c: Likewise.
3243 * socket/bind.c: Likewise.
3244 * socket/connect.c: Likewise.
3245 * socket/getpeername.c: Likewise.
3246 * socket/getsockname.c: Likewise.
3247 * socket/getsockopt.c: Likewise.
3248 * socket/isfdtype.c: Likewise.
3249 * socket/listen.c: Likewise.
3250 * socket/recv.c: Likewise.
3251 * socket/recvfrom.c: Likewise.
3252 * socket/recvmsg.c: Likewise.
3253 * socket/send.c: Likewise.
3254 * socket/sendmsg.c: Likewise.
3255 * socket/sendto.c: Likewise.
3256 * socket/setsockopt.c: Likewise.
3257 * socket/shutdown.c: Likewise.
3258 * socket/sockatmark.c: Likewise.
3259 * socket/socket.c: Likewise.
3260 * socket/socketpair.c: Likewise.
3261 * stdio-common/ctermid.c: Likewise.
3262 * stdio-common/cuserid.c: Likewise.
3263 * stdio-common/remove.c: Likewise.
3264 * stdio-common/rename.c: Likewise.
3265 * stdio-common/renameat.c: Likewise.
3266 * stdio-common/tempname.c: Likewise.
3267 * stdlib/getcontext.c: Likewise.
3268 * stdlib/makecontext.c: Likewise.
3269 * stdlib/setcontext.c: Likewise.
3270 * stdlib/swapcontext.c: Likewise.
3271 * stdlib/system.c: Likewise.
3272 * streams/fattach.c: Likewise.
3273 * streams/fdetach.c: Likewise.
3274 * streams/getmsg.c: Likewise.
3275 * streams/getpmsg.c: Likewise.
3276 * streams/putmsg.c: Likewise.
3277 * streams/putpmsg.c: Likewise.
3278 * sysdeps/unix/bsd/getpt.c: Likewise.
3279 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3280 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3281 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3283 Likewise.
3284 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3286 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3287 * sysvipc/msgctl.c: Likewise.
3288 * sysvipc/msgget.c: Likewise.
3289 * sysvipc/msgrcv.c: Likewise.
3290 * sysvipc/msgsnd.c: Likewise.
3291 * sysvipc/semctl.c: Likewise.
3292 * sysvipc/semget.c: Likewise.
3293 * sysvipc/semop.c: Likewise.
3294 * sysvipc/semtimedop.c: Likewise.
3295 * sysvipc/shmat.c: Likewise.
3296 * sysvipc/shmctl.c: Likewise.
3297 * sysvipc/shmdt.c: Likewise.
3298 * sysvipc/shmget.c: Likewise.
3299 * termios/tcdrain.c: Likewise.
3300 * termios/tcflow.c: Likewise.
3301 * termios/tcflush.c: Likewise.
3302 * termios/tcgetattr.c: Likewise.
3303 * termios/tcgetpgrp.c: Likewise.
3304 * termios/tcsendbrk.c: Likewise.
3305 * termios/tcsetattr.c: Likewise.
3306 * termios/tcsetpgrp.c: Likewise.
3307 * time/adjtime.c: Likewise.
3308 * time/clock.c: Likewise.
3309 * time/getitimer.c: Likewise.
3310 * time/gettimeofday.c: Likewise.
3311 * time/setitimer.c: Likewise.
3312 * time/settimeofday.c: Likewise.
3313 * time/stime.c: Likewise.
3314 * time/time.c: Likewise.
3315
33162012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3317
a20492cf
PT
3318 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3319 /usr/old/bin.
3320
72e182e3
PT
3321 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3322 instead of spaces.
3323 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3324
fbeafede
JM
33252012-11-03 Joseph Myers <joseph@codesourcery.com>
3326
5b5b04d6
JM
3327 [BZ #14796]
3328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3329 FE_TONEAREST before applying Dekker multiplication and Knuth
3330 addition. Clear inexact exceptions and check for exact zero
3331 results afterwards.
3332 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3333 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3334 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3335 * math/libm-test.inc (fma_test): Add more tests.
3336 (fma_test_towardzero): Likewise.
3337 (fma_test_downward): Likewise.
3338 (fma_test_upward): Likewise.
3339 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3340 function.
3341 (libc_fesetround): New macro.
3342 (libc_fesetroundf): Likewise.
3343 (libc_fesetroundl): Likewise.
3344 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3345 function.
3346 (libc_fesetround_387): Likewise.
3347 (libc_fesetroundf): New macro.
3348 (libc_fesetround): Likewise.
3349 (libc_fesetroundl): Likewise.
3350 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3351 function.
3352 (libc_fesetroundf): New macro.
3353 (libc_fesetround): Likewise.
3354 (libc_fesetroundl): Likewise.
3355 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3356 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3357 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3358 libm_hidden_ver.
3359 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3360 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3361 libm_hidden_def.
3362 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3363 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3364 libm_hidden_ver.
3365 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3366 libm_hidden_def.
3367
fbeafede
JM
3368 [BZ #3439]
3369 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3370 integer constant usable in #if and use that to give value to enum
3371 constant.
3372 (FE_DIVBYZERO): Likewise.
3373 (FE_UNDERFLOW): Likewise.
3374 (FE_OVERFLOW): Likewise.
3375 (FE_INVALID): Likewise.
3376 (FE_INVALID_SNAN): Likewise.
3377 (FE_INVALID_ISI): Likewise.
3378 (FE_INVALID_IDI): Likewise.
3379 (FE_INVALID_ZDZ): Likewise.
3380 (FE_INVALID_IMZ): Likewise.
3381 (FE_INVALID_COMPARE): Likewise.
3382 (FE_INVALID_SOFTWARE): Likewise.
3383 (FE_INVALID_SQRT): Likewise.
3384 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3385 (FE_TONEAREST): Likewise.
3386 (FE_TOWARDZERO): Likewise.
3387 (FE_UPWARD): Likewise.
3388 (FE_DOWNWARD): Likewise.
3389 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3390 (FE_DIVBYZERO): Likewise.
3391 (FE_OVERFLOW): Likewise.
3392 (FE_UNDERFLOW): Likewise.
3393 (FE_INEXACT): Likewise.
3394 (FE_TONEAREST): Likewise.
3395 (FE_DOWNWARD): Likewise.
3396 (FE_UPWARD): Likewise.
3397 (FE_TOWARDZERO): Likewise.
3398 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3399 (FE_UNDERFLOW): Likewise.
3400 (FE_OVERFLOW): Likewise.
3401 (FE_DIVBYZERO): Likewise.
3402 (FE_INVALID): Likewise.
3403 (FE_TONEAREST): Likewise.
3404 (FE_TOWARDZERO): Likewise.
3405 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3406 (FE_OVERFLOW): Likewise.
3407 (FE_UNDERFLOW): Likewise.
3408 (FE_DIVBYZERO): Likewise.
3409 (FE_INEXACT): Likewise.
3410 (FE_TONEAREST): Likewise.
3411 (FE_TOWARDZERO): Likewise.
3412 (FE_UPWARD): Likewise.
3413 (FE_DOWNWARD): Likewise.
3414 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3415 (FE_DIVBYZERO): Likewise.
3416 (FE_OVERFLOW): Likewise.
3417 (FE_UNDERFLOW): Likewise.
3418 (FE_INEXACT): Likewise.
3419 (FE_TONEAREST): Likewise.
3420 (FE_DOWNWARD): Likewise.
3421 (FE_UPWARD): Likewise.
3422 (FE_TOWARDZERO): Likewise.
3423
105ca950
CM
34242012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3425
3426 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3427
a542b389
AS
34282012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3429
3430 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3431 commands. Quote $PWD.
3432 (blacklist_exports): Don't use remove_newlines. Replace "declare
3433 -x" by "export".
3434 (remove_newlines): Remove.
3435
f62c8abc
L
34362012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3437
3438 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3439 * stdlib/stdlib.h (atof): Moved to ...
3440 * include/bits/stdlib-float.h: Here. New file.
3441 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3442 * stdlib/bits/stdlib-float.h: New file.
3443 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3444 -mno-sse -mno-mmx.
3445 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3446 <xmmintrin.h>.
3447
0155d5b2
JM
34482012-11-02 Joseph Myers <joseph@codesourcery.com>
3449
a68d0680
JM
3450 * conform/conformtest.pl (@headers): Add fenv.h.
3451 * conform/data/fenv.h-data: New file.
3452 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3453 include of <math/fenv.h>.
3454
caf7f573
JM
3455 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3456 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3457 && !UNIX98]. Enables tests for XOPEN2K8.
3458 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3459 POSIX2008]: Likewise.
3460
6c073ad6
JM
3461 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3462 (struct rusage): Do not expect type or its members.
3463
0155d5b2
JM
3464 [BZ #3439]
3465 * math/math.h (FP_NAN): Define macro to integer constant usable in
3466 #if and use that to give value to enum constant.
3467 (FP_INFINITE): Likewise.
3468 (FP_ZERO): Likewise.
3469 (FP_SUBNORMAL): Likewise.
3470 (FP_NORMAL): Likewise.
3471
b5dcacb4
AS
34722012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3473
3474 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3475 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3476 arguments.
3477
f7934be8
RM
34782012-11-02 Roland McGrath <roland@hack.frob.com>
3479
3480 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3481 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3482 autoconf-time if not.
3483 * configure.in: Remove AC_PREREQ.
3484
d7d08bde
TMQMF
34852012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3486
3487 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3488 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3489 of the internal implementation.
3490
dcdae19a
JM
34912012-11-02 Joseph Myers <joseph@codesourcery.com>
3492
3493 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3494 except include of <misc/sys/syslog.h>.
3495
d6cffd3e
AS
34962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3497
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3499 function returns with a NULL context exit with zero.
3500
b3563932
TMQMF
35012012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3502
3503 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3504
b288a93d
L
35052012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3506
3507 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3508 (run_program_cmd): This.
3509 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3510 (tst_langinfo): New variable. Use it.
3511
a2421a68
SAS
35122012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3513
3514 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3515 floating point opcodes.
3516
6f796e1b
TS
35172012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3518
7402596b
TS
3519 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3520 variable.
3521
d0d4f868
TS
3522 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3523
6f796e1b
TS
3524 * sysdeps/mach/hurd/powerpc: Remove directory.
3525 * sysdeps/mach/powerpc: Likewise.
3526
4da224a2
AS
35272012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3528
3529 * scripts/check-local-headers.sh: Ignore c++ headers.
3530
341dd673
TS
35312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3532
3533 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3534 __libc_cleanup_region_start argument.
3535
473611b2
JM
35362012-11-01 Joseph Myers <joseph@codesourcery.com>
3537
3538 [BZ #14784]
3539 [BZ #14785]
3540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3541 x * y using scaling, not as x * y + z.
3542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3543 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3544 * math/libm-test.inc (fma_test): Add more tests.
3545 (fma_test_towardzero): Likewise.
3546 (fma_test_downward): Likewise.
3547 (fma_test_upward): Likewise.
3548
4078da3d
TS
35492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3550
3551 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3552
903252aa
JM
35532012-10-31 Joseph Myers <joseph@codesourcery.com>
3554
3555 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3556 New variable.
3557
cbc818d0
TS
35582012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3559
3560 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3561
5a03cb1e
AS
35622012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3563
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3565 Fix sort order.
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3567 Likewise.
3568
90aff2ff
TMQMF
35692012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3570
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3572 Fix the order of the list for glibc 2.17.
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3574 Likewise.
3575
1818fcb7
AS
35762012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3577
3578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3579
ef82f4da
JM
35802012-10-31 Joseph Myers <joseph@codesourcery.com>
3581
16a0e2ec
JM
3582 [BZ #14610]
3583 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3584 for low part of x being zero before using __atanl (y).
3585 * math/libm-test.inc (atan2_test): Add another test.
3586
0eb69512
JM
3587 * manual/install.texi (Configuring and compiling): Document
3588 general use of test-wrapper and test-wrapper-env.
3589 * INSTALL: Regenerated.
3590
ef82f4da
JM
3591 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3592 (__fma): Do not extract and scale down low bits on after-rounding
3593 systems when result rounded to normal precision would have normal
3594 exponent.
3595 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3596 (__fmal): Do not extract and scale down low bits on after-rounding
3597 systems when result rounded to normal precision would have normal
3598 exponent.
3599 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3600 (__fmal): Do not extract and scale down low bits on after-rounding
3601 systems when result rounded to normal precision would have normal
3602 exponent.
3603 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3604 macro.
3605 (fma_test): Add more tests.
3606 (fma_test_towardzero): Likewise.
3607 (fma_test_downward): Likewise.
3608 (fma_test_upward): Likewise.
3609
954ef0d9
L
36102012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3611
3612 * sysdeps/i386/tininess.h: Renamed to ...
3613 * sysdeps/x86/tininess.h: This.
3614 * sysdeps/x86_64/tininess.h: Removed.
3615
df61ffb2
JM
36162012-10-30 Joseph Myers <joseph@codesourcery.com>
3617
3618 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3619 input. Use $(build-program-cmd).
3620 ($(objpfx)tst-array1-static.out): Likewise.
3621 ($(objpfx)tst-array2.out): Likewise.
3622 ($(objpfx)tst-array3.out): Likewise.
3623 ($(objpfx)tst-array4.out): Likewise.
3624 ($(objpfx)tst-array5.out): Likewise.
3625 ($(objpfx)tst-array5-static.out): Likewise.
3626
01767843
CM
36272012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3628
47cc1490
CM
3629 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3630 if defined.
3631
01767843
CM
3632 * nss/nsswitch.h (nss_interface_function): Provide new
3633 macro for use with NSS functions.
3634 * grp/initgroups.c: Use new macro.
3635 * nss/getXXbyYY.c: Likewise.
3636 * nss/getXXbyYY_r.c: Likewise.
3637 * nss/getXXent.c: Likewise.
3638 * nss/getXXent_r.c: Likewise.
3639 * sysdeps/posix/getaddrinfo.c: Likewise.
3640
8321aa97
AJ
36412012-10-30 Andreas Jaeger <aj@suse.de>
3642
3643 * po/ru.po: Update Russion translation from translation project.
3644
2a27fd6d
JM
36452012-10-30 Joseph Myers <joseph@codesourcery.com>
3646
8627a232
JM
3647 [BZ #14152]
3648 [BZ #14783]
3649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3650 result and shift together with sticky bit instead of replicating
3651 round-to-nearest rounding.
3652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3654 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3655 missing underflow exceptions.
3656 (fma_test_towardzero): Add more tests.
3657 (fma_test_downward): Likewise.
3658 (fma_test_upward): Likewise.
3659
2a27fd6d
JM
3660 [BZ #14047]
3661 * sysdeps/generic/tininess.h: New file.
3662 * sysdeps/i386/tininess.h: Likewise.
3663 * sysdeps/sh/tininess.h: Likewise.
3664 * sysdeps/x86_64/tininess.h: Likewise.
3665 * stdlib/tst-strtod-underflow.c: Likewise.
3666 * stdlib/tst-tininess.c: Likewise.
3667 * stdlib/strtod_l.c: Include <tininess.h>.
3668 (round_and_return): Do not set errno for exact underflow cases.
3669 Force an underflow exception when setting errno for underflow.
3670 Determine underflow based on rounding to normal precision if
3671 TININESS_AFTER_ROUNDING.
3672 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3673 ERANGE for exact underflow cases.
3674 * stdlib/Makefile (tests): Add tst-tininess and
3675 tst-strtod-underflow.
3676 ($(objpfx)tst-tininess): Use $(link-libm).
3677 ($(objpfx)tst-strtod-underflow): Likewise.
3678
e7170363
AJ
36792012-10-30 Andreas Jaeger <aj@suse.de>
3680
e5088dc6
AJ
3681 [BZ#14767]
3682 * elf/Makefile (tests): Remove conditional for have-initfini-array
3683 since this is now always required and the variable does not exist
3684 anymore.
3685 (tests-static): Likewise.
3686 (modules-names): Likewise.
3687
e7170363 3688 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3689
3690 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3691 merged with constructor/destructor.
3692 (init_array): Likewise.
3693 * elf/tst-array2dep.c (fini_array): Likewise.
3694 (init_array): Likewise.
3695
60457d8a
MF
36962012-10-29 Mike Frysinger <vapier@gentoo.org>
3697
3698 * manual/message.texi: Delete @cartouche tags.
3699
8bece752
PT
37002012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3701
94ce799f
PT
3702 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3703 EOPNOTSUPP.
3704 * sysdeps/mach/hurd/fsync.c: Likewise.
3705
8bece752
PT
3706 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3707 [_POSIX_REALTIME_SIGNALS]: Change condition to
3708 [_POSIX_REALTIME_SIGNALS > 0].
3709
86ebe6b1
AJ
37102012-10-27 Andreas Jaeger <aj@suse.de>
3711
3712 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3713 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3715 [__WORDSIZE != 64]: Likewise.
3716
54399c08
L
37172012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3718
3719 * iconvdata/tst-table.sh: Remove ${SHELL}.
3720 * iconvdata/tst-tables.sh: Likewise.
3721
e2211bed
DM
37222012-10-25 David S. Miller <davem@davemloft.net>
3723
3724 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3725 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3726 of strtoull.
3727
f303f97c
DM
3728 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3729 ifunc-impl-list.c
3730 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3731 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3732 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3733 file.
3734
1e9d84cd
RM
37352012-10-25 Roland McGrath <roland@hack.frob.com>
3736
3737 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3738 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3739 __getdirentries.
3740
df381762
JM
37412012-10-25 Joseph Myers <joseph@codesourcery.com>
3742 Jim Blandy <jimb@codesourcery.com>
3743
3744 * scripts/cross-test-ssh.sh: New file.
3745 * manual/install.texi (Configuring and compiling): Document use of
3746 cross-test-ssh.sh.
3747 * INSTALL: Regenerated.
3748
bff64913
PT
37492012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3750
3751 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3752 EOPNOTSUPP.
3753
25fe8932
JM
37542012-10-25 Joseph Myers <joseph@codesourcery.com>
3755
3756 * Makeconfig (run-program-prefix): Fix comment.
3757
cc1290d0
JM
37582012-10-24 Joseph Myers <joseph@codesourcery.com>
3759 Jim Blandy <jimb@codesourcery.com>
3760
3761 * Makeconfig (test-wrapper): New variable,
3762 (test-wrapper-env): Likewise.
3763 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3764 (run-built-tests): Define to yes.
3765 (run-program-prefix): Use $(test-wrapper).
3766 (built-program-cmd): Likewise.
3767 * Rules (make-test-out): Use $(test-wrapper-env) and
3768 $(host-built-program-cmd).
3769 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3770 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3771 tst-pathopt.sh.
3772 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3773 $(test-wrapper-env) to tst-rtld-load-self.sh.
3774 ($(objpfx)order2.out): Use $(test-wrapper).
3775 ($(objpfx)tst-initorder.out): Likewise.
3776 ($(objpfx)tst-initorder2.out): Likewise.
3777 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3778 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3779 (test_wrapper_env): New variable. Use it to run ld.so.
3780 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3781 Use it to run ld.so.
3782 (test_wrapper_env): Likewise.
3783 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3784 $(test-wrapper) to run-iconv-test.sh.
3785 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3786 (ICONV): Use $test_wrapper.
3787 * posix/Makefile ($(objpfx)globtest.out): Pass
3788 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3789 globtest.sh, not $(run-program-prefix).
3790 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3791 (test_wrapper): Likewise.
3792 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3793 set together with run_via_rtld_prefix.
3794 (run_program_prefix): Define in terms of test_wrapper and
3795 run_via_rtld_prefix.
3796
6e6249d0
RM
37972012-10-24 Roland McGrath <roland@hack.frob.com>
3798
3799 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3800 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3801 Targets removed.
3802
3803 [BZ #14743]
3804 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3805 Declare __clock_getres, __clock_gettime, __clock_settime,
3806 __clock_nanosleep, and __clock_getcpuclockid.
3807 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3808 Remove librt_hidden_def (clock_gettime).
3809 * sysdeps/unix/clock_gettime.c: Likewise.
3810 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3811 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3812 * rt/clock_getres.c: Define __clock_getres as an alias.
3813 * sysdeps/posix/clock_getres.c: Likewise.
3814 * rt/clock_settime.c: Define __clock_settime as an alias.
3815 * sysdeps/unix/clock_settime.c: Likewise.
3816 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3817 * sysdeps/unix/clock_nanosleep.c: Likewise.
3818 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3819 * rt/clock-compat.c: New file.
3820 * rt/Makefile (librt-routines): Add clock-compat and move
3821 $(clock-routines) to ...
3822 (routines): ... here, new variable.
3823 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3824 Don't add get_clockfreq here.
3825 * rt/Versions (libc: GLIBC_2.17): New version set.
3826 Add clock_* symbols here.
3827 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3828 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3829 (GLIBC_2.17): Add clock_* symbols.
3830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3834 Likewise.
3835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3836 Likewise.
3837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3841 * NEWS: Mention the move.
3842
3843 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3844 Use __open, __read, __close rather than their public counterparts.
3845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3846 (__get_clockfreq_via_cpuinfo): Likewise.
3847 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3848 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3849
3850 * config.h.in (HAVE_IFUNC): New #undef.
3851 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3852 was successful.
3853 * configure: Regenerated.
3854
0cae3f4b
MF
38552012-10-24 Mike Frysinger <vapier@gentoo.org>
3856
3857 * configure.in: Move READELF check to start of file.
3858 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3859 libc_cv_asm_gnu_indirect_function in the process.
3860 * configure: Regenerated.
3861
8175a253
MF
38622012-10-24 Mike Frysinger <vapier@gentoo.org>
3863
3864 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3865 send the output to /dev/null.
3866 (libc_cv_cc_with_libunwind): Likewise.
3867 (libc_cv_as_noexecstack): Likewise.
3868 * configure: Regenerate.
3869
0708a7d1
JM
38702012-10-24 Joseph Myers <joseph@codesourcery.com>
3871
10b40d85
JM
3872 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3873
0708a7d1
JM
3874 * posix/globtest.sh (TMPDIR): Do not set.
3875 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3876 (testout): Likewise.
3877
9fddec1a
AJ
38782012-10-24 Andreas Jaeger <aj@suse.de>
3879
3a8db22f
AJ
3880 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3881 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3882 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3883 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3884 posix_fadvise64, posix_fallocate64.
3885
9fddec1a
AJ
3886 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3887 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3888 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3889 Likewise.
3890 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3891 Likewise.
3892 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3893
3894 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3895 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3896 <bits/fcntl-linux.h>.
3897 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3898
3899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3900 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3901 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3902 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3903 [__WORDSIZE != 64]: Likewise.
3904
ebfd1bbd
JM
39052012-10-23 Joseph Myers <joseph@codesourcery.com>
3906
03ac099f
JM
3907 * Makeconfig (run-built-tests): New variable.
3908 * Rules [$(cross-compiling) = yes]: Change condition to
3909 [$(run-built-tests) = no].
3910 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3911 to [$(run-built-tests) = yes].
3912 * elf/Makefile [$(cross-compiling) = no]: Likewise
3913 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3914 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3915 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3916 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3917 * io/Makefile [$(cross-compiling) = no]: Likewise.
3918 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3919 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3920 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3921 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3922 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3923 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3924 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3925 * string/Makefile [$(cross-compiling) = no]: Likewise.
3926
ebfd1bbd
JM
3927 * posix/Makefile ($(objpfx)globtest.out): Pass
3928 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3929 $(rtld-installed-name).
3930 * posix/globtest.sh (elf_objpfx): Remove variable.
3931 (rtld_installed_name): Likewise.
3932 (library_path): Likewise.
3933 (run_program_prefix): New variable. Use for running globtest
3934 binary.
3935
166bca24
JB
39362012-10-23 Jim Blandy <jimb@codesourcery.com>
3937 Joseph Myers <joseph@codesourcery.com>
3938
3939 * Makeconfig (host-built-program-cmd): New variable.
3940 * elf/Makefile (tst-stackguard1-ARGS): Use
3941 $(host-built-program-cmd).
3942 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3943 (tst-spawn-ARGS): Likewise.
3944 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3945
88866099
JM
39462012-10-23 Joseph Myers <joseph@codesourcery.com>
3947 Jim Blandy <jimb@codesourcery.com>
3948
3949 * Makeconfig (run-via-rtld-prefix): New variable.
3950 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3951 (built-program-cmd): Likewise.
3952
b4b4c296
AJ
39532012-10-22 Andreas Jaeger <aj@suse.de>
3954
3955 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3956 __O_RSYNC if it exists, otherwise to O_SYNC.
3957
6fb54a22
JB
39582012-10-22 Jim Blandy <jimb@codesourcery.com>
3959 Joseph Myers <joseph@codesourcery.com>
3960
3961 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3962 /dev/null.
3963 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3964 from /dev/null
3965 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3966 /dev/null.
3967
481b90b9
AJ
39682012-10-22 Andreas Jaeger <aj@suse.de>
3969
2a0e2669
AJ
3970 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3971 Define always.
3972 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3973
76e38f9a
AJ
3974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3975 bits/fcntl-linux.h.
3976
7cd37b43
AJ
3977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3978 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3979
481b90b9
AJ
3980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3981 to __O_LARGEFILE.
3982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3983 to __O_LARGEFILE.
3984
aba75984
JB
39852012-10-21 Jim Blandy <jimb@codesourcery.com>
3986 Joseph Myers <joseph@codesourcery.com>
3987
3988 * config.make.in (NM): New variable.
3989
88d4247f
AJ
39902012-10-21 Andreas Jaeger <aj@suse.de>
3991
3992 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3993 definitions and declarations that are provided by
3994 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3995
f2eed205
L
39962012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3997
3998 [BZ #14683]
3999 * elf/Makefile (tests-static): Add tst-leaks1-static.
4000 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4001 ($(objpfx)tst-leaks1-static): New rule.
4002 ($(objpfx)tst-leaks1-static-mem): Likewise.
4003 (tst-leaks1-static-ENV): New macro.
4004 * elf/dl-open.c (dl_open_worker): Check the main application
4005 only if SHARED is defined.
4006 * elf/tst-leaks1-static.c: New file.
4007
335e6931
AJ
40082012-10-20 Andreas Jaeger <aj@suse.de>
4009
4010 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4011 generic values for Linux.
4012 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4013 and declarations that are provided by <bits/fcntl-linux.h> and
4014 include <bits/fcntl-linux.h>.
4015 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4017
ac5c94d3
RM
40182012-10-20 Roland McGrath <roland@hack.frob.com>
4019
4020 * io/fcntl.h: Move include of <bits/types.h> to the top and
4021 include it unconditionally.
4022
de54b33a
L
40232012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4024
228cfb01
L
4025 * wcsmbs/Makefile (tests-ifunc): New variable.
4026 (tests): Add $(tests-ifunc).
4027 * wcsmbs/test-wcschr-ifunc.c: New file.
4028 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4029 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4030 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4031 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4032 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4033
69f07e5f
L
4034 * string/Makefile (tests-ifunc): New variable.
4035 (tests): Add $(tests-ifunc).
4036 * string/test-memccpy.c (TEST_NAME): New macro.
4037 * string/test-memchr.c (TEST_NAME): Likewise.
4038 * string/test-memcmp.c (TEST_NAME): Likewise.
4039 * string/test-memcpy.c (TEST_NAME): Likewise.
4040 * string/test-memmem.c (TEST_NAME): Likewise.
4041 * string/test-memmove.c (TEST_NAME): Likewise.
4042 * string/test-memset.c (TEST_NAME): Likewise.
4043 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4044 * string/test-stpcpy.c (TEST_NAME): Likewise.
4045 * string/test-stpncpy.c (TEST_NAME): Likewise.
4046 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4047 * string/test-strcasestr.c (TEST_NAME): Likewise.
4048 * string/test-strcat.c (TEST_NAME): Likewise.
4049 * string/test-strchr.c (TEST_NAME): Likewise.
4050 * string/test-strcmp.c(TEST_NAME): Likewise.
4051 * string/test-strcpy.c (TEST_NAME): Likewise.
4052 * string/test-strcspn.c (TEST_NAME): Likewise.
4053 * string/test-strlen.c (TEST_NAME): Likewise.
4054 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4055 * string/test-strncmp.c (TEST_NAME): Likewise.
4056 * string/test-strncpy.c (TEST_NAME): Likewise.
4057 * string/test-strnlen.c (TEST_NAME): Likewise.
4058 * string/test-strpbrk.c (TEST_NAME): Likewise.
4059 * string/test-strrchr.c (TEST_NAME): Likewise.
4060 * string/test-strspn.c (TEST_NAME): Likewise.
4061 * string/test-strstr.c (TEST_NAME): Likewise.
4062 * string/test-bcopy-ifunc.c: New file.
4063 * string/test-bzero-ifunc.c: Likewise.
4064 * string/test-memccpy-ifunc.c: Likewise.
4065 * string/test-memchr-ifunc.c: Likewise.
4066 * string/test-memcmp-ifunc.c: Likewise.
4067 * string/test-memcpy-ifunc.c: Likewise.
4068 * string/test-memmem-ifunc.c: Likewise.
4069 * string/test-memmove-ifunc.c: Likewise.
4070 * string/test-mempcpy-ifunc.c: Likewise.
4071 * string/test-memset-ifunc.c: Likewise.
4072 * string/test-rawmemchr-ifunc.c: Likewise.
4073 * string/test-stpcpy-ifunc.c: Likewise.
4074 * string/test-stpncpy-ifunc.c: Likewise.
4075 * string/test-strcasecmp-ifunc.c: Likewise.
4076 * string/test-strcasestr-ifunc.c: Likewise.
4077 * string/test-strcat-ifunc.c: Likewise.
4078 * string/test-strchr-ifunc.c: Likewise.
4079 * string/test-strchrnul-ifunc.c: Likewise.
4080 * string/test-strcmp-ifunc.c: Likewise.
4081 * string/test-strcpy-ifunc.c: Likewise.
4082 * string/test-strcspn-ifunc.c: Likewise.
4083 * string/test-strlen-ifunc.c: Likewise.
4084 * string/test-strncasecmp-ifunc.c: Likewise.
4085 * string/test-strncat-ifunc.c: Likewise.
4086 * string/test-strncmp-ifunc.c: Likewise.
4087 * string/test-strncpy-ifunc.c: Likewise.
4088 * string/test-strnlen-ifunc.c: Likewise.
4089 * string/test-strpbrk-ifunc.c: Likewise.
4090 * string/test-strrchr-ifunc.c: Likewise.
4091 * string/test-strspn-ifunc.c: Likewise.
4092 * string/test-strstr-ifunc.c: Likewise.
4093
de54b33a
L
4094 * debug/Makefile (tests-ifunc): New variable.
4095 (tests): Add $(tests-ifunc).
4096 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4097 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4098 * debug/test-stpcpy_chk-ifunc.c: New file.
4099 * debug/test-strcpy_chk-ifunc.c: Likewise.
4100
88481c16
SP
41012012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4102
4103 [BZ #13601]
4104 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4105 header is not read in.
4106
135948bd
JM
41072012-10-19 Joseph Myers <joseph@codesourcery.com>
4108
89f1c388
JM
4109 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4110 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4111 directly. Pass built executable to script as
4112 $(built-program-cmd).
4113 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4114 $testprogram without using LD_LIBRARY_PATH and $ldso.
4115
e40a0d21
JM
4116 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4117 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4118 $(rtld-installed-name).
4119 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4120 (rtld_installed_name): Likewise.
4121 (library_path): Likewise.
4122 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4123 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4124 $(run-program-prefix) to tst-tables.sh.
4125 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4126 it to run tst-table-from and tst-table-to.
4127 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4128 Pass it to tst-table.sh.
4129 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4130 $(run-program-prefix) to tst-gettext.sh.
4131 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4132 tst-translit.sh.
4133 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4134 tst-gettext2.sh.
4135 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4136 to run tst-gettext.
4137 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4138 to run tst-gettext2.
4139 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4140 to run tst-translit.
4141 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4142 $(run-program-prefix) to tst-mtrace.sh.
4143 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4144 to run tst-mtrace.
4145 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4146 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4147 $(rtld-installed-name).
4148 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4149 (rtld_installed_name): Likewise.
4150 (run_program_prefix): New variable. Use it to run wordexp-test.
4151
728e272a
JM
4152 * Makeconfig (ARCH): Remove all definitions.
4153 (machine): Likewise.
4154 [ARCH]: Remove conditional code.
4155 [!objdir]: Give error.
4156 [!objdir] (objpfx): Remove.
4157 [!objdir] (common-objpfx): Likewise.
4158 [!objdir] (common-objdir): Likewise.
4159 * configure.in (config_makefile): Remove. Hardcode Makefile in
4160 AC_CONFIG_FILES call.
4161 * configure: Regenerated.
4162
d528cdcf
JM
4163 [BZ #13888]
4164 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4165 or TMPDIR.
4166 (testout): Likewise.
4167
135948bd
JM
4168 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4169 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4170 $(rtld-installed-name).
4171 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4172 (rtld_installed_name): Likwise.
4173 (runit): Remove function.
4174 (run_getconf): New variable, Use it for running getconf binary.
4175
38c78296
L
41762012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4177
4178 [BZ #14716]
4179 * string/test-memmem.c (check_result): New function.
4180 (do_one_test): Use it.
4181 (check1): New function.
4182 (test_main): Use it.
4183
d077f65f
MT
41842012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4185
4186 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4187
ced52c71
JM
41882012-10-18 Joseph Myers <joseph@codesourcery.com>
4189
4190 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4191 (_G_LSEEK64): Likewise.
4192 (_G_MMAP64): Likewise.
4193 (_G_FSTAT64): Likewise.
4194 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4195 (_G_LSEEK64): Likewise.
4196 (_G_MMAP64): Likewise.
4197 (_G_FSTAT64): Likewise.
4198 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4199 unconditional. Call __mmap64 directly.
4200 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4201 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4202 __lseek64 directly.
4203 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4204 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4205 __mmap64 directly.
4206 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4207 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4208 __lseek64 directly.
4209 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4210 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4211 __lseek64 directly.
4212 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4213 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4214 __lseek64 directly.
4215 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4216 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4217 __fxstat64 directly.
4218 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4219 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4220 unconditional.
4221 (freopen64) [!_G_OPEN64]: Remove conditional code.
4222 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4223 unconditional.
4224 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4225 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4226 unconditional.
4227 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4228 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4229 unconditional.
4230 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4231 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4232 unconditional.
4233 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4234 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4235 unconditional.
4236 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4237 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4238 unconditional.
4239 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4240 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4241 unconditional.
4242 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4243
b741de23
SP
42442012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4245
4246 [BZ #12140]
4247 * manual/memory.texi (Malloc Tunable Parameters): Add note
4248 about free list pointers overwriting some perturb bytes.
4249 Wording suggested by Roland McGrath.
4250
f9b9d9c9
JM
42512012-10-17 Joseph Myers <joseph@codesourcery.com>
4252
4253 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4254 (lgamma_test): Likewise.
4255 (tgamma_test): Likewise.
4256
172a631a
FW
42572012-10-16 Florian Weimer <fweimer@redhat.com>
4258
4259 [BZ #14700]
4260 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4261 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4262
e9f37252
MK
42632012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4264
4265 * NEWS: Mention BZ #14716.
4266 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4267 when removing AVAILABLE1_USES_J macro.
4268
d394eb74
L
42692012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4270
4271 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4272 (__bswap_64): __uint64_t for unsigned 64-bit int.
4273
ca38dc17
AS
42742012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4275
4276 * include/string.h (memmem): Declare libc hidden alias.
4277 * string/memmem.c (memmem): Define libc hidden alias.
4278 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4279 __read, __close instead of open, read, close.
4280
9a387d1f
L
42812012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4282
ac49ecaf
L
4283 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4284 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4285 global and hidden.
4286 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4287 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4288 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4289 Likewise.
4290 (__rawmemchr_sse2): Likewise.
4291 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4292 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4293 (__strchr_sse2): Likewise.
4294 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4295 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4296 (__strcasecmp_sse2): Likewise.
4297 (__strncasecmp_sse2): Likewise.
4298 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4299 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4300 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4301 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4302 (__strrchr_sse2): Likewise.
4303 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4304 ifunc-impl-list.c.
4305 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4306 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4307 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4308 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4309 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4310 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4311 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4312 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4313 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4314 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4315 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4316 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4317 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4318 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4319 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4320 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4321 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4322 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4323 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4324 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4325 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4326 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4327 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4328 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4329 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4330 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4331 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4332 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4333 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4334 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4335
b090e8ea
L
4336 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4337 global and hidden.
4338 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4339 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4340 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4341 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4342 Likewise.
4343 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4344 Likewise.
4345 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4346 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4347 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4348 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4349 ifunc-impl-list.c.
4350 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4351 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4352 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4353 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4354 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4355 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4356 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4357 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4358 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4359 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4360 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4361 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4362 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4363 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4364 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4365 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4366 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4367 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4368 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4369 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4370 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4371 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4372 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4373 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4374 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4375 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4376 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4377 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4378 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4379 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4380 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4381 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4382 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4383 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4384 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4385 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4386 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4387 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4388 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4389 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4390 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4391
11dd4af6
L
4392 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4393 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4394 * include/ifunc-impl-list.h: New file.
4395 * misc/ifunc-impl-list.c: Likewise.
4396 * misc/Makefile (routines): Add ifunc-impl-list.
4397 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4398 * string/test-string.h: Include <ifunc-impl-list.h>.
4399 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4400 impl_array): New variables.
4401 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4402 are defined.
4403 (test_init): Call __libc_ifunc_impl_list to initialize
4404 func_list if TEST_IFUNC and TEST_NAME are defined.
4405
9a387d1f
L
4406 * string/Makefile (strop-tests): Add bcopy and bzero.
4407 * string/test-bcopy.c: New file.
4408 * string/test-bzero.c: Likewise.
4409 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4410 defined.
4411 * string/test-memset.c: Support bzero test if TEST_BZERO is
4412 defined.
4413 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4414 __libc_memmove.
4415 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4416 __libc_memset.
4417 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4418 of memset.
4419
472371b9
JM
44202012-10-10 Joseph Myers <joseph@codesourcery.com>
4421
1e4a9536
JM
4422 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4423 * configure: Regenerated.
4424
d173d12e
JM
4425 * Makeconfig (+link-static-before-libc): Don't include
4426 $(link-static-libc).
4427
472371b9
JM
4428 * libio/libio.h (_IO_pos_t): Remove.
4429
89a3ad0b
AO
44302012-10-10 Alexandre Oliva <aoliva@redhat.com>
4431
4432 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4433 McGrath.
4434
e7451425
AO
44352012-10-10 Alexandre Oliva <aoliva@redhat.com>
4436
4437 * crypt/crypt-entry.c: Include fips-private.h.
4438 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4439 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4440 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4441 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4442
4ba74a35
AO
44432012-10-10 Alexandre Oliva <aoliva@redhat.com>
4444
4445 * crypt/crypt-private.h: Include stdbool.h.
4446 (_ufc_setup_salt_r): Return bool.
4447 * crypt/crypt-entry.c: Include errno.h.
4448 (__crypt_r): Return NULL with EINVAL for bad salt.
4449 * crypt/crypt_util.c (bad_for_salt): New.
4450 (_ufc_setup_salt_r): Check that salt is long enough and within
4451 the specified alphabet.
4452 * crypt/badsalttest.c: New file.
4453 * crypt/Makefile (tests): Add it.
4454 ($(objpfx)badsalttest): New.
4455
f96f1242
MK
44562012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4457
4458 * NEWS: Add entry for BZ #14602.
4459
0e8e0c1c
JM
44602012-10-09 Joseph Myers <joseph@codesourcery.com>
4461
4462 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4463 type-generic.
4464 * math/libm-test.inc: Update comment listing what functions and
4465 macros are tested.
4466 (isgreater_test): New function.
4467 (isgreaterequal_test): Likewise.
4468 (isless_test): Likewise.
4469 (islessequal_test): Likewise.
4470 (islessgreater_test): Likewise.
4471 (isunordered_test): Likewise.
4472 (main): Call the new functions.
4473
273edc5e
RM
44742012-10-09 Roland McGrath <roland@hack.frob.com>
4475
b8493de0
RM
4476 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4477 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4478 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4479 * sysdeps/i386/configure: Regenerated.
4480 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4481 * sysdeps/mach/configure: Regenerated.
4482 * sysdeps/mach/hurd/configure: Regenerated.
4483 * sysdeps/powerpc/configure: Regenerated.
4484 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4485 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4486 * sysdeps/s390/s390-32/configure: Regenerated.
4487 * sysdeps/s390/s390-64/configure: Regenerated.
4488 * sysdeps/sh/configure: Regenerated.
4489 * sysdeps/sparc/configure: Regenerated.
4490 * sysdeps/unix/sysv/linux/configure: Regenerated.
4491 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4492 * sysdeps/x86_64/configure: Regenerated.
4493
273edc5e
RM
4494 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4495 defined. Don't check if MAP is NULL.
4496
c8450f70
JM
44972012-10-09 Joseph Myers <joseph@codesourcery.com>
4498
4499 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4500 (_G_stat64): Likewise.
4501 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4502 (_G_stat64): Likewise.
4503 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4504 instead of struct _G_stat64.
4505 * libio/fileops.c (mmap_remap_check): Likewise.
4506 (decide_maybe_mmap): Likewise.
4507 (_IO_new_file_seekoff): Likewise.
4508 (_IO_file_stat): Likewise.
4509 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4510 _G_off64_t.
4511 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4512 instead of struct _G_stat64.
4513 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4514
57e605ba
MK
45152012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4516
4517 [BZ #14602]
4518 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4519 Replace with ...
4520 (CHECK_EOL): New macro.
4521 (two_way_short_needle): Check beginning of haystack for EOL. Use
4522 CHECK_EOL.
4523 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4524 Replace with CHECK_EOL.
4525 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4526 Replace with CHECK_EOL.
4527
ef1bb361
JM
45282012-10-08 Joseph Myers <joseph@codesourcery.com>
4529
4530 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4531 type-generic.
4532 * math/libm-test.inc: Update comment listing what functions and
4533 macros are tested.
4534 (finite_test): New function.
4535 (isinf_test): Likewise.
4536 (isnan_test): Likewise.
4537 (fpclassify_test): Test subnormal input.
4538 (isfinite_test): Likewise.
4539 (isnormal_test): Likewise.
4540 (main): Call the new functions.
4541
55f11534
JN
45422012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4543
4544 [BZ #14660]
4545 * Makerules (%.dynsym): Force C locale when running
4546 $(OBJDUMP) --dynamic-syms.
4547
1ab29350
AS
45482012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4549
4550 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4551 <stdint.h>.
4552
f1ecb7ef
DM
45532012-10-06 David S. Miller <davem@davemloft.net>
4554
4555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4556 upper 32-bits of the length value in %o2 since we use branch-on-register
4557 tests which consider the entire 64-bit register.
4558
5d41d91a
L
45592012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4560
4561 * string/test-strstr.c (check2): Add a test for page boundary.
4562
3baddb72
DM
45632012-10-05 David S. Miller <davem@davemloft.net>
4564
4565 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4566 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4567 file.
4568 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4569 sysdep_routines.
4570 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4571 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4572 and bzero when HWCAP_SPARC_CRYPTO is present.
4573
9cee5585
L
45742012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4575
d7e0dab9
L
4576 [BZ #14602]
4577 * string/test-strstr.c (check2): New function.
4578 (test_main): Call check2.
4579
03759f47
L
4580 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4581 and bug-strchr1.
4582 * string/bug-strcasestr1.c (do_test): Moved to ...
4583 * string/test-strcasestr.c (check1): Here. New function.
4584 (do_one_test): Break out result checking code into ...
4585 (check_result): This. New function.
4586 (do_one_test): Call check_result.
4587 (test_main): Call check1.
4588 * string/bug-strchr1.c (do_test): Moved to ...
4589 * string/test-strchr.c (check1): Here. New function.
4590 (do_one_test): Break out result checking code into ...
4591 (check_result): This. New function.
4592 (do_one_test): Call check_result.
4593 (test_main): Call check1.
4594 * string/bug-strstr1.c (main): Moved to ...
4595 * string/test-strchr.c (check1): Here. New function.
4596 (do_one_test): Break out result checking code into ...
4597 (check_result): This. New function.
4598 (do_one_test): Call check_result.
4599 (test_main): Call check1.
4600 * string/bug-strcasestr1.c: Removed.
4601 * string/bug-strchr1.c: Likewise.
4602 * string/bug-strstr1.c: Likewise.
4603
53cea63e
L
4604 * elf/Makefile (dl-routines): Add hwcaps.
4605 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4606 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4607 (_dl_important_hwcaps): Moved to ...
4608 * elf/dl-hwcaps.c: Here. New file.
4609 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4610
9cee5585 4611 [BZ #14557]
bb859b06
L
4612 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4613 if IS_IN_rtld isn't defined.
4614
9cee5585
L
4615 * elf/dl-support.c (_dl_sysinfo_map): New.
4616 Include "get-dynamic-info.h" and "setup-vdso.h".
4617 (_dl_non_dynamic_init): Call setup_vdso.
4618 * elf/dynamic-link.h: Don't include <assert.h>.
4619 (elf_get_dynamic_info): Moved to ...
4620 * elf/get-dynamic-info.h: Here. New file.
4621 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4622 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4623 * elf/setup-vdso.h: Here. New file.
4624 * elf/rtld.c: Include "setup-vdso.h".
4625 (dl_main): Call setup_vdso.
4626
23c31b76
JM
46272012-10-05 Joseph Myers <joseph@codesourcery.com>
4628
28234b07
JM
4629 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4630 creal in comment listing functions tested. List finite, isinf,
4631 isnan, isless, islessequal, isgreater, isgreaterequal,
4632 islessgreater, isunordered, lgamma_r and pow10 as functions and
4633 macros not tested. Mention which functions not tested are aliases
4634 for other functions. Fix typo. Note that signs of NaNs are not
4635 tested.
4636
23c31b76
JM
4637 * scripts/config.guess: Update from config.git.
4638 * scripts/config.sub: Likewise.
4639
9043e228
RM
46402012-10-04 Roland McGrath <roland@hack.frob.com>
4641
4642 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4643 * misc/madvise.c (madvise): Renamed to __madvise.
4644 Make madvise a weak alias.
4645 * include/sys/mman.h: Declare __madvise.
4646 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4647 * sysdeps/unix/syscalls.list
4648 (madvise): Make __madvise the strong name, and madvise a weak alias.
4649 * sysdeps/unix/sysv/linux/syscalls.list
4650 (madvise, mmap): Remove redundant entries.
4651 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4652 * malloc/malloc.c (mtrim): Likewise.
4653 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4654
f57f8055
RM
46552012-10-03 Roland McGrath <roland@hack.frob.com>
4656
4657 * sysdeps/mach/hurd/dl-cache.c: File removed.
4658 * config.h.in (USE_LDCONFIG): New #undef.
4659 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4660 * configure: Regenerated.
4661 * elf/Makefile (dl-routines): Add dl-cache only under
4662 [$(use-ldconfig) = yes].
4663 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4664 cache on [USE_LDCONFIG].
4665 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4666 [USE_LDCONFIG].
4667 * elf/rtld.c (dl_main): Likewise.
4668
5bb0c10a
PT
46692012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4670
4671 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4672 _SC_LEVEL4_CACHE_LINESIZE.
4673
010188c6
RM
46742012-10-03 Roland McGrath <roland@hack.frob.com>
4675
4676 * sysdeps/unix/bsd/confstr.h: File removed.
4677
b6c5ec07
AO
46782012-10-02 Alexandre Oliva <aoliva@redhat.com>
4679
4680 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4681 sys/sdt-config.h.
4682
408223d4
RM
46832012-10-02 Roland McGrath <roland@hack.frob.com>
4684
4685 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4686 Make 'mapoff' field ElfW(Off) rather than off_t.
4687
bb9510dc
DL
46882012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4689
fc997c6e
DL
4690 * nscd/Makefile: Remove nscd-cflags and all its users.
4691 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4692 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4693
bb9510dc
DL
4694 [BZ #10631]
4695 * malloc.c (malloc_printerr): Clarify error message.
4696
05699367
L
46972012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4698
4699 [BZ #14648]
4700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4701 Set bit_FMA_Usable if FMA is supported.
4702 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4703 macro.
4704 (bit_FMA4_Usable): Updated.
4705 (index_FMA_Usable): New macro.
4706 (CPUID_FMA): Likewise
4707 (HAS_FMA): Defined with bit_FMA_Usable.
4708
51367701
RM
47092012-10-01 Roland McGrath <roland@hack.frob.com>
4710
4711 * bits/types.h (__swblk_t): Type removed.
4712 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4713 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4715 (__SWBLK_T_TYPE): Likewise.
4716 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4717 (__SWBLK_T_TYPE): Likewise.
4718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4719 (__SWBLK_T_TYPE): Likewise.
4720 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4721 (__SWBLK_T_TYPE): Likewise.
4722
4d57bf63 47232012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4724 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4725
4726 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4727 (xdr_mapname): Use YPMAXMAP as maxsize.
4728 (xdr_peername): Use YPMAXPEER as maxsize.
4729 (xdr_keydat): Use YPAXRECORD as maxsize.
4730 (xdr_valdat): Use YPMAXRECORD as maxsize.
4731
93c65d43
RM
47322012-10-01 Roland McGrath <roland@hack.frob.com>
4733
497a03d6
RM
4734 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4735
93c65d43
RM
4736 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4737 * csu/init-first.c: ... here.
4738 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4739 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4740 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4741 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4742 * sysdeps/i386/init-first.c: File removed.
4743 * sysdeps/sh/init-first.c: File removed.
4744
bec749fd
JM
47452012-10-01 Joseph Myers <joseph@codesourcery.com>
4746
4747 [BZ #14645]
4748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4749 if x * y might underflow to zero and z is zero.
4750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4752 * math/libm-test.inc (min_subnorm_value): New variable.
4753 (fma_test): Add more tests.
4754 (fma_test_towardzero): Likewise.
4755 (fma_test_downward): Likewise
4756 (fma_test_upward): Likewise.
4757 (initialize): Set min_subnorm_value.
4758
8ec5b013
JM
47592012-09-29 Joseph Myers <joseph@codesourcery.com>
4760
4761 [BZ #14638]
4762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4763 0 + 0.
4764 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4765 mode for addition resulting in exact zero.
4766 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4768 exact 0 + 0.
4769 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4770 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4771 * math/libm-test.inc (fma_test): Add more tests.
4772 (fma_test_towardzero): New function.
4773 (fma_test_downward): Likewise.
4774 (fma_test_upward): Likewise.
4775 (main): Call the new functions.
4776
b1fa802e
DM
47772012-09-28 David S. Miller <davem@davemloft.net>
4778
4779 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4780
d3b9fd9e
RM
47812012-09-28 Roland McGrath <roland@hack.frob.com>
4782
ea4d37b3
RM
4783 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4784 instead of SIGALRM.
4785
ac51c949
RM
4786 * sysdeps/gnu/_G_config.h: Moved to ...
4787 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4788 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4789 * sysdeps/generic/_G_config.h: ... here.
4790
28c195f7
RM
4791 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4792
848917f9
RM
4793 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4794
6bacf05b
RM
4795 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4796 Conditionalize target on [libnss_test1.so-version].
4797
91363dbb
RM
4798 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4799
cc87f7d8
RM
4800 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4801 (elfobjdir): Move out of conditionals.
4802
b1c608fe
RM
4803 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4804 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4805 (__nss_lookup_function): Conditionalize label remove_from_tree on
4806 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4807
1d9a6d96
DM
48082012-09-28 David S. Miller <davem@davemloft.net>
4809
4810 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4811 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4812 file.
4813 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4814 sysdep_routines.
4815 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4817 when HWCAP_SPARC_CRYPTO is present.
4818
72581615
PT
48192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4820
4821 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4822
715a900c
JL
48232012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4824
4825 [BZ #6530]
4826 * stdio-common/vfprintf.c (process_string_arg): Revert
4827 2000-07-22 change.
4828
48292011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4830
4831 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4832 for testcase.
4833 * stdio-common/tst-sprintf.c: Include <locale.h>
4834 (main): Test sprintf's handling of incomplete multibyte
4835 characters.
4836
9bac1d86
L
48372012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4838
4839 * elf/dl-runtime.c (VERSYMIDX): Removed.
4840 * elf/dl-version.c (VERSYMIDX): Likewise.
4841 * elf/do-rel.h (VERSYMIDX): Likewise.
4842 (VALIDX): Likewise.
4843 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4844 * elf/rtld.c (VALIDX): Likewise.
4845 (ADDRIDX): Likewise.
9bac1d86
L
4846 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4847 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4848 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4849 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4850 (VALIDX): Likewise.
4851 (ADDRIDX): Likewise.
9bac1d86 4852
b31606c0
PT
48532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4854
4855 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4856
11541177
JL
48572012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4858
4859 [BZ #11438]
4860 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4861 to global scope.
4862 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4863 addresses are in the same scope as 192.0.2/24.
4864 * posix/gai.conf: Document new scope table defaults.
4865
adb26fae
SP
48662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4867
4868 [BZ #5298]
4869 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4870 for ftell. Compute offsets from write pointers instead.
4871 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4872
4573c6b0
SP
48732012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4874
4875 [BZ #14543]
4876 * libio/Makefile (tests): New test case tst-fseek.
4877 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4878 combination works in wide mode.
4879 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4880 state when the external buffer state changes.
4881
aa9bbfe6
DM
48822012-09-27 David S. Miller <davem@davemloft.net>
4883
4884 [BZ #14376]
4885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4886 pass reloc->r_addend in as the 'high' argument to
4887 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4888
784421e7
DM
4889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4890
c39bc8b8
PT
48912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4892
4893 * rt/tst-aio2.c: Include <pthread.h>.
4894 * rt/tst-aio3.c: Likewise.
4895
1ccc2399
SE
48962012-09-27 Steve Ellcey <sellcey@mips.com>
4897
4898 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4899
31ed4153
L
49002012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4901
25f5f885
L
4902 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4903 contents on [SHARED].
31ed4153 4904
b7bfe116
MP
49052012-09-26 Marek Polacek <polacek@redhat.com>
4906
4907 [BZ #14530]
4908 [BZ #13741]
4909 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4910 for C++ and GCC <4.3 as well as for non GCC compilers.
4911
43c4edba
MT
49122012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4913
4914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4915
6a1bf82f
RM
49162012-09-25 Roland McGrath <roland@hack.frob.com>
4917
4918 * Makefile.in (all, install): Declare with .PHONY.
4919 Reported by Michael Hope <michael.hope@linaro.org>.
4920
8ad11b9a
TMQMF
49212012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4922
4923 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4924 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4925 system header.
4926 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4927 Likewise.
4928 (sydep_routines): Add the new and the internal functions.
4929 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4930 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4932 (GLIBC_2.17): Add the new function.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4934 (GLIBC_2.17): Likewise.
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4936 (GLIBC_2.17): Likewise.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4938 (GLIBC_2.17): Likewise.
4939 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4940
7e2fca8d
AM
49412012-09-25 Alan Modra <amodra@gmail.com>
4942
4943 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4944 Add release barrier before setting once_control to say
4945 initialisation is done. Add hints on lwarx. Use macro in
4946 place of isync.
4947 (clear_once_control): Add release barrier.
4948
b87c4b24
JM
49492012-09-25 Joseph Myers <joseph@codesourcery.com>
4950
d032e0d2
JM
4951 [BZ #13629]
4952 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4953 specially.
4954 * math/s_clog10.c (__clog10): Likewise.
4955 * math/s_clog10f.c (__clog10f): Likewise.
4956 * math/s_clog10l.c (__clog10l): Likewise.
4957 * math/s_clogf.c (__clogf): Likewise.
4958 * math/s_clogl.c (__clogl): Likewise.
4959 * math/Makefile (libm-calls): Add x2y2m1.
4960 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4961 (__x2y2m1): Likewise.
4962 (__x2y2m1l): Likewise.
4963 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4964 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4965 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4966 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4967 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4968 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4969 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4970 * sysdeps/i386/fpu/libm-test-ulps: Update.
4971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4972
b87c4b24
JM
4973 [BZ #14621]
4974 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4975 int as type of variable DEPTH.
4976 (glob): Use size_t instead of int as type of variables NEWCOUNT
4977 and OLD_PATHC.
4978
6d3bf199
LD
49792012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4980
22bf5c17
LD
4981 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4982 Add s_sincosf-sse2.
4983 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4984 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4985 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4986 macros for using routine as __sincosf_ia32.
4987 Use macro for function declaration and weak_alias.
4988 * sysdeps/i386/fpu/libm-test-ulps: Update.
4989
4990 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4992
4993 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4994 subnormal argument.
4995 * math/s_cexpf.c (__cexpf): Likewise.
4996 * math/s_csinf.c (__csinf): Likewise.
4997 * math/s_csinhf.c (__csinhf): Likewise.
4998 * math/s_ctanf.c (__ctanf): Likewise.
4999 * math/s_ctanhf.c (__ctanhf): Likewise.
5000 * math/s_ccosh.c (__ccoshf): Likewise.
5001 * math/s_cexp.c (__cexpl): Likewise.
5002 * math/s_csin.c (__csin): Likewise.
5003 * math/s_csinh.c (__csinh): Likewise.
5004 * math/s_ctan.c (__ctan): Likewise.
5005 * math/s_ctanh.c (ctanh): Likewise.
5006 * math/s_ccoshl.c (__ccoshl): Likewise.
5007 * math/s_cexpl.c (__cexpl): Likewise.
5008 * math/s_csinl.c (__csinl): Likewise.
5009 * math/s_csinhl.c (__csinhl): Likewise.
5010 * math/s_ctanl.c (__ctanl): Likewise.
5011 * math/s_ctanhl.c (__ctanhl): Likewise.
5012
203e5603
JM
50132012-09-25 Joseph Myers <joseph@codesourcery.com>
5014
5015 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5016 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5017 (_IO_off_t): Define to __off_t, not _G_off_t.
5018 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5019 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5020 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5021 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5022 type of __dummy and __dummy2 fields.
5023 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5024 (_G_ssize_t): Likewise.
5025 (_G_off_t): Likewise.
5026 (_G_pid_t): Likewise.
5027 (_G_uid_t): Likewise.
5028 (_G_wchar_t): Likewise.
5029 (_G_wint_t): Likewise.
5030 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5031 (_G_ssize_t): Likewise.
5032 (_G_off_t): Likewise.
5033 (_G_pid_t): Likewise.
5034 (_G_uid_t): Likewise.
5035 (_G_wchar_t): Likewise.
5036 (_G_wint_t): Likewise.
5037 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5038 (_G_ssize_t): Likewise.
5039 (_G_off_t): Likewise.
5040 (_G_pid_t): Likewise.
5041 (_G_uid_t): Likewise.
5042 (_G_wchar_t): Likewise.
5043 (_G_wint_t): Likewise.
5044
9fab36eb
SP
50452012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5046
5047 * malloc/arena.c: Include malloc-sysdep.h.
5048 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5049 is sufficient to shrink the heap or an unmap is needed.
5050 * sysdeps/generic/malloc-sysdep.h: New file. Define
5051 new function check_may_shrink_heap.
5052 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5053 new function check_may_shrink_heap.
5054
2b4f00d1
SP
50552012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5056
5057 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5058 comments.
5059
9a9028b1
DL
50602012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5061
57c69bef
DL
5062 * catgets/test-gencat.sh: Add "set -e".
5063 * elf/tst-pathopt.sh: Likewise.
5064 * grp/tst_fgetgrent.sh: Likewise.
5065 * iconvdata/run-iconv-test.sh: Likewise.
5066 * intl/tst-gettext.sh: Likewise.
5067 * intl/tst-gettext2.sh: Likewise.
5068 * intl/tst-gettext4.sh: Likewise.
5069 * intl/tst-gettext6.sh: Likewise.
5070 * intl/tst-translit.sh: Likewise.
5071 * io/ftwtest-sh: Likewise.
5072 * libio/test-freopen.sh: Likewise.
5073 * malloc/tst-mtrace.sh: Likewise.
5074 * posix/globtest.sh: Likewise.
5075 * posix/tst-getconf.sh: Likewise.
5076 * posix/wordexp-tst.sh: Likewise.
5077 * stdio-common/tst-printf.sh: Likewise.
5078 * stdio-common/tst-unbputc.sh: Likewise.
5079 * stdlib/tst-fmtmsg.sh: Likewise.
5080 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5081 * catgets/Makefile: Do not specify -e option when running
5082 testsuite shell scripts.
5083 * elf/Makefile: Likewise.
5084 * grp/Makefile: Likewise.
5085 * iconvdata/Makefile: Likewise.
5086 * intl/Makefile: Likewise.
5087 * io/Makefile: Likewise.
5088 * libio/Makefile: Likewise.
5089 * malloc/Makefile: Likewise.
5090 * posix/Makefile: Likewise.
5091 * stdio-common/Makefile: Likewise.
5092 * stdlib/Makefile: Likewise.
5093 * sysdeps/x86_64/Makefile: Likewise.
5094
9a9028b1
DL
5095 * io/ftwtest-sh: Add copyright header.
5096 * posix/globtest.sh: Likewise.
5097 * posix/tst-getconf.sh: Likewise.
5098 * posix/wordexp-tst.sh: Likewise.
5099 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5100
ced6f16e
L
51012012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5102
94b32c39
L
5103 [BZ #13679]
5104 * Makeconfig (+link): Defined as $(+link-static) if
5105 $(build-shared) isn't yes.
5106 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5107 isn't yes.
5108 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5109
189e935b
L
5110 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5111
ced6f16e
L
5112 [BZ #14562]
5113 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5114 new chunk size with MALLOC_ALIGN_MASK.
5115
a9f8e53a
JM
51162012-09-24 Joseph Myers <joseph@codesourcery.com>
5117
5118 [BZ #5044]
5119 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5120 <rounding-mode.h>.
5121 (__printf_fphex): Determine rounding using get_rounding_mode and
5122 round_away.
5123 * stdio-common/tst-printf-round.c (struct hex_test): New
5124 structure.
5125 (hex_tests): New variable.
5126 (test_hex_in_one_mode): New function.
5127 (do_test): Also run tests for hex float output.
5128
43153109
JM
51292012-09-21 Joseph Myers <joseph@codesourcery.com>
5130
5131 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5132 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5133 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5134 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5135 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5136 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5137 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5138 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5139
8a26625d
JM
51402012-09-20 Joseph Myers <joseph@codesourcery.com>
5141
5142 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5143 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5144 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5145 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5146
f3fd569c
DL
51472012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5148
5149 [BZ #14579]
5150 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5151 mode only.
5152 * elf/tst-rtld-load-self.sh: New test.
5153 * elf/Makefile: Run it.
5154
63bbedd4
JM
51552012-09-18 Joseph Myers <joseph@codesourcery.com>
5156
5157 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5158 (tst-writev-ENV): Remove.
5159 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5160
626f8b6a
CM
51612012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5162
5163 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5164
b7aaa4d6
JM
51652012-09-17 Joseph Myers <joseph@codesourcery.com>
5166
5167 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5168 unconditional.
5169 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5170 Likewise.
5171 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5172 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5173 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5174 Likewise.
5175
65513990
L
51762012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5177
5178 [BZ #14587]
5179 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5180 * config.make.in (have-cpp-asm-debuginfo): Removed.
5181 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5182 * configure: Regenerated.
5183
784761be
JM
51842012-09-14 Joseph Myers <joseph@codesourcery.com>
5185
5186 [BZ #5044]
5187 * stdio-common/printf_fp.c: Include <stdbool.h> and
5188 <rounding-mode.h>.
5189 (___printf_fp): Determine rounding using get_rounding_mode and
5190 round_away.
5191 * stdio-common/tst-printf-round.c: New file.
5192 * stdio-common/Makefile (tests): Add tst-printf-round.
5193 (link-libm): New variable.
5194 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5195
9503345f
L
51962012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5197
5198 [BZ #14576]
5199 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5200 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5201 Likewise.
5202 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5203 Likewise.
5204
ad35fc00
JM
52052012-09-13 Joseph Myers <joseph@codesourcery.com>
5206
5207 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5208 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5209 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5210 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5211
6c9b0f68
JM
52122012-09-12 Joseph Myers <joseph@codesourcery.com>
5213
5214 [BZ #14518]
5215 * include/rounding-mode.h: New file.
5216 * sysdeps/generic/get-rounding-mode.h: Likewise.
5217 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5218 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5219 (MAX_VALUE): New macro.
5220 (MIN_VALUE): Likewise.
5221 (overflow_value): New function.
5222 (underflow_value): Likewise.
5223 (round_and_return): Use overflow_value and underflow_value to
5224 determine return values in overflow and underflow cases. Use
5225 round_away to determine rounding depending on rounding mode.
5226 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5227 determine return values in overflow and underflow cases.
5228 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5229 (struct test_results): New structure.
5230 (struct test): Use struct test_results to store expected results
5231 for all rounding modes.
5232 (TEST): Include expected results for all rounding modes.
5233 (test_in_one_mode): New function.
5234 (do_test): Use test_in_one_mode to compute and check results.
5235 Check results for all rounding modes.
5236 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5237 $(link-libm).
5238
19fcedd5
AM
52392012-12-09 Allan McRae <allan@archlinux.org>
5240
1e9d84cd 5241 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5242
8bbfd2f1
JM
52432012-09-11 Joseph Myers <joseph@codesourcery.com>
5244
5245 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5246 (_G_int32_t): Likewise.
5247 (_G_uint16_t): Likewise.
5248 (_G_uint32_t): Likewise.
5249 (_G_HAVE_BOOL): Likewise.
5250 (_G_HAVE_ATEXIT): Likewise.
5251 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5252 (_G_HAVE_IO_FILE_OPEN): Likewise.
5253 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5254 (_G_int32_t): Likewise.
5255 (_G_uint16_t): Likewise.
5256 (_G_uint32_t): Likewise.
5257 (_G_HAVE_BOOL): Likewise.
5258 (_G_HAVE_ATEXIT): Likewise.
5259 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5260 (_G_HAVE_IO_FILE_OPEN): Likewise.
5261 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5262 (_G_int32_t): Likewise.
5263 (_G_uint16_t): Likewise.
5264 (_G_uint32_t): Likewise.
5265 (_G_HAVE_BOOL): Likewise.
5266 (_G_HAVE_ATEXIT): Likewise.
5267 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5268 (_G_HAVE_IO_FILE_OPEN): Likewise.
5269
b1dc5912
L
52702012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5271
5272 * csu/libc-tls.c: Update copyright years.
5273
0e886ef9
JM
52742012-09-10 Joseph Myers <joseph@codesourcery.com>
5275
28361c5e
JM
5276 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5277 [!_G_USING_THUNKS]: Remove conditional code.
5278 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5279 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5280
0e886ef9
JM
5281 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5282 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5283 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5284 (_G_VTABLE_LABEL_PREFIX): Likewise.
5285 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5286 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5287 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5288 (_G_VTABLE_LABEL_PREFIX): Likewise.
5289 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5290 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5291 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5292 (_G_VTABLE_LABEL_PREFIX): Likewise.
5293 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5294
bcba7aa2
L
52952012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5296
5297 * libio/Makefile: Include ../Makeconfig before tests.
5298 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5299 only if $(build-shared) is yes.
5300
06585ee8
L
5301 * iconv/gconv_db.c: Update copyright years.
5302
80ccd52c
LD
53032012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5304
5305 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5306 unwind info if defined PIC. Fix special cases description.
5307 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5308
5309 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5310 DP_HI_MASK entry.
5311 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5312
691bc9c1
L
53132012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5314
3d9b46b3
L
5315 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5316
de2139a9
L
5317 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5318 is NULL.
5319
5ca78dd0
L
5320 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5321 (LDLIBS-tst-chk4): This.
5322 (LDFLAGS-tst-chk5): Renamed to ...
5323 (LDLIBS-tst-chk5): This.
5324 (LDFLAGS-tst-chk6): Renamed to ...
5325 (LDLIBS-tst-chk6): This.
5326 (LDFLAGS-tst-lfschk4): Renamed to ...
5327 (LDLIBS-tst-lfschk4): This.
5328 (LDFLAGS-tst-lfschk5): Renamed to ...
5329 (LDLIBS-tst-lfschk5): This.
5330 (LDFLAGS-tst-lfschk6): Renamed to ...
5331 (LDLIBS-tst-lfschk6): This.
5332
691bc9c1
L
5333 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5334 on $(common-objpfx)soversions.mk.
5335
65cafb1c
JM
53362012-09-07 Joseph Myers <joseph@codesourcery.com>
5337
5338 [BZ #10014]
5339 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5340 example host name.
5341
c78ab094
SP
53422012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5343
5344 * malloc/arena.c (arena_get_retry): New function that gets
5345 another arena for the caller to try its request on.
5346 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5347 current arena cannot fulfill the request.
5348 (__libc_memalign): Likewise.
5349 (__libc_memalign): Likewise.
5350 (__libc_pvalloc): Likewise.
5351 (__libc_calloc): Likewise.
5352
01f49f59
JT
53532012-09-05 John Tobey <john.tobey@gmail.com>
5354
5355 [BZ #13542]
5356 * manual/arith.texi (Operations on Complex): Fix description
5357 of carg branch cut.
5358
4c23fed5
JM
53592012-09-06 Joseph Myers <joseph@codesourcery.com>
5360
1d3c8572
JM
5361 [BZ #10014]
5362 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5363 host name.
5364
4c23fed5
JM
5365 [BZ #10038]
5366 * manual/memory.texi (Memory): Make order of menu items match
5367 order of sections.
5368
04570aaa
L
53692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5370
5371 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5372 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5373 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5374
b80af2f4
L
53752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5376
5377 * csu/libc-tls.c (static_dtv): Renamed to ...
5378 (_dl_static_dtv): This. Make it global.
5379 (_dl_initial_dtv): Removed.
5380 (__libc_setup_tls): Updated.
5381 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5382 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5383 DL_INITIAL_DTV.
5384
2abe9f15
PM
53852012-09-06 Petr Machata <pmachata@redhat.com>
5386
5387 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5388 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5389 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5390 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5391
0948c3af
L
53922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5393
5394 [BZ #14545]
5395 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5396 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5397 freeing dtv[-1].
5398
a5055ad1
L
53992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5400
5401 [BZ #14544]
5402 * Makeconfig (link-static-before-libc): Replace $(+prector)
5403 with $(+prectorT).
5404 (link-static-after-libc): Replace $(+postctor) with
5405 $(+postctorT).
5406 (link-bounded): Replace $(+prector)/$(+postctor) with
5407 $(+prectorT)/$(+postctorT).
5408 (+prectorT): New macro.
5409 (+postctorT): Likewise.
5410
ed8c2ecd
JM
54112012-09-06 Joseph Myers <joseph@codesourcery.com>
5412
5413 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5414 (round_str): Handle values above the maximum for IBM long double
5415 as inexact.
5416 * stdlib/tst-strtod-round.c (tests): Regenerated.
5417
14c996c8
AK
54182012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5419
5420 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5421 assembler flag.
5422 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5423 zarch_nohighgprs around the zarch optimized routines.
5424 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5425 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5426 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5427 for zarch.
5428
430d6ce6
DM
54292012-09-05 David S. Miller <davem@davemloft.net>
5430
5431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5432
ff04dda4
DM
5433 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5434 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5435 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5436 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5437 entries.
5438
24d4e01b
AO
54392012-09-05 Alexandre Oliva <aoliva@redhat.com>
5440
5441 * malloc/arena.c: Fold copyright years.
5442 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5443
61d58174
AO
54442012-09-05 Alexandre Oliva <aoliva@redhat.com>
5445
5446 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5447
20196a5e
AO
54482012-09-05 Alexandre Oliva <aoliva@redhat.com>
5449
5450 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5451
5c447383
AO
54522012-09-05 Alexandre Oliva <aoliva@redhat.com>
5453
5454 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5455 change internal state upon failure.
5456
fad64255
AO
54572012-09-05 Alexandre Oliva <aoliva@redhat.com>
5458
5459 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5460 * malloc/memusage.c (mmap): Likewise.
5461 (mmap64, mremap): Likewise. Adjust name in comment.
5462
1ffb8c90
SP
54632012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5464
5465 * libio/fileops.c: Fix typos in comments.
5466 * libio/oldfileops.c: Likewise.
5467 * libio/wfileops.c: Likewise.
5468
6ef9cc37
SP
54692012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5470
5471 [BZ #1349]
5472 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5473 (tst-malloc-usable-ENV): Set environment for test case.
5474 * malloc/hooks.c (malloc_check_get_size): New function to get
5475 requested size.
5476 * malloc/malloc.c (musable): Use malloc_check_get_size.
5477 * malloc/tst-malloc-usable.c: New test case.
5478
4d038ae3
AS
54792012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5480
5481 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5482
c4e85184
AM
54832012-09-05 Allan McRae <allan@archlinux.org>
5484
b9dafc56 5485 [BZ #13966]
c4e85184
AM
5486 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5487 determine header location.
5488 * configure: Regenerated.
5489
e1343020
AS
54902012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5491
5492 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5493 float format.
5494 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5495 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5496 format.
e1343020
AS
5497 (test): Regenerate.
5498
0a9f1987
DM
54992012-09-04 David S. Miller <davem@davemloft.net>
5500
5501 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5502 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5503 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5504
29237804
FW
55052012-09-04 Florian Weimer <fweimer@redhat.com>
5506
5507 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5508 failures.
5509
edb3cb88
FW
5510 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5511
60160d83
JM
55122012-09-04 Joseph Myers <joseph@codesourcery.com>
5513
5514 [BZ #9914]
5515 * libio/iogetdelim.c: Include <limits.h>.
5516 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5517 + len + 1 would overflow.
5518
bcd6c8dc
AJ
55192012-09-03 Andreas Jaeger <aj@suse.de>
5520
5521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5522 * sysdeps/i386/fpu/libm-test-ulps: Update.
5523
4ffffbd2
LD
55242012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5525
5526 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5527 Add s_sinf-sse2, s_conf-sse2.
5528
5529 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5530 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5531 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5532 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5533
5534 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5535 for using routine as __sinf_ia32.
5536 Use macro for function declaration and weak_alias.
5537 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5538 for using routine as __cosf_ia32.
5539 Use macro for function declaration and weak_alias.
5540
5541 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5542 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5543
5544 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5545 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5547
5548 * math/libm-test.inc (cos_test): Add more test cases.
5549 (sin_test): Likewise.
5550 (sincos_test): Likewise.
5551
511fa286
AK
55522012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5553
5554 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5555 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5556 hidden.
5557 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5558
5f30cfec
L
55592012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5560
5561 [BZ #14538]
5562 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5563 first element of the GOT.
5564 (elf_machine_load_address): Return the difference between
5565 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5566
0786794f
AM
55672012-09-01 Allan McRae <allan@archlinux.org>
5568
5f30cfec
L
5569 [BZ #13412]
5570 * configure.in (AWK): Require gawk version 3.0 or later.
5571 * configure: Regenerated.
0786794f 5572
26889eac
JM
55732012-09-01 Joseph Myers <joseph@codesourcery.com>
5574
5575 * sysdeps/unix/sysv/linux/kernel-features.h
5576 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5577 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5578 [__NR_clock_getres]: Make code unconditional.
5579 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5580 (clock_getcpuclockid): Remove code left unreachable by removal of
5581 conditionals.
5582 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5583 code unconditional.
5584 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5585 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5586 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5587 Make code unconditional.
5588 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5589 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5590 * sysdeps/unix/sysv/linux/clock_settime.c
5591 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5592 conditional code.
5593 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5594 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5595
d22e28b0
L
55962012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5597
5598 [BZ #14476]
5599 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5600 scripts/test-installation.pl.
5601
5602 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5603 and $ld_so_version if it is set.
5604
050af9c4
SP
56052012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5606
5607 [BZ #14516]
5608 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5609 failure if reading from procfs failed.
5610 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5611
ad845c0b
JM
56122012-08-27 Joseph Myers <joseph@codesourcery.com>
5613
5614 * sysdeps/unix/sysv/linux/kernel-features.h
5615 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5616 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5617 Remove conditional code.
5618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5619 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5620 Remove conditional code.
5621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5622 * sysdeps/unix/sysv/linux/i386/fxstat.c
5623 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5625 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5626 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5628 * sysdeps/unix/sysv/linux/i386/lxstat.c
5629 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5631 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5632 Remove conditional code.
5633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5634 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5635 Remove conditional code.
5636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5637 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5638 <kernel-features.h>.
5639 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5640 Remove.
5641 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5642 Remove conditional code.
5643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5644 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5645 Remove conditional.
5646
5dbf56af
MF
56472012-08-27 Mike Frysinger <vapier@gentoo.org>
5648
5649 [BZ #5400]
5650 * NEWS: Add fixed bug number.
5651
d6e70f43
JM
56522012-08-27 Joseph Myers <joseph@codesourcery.com>
5653
7efb4737
JM
5654 [BZ #14519]
5655 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5656 underflowing exponent in case of negative sign.
5657 * stdlib/tst-strtod-round-data: Add more tests.
5658 * stdlib/tst-strtod-round.c (tests): Regenerated.
5659
af92131a
JM
5660 [BZ #3479]
5661 * stdlib/strtod_l.c (NDIG): Remove.
5662 (HEXNDIG): Likewise.
5663 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5664 smallest representable value.
5665 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5666 lie within an exact representation of 1/2 ulp of the result.
5667 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5668 unconditionally.
5669 (TENS_P9_IDX): Define unconditionally.
5670 (TENS_P9_SIZE): Likewise.
5671 (TENS_P10_IDX): Likewise.
5672 (TENS_P10_SIZE): Likewise.
5673 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5674 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5675 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5676 entries for 10^2^13 and 10^2^14.
5677 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5678 (TENS_P13_IDX): Define.
5679 (TENS_P13_SIZE): Likewise.
5680 (TENS_P14_IDX): Likewise.
5681 (TENS_P14_SIZE): Likewise.
5682 (_fpioconst_pow10): Change array size to
5683 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5684 unconditional.
5685 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5686 1024]: Add entries for 10^2^13 and 10^2^14.
5687 [LAST_POW10 > _LAST_POW10]: Remove #error.
5688 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5689 (_fpioconst_pow10): Change array size to
5690 FPIOCONST_POW10_ARRAY_SIZE.
5691 * stdlib/gen-fpioconst.c: New file.
5692 * stdlib/gen-tst-strtod-round.c: Likewise.
5693 * stdlib/tst-strtod-round-data: Likewise.
5694 * stdlib/tst-strtod-round.c: Likewise.
5695 * stdlib/Makefile (tests): Add tst-strtod-round.
5696
d6e70f43
JM
5697 [BZ #14459]
5698 * stdlib/strtod_l.c: Include <stdint.h>.
5699 (NDEBUG): Do not define.
5700 (round_and_return): Change EXPONENT parameter to type intmax_t.
5701 Rearrange calculations to avoid internal overflow possibilities.
5702 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5703 Rearrange calculations to avoid internal overflow possibilities.
5704 Assert that number fits inside MPNSIZE limbs.
5705 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5706 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5707 calculations and add assertions to avoid internal overflow
5708 possibilities. Add casts to avoid signed/unsigned operations.
5709 * stdlib/tst-strtod-overflow.c: New file.
5710 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5711
1f529f7d
MP
57122012-08-25 Marek Polacek <polacek@redhat.com>
5713
5714 * time/time.h: Fix some typos in comments.
5715
59a629f1
RM
57162012-08-23 Roland McGrath <roland@hack.frob.com>
5717
5718 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5719 * posix/tst-rfc3484-2.c: Likewise.
5720 * posix/tst-rfc3484-3.c: Likewise.
5721
d3bafbc9
SM
57222012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5723
5724 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5725 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5726
4efcc022
JM
57272012-08-23 Joseph Myers <joseph@codesourcery.com>
5728
5729 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5730 #include of fxstatat64.c.
5731
3cc3ef96
RM
57322012-08-22 Roland McGrath <roland@hack.frob.com>
5733
f04e2132
RM
5734 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5735 * shadow/getspent_r.c: Likewise.
5736 * shadow/getspnam.c: Likewise.
5737 * shadow/getspnam_r.c: Likewise.
5738 * gshadow/getsgent.c: Likewise.
5739 * gshadow/getsgent_r.c: Likewise.
5740 * gshadow/getsgnam.c: Likewise.
5741 * gshadow/getsgnam_r.c: Likewise.
5742 * inet/getnetbyad.c: Likewise.
5743 * inet/getnetbyad_r.c: Likewise.
5744 * inet/getnetbynm.c: Likewise.
5745 * inet/getnetbynm_r.c: Likewise.
5746 * inet/getnetent.c: Likewise.
5747 * inet/getnetent_r.c: Likewise.
5748 * inet/getproto.c: Likewise.
5749 * inet/getproto_r.c: Likewise.
5750 * inet/getprtent.c: Likewise.
5751 * inet/getprtent_r.c: Likewise.
5752 * inet/getprtname.c: Likewise.
5753 * inet/getprtname_r.c: Likewise.
5754 * inet/getrpcbyname.c: Likewise.
5755 * inet/getrpcbyname_r.c: Likewise.
5756 * inet/getrpcbynumber.c: Likewise.
5757 * inet/getrpcbynumber_r.c: Likewise.
5758 * inet/getrpcent.c: Likewise.
5759 * inet/getrpcent_r.c: Likewise.
5760 * inet/getaliasent.c: Likewise.
5761 * inet/getaliasent_r.c: Likewise.
5762 * inet/getaliasname.c: Likewise.
5763 * inet/getaliasname_r.c: Likewise.
5764 * nscd/getgrgid_r.c: Likewise.
5765 * nscd/getgrnam_r.c: Likewise.
5766 * nscd/gethstbyad_r.c: Likewise.
5767 * nscd/gethstbynm3_r.c: Likewise.
5768 * nscd/getpwnam_r.c: Likewise.
5769 * nscd/getpwuid_r.c: Likewise.
5770 * nscd/getsrvbynm_r.c: Likewise.
5771 * nscd/getsrvbypt_r.c: Likewise.
5772 * nscd/gai.c: Likewise.
5773
c53d909c
RM
5774 * configure.in (build_nscd): New substituted variable, set
5775 by --disable-build-nscd and defaults to $use_nscd.
5776 * configure: Regenerated.
5777 * config.make.in (build-nscd): New substituted variable.
5778 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5779 Change conditional to require [$(build-nscd) = yes] as well.
5780 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5781
3cc3ef96
RM
5782 [BZ# 13696]
5783 * configure.in (use_nscd): New substituted variable, set by
5784 --disable-nscd. If enabled, define USE_NSCD.
5785 * configure: Regenerated.
5786 * config.h.in: Add USE_NSCD.
5787 * config.make.in (use-nscd): New substituted variable.
5788 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5789 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5790 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5791 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5792 (CFLAGS-getgrnam_r.c): Likewise.
5793 (CFLAGS-initgroups.c): Likewise.
5794 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5795 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5796 Variables removed.
5797 * inet/getnetgrent_r.c
5798 (nscd_setnetgrent): New function, broken out of ...
5799 (setnetgrent): ... here. Call it.
5800 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5801 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5802 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5803 * nscd/Makefile (routines, aux): Move definitions after include of
5804 Makeconfig. Conditionalize on [$(use-nscd) != no].
5805 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5806 Conditionalize on [USE_NSCD].
5807 (is_nscd, nscd_init_cb): Likewise.
5808 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5809 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5810 * nss/nss_db/db-init.c: Likewise.
5811 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5812 [USE_NSCD].
5813 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5814 (make_request): Use it.
5815 (cache_valid_p): New function.
5816 (__check_pf): Use it.
5817 * NEWS: Add item for --disable-nscd.
5818
07e51550
DL
58192012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5820
5821 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5822 to support sed >= 4.2.1-20-ga9bf076.
5823 * configure: Regenerated.
5824
35a5b08b
RM
58252012-08-22 Roland McGrath <roland@hack.frob.com>
5826
5827 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5828 Conditionalize whole body on [IREL].
5829
8479f23a
JL
58302012-08-22 Jeff Law <law@redhat.com>
5831
5832 [BZ #14505]
5833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5834 if the family is PF_UNSPEC.
5835
48da0b21
MF
58362012-08-22 Mike Frysinger <vapier@gentoo.org>
5837
5838 * Makerules (lib-version): Rename from V.
5839 (install-lib-nosubdir): Change V to lib-version.
5840
15d0da8c
WS
58412012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5842
5843 [BZ #14252]
5844 * powerpc32/power6/wcschr.c: New file.
5845 * powerpc32/power6/wcscpy.c: New file.
5846 * powerpc32/power6/wcsrchr.c: New file.
5847 * powerpc64/power6/wcschr.c: New file.
5848 * powerpc64/power6/wcscpy.c: New file.
5849 * powerpc64/power6/wcsrchr.c: New file.
5850
bcca0895
MK
58512012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5852
5853 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5854 (two_way_short_needle): Use it.
5a4aaa33
RM
5855 * string/strstr.c (AVAILABLE1_USES_J): Define.
5856 * string/strcasestr.c: Likewise.
99677e57
MK
5857
5858 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5859 array references.
5860 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5861
400726de
MK
5862 [BZ #11607]
5863 * NEWS: Add an entry.
5864 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5865 define their defaults.
5866 (two_way_short_needle): Detect end-of-string on-the-fly.
5867 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5868 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5869 * string/bug-strcasestr1.c: New test.
5870 * string/Makefile: Run it.
5871
20a71f2c
MK
58722012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5873
5874 [BZ #11607]
5875 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5876 the first character.
5877
21ad0558
RM
58782012-08-21 Roland McGrath <roland@hack.frob.com>
5879
5880 * csu/elf-init.c (__libc_csu_irel): Function removed.
5881 * csu/libc-start.c (apply_irel): New function.
5882 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5883
0e1d9911
JM
58842012-08-21 Joseph Myers <joseph@codesourcery.com>
5885
5886 * sysdeps/unix/sysv/linux/kernel-features.h
5887 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5888 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5889 <kernel-features.h>.
5890 [__NR_fadvise64_64]: Make code unconditional.
5891 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5892 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5893 !__NR_fadvise64_64)]: Likewise.
5894 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5895 !__NR_fadvise64_64))]: Likewise.
5896 [__NR_fadvise64]: Make code unconditional.
5897 [!__NR_fadvise64]: Remove conditional code.
5898 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5899 <kernel-features.h>.
5900 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5901 unconditional.
5902 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5903 conditional code.
5904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5905 not include <kernel-features.h>.
5906 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5907 unconditional.
5908 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5909 conditional code.
5910 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5911 include <kernel-features.h>.
5912 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5913 unconditional.
5914 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5915 conditional code.
5916
14a50c9d
WS
59172012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5918
5919 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5920 slight instruction rearrangements per scrollpipe analysis.
5921 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5922
c0f4faf0
RM
59232012-08-20 Roland McGrath <roland@hack.frob.com>
5924
696da859
RM
5925 * manual/syslog.texi (syslog; vsyslog, closelog):
5926 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5927 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5928
c0f4faf0
RM
5929 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5930 DSOCAPS to match condition on defining it.
5931
348363b2
JM
59322012-08-20 Joseph Myers <joseph@codesourcery.com>
5933
a35cbf28
JM
5934 * sysdeps/unix/sysv/linux/kernel-features.h
5935 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5937 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5938 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5940 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5941 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5943 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5944 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5945
445f7ecd
JM
5946 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5947 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5948
348363b2
JM
5949 * sysdeps/unix/sysv/linux/kernel-features.h
5950 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5951 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5952 unconditional.
5953 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5954 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5955 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5956 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5957 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5958 Make code unconditional.
5959 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5960 (__mmap64) [!__NR_mmap2]: Likewise.
5961 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5962 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5963 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5964 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5965 [__NR_mmap2]: Make code unconditional.
5966 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5967 (__mmap64) [!__NR_mmap2]: Likewise.
5968
bc5bc0e5
AK
59692012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5970
5971 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5972
88d506de
AJ
59732012-08-18 Andreas Jaeger <aj@suse.de>
5974
5975 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5976
493387d2
MF
59772012-08-18 Mike Frysinger <vapier@gentoo.org>
5978
5979 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5980 * include/unistd.h (__have_sock_cloexec): Likewise.
5981 (__have_pipe2): Likewise.
5982 (__have_dup3): Likewise.
5983
a277af22
MF
59842012-08-18 Mike Frysinger <vapier@gentoo.org>
5985
5986 [BZ #9685]
5987 * include/unistd.h (__have_pipe2): Change define into an extern int.
5988 (__have_dup3): Likewise.
5989 * socket/have_sock_cloexec.c: Include fcntl.h.
5990 (__have_pipe2): New variable.
5991 (__have_dup3): Likewise.
5992
fdab8fd3
MF
59932012-08-17 Mike Frysinger <vapier@gentoo.org>
5994
5995 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5996
31035e80
MP
59972012-08-17 Marek Polacek <polacek@redhat.com>
5998
5999 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6000 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6001
3bd9e993
RM
60022012-08-17 Roland McGrath <roland@hack.frob.com>
6003
c91c505f
RM
6004 * configure.in: Add AC_SUBST for sysheaders.
6005 * configure: Regenerated.
6006 * config.make.in (sysheaders): New substituted variable.
6007
7c6f9d53
RM
6008 * sysdeps/unix/mkfifo.c: Moved ...
6009 * sysdeps/posix/mkfifo.c: ... here.
6010 * sysdeps/unix/mkfifoat.c: Moved ...
6011 * sysdeps/posix/mkfifoat.c: ... here.
6012
6013 * sysdeps/unix/utime.c: Moved ...
6014 * sysdeps/posix/utime.c: ... here.
6015
6016 * sysdeps/unix/time.c: Moved ...
6017 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6018 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6019 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6020
6021 * sysdeps/unix/nice.c: Moved ...
6022 * sysdeps/posix/nice.c: ... here.
6023
6024 * sysdeps/unix/alarm.c: Moved ...
6025 * sysdeps/posix/alarm.c: ... here.
6026
3bd9e993
RM
6027 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6028
d1f09384
JL
60292012-08-17 Jeff Law <law@redhat.com>
6030
6031 * intl/Makefile (codeset_mo): New variable.
6032 ($(codeset_mo)): New target.
6033 (tst-codeset.out): Depend on that. Remove explicit rule.
6034 (tst-gettext3.out, tst-gettext5.out): Likewise.
6035 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6036 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6037 * intl/tst-codeset.sh: Remove.
6038 * intl/tst-gettext3.sh: Likewise.
6039 * intl/tst-gettext5.sh: Likewise.
6040
2ae1ae5c
RM
60412012-08-17 Roland McGrath <roland@hack.frob.com>
6042
c31fdb83
RM
6043 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6044 * sysdeps/unix/syscalls.list: ... here.
6045
a0844057
RM
6046 * sysdeps/posix/getaddrinfo.c
6047 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6048 (gaiconf_init, gaiconf_reload): Use them.
6049 [!_STATBUF_ST_NSEC]
6050 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6051 Define using time_t rather than struct timespec.
6052
750c1f2a
RM
6053 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6054 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6055 Macros removed.
6056 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6057 [!NO_THREADS].
6058 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6059 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6060 Likewise.
6061
2ae1ae5c
RM
6062 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6063 __libc_cleanup_push argument.
6064
e66a42f5
RM
6065 * bits/param.h: New file.
6066 * misc/sys/param.h: New file.
6067 * include/sys/param.h: New file.
6068 * misc/Makefile (headers): Add bits/param.h.
6069 * sysdeps/generic/sys/param.h: File removed.
6070 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6071 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6072 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6073 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6074
b7c08a66
RM
6075 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6076 last change.
6077
b2e1c562
RM
6078 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6079 [_IO_MTSAFE_IO].
6080 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6081 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6082 New macros.
6083
c75ccd4c
RM
6084 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6085 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6086 rather than -D_IO_MTSAFE_IO conditionally.
6087 * stdio-common/Makefile (CPPFLAGS): Likewise.
6088 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6089 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6090 Use $(libio-mtsafe).
6091 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6092 of -D_IO_MTSAFE_IO.
6093 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6094 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6095 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6096 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6097 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6098 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6099 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6100 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6101 (CFLAGS-fread_u_chk.c): Likewise.
6102 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6103 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6104 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6105 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6106 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6107 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6108 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6109 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6110 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6111
6112 * libio/Makefile: Test [$(libc-reentrant) = yes]
6113 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6114
6115 * Makeconfig
6116 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6117 * sysdeps/pthread/configure: File removed.
6118 * sysdeps/pthread/Makeconfig: New file.
6119 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6120 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6121
d9195db8
GB
61222012-08-16 Gary Benson <gbenson@redhat.com>
6123
6124 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6125 unmapping the first object in a namespace.
6126
86466cd9
RM
61272012-08-16 Roland McGrath <roland@hack.frob.com>
6128
6129 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6130 (__internal_setnetgrent): ... this. Add internal_function to
6131 definition. Add libc_hidden_def.
6132 (setnetgrent): Update caller.
6133 (internal_endnetgrent): Renamed to ...
6134 (__internal_endnetgrent): ... this. Add internal_function to
6135 definition. Add libc_hidden_def.
6136 (endnetgrent): Update caller.
6137 (internal_getnetgrent_r): Renamed to ...
6138 (__internal_getnetgrent_r): ... this. Add internal_function to
6139 definition. Add libc_hidden_def.
6140 (__getnetgrent_r): Update caller.
6141 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6142
c3c8283c
JM
61432012-08-16 Joseph Myers <joseph@codesourcery.com>
6144
6145 * stdlib/longlong.h: Update from GCC.
6146
db1ee0a8
RM
61472012-08-16 Roland McGrath <roland@hack.frob.com>
6148
6149 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6150 on _QL, which is set by umul_ppmm but never used.
6151 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6152 variables, which are set by GMP macros but never used.
6153 * stdio-common/_itowa.c (_itowa): Likewise.
6154 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6155 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6156
30f69637
CD
61572012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6158
6159 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6160 struct La_sh_regs is not constant.
6161 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6162 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6163 and struct La_sparc64_regs are not constant.
6164
93a78ac4
JM
61652012-08-16 Joseph Myers <joseph@codesourcery.com>
6166
6167 * sysdeps/unix/sysv/linux/kernel-features.h
6168 (__ASSUME_POSIX_TIMERS): Remove.
6169 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6171 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6172 Make code unconditional.
6173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6174 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6175 Make code unconditional.
6176 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6177 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6178 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6179 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6180 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6181 Make code unconditional.
6182 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6183 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6184 (__libc_missing_posix_timers): Remove.
6185
dd924cd7
RM
61862012-08-15 Roland McGrath <roland@hack.frob.com>
6187
4b4f2771
RM
6188 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6189 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6190
601c888b
RM
6191 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6192
176790a7
RM
6193 * elf/dl-sym.c: Include <stdlib.h>.
6194
329bc018
RM
6195 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6196 constants, which avoids warnings in 32-bit builds.
6197
e04e272d
RM
6198 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6199 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6200
952bf94a
RM
6201 * misc/lseek.c: File moved to ...
6202 * io/lseek.c: ... here.
6203
7c99b50a
RM
6204 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6205
dd924cd7
RM
6206 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6207 shifting LEN more than 31 bits at once.
6208
b3f479a8
LD
62092012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6210
6211 [BZ #14195]
8c4ae0d4
RM
6212 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6213 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6214 * string/test-strncasecmp.c (check1): Renamed to...
6215 (bz12205): ...this.
6216 (bz14195): Add new testcase for two empty input strings and N > 0.
6217 (test_main): Call new testcase, adapt for renamed function.
6218
9c55864e
AJ
62192012-08-15 Andreas Jaeger <aj@suse.de>
6220
6221 [BZ #14090]
6222 * crypt/md5test2.c: New test, based on test supplied by Serge
6223 Belyshev <belyshev@depni.sinp.msu.ru>.
6224 * crypt/Makefile (xtests): Add md5test-giant..
6225 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6226
02dcb6c5
PE
62272012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6228
6229 [BZ #14090]
6230 * crypt/md5.c (md5_process_block): Don't assume the buffer
6231 length is less than 2**32.
6232 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6233 length is less than 2**64.
6234
a3f95dcc
RM
62352012-08-15 Roland McGrath <roland@hack.frob.com>
6236
be75d758
RM
6237 * string/str-two-way.h: Include <sys/param.h>.
6238 (MAX): Macro removed.
6239
7312ca90
RM
6240 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6241 Move #define and #undef of memmove to just before and after
6242 including <string.h>.
6243
9a0a5486
RM
6244 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6245 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6246 and after including <string.h>. Move declarations of
6247 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6248 to before #include "string/memmove.c".
6249
67cc348d
RM
6250 * include/dirent.h: Declare __getdirentries.
6251
a3f95dcc
RM
6252 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6253 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6254
ca98e171
MF
62552012-08-14 Mike Frysinger <vapier@gentoo.org>
6256
6257 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6258 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6259 * sysdeps/i386/configure: Regenerated.
6260 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6261 STABS_CURRENT_FILE, and STABS_FUN.
6262 (END): Remove call to STABS_FUN_END.
6263 (STABS_CURRENT_FILE1): Delete.
6264 (STABS_CURRENT_FILE): Likewise.
6265 (STABS_FUN): Likewise.
6266 (STABS_FUN_END): Likewise.
6267 (STABS_FUN2): Likewise.
6268 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6269 * sysdeps/x86_64/configure: Regenerated.
6270
5908bf46
RM
62712012-08-14 Roland McGrath <roland@hack.frob.com>
6272
6273 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6274 * elf/dl-lookup.c: Likewise.
5908bf46 6275
f2c05b9e
JM
62762012-08-14 Joseph Myers <joseph@codesourcery.com>
6277
6278 * sysdeps/unix/sysv/linux/kernel-features.h
6279 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6280 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6281 unconditionally.
6282 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6283 unconditionally.
6284 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6285 condition on __ASSUME_CLONE_THREAD_FLAGS.
6286
e11f5155
AJ
62872012-08-14 Andreas Jaeger <aj@suse.de>
6288
6289 * sysdeps/i386/fpu/libm-test-ulps: Update.
6290
51a9ba86
MK
62912012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6292
2fdd4f78
AJ
6293 * include/atomic.h (atomic_exchange_and_add): Split into ...
6294 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6295 New atomic macros.
51a9ba86 6296
ba6cba9e
MT
62972012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6298
6299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6300
42443a47
JL
63012012-08-13 Jeff Law <law@redhat.com>
6302
6303 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6304 null byte in the output string.
6305
121dce05
JM
63062012-08-10 Joseph Myers <joseph@codesourcery.com>
6307
6308 * sysdeps/unix/sysv/linux/kernel-features.h
6309 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6310 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6311 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6312 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6313 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6314 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6315 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6316
bf51f568
JL
63172012-08-09 Jeff Law <law@redhat.com>
6318
6319 [BZ #13939]
6320 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6321 When avoid_arena is set, don't retry in the that arena. Pick the
6322 next one, whatever it might be.
6323 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6324 (arena_lock): Pass in new parameter to arena_get2.
6325 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6326 arena_get2.
6327 (__libc_malloc): Unify retrying after main arena failure with
6328 __libc_memalign version.
6329 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6330
f85fa270
L
63312012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6332
6333 [BZ #14166]
6334 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6335 to __redirect_strstr.
6336 (__strstr_sse42): Use typeof __redirect_strstr.
6337 (__strstr_ia32): Likewise.
6338 (__libc_strstr): New prototype.
6339 (strstr): Renamed to ...
6340 (__libc_strstr): This.
6341 (strstr): New strong alias of __libc_strstr.
6342 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6343 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6344 __redirect_time.
6345 Include <time.h>.
6346 (__libc_time): New prototype.
6347 (time_ifunc): Replace time with __libc_time.
6348 (time): New strong alias and hidden definition of __libc_time.
6349 (__GI_time): Remove strong alias.
6350 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6351 Include <stddef.h>.
6352 (memmove): Redefined to __redirect_memmove.
6353 (__memmove_sse2): Use typeof __redirect_memmove.
6354 (__memmove_ssse3): Likewise.
6355 (__memmove_ssse3_back): Likewise.
6356 (__libc_memmove): New prototype.
6357 (memmove): Renamed to ...
6358 (__libc_memmove): This.
6359 (memmove): New strong alias of __libc_memmove.
6360
33b4a91e
MS
63612012-08-08 Mark Salter <msalter@redhat.com>
6362
6363 * elf/elf.h
6364 (R_MN10300_TLS_GD): Define.
6365 (R_MN10300_TLS_LD): Likewise.
6366 (R_MN10300_TLS_LDO): Likewise.
6367 (R_MN10300_TLS_GOTIE): Likewise.
6368 (R_MN10300_TLS_IE): Likewise.
6369 (R_MN10300_TLS_LE): Likewise.
6370 (R_MN10300_TLS_DTPMOD): Likewise.
6371 (R_MN10300_TLS_DTPOFF): Likewise.
6372 (R_MN10300_TLS_TPOFF): Likewise.
6373 (R_MN10300_SYM_DIFF): Likewise.
6374 (R_MN10300_ALIGN): Likewise.
6375 (R_MN10300_NUM): Update.
6376
b36137f1
JM
63772012-08-08 Joseph Myers <joseph@codesourcery.com>
6378
6379 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6380 Remove.
6381
cdd915fd
RM
63822012-08-08 Roland McGrath <roland@hack.frob.com>
6383
a2433aac
RM
6384 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6385
cdd915fd
RM
6386 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6387 sysdeps/unix -> sysdeps/posix move.
6388 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6389
bf9b740a
AM
63902012-08-07 Allan McRae <allan@archlinux.org>
6391
6392 [BZ #14303]
6393 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6394 (SUNOS_CPP): Likewise.
6395 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6396 not found.
6397 (open_input): Call CPP using execvp.
6398
93df14ee
JM
63992012-08-07 Joseph Myers <joseph@codesourcery.com>
6400
6401 * sysdeps/unix/sysv/linux/kernel-features.h
6402 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6403 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6404 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6405 (__ASSUME_WAITID_SYSCALL): Likewise.
6406 * sysdeps/unix/sysv/linux/dl-execstack.c
6407 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6408 code unconditional.
6409 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6410 conditional code.
6411 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6412 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6413 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6414 code.
6415 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6416 unconditional.
6417 [__ASSUME_WAITID_SYSCALL]: Likewise.
6418 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6419
d34689de
RM
64202012-08-07 Roland McGrath <roland@hack.frob.com>
6421
a281decc
RM
6422 * sysdeps/unix/closedir.c: Renamed to ...
6423 * sysdeps/posix/closedir.c: ... here.
6424 * sysdeps/unix/dirfd.c: Renamed to ...
6425 * sysdeps/posix/dirfd.c: ... here.
6426 * sysdeps/unix/dirstream.h: Renamed to ...
6427 * sysdeps/posix/dirstream.h: ... here.
6428 * sysdeps/unix/fdopendir.c: Renamed to ...
6429 * sysdeps/posix/fdopendir.c: ... here.
6430 * sysdeps/unix/opendir.c: Renamed to ...
6431 * sysdeps/posix/opendir.c: ... here.
6432 * sysdeps/unix/readdir.c: Renamed to ...
6433 * sysdeps/posix/readdir.c: ... here.
6434 * sysdeps/unix/readdir_r.c: Renamed to ...
6435 * sysdeps/posix/readdir_r.c: ... here.
6436 * sysdeps/unix/rewinddir.c: Renamed to ...
6437 * sysdeps/posix/rewinddir.c: ... here.
6438 * sysdeps/unix/seekdir.c: Renamed to ...
6439 * sysdeps/posix/seekdir.c: ... here.
6440 * sysdeps/unix/telldir.c: Renamed to ...
6441 * sysdeps/posix/telldir.c: ... here.
6442 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6443 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6444 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6445 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6446
22895b47
RM
6447 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6448 * bits/fcntl.h: ... here.
6449
707a53b6
RM
6450 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6451 not 0.
6452 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6453 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6454 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6455 (struct flock): Move l_start, l_len to the beginning.
6456 Use __pid_t for l_pid.
6457 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6458 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6459 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6460 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6461 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6462 [__USE_LARGEFILE64] (struct flock64): New type.
6463 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6464
f0bd3e25
RM
6465 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6466 * bits/dirent.h: ... here.
6467
d34689de
RM
6468 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6469 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6470
6dad2c06
JM
64712012-08-07 Joseph Myers <joseph@codesourcery.com>
6472
6473 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6474 Change from 2.6.0 to 2.6.16.
6475 * sysdeps/unix/sysv/linux/configure: Regenerated.
6476 * sysdeps/unix/sysv/linux/kernel-features.h
6477 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6478 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6479 version.
6480 (__ASSUME_UTIMES): Likewise.
6481 (__ASSUME_CLONE_STOPPED): Remove.
6482 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6483 architectures, not kernel version.
6484 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6485 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6486 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6487 (__ASSUME_WAITID_SYSCALL): Likewise.
6488 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6489 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6490 * README: State 2.6.16 as minimum Linux kernel version. Do not
6491 refer to older versions.
6492
03af9520
RM
64932012-08-06 Roland McGrath <roland@hack.frob.com>
6494
8e49df1d
RM
6495 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6496 Define alphasort64 as an alias.
6497 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6498 Define versionsort64 as an alias.
6499 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6500 Define scandir64 as an alias.
6501 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6502 Define scandirat64 as an alias.
6503 * dirent/alphasort64.c (alphasort64):
6504 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6505 * dirent/versionsort64.c: Likewise.
6506 * dirent/scandir64.c: Likewise.
6507 * dirent/scandirat64.c: Likewise.
6508 * sysdeps/wordsize-64/alphasort.c: File removed.
6509 * sysdeps/wordsize-64/alphasort64.c: File removed.
6510 * sysdeps/wordsize-64/scandir.c: File removed.
6511 * sysdeps/wordsize-64/scandir64.c: File removed.
6512 * sysdeps/wordsize-64/scandirat.c: File removed.
6513 * sysdeps/wordsize-64/scandirat64.c: File removed.
6514 * sysdeps/wordsize-64/versionsort.c: File removed.
6515 * sysdeps/wordsize-64/versionsort64.c: File removed.
6516 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6517 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6518 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6519 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6520 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6521 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6522 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6523 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6524
6525 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6527 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6529 [defined __arch64__ || defined __sparcv9]
6530 (__INO_T_MATCHES_INO64_T): New macro.
6531 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6532 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6533 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6534 * sysdeps/unix/sysv/linux/bits/dirent.h
6535 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6536 (_DIRENT_MATCHES_DIRENT64): New macro.
6537
03af9520
RM
6538 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6539 Define lockf64 as an alias.
6540 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6541 Define fseeko64 as an alias.
6542 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6543 Define ftello64 as an alias.
6544 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6545 Define _IO_fgetpos64 and fgetpos64 as aliases.
6546 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6547 Define _IO_fsetpos64 and fsetpos64 as aliases.
6548 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6549 Conditionalize body on this.
6550 * libio/fseeko64.c: Likewise.
6551 * libio/ftello64.c: Likewise.
6552 * libio/iofgetpos64.c: Likewise.
6553 * libio/iofsetpos64.c: Likewise.
6554 * sysdeps/wordsize-64/lockf.c: File removed.
6555 * sysdeps/wordsize-64/lockf64.c: File removed.
6556 * sysdeps/wordsize-64/fseeko.c: File removed.
6557 * sysdeps/wordsize-64/fseeko64.c: File removed.
6558 * sysdeps/wordsize-64/ftello.c: File removed.
6559 * sysdeps/wordsize-64/ftello64.c: File removed.
6560 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6561 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6562 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6563 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6564 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6565 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6566 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6567 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6568 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6569 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6570 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6571 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6572 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6573 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6574
6575 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6576 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6577 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6578 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6579 [defined __arch64__ || defined __sparcv9]
6580 (__OFF_T_MATCHES_OFF64_T): New macro.
6581 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6582 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6584 (__OFF_T_MATCHES_OFF64_T): New macro.
6585
c5757acd
L
65862012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6587
6588 * stdlib/secure-getenv.c (__secure_getenv): Replace
6589 GLIBC_2_16 with GLIBC_2_17.
6590
3a31811e
L
65912012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6592
6593 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6594 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6595
faa2bccb
DM
65962012-08-03 David S. Miller <davem@davemloft.net>
6597
6598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6599
85fe1997
JM
66002012-08-03 Joseph Myers <joseph@codesourcery.com>
6601
6602 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6603 Remove.
6604 (__ASSUME_CORRECT_SI_PID): Likewise.
6605 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6606 (__ASSUME_TMPFS_NAME): Likewise.
6607 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6608 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6609 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6610 (HAVE_AUX_SECURE): Make definition unconditional.
6611 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6612 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6613
4f75b7a0
RM
66142012-08-03 Roland McGrath <roland@hack.frob.com>
6615
6616 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6617 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6618 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6619 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6620 __eloop_threshold instead of SYMLOOP_MAX.
6621
6622 * sysdeps/generic/eloop-threshold.h: New file.
6623 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6624 of MAXSYMLINKS.
6625 * elf/chroot_canon.c (chroot_canon): Likewise.
6626
7aab07e4
JM
66272012-08-03 Joseph Myers <joseph@codesourcery.com>
6628
6629 [BZ #13717]
6630 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6631 Change to 2.6.0 everywhere.
6632 * sysdeps/unix/sysv/linux/configure: Regenerated.
6633 * sysdeps/unix/sysv/linux/kernel-features.h
6634 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6635 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6636 kernel versions.
6637 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6638 (__ASSUME_FUTEX_REQUEUE): Remove.
6639 (__ASSUME_STATFS64): Define unconditionally.
6640 (__ASSUME_AT_SECURE): Likewise.
6641 (__ASSUME_CORRECT_SI_PID): Likewise.
6642 (__ASSUME_TGKILL): Define without depending on kernel version for
6643 i386.
6644 (__ASSUME_UTIMES): Likewise.
6645 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6646 kernel version.
6647 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6648 (__ASSUME_TMPFS_NAME): Likewise.
6649 * README: Update reference to Linux kernel versions.
6650
b67e9372
MP
66512012-08-02 Marek Polacek <polacek@redhat.com>
6652
1f529f7d 6653 [BZ# 14150]
b67e9372
MP
6654 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6655 libc_cv_asm_type_prefix with %.
6656 * configure: Regenerated.
d2441631
RM
6657 * include/libc-symbols.h: Remove comment about
6658 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6659 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6660 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6661 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6662 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6663 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6664 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6665 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6666 * elf/tst-unique2mod1.c: Likewise.
6667 * elf/tst-unique1mod2.c: Likewise.
6668 * elf/tst-unique1mod1.c: Likewise.
6669 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6670 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6671 Replace ASM_TYPE_DIRECTIVE with .type.
6672 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6673 * sysdeps/i386/sysdep.h: Likewise.
6674 * sysdeps/x86_64/sysdep.h: Likewise.
6675 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6677 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6678 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6679 * sysdeps/powerpc/powerpc32/sysdep.h:
6680 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6681 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6682 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6683 * sysdeps/i386/fpu/e_powf.S: Likewise.
6684 * sysdeps/i386/fpu/e_expl.S: Likewise.
6685 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6686 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6687 * sysdeps/i386/fpu/e_pow.S: Likewise.
6688 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6689 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6690 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6691 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6692 * sysdeps/i386/fpu/e_log2.S: Likewise.
6693 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6694 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6695 * sysdeps/i386/fpu/e_powl.S: Likewise.
6696 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6697 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6698 * sysdeps/i386/fpu/e_logl.S: Likewise.
6699 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6700 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6701 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6702 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6703 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6704 * sysdeps/i386/fpu/e_log.S: Likewise.
6705 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6706 * sysdeps/i386/fpu/e_logf.S: Likewise.
6707 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6708 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6709 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6710 * sysdeps/i386/fpu/e_log10.S: Likewise.
6711 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6712 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6713 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6714 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6715 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6716 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6717 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6718 * sysdeps/i386/i686/strtok.S: Likewise.
6719 * sysdeps/i386/i386-mcount.S: Likewise.
6720 * sysdeps/i386/strtok.S: Likewise.
6721 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6722 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6723 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6724 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6725 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6726 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6727 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6728 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6729 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6730 * sysdeps/x86_64/_mcount.S: Likewise.
6731 * sysdeps/x86_64/strtok.S: Likewise.
6732 * sysdeps/sh/_mcount.S: Likewise.
6733
2747bf9a
RM
67342012-08-01 Roland McGrath <roland@hack.frob.com>
6735
6736 * libio/iofopen.c: Include <fcntl.h>.
6737 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6738 (_IO_fopen64, fopen64): Define as aliases.
6739 * libio/iofopen64.c: Include <fcntl.h>.
6740 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6741 Conditionalize body on this.
6742 * sysdeps/wordsize-64/iofopen.c: File removed.
6743 * sysdeps/wordsize-64/iofopen64.c: File removed.
6744
3fb791b8
MP
67452012-08-01 Marek Polacek <polacek@redhat.com>
6746
6747 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6748 Use dlfcn directly instead of a variable.
6749 (binfmt-subdir): Do not define.
6750 (dlfcn): Likewise.
6751
a9f1039f
JM
67522012-08-01 Joseph Myers <joseph@codesourcery.com>
6753
23bddc06
JM
6754 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6755 Remove all definitions.
6756 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6757 <kernel-features.h>.
6758 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6759 (miss_F_GETOWN_EX): Remove all definitions.
6760 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6761 macro definition.
6762 [!__ASSUME_FCNTL64]: Remove conditional code.
6763 [__ASSUME_FCNTL64]: Make code unconditional.
6764 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6765 <kernel-features.h>.
6766 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6767 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6768 (lockf64) [__NR_fcntl64]: Make code unconditional.
6769 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6770
a9f1039f
JM
6771 * sysdeps/unix/sysv/linux/kernel-features.h
6772 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6773 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6774 Make code unconditional.
6775 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6776 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6778 [__NR_vfork]: Make code unconditional.
6779 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6780 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6782 [__NR_vfork]: Make code unconditional.
6783 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6784 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6785
09c0ee5f
RM
67862012-08-01 Roland McGrath <roland@hack.frob.com>
6787
48aec5b9
RM
6788 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6789 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6790
cd97c966
RM
6791 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6792 Define mkstemp64 as an alias.
3f55550c
RM
6793 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6794 Define mkstemps64 as an alias.
cd97c966
RM
6795 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6796 Define mkostemp64 as an alias.
b8625cfc
RM
6797 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6798 Define mkostemps64 as an alias.
cd97c966
RM
6799 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6800 Conditionalize body on this.
6801 * misc/mkostemp64.c: Likewise.
b8625cfc 6802 * misc/mkostemps64.c: Likewise.
3f55550c 6803 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6804 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6805 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6806 * sysdeps/wordsize-64/mkostemp.c: File removed.
6807 * sysdeps/wordsize-64/mkstemp.c: File removed.
6808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6809 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6811 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6812
09c0ee5f
RM
6813 [BZ #14138]
6814 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6815 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6816 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6817 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6818
6819 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6820 compat_symbol macros from <shlib-compat.h> rather than the underlying
6821 default_symbol_version and symbol_version macros, so that DEFAULT
6822 lines in shlib-versions are respected.
6823 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6824
7e66ee51
FW
68252012-08-01 Florian Weimer <fweimer@redhat.com>
6826
6827 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6828 Declare with warn_unused_result.
6829 (setgid, setregid, setegid, setresgid): Likewise.
6830 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6831 Likewise.
6832 * WUR-REPORT: Remove set*id functions.
6833
d2a54255
PT
68342012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6835
6836 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6837
7ecdb005
RM
68382012-07-31 Roland McGrath <roland@hack.frob.com>
6839
789bd351
RM
6840 * include/sys/socket.h (__libc_accept, __libc_accept4):
6841 Add attribute_hidden.
6842 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6843
40ce302d
RM
6844 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6845 use of PTR_MANGLE.
6846 * inet/getnetgrent_r.c (setup): Likewise.
6847
7ecdb005
RM
6848 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6849
e2eabb2c
DM
68502012-07-31 David S. Miller <davem@davemloft.net>
6851
6852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6853
d0419dbf
JM
68542012-07-31 Joseph Myers <joseph@codesourcery.com>
6855
6856 [BZ #13629]
6857 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6858 value between 1.0 and 2.0 and smaller part has absolute value less
6859 than 1.0.
6860 * math/s_clog10.c (__clog10): Likewise.
6861 * math/s_clog10f.c (__clog10f): Likewise.
6862 * math/s_clog10l.c (__clog10l): Likewise.
6863 * math/s_clogf.c (__clogf): Likewise.
6864 * math/s_clogl.c (__clogl): Likewise.
6865 * math/libm-test.inc (clog_test): Add more tests.
6866 (clog10_test): Likewise.
6867 * sysdeps/i386/fpu/libm-test-ulps: Update.
6868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6869
2bc13872
FW
68702012-07-31 Florian Weimer <fweimer@redhat.com>
6871
6872 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6873 Exit with zero in case no suitable GID is found, and write a
6874 message to standard error.
6875
bea9b193
RM
68762012-07-30 Roland McGrath <roland@hack.frob.com>
6877
6878 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6879 rather than to 1.
6880 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6881 (MAXPATHLEN): Removed.
6882 (NOGROUP, NODEV): New macros.
6883 (setbit, clrbit, isset, isclr): New macros.
6884 (howmany, roundup, powerof2): New macros.
6885 (DEV_BSIZE): New macro.
6886
6887 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6888 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6889
6890 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6891 definition on [!__NO_LONG_DOUBLE_MATH].
6892
6893 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6894 PTR_MANGLE and PTR_DEMANGLE.
6895
6896 * socket/accept4.c (accept4): Rename to __libc_accept4.
6897 Define accept4 as a weak alias.
6898
6899 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6900 on [_DIRENT_HAVE_D_TYPE].
6901 * io/ftw.c (ftw_dir): Likewise.
6902
6903 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6904
6905 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6906
6907 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6908 Use the BSD numbers rather than the arbitrary ones we had.
6909 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6910 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6911 (SIGXCPU, SIGXFSZ): New macros.
6912 (_NSIG): Now 32.
6913
6914 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6915 initializer on [_LIBC_REENTRANT].
6916
6917 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6918 definitions inside [_POSIX_MAPPED_FILES].
6919
6920 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6921
6922 * dirent/opendir.c: Include <fcntl.h>.
6923
6924 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6925 (__libc_getspecific): Likewise.
6926 (__libc_key_create): Likewise.
6927
6928 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6929 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6930 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6931 (tmpfile64): Define as alias.
6932 * sysdeps/wordsize-64/tmpfile.c: File removed.
6933 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6934 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6935 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6936
6937 * stdio-common/vfscanf.c: Include <stdbool.h>.
6938 * nss/makedb.c: Likewise.
6939 * stdio-common/_i18n_number.h: Likewise.
6940 * argp/argp-help.c: Likewise.
6941 * posix/wordexp.c: Likewise.
6942 * sysdeps/posix/spawni.c: Likewise.
6943 * nss/nss_files/files-initgroups.c: Likewise.
6944 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6945 * nss/nss_files/files-initgroups.c: Likewise.
6946 * nss/nss_db/db-netgrp.c: Likewise.
6947 * nss/nss_db/db-initgroups.c: Likewise.
6948 * io/fchmodat.c: Include <sys/stat.h>.
6949
6950 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6951 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6952
6953 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6954 [HAVE_MMAP].
6955
6956 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6957 Add multiple inclusion protection.
6958
e5abc686
DM
69592012-07-27 David S. Miller <davem@davemloft.net>
6960
6961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6962
815e6fa3
GB
69632012-07-27 Gary Benson <gbenson@redhat.com>
6964
6965 [BZ #14298]
6966 * elf/rtld.c: Include <stap-probe.h>.
6967 (dl_main): Added static probes "init_start" and "init_complete".
6968 * elf/dl-load.c: Include <stap-probe.h>.
6969 (lose): Take new parameter "nsid".
6970 Added static probe "map_failed".
6971 (_dl_map_object_from_fd): Pass namespace id to lose.
6972 Added static probe "map_start".
6973 (open_verify): Pass namespace id to lose.
6974 * elf/dl-open.c: Include <stap-probe.h>.
6975 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6976 and "reloc_complete".
6977 * elf/dl-close.c: Include <stap-probe.h>.
6978 (_dl_close_worker): Added static probes "unmap_start" and
6979 "unmap_complete".
6980 * elf/rtld-debugger-interface.txt: New file documenting the above.
6981
9f98c16c
RM
69822012-07-26 Roland McGrath <roland@hack.frob.com>
6983
6984 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6985 rather than a string variable.
6986 * sunrpc/rpc_main.c (h_output): Likewise.
6987 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6988
f3c22df3
PT
69892012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6990
6991 * inet/check_native.c: New file.
6992
3129cfc6
JM
69932012-07-26 Joseph Myers <joseph@codesourcery.com>
6994
da865e95
JM
6995 [BZ #13629]
6996 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6997 if larger part has absolute value 1.0.
6998 * math/s_clog10.c (__clog10): Likewise.
6999 * math/s_clog10f.c (__clog10f): Likewise.
7000 * math/s_clog10l.c (__clog10l): Likewise.
7001 * math/s_clogf.c (__clogf): Likewise.
7002 * math/s_clogl.c (__clogl): Likewise.
7003 * math/libm-test.inc (clog_test): Add more tests.
7004 (clog10_test): Likewise.
7005 * sysdeps/i386/fpu/libm-test-ulps: Update.
7006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7007
3129cfc6
JM
7008 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7009 (pltexit): Likewise.
7010 (La_regs): Likewise.
7011 (La_retval): Likewise.
7012 (int_retval): Likewise.
7013 Update #error for removed macros to refer only to definitions in
7014 tst-audit.h.
7015 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7016 macro.
7017 (pltexit): Likewise.
7018 (La_regs): Likewise.
7019 (La_retval): Likewise.
7020 (int_retval): Likewise.
7021 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7022 macro.
7023 (pltexit): Likewise.
7024 (La_regs): Likewise.
7025 (La_retval): Likewise.
7026 (int_retval): Likewise.
7027 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7028 macro.
7029 (pltexit): Likewise.
7030 (La_regs): Likewise.
7031 (La_retval): Likewise.
7032 (int_retval): Likewise.
7033 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7034 macro.
7035 (pltexit): Likewise.
7036 (La_regs): Likewise.
7037 (La_retval): Likewise.
7038 (int_retval): Likewise.
7039 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7040 macro.
7041 (pltexit): Likewise.
7042 (La_regs): Likewise.
7043 (La_retval): Likewise.
7044 (int_retval): Likewise.
7045 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7046 macro.
7047 (pltexit): Likewise.
7048 (La_regs): Likewise.
7049 (La_retval): Likewise.
7050 (int_retval): Likewise.
7051 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7052 macro definitions in tst-audit.h.
7053 * sysdeps/i386/tst-audit.h: New file.
7054 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7055 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7056 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7057 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7058 * sysdeps/sh/tst-audit.h: Likewise.
7059 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7060 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7061 * sysdeps/x86_64/tst-audit.h: Likewise.
7062
bfc07087
AJ
70632012-07-26 Andreas Jaeger <aj@suse.de>
7064
b1b2aaf8
AJ
7065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7066 ptrace.
7067
7068 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7069 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7070 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7071 PTRACE_O_MASK.
7072 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7073 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7074 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7075
bfc07087
AJ
7076 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7077 value.
7078
7079 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7080 _sigsys.
7081 (si_call_addr, si_syscall, si_arch): Define new macro.
7082 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7083 _sigsys.
7084 (si_call_addr, si_syscall, si_arch): Define new marcro.
7085 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7086 _sigsys.
7087 (si_call_addr, si_syscall, si_arch): Define new macro.
7088 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7089 _sigsys.
7090 (si_call_addr, si_syscall, si_arch): Define new macro.
7091
89b4b02f
JM
70922012-07-25 Joseph Myers <joseph@codesourcery.com>
7093
7094 [BZ #13717]
7095 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7096 Change to 2.4.21 where previously 2.4.1.
7097 * sysdeps/unix/sysv/linux/configure: Regenerated.
7098 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7099 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7100 Linux kernel version.
7101 (__ASSUME_STD_AUXV): Remove.
7102 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7103 kernel version.
7104 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7105 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7106 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7107 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7108 (__ASSUME_NETLINK_SUPPORT): Likewise.
7109 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7110 (__no_netlink_support): Remove conditional definition.
7111 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7112 Remove.
7113 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7114 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7115 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7116 (if_nameindex_ioctl): Remove.
7117 (if_nameindex_netlink): Do not handle __no_netlink_support.
7118 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7119 code.
7120 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7121 Remove conditional code.
7122 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7123 code.
7124 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7125 unconditional.
7126 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7127 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7128 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7129 Remove.
7130 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7131 [!__ASSUME_STD_AUXV]: Remove conditional code.
7132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7133 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7134 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7136 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7137 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7138 code.
7139 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7141 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7142 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7143 conditional code.
7144 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7146 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7147 code.
7148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7149 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7150 conditional code.
7151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7152 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7153 code unconditional.
7154 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7155 conditional code.
7156 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7157 unconditional.
7158 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7159 conditional code.
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7161 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7162 unconditional.
7163 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7164 conditional code.
7165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7166 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7167 code unconditional.
7168 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7169 conditional code.
7170 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7171 unconditional.
7172 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7173 conditional code.
7174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7175 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7176 code unconditional.
7177 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7178 conditional code.
7179 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7180 unconditional.
7181 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7182 conditional code.
7183
842a39cd
AS
71842012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7185
7186 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7187 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7188 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7189 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7190 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7191 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7192 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7193 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7194 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7195 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7196 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7197 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7198 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7199 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7200 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7201 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7202 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7203 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7204 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7206 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7207 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7208 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7209
84b3fd84
FW
72102012-07-25 Florian Weimer <fweimer@redhat.com>
7211
7212 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7213 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7214 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7215 Introduce __libc_secure_getenv.
0c7936d5
FW
7216 * stdlib/Versions (2.17): Add secure_getenv
7217 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7218 * stdlib/secure-getenv.c: Rename __secure_getenv to
7219 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7220 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7221 * stdlib/tst-secure-getenv.c: New.
7222 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7223 * manual/startup.texi (Environment Access): Document
7224 secure_getenv.
84b3fd84
FW
7225 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7226 __libc_secure_getenv.
7227 * inet/ruserpass.c (ruserpass): Likewise.
7228 * malloc/mtrace.c (mtrace): Likewise.
7229 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7230 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7231 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7232 * sysdeps/posix/tempname.c: Likewise. Evaluate
7233 HAVE_SECURE_GETENV.
7234 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7235 __secure_getenv to __libc_secure_getenv.
84b3fd84 7236 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7238 Likewise.
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7240 Likewise.
7241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7243 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7248
56e49b71
JM
72492012-07-25 Joseph Myers <joseph@codesourcery.com>
7250
7251 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7252 (struct La_i86_retval): Likewise.
7253 (struct La_x86_64_regs): Likewise.
7254 (struct La_x86_64_retval): Likewise.
7255 (struct La_x32_regs): Likewise.
7256 (struct La_x32_retval): Likewise.
7257 (struct La_ppc32_regs): Likewise.
7258 (struct La_ppc32_retval): Likewise.
7259 (struct La_ppc64_regs): Likewise.
7260 (struct La_ppc64_retval): Likewise.
7261 (struct La_sh_regs): Likewise.
7262 (struct La_sh_retval): Likewise.
7263 (struct La_s390_32_regs): Likewise.
7264 (struct La_s390_32_retval): Likewise.
7265 (struct La_s390_64_regs): Likewise.
7266 (struct La_s390_64_retval): Likewise.
7267 (struct La_sparc32_regs): Likewise.
7268 (struct La_sparc32_retval): Likewise.
7269 (struct La_sparc64_regs): Likewise.
7270 (struct La_sparc64_retval): Likewise.
7271 (struct audit_ifaces): Remove architecture-specific pltenter and
7272 pltexit members.
7273 * sysdeps/i386/ldsodefs.h: New file.
7274 * sysdeps/powerpc/ldsodefs.h: Likewise.
7275 * sysdeps/s390/ldsodefs.h: Likewise.
7276 * sysdeps/sh/ldsodefs.h: Likewise.
7277 * sysdeps/sparc/ldsodefs.h: Likewise.
7278 * sysdeps/x86_64/ldsodefs.h: Likewise.
7279
354691b7
MP
72802012-07-25 Marek Polacek <polacek@redhat.com>
7281
7282 [BZ #6808]
7283 * math/libm-test.inc (yn_test): Add another test.
7284 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7285 to ERANGE when the result is +-Inf.
7286 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7287 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7288 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7289 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7290
bf9e2071
JM
72912012-07-24 Joseph Myers <joseph@codesourcery.com>
7292
7293 * conform/data/time.h-data (NULL): Use macro-constant. Require
7294 equal to 0.
7295 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7296 clock_t.
7297 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7298
57633811
TS
72992012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7300
7301 * configure.in <sysdeps resolving>: Correct printing
7302 Implies_before.
7303 * configure: Regenerate.
7304
c23c33b0
TS
73052012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7306
7307 * math/w_ilogb.c: Include <limits.h>.
7308 * math/w_ilogbl.c: Likewise.
7309
b5982523
JM
73102012-07-20 Joseph Myers <joseph@codesourcery.com>
7311
7312 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7313 va_copy. Document allowing for unavailable va_copy only as
7314 pre-C99 compatibility.
7315 * manual/string.texi (Copying and Concatenation): Use va_copy
7316 instead of __va_copy in concat example.
7317
ac4ea442
PT
73182012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7319
7320 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7321 (__sendto): Use create_address_port. Initialize APORT and deallocate
7322 it if not null.
7323
f98eafbd
PT
7324 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7325 with O_NOLINK passed to __file_name_lookup.
7326
898c7aab
PT
7327 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7328 with O_NOLINK passed to __file_name_lookup.
7329
0ced335a
PT
7330 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7331 negative N or less than NGIDS.
7332
b3404dbd
PT
7333 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7334 type to string_t. Set ERANGE as errno and return it if NAME is not big
7335 enough. Use memcpy instead of strncpy.
7336
0f48659e
JM
73372012-07-20 Joseph Myers <joseph@codesourcery.com>
7338
7339 * elf/Makefile (check-data): Remove.
7340 (localplt.data): New vpath directive.
7341 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7342 instead of $(check-data).
7343 * scripts/data/localplt-generic.data: Move to ...
7344 * sysdeps/generic/localplt.data: ... here.
7345 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7346 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7347 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7349 ... here.
7350 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7352 ... here.
7353 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7355 ... here.
7356 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7358 ... here.
7359 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7361 ... here.
7362 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7364 ... here.
7365
d37cbdaa
AZ
73662012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7367
7368 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7369 PPC32 and PPC64 files.
7370 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7371 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7372
46f85fc2
AK
73732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7374
7375 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7376 __makecontext_ret to ...
7377 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7378 ... here and call exit if uc_link is NULL. New file.
7379 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7380 __makecontext_ret.S.
7381 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7382 __makecontext_ret to ...
7383 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7384 ... here and call exit if uc_link is NULL. New file.
7385 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7386 __makecontext_ret.S.
7387
08f43f9b
AK
73882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7389
7390 * elf/elf.h (R_390_IRELATIVE): New definition.
7391 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7392 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7393 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7394 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7395 (elf_machine_lazy_rel): Likewise.
7396 * sysdeps/s390/dl-irel.h: New file.
7397 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7398 * sysdeps/s390/s390-64/memset.S: New asm code.
7399 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7400 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7401 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7402 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7403 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7404 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7405 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7406 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7407 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7408 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7409 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7410 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7411 * sysdeps/s390/s390-32/memset.S: New asm code.
7412 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7413
3b05db33
MP
74142012-07-17 Marek Polacek <polacek@redhat.com>
7415
7416 [BZ #14349]
7417 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7418 * sysdeps/s390/s390-64/configure.in: Likewise.
7419 * sysdeps/sparc/configure.in: Likewise.
7420 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7421 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7422 * sysdeps/i386/configure.in: Likewise.
7423 * sysdeps/x86_64/configure.in: Likewise.
7424 * sysdeps/sh/configure.in: Likewise.
7425 * sysdeps/s390/s390-32/configure: Regenerated.
7426 * sysdeps/s390/s390-64/configure: Likewise.
7427 * sysdeps/x86_64/configure: Likewise.
7428 * sysdeps/sh/configure: Likewise.
7429 * sysdeps/powerpc/powerpc64/configure: Likewise.
7430 * sysdeps/powerpc/powerpc32/configure: Likewise.
7431 * sysdeps/sparc/configure: Likwise.
7432 * sysdeps/i386/configure: Likewise.
7433
a66877c6
MP
7434 * elf/dl-open.c: Comment fixes.
7435
cfc82fd8
JM
74362012-07-17 Joseph Myers <joseph@codesourcery.com>
7437
bd29910a
JM
7438 * Makefile [CXX] (check-data): Remove.
7439 [CXX] (c++-types.data): New vpath directive.
7440 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7441 vpath. Do not allow for C++ type data being missing.
7442 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7443 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7444 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7445 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7446 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7447 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7448 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7450 ... here.
7451 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7453 ... here.
7454 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7456 ... here.
7457 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7459 ... here.
7460 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7462 ... here.
7463 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7465 ... here.
7466 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7468 ... here.
7469 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7471
cfc82fd8
JM
7472 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7473 definitions to architecture-specific files.
7474 (TLS_IE): Likewise.
7475 (TLS_LD): Likewise.
7476 (TLS_GD): Likewise.
7477 * sysdeps/i386/tls-macros.h: New file.
7478 * sysdeps/powerpc/tls-macros.h: Likewise.
7479 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7480 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7481 * sysdeps/sh/tls-macros.h: Likewise.
7482 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7483 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7484 * sysdeps/x86_64/tls-macros.h: Likewise.
7485
f7db3170
TS
74862012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7487
07cbfc23
TS
7488 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7489 zero value for regular exit case.
7490
f7db3170
TS
7491 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7492 (__start_context): Preserve zero value for regular exit case.
7493
dc97c227
TS
74942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7495 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7496
7497 * manual/setjmp.texi (setcontext): Clarify normal process
7498 termination when uc_link is the null pointer.
7499 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7500 exit call.
7501
d0cd7d02
AS
75022012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7503
7504 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7505 preprocessor. Test for each exception mask separately.
7506
dd318934
AJ
75072012-07-16 Andreas Jaeger <aj@suse.de>
7508
7509 * po/ru.po: Update from translation team.
7510
8048311a
JM
75112012-07-15 Joseph Myers <joseph@codesourcery.com>
7512
7513 * conform/data/string.h-data (NULL): Use macro-constant. Require
7514 equal to 0.
7515 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7516 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7517 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7518 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7520
b637d46e
AJ
75212012-07-13 Andreas Jaeger <aj@suse.de>
7522
7523 * po/fr.po: Update from translation team.
7524
541428fe
MP
75252012-07-12 Marek Polacek <polacek@redhat.com>
7526
7527 [BZ #14173]
7528 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7529 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7530 loop condition.
7531
ec332e94
JM
75322012-07-12 Joseph Myers <joseph@codesourcery.com>
7533
7534 [BZ #13717]
7535 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7536 Change to 2.4.1 where previously 2.4.0.
7537 * sysdeps/unix/sysv/linux/configure: Regenerated.
7538 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7539 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7540 version.
7541 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7542 (__ASSUME_AT_CLKTCK): Remove.
7543 (__ASSUME_AT_PAGESIZE): Likewise.
7544 (__ASSUME_AT_XID): Likewise.
7545 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7546 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7547 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7548 unconditionally.
7549 (HAVE_AUX_PAGESIZE): Likewise.
7550 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7551 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7552 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7553
7b6e99be
JB
75542012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7555
7556 [BZ #14307]
7557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7558 the temporary buffer used to invoke __gethostbyname2_r,
7559 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7560 host_data / struct gaih_addrtuple.
7561 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7562 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7563 header file nss/nsswitch.h.
7564 * nss/nsswitch.h (global scope): Add definition of implementation
7565 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7566 resolv/nss_dns/dns-host.c).
7567
608404eb
AJ
75682012-07-11 Andreas Jaeger <aj@suse.de>
7569
7570 * po/fr.po: Update from translation team.
7571
71220aca
AJ
7572 * po/sv.po: Update from translation team
7573 * po/fr.po: Another update from translation team.
7574
28cfe843
AZ
75752012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7576
7577 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7578 for subnormals or multiply small sinh result by itself.
7579 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7581
6b90f981
DM
75822012-07-11 David S. Miller <davem@davemloft.net>
7583
7584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7585
c6825772
AS
75862012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7587
7588 [BZ #14347]
7589 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7590 (INTERNAL_MARK): Shift it here.
7591
7b8e0d49
MP
75922012-07-10 Marek Polacek <polacek@redhat.com>
7593
7594 [BZ #14151]
7595 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7596 libc_cv_asm_global_directive with .globl.
7597 * configure: Regenerated.
7598 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7599 with .globl.
7600 * sysdeps/i386/configure: Regenerated.
7601 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7602 with .globl.
7603 * sysdeps/x86_64/configure: Regenerated.
7604 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7605 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7606 * elf/tst-unique2mod2.c: Likewise.
7607 * elf/tst-unique2mod1.c: Likewise.
7608 * elf/tst-unique1mod2.c: Likewise.
7609 * elf/tst-unique1mod1.c: Likewise.
7610 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7611 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7612 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7613 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7614 * sysdeps/mach/sysdep.h: Likewise.
7615 * sysdeps/i386/sysdep.h: Likewise.
7616 * sysdeps/i386/i386-mcount.S: Likewise.
7617 * sysdeps/x86_64/_mcount.S: Likewise.
7618 * sysdeps/x86_64/sysdep.h: Likewise.
7619 * sysdeps/sh/_mcount.S: Likewise.
7620 * sysdeps/sh/sysdep.h: Likewise.
7621 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7622 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7623 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7624 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7625 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7626 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7627 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7628 * locale/localeinfo.h: Likewise.
7629 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7630 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7631
6c55cda3
RM
76322012-07-09 Roland McGrath <roland@hack.frob.com>
7633
7634 [BZ #14336]
7635 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7636 system".
7637 * manual/message.texi (The Uniforum approach): Likewise.
7638 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7639 (glibc iconv Implementation): Likewise.
7640
638a572e
JM
76412012-07-09 Joseph Myers <joseph@codesourcery.com>
7642
7643 [BZ #14337]
7644 * math/s_clog.c (__clog): Avoid scaling a value down where that
7645 could result in underflow.
7646 * math/s_clog10.c (__clog10): Likewise.
7647 * math/s_clog10f.c (__clog10f): Likewise.
7648 * math/s_clog10l.c (__clog10l): Likewise.
7649 * math/s_clogf.c (__clogf): Likewise.
7650 * math/s_clogl.c (__clogl): Likewise.
7651 * math/libm-test.inc (clog_test): Add more tests.
7652 (clog10_test): Likewise.
7653 * sysdeps/i386/fpu/libm-test-ulps: Update.
7654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7655
261f4859
AS
76562012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7657
0abaf3e4
AS
7658 [BZ #14283]
7659 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7660 by 7 not 8 to examine high bit of fractional part.
7661
261f4859
AS
7662 [BZ #14042]
7663 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7664 for call to __mcount_internal.
7665 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7666 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7667 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7668
f17ac40d
JM
76692012-07-06 Joseph Myers <joseph@codesourcery.com>
7670
9ad63c23
JM
7671 [BZ #14154]
7672 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7673 approximation for values within 0x1p-13f of an odd multiple of
7674 pi/4.
7675 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7676 exception. Add more tests.
7677 * sysdeps/i386/fpu/libm-test-ulps: Update.
7678
f17ac40d
JM
7679 [BZ #6778]
7680 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7681 inputs and return -1 for them. Do not check for +Inf in case not
7682 reachable for +Inf.
7683 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7684 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7686 and return -1 for them. Do not check for +Inf in case not
7687 reachable for +Inf.
7688 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7689 define.
7690 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7691 and return -1 for them. Do not check for +Inf in case not
7692 reachable for +Inf.
7693 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7694 spurious underflow.
7695 * sysdeps/i386/fpu/libm-test-ulps: Update.
7696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7697
fb21f89b
MF
76982012-07-06 Mike Frysinger <vapier@gentoo.org>
7699
7700 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7701
cdfe2c5e
JM
77022012-07-05 Joseph Myers <joseph@codesourcery.com>
7703
7704 [BZ #14157]
7705 [BZ #14331]
7706 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7707 could result in spurious underflow. Scale down values above
7708 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7709 * math/s_csqrtf.c (__csqrtf): Likewise.
7710 * math/s_csqrtl.c (__csqrtl): Likewise.
7711 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7712 spurious underflow.
7713 * sysdeps/i386/fpu/libm-test-ulps: Update.
7714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7715
70d35b67
AS
77162012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7717
704bc459
AS
7718 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7719 xopen-msg.sed.
7720 * catgets/xopen-msg.awk: New file.
7721 * catgets/xopen-msg.sed: Removed.
7722
70d35b67
AS
7723 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7724 po2text.sed.
7725 * intl/po2test.awk: New file.
7726 * intl/po2test.sed: Removed.
7727
ca61cf32
JM
77282012-07-04 Joseph Myers <joseph@codesourcery.com>
7729
7730 [BZ #14328]
7731 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7732 or multiply small sinh result by itself.
7733 * math/s_ctanf.c (__ctanf): Likewise.
7734 * math/s_ctanh.c (__ctanh): Likewise.
7735 * math/s_ctanhf.c (__ctanhf): Likewise.
7736 * math/s_ctanhl.c (__ctanhl): Likewise.
7737 * math/s_ctanl.c (__ctanl): Likewise.
7738 * math/libm-test.inc (ctan_test_tonearest): New function.
7739 (ctan_test_towardzero): Likewise.
7740 (ctan_test_downward): Likewise.
7741 (ctan_test_upward): Likewise.
7742 (ctanh_test_tonearest): Likewise.
7743 (ctanh_test_towardzero): Likewise.
7744 (ctanh_test_downward): Likewise.
7745 (ctanh_test_upward): Likewise.
7746 (main): Call these new functions.
7747 * sysdeps/i386/fpu/libm-test-ulps: Update.
7748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7749
ca48a46a
MF
77502012-07-03 Mike Frysinger <vapier@gentoo.org>
7751
7752 * .gitignore: Delete /ports entry.
7753
9d63d37d
AJ
77542012-07-03 Andreas Jaeger <aj@suse.de>
7755
7756 * po/bg.po: Update from translation team.
7757 * po/cs.po: Likewise.
7758 * po/de.po: Likewise.
7759 * po/hr.po: Likewise.
7760 * po/nl.pl: Likewise.
7761 * po/pl.po: Likewise.
7762 * po/vi.po: Likewise.
7763
370ca3d2
JM
77642012-07-03 Joseph Myers <joseph@codesourcery.com>
7765
95f5a9a8
JM
7766 * Makeconfig [!+link] (+link-before-libc): New variable.
7767 [!+link] (+link-after-libc): Likewise.
7768 [!+link] (+link-tests): Likewise.
7769 [!+link] (+link): Define in terms of $(+link-before-libc) and
7770 $(+link-after-libc).
7771 [!+link-static] (+link-static-before-libc): New variable.
7772 [!+link-static] (+link-static-after-libc): Likewise.
7773 [!+link-static] (+link-static-tests): Likewise.
7774 [!+link-static] (+link-static): Define in terms of
7775 $(+link-static-before-libc) and $(+link-static-after-libc).
7776 [build-shared] (link-libc-before-gnulib): New variable.
7777 [build-shared] (link-libc-tests): Likewise.
7778 [build-shared] (link-libc): Define in terms of
7779 $(link-libc-before-gnulib).
7780 [!build-shared] (link-libc-tests): New variable.
7781 (link-libc-static-tests): New variable.
7782 [!gnulib] (gnulib-arch): New variable.
7783 [!gnulib] (gnulib-tests): Likewise.
7784 [!gnulib] (static-gnulib-arch): Likewise.
7785 [!gnulib] (static-gnulib-tests): Likewise.
7786 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7787 Define with "=" instead of ":=".
7788 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7789 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7790 * Rules (binaries-all-notests): New variable.
7791 (binaries-all-tests): Likewise.
7792 (binaries-static-notests): Likewise.
7793 (binaries-static-tests): Likewise.
7794 (binaries-all): Define using $(binaries-all-notests) and
7795 $(binaries-all-tests).
7796 (binaries-static): Define using $(binaries-static-notests) and
7797 $(binaries-static-tests).
7798 (binaries-shared-tests): New variable.
7799 (binaries-shared-notests): Likewise.
7800 (binaries-shared): Remove variable.
7801 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7802 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7803 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7804 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7805 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7806 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7807 * elf/Makefile (sln-modules): New variable.
7808 (extra-objs): Add $(sln-modules:=.o).
7809 (ldconfig-modules): Add static-stubs.
7810 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7811 * elf/static-stubs.c: New file.
7812
7a845b2c
JM
7813 [BZ #14283]
7814 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7815 by 7 not 8 to examine high bit of fractional part. Use volatile
7816 variables when splitting into final array of floats if
7817 __FLT_EVAL_METHOD__ != 0.
7818 * math/libm-test.inc (cos_test): Add another test.
7819 (sin_test): Likewise.
7820 * sysdeps/i386/fpu/libm-test-ulps: Update.
7821
e2283f38
JM
7822 [BZ #14273]
7823 * math/libm-test.inc (cosh_test): Add more tests.
7824
370ca3d2
JM
7825 * version.h (RELEASE): Set to "development".
7826 (VERSION): Set to "2.16.90".
7827
ee9247c3
CD
78282012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7829
7830 * NEWS: Update copyright. Remove last-updated date.
7831 Mention math library bug fixes and timezone data changes.
7832 * README: Mention GNU/Hurd, x32, and HPPA support status.
7833
4648c381
TS
78342012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7835
7836 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7837
aac78a43
AJ
78382012-06-27 Andreas Jaeger <aj@suse.de>
7839
7840 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7841
ed3dbfad
AJ
78422012-06-25 Andreas Jaeger <aj@suse.de>
7843
7844 * sysdeps/s390/fpu/libm-test-ulps: Update.
7845
4d0ee855
AS
78462012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7847 Thomas Schwinge <thomas@codesourcery.com>
7848
7849 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7850 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7851 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7852 fanotify_mark.
7853
af1bce34
TS
78542012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7855
a9fa33ba
TS
7856 * sysdeps/mach/start.c: Remove file.
7857 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7858 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7859 * sysdeps/sh/init-first.c: Likewise.
7860
58f902b8
TS
7861 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7862 registers for frame unwinding purposes, add CFI directives.
7863 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7864 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7865 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7866 Likewise.
7867
1518f58b
TS
7868 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7869 __fortify_fail returning.
7870 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7871
db9b5059
TS
7872 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7873 sysdeps/sh/____longjmp_chk.S.
7874 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7875 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7876 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7877 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7878
967705fe
TS
7879 * sysdeps/sh/abort-instr.h: New file.
7880 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7881 process in case exit returns.
7882
a9def8c4
TS
7883 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7884 initialize the GOT register before use.
7885
2a649725
TS
7886 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7887 calculation of ARGC > 4.
7888
af1bce34
TS
7889 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7890 meaningful names to some local labels.
7891
d230f50a
KK
78922012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7893 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7894
7895 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7896 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7897 (__arch_compare_and_exchange_val_16_acq): Likewise.
7898 (__arch_compare_and_exchange_val_32_acq): Likewise.
7899 (atomic_exchange_and_add): Fix gUSA sequence.
7900 (atomic_add): Likewise.
7901 (atomic_add_negative): Likewise.
7902 (atomic_add_zero): Likewise.
7903 (atomic_bit_test_set): Likewise.
7904
0479b305
AS
79052012-06-22 Andreas Schwab <schwab@redhat.com>
7906
7907 [BZ #13579]
7908 * include/link.h (struct link_map): Add l_free_initfini.
7909 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7910 l_initfini.
7911 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7912 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7913 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7914 set.
7915
0e3933b9
CD
79162012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7917
7918 * configure.in: Use AC_LANG_SOURCE.
7919 * configure: Regenerate.
7920
4248b1b1
RM
79212012-06-22 Roland McGrath <roland@hack.frob.com>
7922
7923 * configure.in (libc_cv_localstatedir): New substituted variable.
7924 * configure: Regenerated.
7925 * config.make.in (localstatedir): New variable, substituted from
7926 libc_cv_localstatedir.
7927 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7928 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7929 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7930 * sysdeps/gnu/configure: Regenerated.
7931
006dd861
JL
79322012-06-21 Jeff Law <law@redhat.com>
7933
7934 [BZ #14277]
7935 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7936 free. Simplify list management for _LIBC case.
7937
79662d42
JM
79382012-06-21 Joseph Myers <joseph@codesourcery.com>
7939
b7abb4bf
JM
7940 [BZ #14273]
7941 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7942 Clear sign bit of 64-bit integer value before comparing against
7943 overflow value.
7944
79662d42
JM
7945 * sysdeps/mach/configure: Regenerated.
7946
1f150908
L
79472012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7948
7949 [BZ #14278]
7950 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7951
28363bbf
JL
79522012-06-21 Jeff Law <law@redhat.com>
7953
7954 [BZ #13882]
7955 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7956 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7957 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7958 * elf/dl-open.c (dl_open_worker): Likewise.
7959
09615db4
CD
79602012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7961
7962 * scripts/list-sources.sh: Scan PORTS for translations.
7963 * po/libc.pot: Regenerated.
7964
2174c6dd
AJ
79652012-06-21 Andreas Jaeger <aj@suse.de>
7966
7967 [BZ #12194]
7968 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7969 warning.
7970 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7971 * bits/byteswap-16.h (__bswap_16): Likewise.
7972 * bits/byteswap.h (__bswap_constant_16): Likewise.
7973
3ee947b1
L
79742012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7975
7976 [BZ #14117]
a2f34833
L
7977 * sysdeps/i386/fpu_control.h: Removed.
7978 * sysdeps/x86_64/fpu_control.h: Moved to ...
7979 * sysdeps/x86/fpu_control.h: Here.
7980
3ee947b1
L
7981 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7982 (_FPU_SETCW): Likewise.
7983
ed1825f8
L
79842012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7985
25f1282a
L
7986 [BZ #14117]
7987 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7988 * sysdeps/x86/fpu/bits/mathinline.h: This.
7989 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7990
ed1825f8
L
7991 [BZ #14050]
7992 [BZ #14117]
7993 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7994 functions if __x86_64__ is defined.
7995
36d54b74
CLT
79962012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7997
7998 * string/endian.h: Add !__ASSEMBLER__ condition for including
7999 conversion interfaces.
8000
10285c21
JM
80012012-06-15 Joseph Myers <joseph@codesourcery.com>
8002
8003 [BZ #14241]
8004 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8005 of ABS(x) in calculating zero to negative powers other than odd
8006 integers.
8007 * math/libm-test.inc (pow_test): Add more tests.
8008
06c5abbd
AJ
80092012-06-15 Andreas Jaeger <aj@suse.de>
8010
8011 * manual/contrib.texi (Contributors): Update entry of Liubov
8012 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8013 Machado Filho.
8014
a3aeac40
CH
80152012-06-15 Cyril Hrubis <metan@ucw.cz>
8016
8017 * string/string.h: Add __wur to GNU version of strerror_r.
8018
49bdf4c1
L
80192012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8020
8021 [BZ #14229]
8022 * string/Makefile (tests): Add tst-strtok_r.
8023 * string/tst-strtok_r.c: New file.
8024 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8025 RAX_LP/RDX_LP on SAVE_PTR.
8026
834f9b8d
RM
80272012-06-14 Roland McGrath <roland@hack.frob.com>
8028
8029 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8030
75fa1921
JM
80312012-06-14 Joseph Myers <joseph@codesourcery.com>
8032
8033 * libm_test.inc (csqrt_test): Allow more spurious underflow
8034 exceptions.
8035 (j0_test): Likewise.
8036 (j1_test): Likewise.
8037 (y0_test): Likewise.
8038 (y1_test): Likewise.
8039
771766df
CD
80402012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8041
8042 * po/Makefile (libc.pot): Use UTF-8 charset.
8043
ceb9e56b
PP
80442012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8045
8046 [BZ #14210]
8047 Suppress sign-conversion warning from FD_SET.
8048 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8049 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8050 not unsigned long int.
8051 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8052
ddb28975
L
80532012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8054
8055 [BZ #14050]
8056 [BZ #14117]
8057 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8058 __extern_always_inline instead of __extern_inline.
8059 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8060 (__signbit): Likewise.
8061 (__signbitl): Support C++ namespace.
8062 (lrintf): New inline function.
8063 (lrint): Likewise.
8064 (llrintf): Likewise.
8065 (llrint): Likewise.
8066 (fmaxf): Likewise.
8067 (fmax): Likewise.
8068 (fminf): Likewise.
8069 (fmin): Likewise.
8070 (rint): Likewise.
8071 (rintf): Likewise.
8072 (ceil): Likewise.
8073 (ceilf): Likewise.
8074 (floor): Likewise.
8075 (floorf): Likewise.
8076 (nearbyint): Likewise.
8077 (nearbyintf): Likewise.
8078
d7b4fb26
TS
80792012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8080
8081 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8082 non-default versions.
8083
eb55f5c2
RM
80842012-06-11 Roland McGrath <roland@hack.frob.com>
8085
8086 [BZ #14218]
8087 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8088
366af02c
TS
80892012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8090
99ff6e5c
TS
8091 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8092 (FE_UPWARD, FE_DOWNWARD): Don't define.
8093 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8094 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8095
366af02c
TS
8096 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8097 reading it.
8098 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8099 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8100
793ea851
KK
81012012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8102
8103 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8105 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8106 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8107
a728a38f
L
81082012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8109
8110 [BZ #14117]
c08010c7
L
8111 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8112 * sysdeps/i386/fpu/Implies: New file.
8113 * sysdeps/x86_64/fpu/Implies: Likewise.
8114 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8115 * sysdeps/x86/fpu/bits/fenv.h: This.
8116
a728a38f
L
8117 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8118 __SSE_MATH__.
8119
6e230d11
SP
81202012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8121
8122 [BZ #14134]
8123 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8124 character 0xffff that matches the last element of the
8125 conversion table.
8126
1b671feb
AZ
81272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8128
8129 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8130 fmodl commit.
8131
6043738b
AZ
81322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8133
8134 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8135 values higher than 25.6283.
8136
34ae0b32
AZ
81372012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8138
8139 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8140 subnormal exponent extraction and add some __builtin_expect.
8141 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8142 Fix for subnormal mantissa calculation.
8143
1214ec8f
MF
81442012-06-04 Mike Frysinger <vapier@gentoo.org>
8145
8146 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8147 cpu2 is -1 and errno is not ENOSYS.
8148
f3d1f93c
L
81492012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8150
8151 [BZ #14117]
0e4a3cd7
L
8152 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8153 * sysdeps/x86/bits/string.h: This.
8154 * sysdeps/x86_64/bits/string.h: Removed.
8155
6704c645
L
8156 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8157 if not compiling for x86-64, but compiling for >= i486.
8158
48495318
L
8159 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8160 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8161
14adcbfc
L
8162 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8163 New macro from Linux kernel 3.4.0.
8164 (FP_XSTATE_MAGIC2): Likewise.
8165 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8166 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8167 (struct _fpx_sw_bytes): New struct.
8168 (struct _xsave_hdr): Likewise.
8169 (struct _ymmh_state): Likewise.
8170 (struct _xstate): Likewise.
8171
68e408ab
L
8172 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8173 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8174 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8175 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8176 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8177 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8178
f3d1f93c
L
8179 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8180 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8181 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8182 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8183 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8184 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8185
d9dc34cd
TMQMF
81862012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8187
8188 [BZ #13743]
8189 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8190 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8191 (sysdep_headers): Include sys/platform/ppc.h.
8192 * sysdeps/powerpc/test-gettimebase.c: Test for
8193 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8194 * manual/Makefile (appendices): Include platform.texi.
8195 * manual/contrib.texi (Contributors): Update @node pointers.
8196 * manual/maint.texi (Maintenance): Likewise.
8197 (Platform): New node.
8198 * manual/platform.texi: New file. Document the new features.
8199
4af3879c
SP
82002012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8201 Jakub Jelinek <jakub@redhat.com>
8202
8203 [BZ #14188]
8204 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8205 where __builtin_expect is unavailable.
8206
2fd6ff13
DM
82072012-06-03 David S. Miller <davem@davemloft.net>
8208
8209 * stdlib/longlong.h: Updated from GCC.
8210
173f7220
AS
82112012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8212
8213 [BZ #14042]
8214 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8215 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8216 __mcount_internal.
8217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8218 (GLIBC_2.16): Likewise.
8219
f34a1c6f
L
82202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8221
8222 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8223
88a4576f
JM
82242012-06-01 Joseph Myers <joseph@codesourcery.com>
8225
ea32bcdd
JM
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8227 (default-abi): New variable.
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8229 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8230 variable.
8231 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8232 Likewise.
8233 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8234 Likewise.
8235 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8236 Likewise.
8237
88a4576f
JM
8238 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8239 definition. Document in comment.
8240
402fe938
DM
82412012-06-01 David S. Miller <davem@davemloft.net>
8242
8243 * stdlib/longlong.h: Updated from GCC.
8244
3553723f
L
82452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8246
8247 [BZ #14117]
3bd872c4
L
8248 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8249 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8250 sys/debugreg.h sys/io.h here.
8251 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8252 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8253 sys/io.h.
8254 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8255 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8256 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8257 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8258 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8259 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8260
3553723f
L
8261 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8262 Define only if __x86_64__ is defined.
8263
4842e4fe
JM
82642012-06-01 Joseph Myers <joseph@codesourcery.com>
8265
c5bfe3d5
JM
8266 [BZ #14048]
8267 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8268 Use int64_t for variable i.
8269 * math/libm-test.inc (fmod_test): Add more tests.
8270
4842e4fe
JM
8271 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8272 z computation is not scheduled after fetestexcept.
8273 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8274 Use math_force_eval instead of asm to ensure calculation scheduled
8275 before exception test.
8276 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8277 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8278
efb73488
AJ
82792012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8280
8281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8282 computation is not scheduled after fetestexcept.
8283
29bcce7c
L
82842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8285
8286 [BZ #14117]
8287 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8288 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8289
73a68f94
AZ
82902012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8291
8292 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8293 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8294
67b6df78
L
82952012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8296
edf2933a 8297 [BZ #14117]
ebc64a18
L
8298 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8299 <bits/wordsize.h>.
8300 (__WCHAR_MIN): Support __WORDSIZE == 64.
8301 (__WCHAR_MAX): Likewise.
8302
edf2933a
L
8303 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8304 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8305
57c6cf40
L
8306 [BZ #14183]
8307 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8308 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8309
67b6df78 8310 [BZ #14117]
8eb6281e
L
8311 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8312 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8313
aac639f4
L
8314 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8315 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8316
67b6df78
L
8317 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8318 Defined to 1 if __x86_64__ isn't defined.
8319 (_STAT_VER_LINUX_OLD): New.
8320 (st_atime): Remove duplicate.
8321 (st_mtime): Likewise.
8322 (st_ctime): Likewise.
8323
1c2cfe81
DM
83242012-05-31 David S. Miller <davem@davemloft.net>
8325
8326 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8327 entries.
8328
5be8418c
AS
83292012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8330
e7725326
AS
8331 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8332 gen-libm-test.pl.
8333
5be8418c
AS
8334 [BZ #14132]
8335 * elf/dl-reloc.c: Include <_itoa.h>.
8336 (_dl_reloc_bad_type): Remove use of INTUSE.
8337 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8338 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8339 * stdio-common/psiginfo.c (psiginfo): Likewise.
8340 * stdio-common/psignal.c (psignal): Likewise.
8341 * string/strsignal.c (strsignal): Likewise.
8342 * include/signal.h (_sys_siglist): Declare hidden proto.
8343 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8344 INTVARDEF with libc_hidden_data_def.
8345 * stdio-common/itoa-udigits.c: Likewise.
8346 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8347 (_itoa_lower_digits_internal): Remove declaration.
8348 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8349 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8350 (_sys_sigabbrev_internal): Remove aliases.
8351 (_sys_siglist): Define hidden alias.
8352
507352f1
MT
83532012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8354
8355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8356 bits/sysctl.h.
8357
42bbb1c3
L
83582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8359
8360 [BZ #14117]
6bd784b6
L
8361 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8362 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8363
8bca20f0
L
8364 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8365 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8366 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8367 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8368 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8369 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8370
f9e890a9
L
8371 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8372 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8373 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8374
471101a1
L
8375 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8376 with __addr.
8377 (insw): Likewise.
8378 (insl): Likewise.
8379 (outsb): Likewise.
8380 (outsw): Likewise.
8381 (outsl): Likewise.
8382
6451c862
L
8383 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8384 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8385 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8386
a254b8c9
L
8387 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8388 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8389 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8390 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8391 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8392 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8393
b8dfdd92
L
8394 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8395 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8396
578cd270
L
8397 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8398 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8399
de662f5f
L
8400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8402 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8403
25653439
L
8404 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8405 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8406 to ...
8407 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8408
6bad24a0
L
8409 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8410 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8411 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8412
42bbb1c3
L
8413 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8414 for x86-64.
8415 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8416
2d10d547
JM
84172012-05-31 Joseph Myers <joseph@codesourcery.com>
8418
8419 * math/math.h (M_El): Use two more decimal places.
8420 (M_LOG2El): Likewise.
8421 (M_LOG10El): Likewise.
8422 (M_LN2l): Likewise.
8423 (M_LN10l): Likewise.
8424 (M_PIl): Likewise.
8425 (M_PI_2l): Likewise.
8426 (M_PI_4l): Likewise.
8427 (M_1_PIl): Likewise.
8428 (M_2_PIl): Likewise.
8429 (M_2_SQRTPIl): Likewise.
8430 (M_SQRT2l): Likewise.
8431 (M_SQRT1_2l): Likewise.
8432
f230c29b
DM
84332012-05-31 David S. Miller <davem@davemloft.net>
8434
8435 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8436 values between float registers.
8437 * sysdeps/sparc/sparc64/memset.S: Likewise.
8438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8439
fed806c3
MF
84402012-05-31 Mike Frysinger <vapier@gentoo.org>
8441
8442 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8443 -D_FORTIFY_SOURCE=1.
8444 (CPPFLAGS-tst-longjmp_chk.c): Define.
8445 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8446 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8447 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8448 CFLAGS-tst-wchar-h.c.
8449
30917259
MP
84502012-05-31 Marek Polacek <polacek@redhat.com>
8451
8452 [BZ #14132]
8453 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8454 __endmntent_internal): Remove declaration.
8455 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8456 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8457 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8458
1c58d5dc
DM
84592012-05-30 David S. Miller <davem@davemloft.net>
8460
8461 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8462 (___Q_simulate_exceptions): Use real FP ops rather than writing
8463 into the %fsr.
8464 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8465 Likewise.
8466
7dc00e0d
L
84672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8468
8469 [BZ #14117]
0bd53985
L
8470 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8471 * sysdeps/x86/bits/xtitypes.h: This.
8472
3a257e66
L
8473 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8474 * sysdeps/x86/bits/wordsize.h: This.
8475
62f62904
L
8476 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8477 * sysdeps/x86/bits/huge_vall.h: This.
8478
404fe9d9
L
8479 * sysdeps/i386/bits/select.h: Removed.
8480 * sysdeps/x86_64/bits/select.h: Renamed to ...
8481 * sysdeps/x86/bits/select.h: This.
8482
d48d0446
L
8483 * sysdeps/i386/bits/setjmp.h: Removed.
8484 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8485 * sysdeps/x86/bits/setjmp.h: This.
8486
7dc00e0d
L
8487 * sysdeps/i386/bits/mathdef.h: Removed.
8488 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8489 * sysdeps/x86/bits/mathdef.h: This.
8490
03277f8f
AS
84912012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8492
8493 [BZ #14132]
8494 * include/sys/socket.h (__connect_internal)
8495 (__libc_sa_len_internal): Remove declaration.
8496 (__connect, __libc_sa_len): Declare hidden_proto.
8497 (SA_LEN): Remove use of INTUSE.
8498 * socket/connect.c: Add libc_hidden_def.
8499 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8500 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8501 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8502 alias.
8503 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8504 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8505 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8506 of adding _internal alias.
8507
13764867
L
85082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8509
8510 [BZ #14117]
6bd97696
L
8511 * sysdeps/i386/bits/link.h: Removed.
8512 * sysdeps/i386/bits/linkmap.h: Likewise.
8513 * sysdeps/x86_64/bits/link.h: Renamed to ...
8514 * sysdeps/x86/bits/link.h: This.
8515 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8516 * sysdeps/x86/bits/linkmap.h: This.
8517
f726f0bb
L
8518 * sysdeps/i386/bits/endian.h: Removed.
8519 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8520 * sysdeps/x86/bits/endian.h: This.
8521
13764867
L
8522 * sysdeps/i386/bits/byteswap.h: Removed.
8523 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8524 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8525 * sysdeps/x86/bits/byteswap.h: This.
8526 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8527 * sysdeps/x86/bits/byteswap-16.h: This.
8528 * sysdeps/i386/Implies: Add x86.
8529 * sysdeps/x86_64/Implies: Likewise.
8530
ae251b0b
DM
85312012-05-30 David S. Miller <davem@davemloft.net>
8532
8533 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8534 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8535 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8536 (FP_TRAPPING_EXCEPTIONS): Define.
8537 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8538 (FP_TRAPPING_EXCEPTIONS): Define.
8539 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8540 subnormals only when inexact has been signalled or underflow
8541 exceptions are enabled.
8542 (_FP_PACK_CANONICAL): Likewise.
8543
d5c90867
L
85442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8545
8546 [BZ #14183]
8547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8548 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8549
63f1549e
RH
85502012-05-30 Richard Henderson <rth@twiddle.net>
8551
8d8f2279
RH
8552 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8553 with #ifndef NOT_IN_libc.
8554
63f1549e
RH
8555 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8556 marked to avoid plt entry.
8557
0ab0291b
L
85582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8559
8560 [BZ #14112]
8561 * Makeconfig (default-abi): New macro.
8562 (abi-includes): Likewise.
8563 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8564 $(abi-$(default-abi)-lib-soname) for soname if defined.
8565 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8566 abi-variants.
8567 * Makefile (installed-stubs): Likewise.
8568 * include/stubs-biarch.h: Removed.
8569 * scripts/lib-names.awk: Only handle one library at a time.
8570 * scripts/soversions.awk: Remove WORDSIZE support.
8571 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8572 entries.
8573 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8574 Removed.
8575 (syscall-list-default-condition): Likewise.
8576 (syscall-list-default-condition): Likewise.
8577 (syscall-list-includes): Likewise.
8578 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8579 syscall-list-* with abi-*. Handle undefined abi-variants.
8580 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8581 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8582 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8583 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8584 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8585 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8586 Removed.
8587 (syscall-list-32-options): Likewise.
8588 (syscall-list-32-condition): Likewise.
8589 (syscall-list-64-options): Likewise.
8590 (syscall-list-64-condition): Likewise.
8591 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8592 macro.
8593 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8594 Renamed to ...
8595 (abi-*): This.
8596 (abi-64-ld-soname): New macro.
8597 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8598 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8599 Renamed to ...
8600 (abi-*): This.
8601 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8602 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8603
4da0431d
JM
86042012-05-30 Joseph Myers <joseph@codesourcery.com>
8605
3a85279c
JM
8606 * sysdeps/unix/sysv/linux/kernel-features.h
8607 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8608 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8609 include <kernel-features.h>.
8610 [!__NR_ftruncate64]: Remove conditional code.
8611 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8612 [__NR_ftruncate64]: Make code unconditional.
8613 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8614 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8615 include <kernel-features.h>.
8616 [!__NR_ftruncate64]: Remove conditional code.
8617 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8618 [__NR_ftruncate64]: Make code unconditional.
8619 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8621 include <kernel-features.h>.
8622 [!__NR_ftruncate64]: Remove conditional code.
8623 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8624 [__NR_ftruncate64]: Make code unconditional.
8625 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8627 include <kernel-features.h>.
8628 [!__NR_ftruncate64]: Remove conditional code.
8629 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8630 [__NR_ftruncate64]: Make code unconditional.
8631 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8632
4da0431d
JM
8633 * configure.in (libc_cv_fpie): Weaken to a compile test using
8634 LIBC_TRY_CC_OPTION.
8635 * configure: Regenerated.
8636
11ef492c
AK
86372012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8638
8639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8643 Refreshed.
8644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8650 Refreshed.
8651
d66ef399
DM
86522012-05-27 David S. Miller <davem@davemloft.net>
8653
8654 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8655 (___Q_zero): New.
8656 (__Q_simulate_exceptions): Return void. Change to simulate
8657 exceptions by writing into the %fsr.
8658 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8659 (__Qp_handle_exceptions): Likewise.
8660 (numbers): Delete.
8661 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8662 __Qp_handle_exceptions.
8663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8664 __Qp_handle_exceptions.
8665 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8666 as unused and give dummy FP_RND_NEAREST initializer.
8667 (FP_INHIBIT_RESULTS): Define.
8668 (___Q_simulate_exceptions): Update declaration.
8669 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8670 formatting.
8671 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8672 as unused and give dummy FP_RND_NEAREST initializer.
8673 (__Qp_handle_exceptions): Update declaration.
8674 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8675 formatting.
8676
04fb54b5
TS
86772012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8678
8679 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8680 the temporary FPU control word.
8681 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8682 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8683 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8684 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8685 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8686 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8687 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8688 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8689 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8690 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8691 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8692
3f99608f
KK
86932012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8694
8695 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8696 fields.
8697
65a4de4e
CLT
86982012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8699
8700 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8701 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8702 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8703 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8704 Likewise.
8705 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8706 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8707 Likewise.
8708
15749d40
UD
87092012-05-27 Ulrich Drepper <drepper@gmail.com>
8710
8711 * po/h.po: Update from translation team.
8712
25dbcb27
AS
87132012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8714
3d3f8e55
AS
8715 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8716
25dbcb27
AS
8717 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8718 handling of denormals.
8719 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8720 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8721 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8722 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8725 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8726 Likewise.
8727
7ad47a80 87282012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8729
8730 [BZ #14152]
8731 * math/libm-test.inc (fma_test): Don't always expect underflow
8732 exception.
8733
9c6ea9fa
SP
87342012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8735
8736 [BZ #12416]
8737 * elf/tst-execstack.c: Include stackinfo.h.
8738 (do_test): Adjust test case to ensure that pthread_getattr_np
8739 behaviour remains the same after marking stack executable.
8740
a8239222
JM
87412012-05-25 Joseph Myers <joseph@codesourcery.com>
8742
8743 * sysdeps/unix/sysv/linux/kernel-features.h
8744 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8745 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8746 kernel-features.h.
8747 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8748 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8749 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8750 kernel-features.h.
8751 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8752 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8753
918b5606
L
87542012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8755
8756 * configure.in: Define the default includes to being none.
8757 * configure: Regenerated.
8758
3a097cc7
RM
87592012-05-25 Roland McGrath <roland@hack.frob.com>
8760
8422c9a5
RM
8761 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8762 * sysdeps/x86_64/setjmp.S: Likewise.
8763 * sysdeps/i386/bsd-setjmp.S: Likewise.
8764 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8765 * sysdeps/i386/setjmp.S: Likewise.
8766 * sysdeps/i386/__longjmp.S: Likewise.
8767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8768 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8769
3a097cc7
RM
8770 * include/stap-probe.h: New file.
8771 * configure.in: Handle --enable-systemtap.
8772 * configure: Regenerated.
8773 * config.h.in (USE_STAP_PROBE): New #undef.
8774 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8775 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8776 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8777
21708942
JM
87782012-05-25 Joseph Myers <joseph@codesourcery.com>
8779
8780 [BZ #13717]
8781 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8782 to 2.4.0 where earlier.
8783 * sysdeps/unix/sysv/linux/configure: Regenerated.
8784 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8785 <kernel-features.h>.
8786 [__ASSUME_32BITUIDS]: Make code unconditional.
8787 [!__ASSUME_32BITUIDS]: Remove conditional code.
8788 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8789 <kernel-features.h>.
8790 [__ASSUME_32BITUIDS]: Make code unconditional.
8791 [!__ASSUME_32BITUIDS]: Remove conditional code.
8792 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8793 [__ASSUME_32BITUIDS]: Make code unconditional.
8794 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8795 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.c: Do not include
8808 <kernel-features.h>.
8809 [__ASSUME_32BITUIDS]: Make code unconditional.
8810 [!__ASSUME_32BITUIDS]: Remove conditional code.
8811 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8812 <kernel-features.h>.
8813 [__ASSUME_32BITUIDS]: Make code unconditional.
8814 [!__ASSUME_32BITUIDS]: Remove conditional code.
8815 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8816 <kernel-features.h>.
8817 [__ASSUME_32BITUIDS]: Make code unconditional.
8818 [!__ASSUME_32BITUIDS]: Remove conditional code.
8819 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8820 <kernel-features.h>.
8821 [__ASSUME_32BITUIDS]: Make code unconditional.
8822 [!__ASSUME_32BITUIDS]: Remove conditional code.
8823 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8824 <kernel-features.h>.
8825 [__ASSUME_32BITUIDS]: Make code unconditional.
8826 [!__ASSUME_32BITUIDS]: Remove conditional code.
8827 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8828 <kernel-features.h>.
8829 [__ASSUME_32BITUIDS]: Make code unconditional.
8830 [!__ASSUME_32BITUIDS]: Remove conditional code.
8831 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8832 <kernel-features.h>.
8833 [__ASSUME_32BITUIDS]: Make code unconditional.
8834 [!__ASSUME_32BITUIDS]: Remove conditional code.
8835 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8836 <kernel-features.h>.
8837 [__NR_setresgid] (__setresgid): Do not declare.
8838 [__ASSUME_32BITUIDS]: Make code unconditional.
8839 [!__ASSUME_32BITUIDS]: Remove conditional code.
8840 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8841 <kernel-features.h>.
8842 [__NR_setresuid] (__setresuid): Do not declare.
8843 [__ASSUME_32BITUIDS]: Make code unconditional.
8844 [!__ASSUME_32BITUIDS]: Remove conditional code.
8845 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/i386/setgroups.c: Do not include
8858 <kernel-features.h>.
8859 [__ASSUME_32BITUIDS]: Make code unconditional.
8860 [!__ASSUME_32BITUIDS]: Remove conditional code.
8861 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8862 <kernel-features.h>.
8863 [__ASSUME_32BITUIDS]: Make code unconditional.
8864 [!__ASSUME_32BITUIDS]: Remove conditional code.
8865 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8866 <kernel-features.h>.
8867 [__ASSUME_32BITUIDS]: Make code unconditional.
8868 [!__ASSUME_32BITUIDS]: Remove conditional code.
8869 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8870 <kernel-features.h>.
8871 [__ASSUME_32BITUIDS]: Make code unconditional.
8872 [!__ASSUME_32BITUIDS]: Remove conditional code.
8873 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8874 <kernel-features.h>.
8875 [__ASSUME_32BITUIDS]: Make code unconditional.
8876 [!__ASSUME_32BITUIDS]: Remove conditional code.
8877 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8878 <kernel-features.h>.
8879 [__ASSUME_32BITUIDS]: Make code unconditional.
8880 [!__ASSUME_32BITUIDS]: Remove conditional code.
8881 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8882 <kernel-features.h>.
8883 [__ASSUME_32BITUIDS]: Make code unconditional.
8884 [!__ASSUME_32BITUIDS]: Remove conditional code.
8885 * sysdeps/unix/sysv/linux/kernel-features.h
8886 (__ASSUME_SETRESUID_SYSCALL): Remove.
8887 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8888 (__ASSUME_32BITUIDS): Likewise.
8889 (__ASSUME_LDT_WORKS): Likewise.
8890 (__ASSUME_O_DIRECTORY): Likewise.
8891 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8892 architecture but not kernel version.
8893 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8894 (__ASSUME_MMAP2_SYSCALL): Likewise.
8895 (__ASSUME_STAT64_SYSCALL): Likewise.
8896 (__ASSUME_IPC64): Likewise.
8897 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8898 <kernel-features.h>.
8899 [__ASSUME_32BITUIDS]: Make code unconditional.
8900 [!__ASSUME_32BITUIDS]: Remove conditional code.
8901 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8902 <kernel-features.h>.
8903 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8904 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8905 132096]: Remove conditional code.
8906 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8907 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8908 <kernel-features.h>.
8909 [__ASSUME_32BITUIDS]: Make code unconditional.
8910 [!__ASSUME_32BITUIDS]: Remove conditional code.
8911 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8912 <kernel-features.h>.
8913 [__ASSUME_32BITUIDS]: Make code unconditional.
8914 [!__ASSUME_32BITUIDS]: Remove conditional code.
8915 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8916 <kernel-features.h>.
8917 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8918 unconditional.
8919 (__setresgid): Do not declare.
8920 [__ASSUME_32BITUIDS]: Make code unconditional.
8921 [!__ASSUME_32BITUIDS]: Remove conditional code.
8922 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8923 <kernel-features.h>.
8924 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8925 unconditional.
8926 (__setresuid): Do not declare.
8927 [__ASSUME_32BITUIDS]: Make code unconditional.
8928 [!__ASSUME_32BITUIDS]: Remove conditional code.
8929 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8930 <kernel-features.h>.
8931 [__ASSUME_32BITUIDS]: Make code unconditional.
8932 [!__ASSUME_32BITUIDS]: Remove conditional code.
8933 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8934 <kernel-features.h>.
8935 [__ASSUME_32BITUIDS]: Make code unconditional.
8936 [!__ASSUME_32BITUIDS]: Remove conditional code.
8937
a386f1cc
RH
89382012-05-25 Richard Henderson <rth@twiddle.net>
8939
8940 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8941 dl_hwcap to ifunc resolver.
8942 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8943 elf_ifunc_invoke.
8944 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8945 dl_hwcap to ifunc resolver.
8946 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8947
b6550497
JM
89482012-05-24 Joseph Myers <joseph@codesourcery.com>
8949
8950 [BZ #14153]
8951 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8952 for |x| <= 2**-26, not 2**-57.
8953 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8954 exception.
8955
b0bc23a1
JL
89562012-05-24 Jeff Law <law@redhat.com>
8957
8958 * stdio-common/Makefile (tests): Add bug25.
8959 * stdio-common/bug25.c: New test.
8960
347c92e9
L
89612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8962
8963 [BZ #13576]
8964 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8965 multiple of MALLOC_ALIGNMENT in size.
8966 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8967
6bcc8b3f
JM
89682012-05-24 Joseph Myers <joseph@codesourcery.com>
8969
8970 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8971 Require >= 256.
8972 (FILENAME_MAX): Use macro-int-constant.
8973 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8974 (_IOFBF): Use macro-int-constant.
8975 (_IOLBF): Likewise.
8976 (_IONBF): Likewise.
8977 (SEEK_CUR): Likewise.
8978 (SEEK_END): Likewise.
8979 (SEEK_SET): Likewise.
8980 (TMP_MAX): Likewise.
8981 (EOF): Use macro-int-constant. Require < 0.
8982 (NULL): Use macro-constant. Require == 0.
8983 (stdin): Require type to be FILE *.
8984 (stdout): Likewise.
8985 (stderr): Likewise.
8986 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8987 macro-int-constant.
8988 (EXIT_SUCCESS): Likewise.
8989 (NULL): Use macro-constant. Require == 0.
8990 (RAND_MAX): Use macro-int-constant.
8991 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8992 [C99-based standards] (strtof): Require function.
8993 [C99-based standards] (strtold): Likewise.
8994 [C99-based standards] (strtoll): Likewise.
8995 [C99-based standards] (strtoull): Likewise.
8996 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8997 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8998 [ISO || ISO99 || ISO11] (math.h): Likewise.
8999 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9000 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9002
d18ea0c5
AS
90032012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9004
9005 [BZ #14132]
56d25bb8
AS
9006 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9007 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9008 * intl/dgettext.c (DCGETTEXT): Likewise.
9009 * intl/gettext.c (DCGETTEXT): Likewise.
9010 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9011 * posix/regex_internal.h (gettext): Likewise.
9012 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9013 Remove declaration.
9014 * include/argz.h (__argz_count_internal)
9015 (__argz_stringify_internal): Remove declaration.
9016 (__argz_count, __argz_stringify): Declare hidden proto.
9017 * intl/dcgettext.c: Remove use of INTDEF.
9018 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9019 * string/argz-stringify.c: Likewise.
9020 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9021 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9022 Declare hidden proto.
d18ea0c5
AS
9023 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9024 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9025 Declare hidden proto.
9026 * include/stdio.h (__asprintf_internal): Don't declare.
9027 (__asprintf): Don't define as macro. Declare hidden proto.
9028 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9029 (__fsetlocking): Declare hidden proto.
9030 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9031 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9032 hidden proto.
9033 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9034 (_IO_setlinebuf): Remove use of INTUSE.
9035 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9036 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9037 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9038 Remove declaration.
9039 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9040 (_IO_do_flush): Remove use of INTUSE.
9041 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9042 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9043 (_IO_adjust_column, _IO_least_wmarker)
9044 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9045 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9046 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9047 (_IO_default_doallocate, _IO_wdefault_doallocate)
9048 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9049 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9050 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9051 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9052 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9053 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9054 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9055 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9056 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9057 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9058 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9059 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9060 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9061 proto.
9062 (_IO_flush_all_internal, _IO_adjust_column_internal)
9063 (_IO_default_uflow_internal, _IO_default_finish_internal)
9064 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9065 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9066 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9067 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9068 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9069 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9070 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9071 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9072 (_IO_file_close_internal, _IO_file_close_it_internal)
9073 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9074 (_IO_file_init_internal, _IO_file_attach_internal)
9075 (_IO_file_fopen_internal, _IO_file_read_internal)
9076 (_IO_file_sync_internal, _IO_file_seek_internal)
9077 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9078 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9079 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9080 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9081 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9082 (_IO_list_all_internal, _IO_link_in_internal)
9083 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9084 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9085 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9086 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9087 (_IO_do_write_internal, _IO_padn_internal)
9088 (_IO_getline_info_internal, _IO_getline_internal)
9089 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9090 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9091 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9092 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9093 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9094 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9095 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9096 with libc_hidden_ver, remove use of INTUSE.
9097 * libio/genops.c: Likewise.
9098 * libio/freopen.c: Likewise.
9099 * libio/freopen64.c: Likewise.
9100 * libio/iofclose.c: Likewise.
9101 * libio/iofdopen.c: Likewise.
9102 * libio/iofflush.c: Likewise.
9103 * libio/iofflush_u.c: Likewise.
9104 * libio/iofgets.c: Likewise.
9105 * libio/iofgets_u.c: Likewise.
9106 * libio/iofopen.c: Likewise.
9107 * libio/iofopncook.c: Likewise.
9108 * libio/iofread.c: Likewise.
9109 * libio/iofread_u.c: Likewise.
9110 * libio/ioftell.c: Likewise.
9111 * libio/iofwrite.c: Likewise.
9112 * libio/iogetline.c: Likewise.
9113 * libio/iogets.c: Likewise.
9114 * libio/iogetwline.c: Likewise.
9115 * libio/iopadn.c: Likewise.
9116 * libio/iopopen.c: Likewise.
9117 * libio/ioseekoff.c: Likewise.
9118 * libio/ioseekpos.c: Likewise.
9119 * libio/iosetbuffer.c: Likewise.
9120 * libio/iosetvbuf.c: Likewise.
9121 * libio/ioungetc.c: Likewise.
9122 * libio/ioungetwc.c: Likewise.
9123 * libio/iovdprintf.c: Likewise.
9124 * libio/iovsprintf.c: Likewise.
9125 * libio/iovsscanf.c: Likewise.
9126 * libio/memstream.c: Likewise.
9127 * libio/obprintf.c: Likewise.
9128 * libio/oldfileops.c: Likewise.
9129 * libio/oldiofclose.c: Likewise.
9130 * libio/oldiofdopen.c: Likewise.
9131 * libio/oldiofopen.c: Likewise.
9132 * libio/oldiopopen.c: Likewise.
9133 * libio/oldstdfiles.c: Likewise.
9134 * libio/putc.c: Likewise.
9135 * libio/setbuf.c: Likewise.
9136 * libio/setlinebuf.c: Likewise.
9137 * libio/stdfiles.c: Likewise.
9138 * libio/strops.c: Likewise.
9139 * libio/vasprintf.c: Likewise.
9140 * libio/vscanf.c: Likewise.
9141 * libio/vsnprintf.c: Likewise.
9142 * libio/vswprintf.c: Likewise.
9143 * libio/wfiledoalloc.c: Likewise.
9144 * libio/wfileops.c: Likewise.
9145 * libio/wgenops.c: Likewise.
9146 * libio/wmemstream.c: Likewise.
9147 * libio/wstrops.c: Likewise.
9148 * libio/__fpurge.c: Likewise.
9149 * libio/__fsetlocking.c: Likewise.
9150 * assert/assert.c: Likewise.
9151 * debug/fgets_chk.c: Likewise.
9152 * debug/fgets_u_chk.c: Likewise.
9153 * debug/fread_chk.c: Likewise.
9154 * debug/fread_u_chk.c: Likewise.
9155 * debug/gets_chk.c: Likewise.
9156 * debug/obprintf_chk.c: Likewise.
9157 * debug/vasprintf_chk.c: Likewise.
9158 * debug/vdprintf_chk.c: Likewise.
9159 * debug/vsnprintf_chk.c: Likewise.
9160 * debug/vsprintf_chk.c: Likewise.
9161 * malloc/mtrace.c: Likewise.
9162 * misc/error.c: Likewise.
9163 * misc/syslog.c: Likewise.
9164 * stdio-common/asprintf.c: Likewise.
9165 * stdio-common/fxprintf.c: Likewise.
9166 * stdio-common/getw.c: Likewise.
9167 * stdio-common/isoc99_fscanf.c: Likewise.
9168 * stdio-common/isoc99_scanf.c: Likewise.
9169 * stdio-common/isoc99_vfscanf.c: Likewise.
9170 * stdio-common/isoc99_vscanf.c: Likewise.
9171 * stdio-common/isoc99_vsscanf.c: Likewise.
9172 * stdio-common/printf-prs.c: Likewise.
9173 * stdio-common/printf_fp.c: Likewise.
9174 * stdio-common/printf_fphex.c: Likewise.
9175 * stdio-common/printf_size.c: Likewise.
9176 * stdio-common/putw.c: Likewise.
9177 * stdio-common/scanf.c: Likewise.
9178 * stdio-common/sprintf.c: Likewise.
9179 * stdio-common/tmpfile.c: Likewise.
9180 * stdio-common/vfprintf.c: Likewise.
9181 * stdio-common/vfscanf.c: Likewise.
9182 * stdlib/strfmon_l.c: Likewise.
9183 * sunrpc/openchild.c: Likewise.
9184 * sunrpc/xdr_stdio.c: Likewise.
9185 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9186 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9187
d6c33fda
RM
91882012-05-24 Roland McGrath <roland@hack.frob.com>
9189
c1487492
RM
9190 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9191
9192 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9193 in the third column, to generate for the shared library an IFUNC
9194 that uses _dl_vdso_vsym.
9195 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9196 * Makeconfig (object-suffixes-noshared): New variable.
9197
9198 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9199 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9200 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9201 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9202
d6c33fda
RM
9203 [BZ #14132]
9204 * include/sys/time.h (__gettimeofday): Remove macro.
9205 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9206 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9207 Remove INTDEF.
9208 (__gettimeofday): Add libc_hidden_def.
9209 (gettimeofday): Add libc_hidden_weak.
9210 * sysdeps/mach/gettimeofday.c: Likewise.
9211 * sysdeps/posix/gettimeofday.c: Likewise.
9212 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9213 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9214 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9215 (__gettimeofday_internal): Remove strong_alias.
9216 (__gettimeofday): Add libc_hidden_def.
9217 (gettimeofday): Add libc_hidden_weak.
9218 * sysdeps/unix/syscalls.list (gettimeofday):
9219 Remove __gettimeofday_internal alias.
9220
b5a2bbe6
L
92212012-05-24 Daniel Jacobowitz <drow@false.org>
9222 H.J. Lu <hongjiu.lu@intel.com>
9223
9224 [BZ #12495]
9225 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9226 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9227 (largebin_index_32_big): New.
9228 (largebin_index): Use it for 16-byte alignment.
9229 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9230 correction with front_misalign.
9231
cfba4fda
L
92322012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9233
7f907421
L
9234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9236 Likewise.
9237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9238 Likewise.
9239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9240 Likewise.
9241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9242 Likewise.
9243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9244 Likewise.
9245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9246 Likewise.
9247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9248 Likewise.
9249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9250 Likewise.
9251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9252 Likewise.
9253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9254 Likewise.
9255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9256 Likewise.
9257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9258 Likewise.
9259
cfba4fda
L
9260 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9261 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9262
80bad0cc
JM
92632012-05-24 Joseph Myers <joseph@codesourcery.com>
9264
7a25eb06
JM
9265 [BZ #10846]
9266 [BZ #14036]
9267 * math/libm-test.inc (exp_test): Add test from bug 14036.
9268 (pow_test): Add test from bug 10846.
9269
795405f9
JM
9270 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9271 and other flags.
9272 (special_function): Do not include flags in test name.
9273 (parse_args): Likewise.
9274 * sysdeps/i386/fpu/libm-test-ulps: Update.
9275 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9276 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9277 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9279
80bad0cc
JM
9280 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9281 exceptions.
9282 * math/libm-test.inc ("Philosophy"): Update comment about
9283 exception testing.
9284 (UNDERFLOW_EXCEPTION): New macro.
9285 (UNDERFLOW_EXCEPTION_OK): Likewise.
9286 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9287 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9288 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9289 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9290 (INVALID_EXCEPTION_OK): Update value.
9291 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9292 (OVERFLOW_EXCEPTION_OK): Likewise.
9293 (IGNORE_ZERO_INF_SIGN): Likewise.
9294 (test_exceptions): Handle underflow exceptions.
9295 (acos_test): Update for underflow exception expectations.
9296 (cexp_test): Likewise.
9297 (clog_test): Likewise.
9298 (clog10_test): Likewise.
9299 (csqrt_test): Likewise.
9300 (ctan_test): Likewise.
9301 (ctanh_test): Likewise.
9302 (exp_test): Likewise.
9303 (exp10_test): Likewise.
9304 (exp2_test): Likewise.
9305 (expm1_test): Likewise.
9306 (fma_test): Likewise.
9307 (j0_test): Likewise.
9308 (jn_test): Likewise.
9309 (nexttoward_test): Likewise.
9310 (pow_test): Likewise.
9311 (scalbn_test): Likewise.
9312 (scalbln_test): Likewise.
9313 (tan_test): Likewise.
9314 (y1_test): Likewise.
9315 * sysdeps/i386/fpu/libm-test-ulps: Update.
9316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9317
9e0e3d0b
DM
93182012-05-23 David S. Miller <davem@davemloft.net>
9319
9320 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9321 (__libc_sigaction): Remove unused local variables.
9322
ccd0a08f
L
93232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9324
9325 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9326
62bdf9a6
PE
93272012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9328
f8591f80
PE
9329 mktime: avoid signed integer overflow
9330 * time/mktime.c (__mktime_internal): Do not mishandle the case
9331 where diff == INT_MIN.
9332
94c7d826
PE
9333 mktime: simplify computation of average
9334 * time/mktime.c (ranged_convert): Use new time_t_avg function
9335 instead of rolling our own (probably-slower) code.
9336
ce73d683
PE
9337 mktime: do not assume signed right shift propagates sign bit
9338 * time/mktime.c (isdst_differ): New static function.
9339 (__mktime_internal): No need to normalize tm_isdst now.
9340 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9341 tm_isdst values.
9342
72a22e59
PE
9343 mktime: merge another wrapv change from gnulib
9344 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9345 from some compilers.
9346
68605433
PE
9347 mktime: remove incorrect attempt at unusual arithmetics
9348 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9349 The code didn't really work on such machines anyway.
9350 (TYPE_MINIMUM): Assume two's complement.
9351 (twos_complement_arithmetic): Verify that long_int and time_t
9352 are two's complement (or unsigned, in the latter case).
9353
03cf7fe3
PE
9354 mktime: check signed shifts on long_int and time_t, too
9355 * time/mktime.c (SHR): Check that shifts work as desired
9356 on the types long_int and time_t too, as SHR is used on
9357 such types.
9358
f04dfbc2
PE
9359 mktime: do not assume 'long' is wide enough
9360 * time/mktime.c (verify): Move decl up.
9361 (long_int): New type.
9362 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9363 to remove assumption in the code that 'long' is wide enough to
9364 store year values. This assumption is not true on x32 and on
9365 some non-glibc platforms.
9366
62bdf9a6
PE
9367 mktime: merge wrapv change from gnulib
9368 * time/mktime.c (WRAPV): New macro.
9369 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9370 (guess_time_tm, __mktime_internal): Do not assume that signed
9371 integer overflow wraps around; modern compilers generate code
9372 where this assumption is no longer valid.
9373
5e292e4f
L
93742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9375
9376 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9377 Replace "jmp L(pseudo_end)" with "ret".
9378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9379 Likewise.
9380
8caf8c87
AJ
93812012-05-23 Andreas Jaeger <aj@suse.de>
9382
9383 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9384 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9385
1a09dc56
AJ
93862012-05-23 Andreas Jaeger <aj@suse.de>
9387 Maximilian Attems <max@stro.at>
9388
9389 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9390 New macros.
9391
1c87aba0
L
93922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9393
9394 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9395 code so that pseudo_end is just ret and the stack pointer is
9396 correct also for static library in error case.
9397
40e45bd5
JM
93982012-05-23 Joseph Myers <joseph@codesourcery.com>
9399
c2670533
JM
9400 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9401 move to syscalls.list.
9402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9406
40e45bd5
JM
9407 * manual/install.texi (Running make install): Do not mention Linux
9408 kernel version for which pt_chown is not needed.
9409 (Linux): Do not mention problems with nscd with 2.0 kernels.
9410 * INSTALL: Regenerated.
9411
be08eda5
AJ
94122012-05-23 Andreas Jaeger <aj@suse.de>
9413
9414 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9415 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9416 macro.
9417 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9419 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9421 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9423 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9424 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9425 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9426 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9427 * sysdeps/unix/sysv/linux/bits/in.h
9428 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9429
a6a056bb
RM
94302012-05-22 Roland McGrath <roland@hack.frob.com>
9431
9432 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9433 (PREPARE_VERSION): Just use assert instead, it will be elided
9434 under [NDEBUG] anyway.
9435
c9009328
L
94362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9437
9438 * sysdeps/unix/sysv/linux/Makefile: Include
9439 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9440 (sysdep_routines): Remove sysctl.
c9009328
L
9441 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9442 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9443 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9444 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9445 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9446
73338355
AJ
94472012-05-22 Andreas Jaeger <aj@suse.de>
9448
9449 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9450 that pseudo_end is just ret and the stack pointer is correct also
9451 for static library in error case.
9452
d44638b0
PP
94532012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9454
9455 [BZ #14122]
9456 * nss/nsswitch.c (defconfig_entries): New variable.
9457 (__nss_database_lookup): Don't leak defconfig entries.
9458 (nss_parse_service_list): Don't leak on error paths.
9459 (free_database_entries): New function.
9460 (free_defconfig): New function.
9461 (free_mem): Move common code to free_database_entries.
9462
31a39bd8
L
94632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9464
da0331a8
L
9465 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9466 Add arch_prctl.
9467 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9468
31a39bd8
L
9469 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9470 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9472 New macro.
9473 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9474 (INTERNAL_SYSCALL_TYPES): Likewise.
9475 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9476 (LOAD_REGS_TYPES_[1-6]): Likewise.
9477 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9478 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9479
45470df3
AZ
94802012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9481
9482 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9483 copysignl for GLIBC_2_0.
9484 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9485 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9486 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9487 logbl for GLIBC_2_0.
9488 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9489 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9490
98a61bcb
L
94912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9492
a4f6e481
L
9493 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9494 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9495
f63d5db6
L
9496 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9497 Use "neg %eax".
9498
98a61bcb
L
9499 * time/mktime.c: Update copyright years.
9500
95770f14
PE
95012012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9502
6226efbd
PE
9503 mktime: merge comment-quoting-style change from gnulib
9504 * time/mktime.c: Quote 'like this' in comments.
9505 The GNU coding standards suggest that we no longer quote `like this',
9506 as "`" and "'" are typically rendered asymmetrically nowadays.
9507 The typical gnulib style is to quote 'like this' when quoting
9508 code, and "like this" when quoting English.
9509
b99e4f78
PE
9510 * time/mktime.c (compile-command): Add "-I.".
9511
643e01e6
PE
9512 mktime: merge mktime-internal.h change from gnulib
9513 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9514
2554247d
PE
9515 mktime: merge time_r change from gnulib
9516 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9517
826dd0ab
PE
9518 mktime: merge DEBUG change from gnulib
9519 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9520 case system <time.h> has a #define.
9521
bd83aabe
PE
9522 mktime: merge <sys/types.h> change from gnulib
9523 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9524 since <time.t> is now guaranteed to define time_t.
9525
95770f14
PE
9526 mktime: merge HAVE_CONFIG_H change from gnulib
9527 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9528
5e1a27a9
L
95292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9530
0e44a77e
L
9531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9532 Use "neg %eax".
9533
5e1a27a9
L
9534 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9535 __rlim_t cast.
9536 (struct rusage): Use anonymous union to pad each field to
9537 __syscall_slong_t.
9538
46259bec
DM
95392012-05-21 David S. Miller <davem@davemloft.net>
9540
9541 * Makefules (o-iterator): Remove .s cases.
9542 (compile-command.s): Delete.
9543 (COMPILE.s): Delete.
9544 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9545
59f0c22e
JM
95462012-05-21 Joseph Myers <joseph@codesourcery.com>
9547
9548 * configure.in (libc_cv_predef_stack_protector): Only consider
9549 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9550 * configure: Regenerated.
9551
20c07380
L
95522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9553
bbb3154b
L
9554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9555 New macro. Use R*LP on int and pointer.
9556 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9557 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9558 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9559 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9560
20c07380
L
9561 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9562 [__WORDSIZE_TIME64_COMPAT32] instead of
9563 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9564 (struct utmp): Likewise.
9565 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9566 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9567 Renamed to ...
9568 (__WORDSIZE_TIME64_COMPAT32): This.
9569 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9570 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9571 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9572 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9573 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9574 (__WORDSIZE_TIME64_COMPAT32): New macro.
9575
d8d1017e
AJ
95762012-05-21 Andreas Jaeger <aj@suse.de>
9577
9578 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9579 only if [SHARED]. Add prototype for __wcschr_ia32.
9580
6c7fb145
RM
95812012-05-21 Roland McGrath <roland@hack.frob.com>
9582
9583 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9584 of %rbp unmolested in the jmp_buf while mangling the low bits.
9585 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9586 unmolested high bits of %rbp while demangling the low bits.
9587 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9588
66274218
AJ
95892012-05-21 Andreas Jaeger <aj@suse.de>
9590
07c58f8f
AJ
9591 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9592 * sunrpc/svc_simple.c: Use it for registerrpc.
9593 * sunrpc/xcrypt.c: Use it for passwd2des.
9594
66274218
AJ
9595 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9596
61f65140
L
95972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9598
9599 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9600 Don't define if [__SYSCALL_WORDSIZE != 32].
9601 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9602 New macro.
9603
5fefb436
AJ
96042012-05-21 Bruno Haible <bruno@clisp.org>
9605 Andreas Jaeger <aj@suse.de>
9606
9607 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9608 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9609 inptr and inend for must_buffer_ch.
9610 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9611 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9612 * stdio-common/Makefile (tests): Remove bug15.
9613 (bug15-ENV): Remove macro.
9614 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9615 anymore.
9616
d8e272ab
AJ
96172012-05-19 Andreas Jaeger <aj@suse.de>
9618 Roland McGrath <roland@hack.frob.com>
9619
9620 * manual/contrib.texi: Completely rewritten. It contains now an
9621 alphabetical list of contributors and their contributions.
9622
4a56a162
RH
96232012-05-21 Richard Henderson <rth@twiddle.net>
9624
9625 * misc/getauxval.c (__getauxval): Use unsigned long int.
9626 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9627 (getauxval): Use unsigned long int.
9628
d024d23c
L
96292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9630
9631 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9632
cbc00a03
RM
96332012-05-21 Roland McGrath <roland@hack.frob.com>
9634
9635 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9636 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9637 __alignof__ (long double).
9638
478143fa
AZ
96392012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9640
9641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9642
c7683a6d
RH
96432012-05-20 Richard Henderson <rth@twiddle.net>
9644
9645 * misc/getauxval.c: New file.
9646 * misc/sys/auxv.h: New file.
9647 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9648 (routines): Add getauxval.
9649 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9650 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9651 * elf/dl-sysdep.c (_dl_auxv): Remove.
9652 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9653 * elf/dl-support.c (_dl_auxv): New variable.
9654 (_dl_aux_init): Initialize it.
9655 * manual/startup.texi (Auxiliary Vector): New node.
9656 * sysdeps/generic/bits/hwcap.h: New file.
9657 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9658 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9659 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9660 * sysdeps/sparc/sysdep.h: ... here. Include it.
9661 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9662 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9664 Update.
c7683a6d
RH
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9668 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9673
a6f1845d
AZ
96742012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9675
9676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9677
cbcbe830
DM
96782012-05-19 David S. Miller <davem@davemloft.net>
9679
9680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9681
e0b16cc2
JM
96822012-05-19 Joseph Myers <joseph@codesourcery.com>
9683
9684 [BZ #14123]
9685 * math/s_ccosh.c: Include <float.h>
9686 (__ccosh): Avoid internal overflow calculating sinh and cosh
9687 values before multiplying by sin and cos values.
9688 * math/s_ccoshf.c: Likewise.
9689 * math/s_ccoshl.c: Likewise.
9690 * math/s_csin.c: Likewise.
9691 * math/s_csinf.c: Likewise.
9692 * math/s_csinl.c: Likewise.
9693 * math/s_csinh.c: Likewise.
9694 * math/s_csinhf.c: Likewise.
9695 * math/s_csinhl.c: Likewise.
9696 * math/libm-test.inc (ccos_test): Add more tests.
9697 (ccosh_test): Likewise.
9698 (csin_test): Likewise.
9699 (csinh_test): Likewise.
9700 * sysdeps/i386/fpu/libm-test-ulps: Update.
9701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9702
6ad13e08
L
97032012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9704
f66f0ce8
L
9705 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9706 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9707
6ad13e08
L
9708 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9709
b1d072a7
JM
97102012-05-19 Joseph Myers <joseph@codesourcery.com>
9711
9712 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9713 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9714 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9715 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9716 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9717 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9718 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9719 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9720 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9721 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9722 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9723 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9724 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9725 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9726 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9727 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9728 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9729 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9730 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9731 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9732 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9733 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9734 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9735 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9736 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9737 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9738 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9739 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9740 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9741 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9742 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9743
9eae47cb
AJ
97442012-05-18 Andreas Jaeger <aj@suse.de>
9745
9746 * csu/.gitignore: Delete.
9747
bb07f69f
L
97482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9749
9750 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9751 (timex): Use __syscall_slong_t.
9752
e6bdb741
AJ
97532012-05-18 Andreas Jaeger <aj@suse.de>
9754 Carlos O'Donell <carlos_odonell@mentor.com>
9755
9756 * manual/install.texi (Configuring and compiling): Update
9757 description about files modified in the source directory.
d6c33fda 9758 * INSTALL: Regenerated.
e6bdb741 9759
1b74487e
L
97602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9763 value. Use "or" to set return value to -1.
9764 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9765 negate return value.
9766
a88b64b9
TMQMF
97672012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9768
9769 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9770 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9771 failure if the compiler has Graphite support disabled.
9772 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9773 Likewise.
9774 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9775 CFLAGS-memmove.c): Likewise.
9776 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9777 Likewise.
9778
3707636e
L
97792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9780
610b8622
L
9781 * sysdeps/x86_64/x32/_itoa.h: New file.
9782
7cd195df
L
9783 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9784 getdents system call only if kernel and user dirents have the
9785 same d_ino and d_off.
9786
94b07d20
L
9787 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9788 LLONG_MAX != LONG_MAX.
9789 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9790 (_fitoa_word): Likewise.
9791
18298070
L
9792 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9793 years.
9794 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9795 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9796 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9797
553c7ea4
L
9798 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9799 include <bits/wordsize.h>. Check __x86_64__ instead of
9800 __WORDSIZE.
9801 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9802 if __x86_64__ is defined. Use anonymous union on fpstate.
9803
3707636e
L
9804 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9805 anonymous union.
9806
b53ef01a
AS
98072012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9808
37fb1dc0
AS
9809 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9810 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9811 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9812 Refer to _rtld_local_ro instead of _rtld_global_ro.
9813 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9814 Likewise.
9815 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9816 Likewise.
9817 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9818 Likewise.
9819 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9820 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9821 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9822
b53ef01a
AS
9823 * sysdeps/powerpc/powerpc32/dl-machine.c
9824 (__elf_machine_runtime_setup) [PROF]: Don't reference
9825 _dl_prof_resolve.
9826
7a185db2
AJ
98272012-05-18 Andreas Jaeger <aj@suse.de>
9828
9829 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9830 function only available for GCCs before 3.4 since GCC 3.4
9831 introduced a builtin.
9832 (lrint): Likewise.
9833 (llrintf): Likewise.
9834 (llrint): Likewise.
9835 (fmaxf): Likewise.
9836 (fmax): Likewise.
9837 (fminf): Likewise.
9838 (fmin): Likewise.
9839 (rint): Likewise.
9840 (rintf): Likewise.
9841 (nearbyint): Likewise.
9842 (nearbyintf): Likewise.
9843 (ceil): Likewise.
9844 (ceilf): Likewise.
9845 (floor): Likewise.
9846 (floorf): Likewise.
9847
3e5aef87
L
98482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9849
428bd707
L
9850 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9851 on both fields and cast pointer to __syscall_ulong_t.
9852
3e5aef87
L
9853 * bits/types.h (__fsword_t): New type.
9854 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9855 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9857 (__FSWORD_T_TYPE): Likewise.
9858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9859 (__FSWORD_T_TYPE): Likewise.
9860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9861 (__FSWORD_T_TYPE): Likewise.
9862 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9863 (__FSWORD_T_TYPE): Likewise.
9864 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9865 __SWORD_TYPE with __fsword_t.
9866 (statfs64): Likewise.
9867
1ba7c3dc
DM
98682012-05-17 David S. Miller <davem@davemloft.net>
9869
9870 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9871
59910343
AJ
98722012-05-17 Andreas Jaeger <aj@suse.de>
9873
9874 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9875 warning.
9876
2e4c1e9e
L
98772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9878
9879 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9880
de7f5ce7
AJ
98812012-05-17 Andreas Jaeger <aj@suse.de>
9882
9883 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9884 when it is used.
9885
286abc3d
CM
98862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9887
9888 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9889
477cc68e
L
98902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9891
9892 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9893 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9894
1a0994f5
CD
98952012-05-17 Andreas Jaeger <aj@suse.de>
9896 Carlos O'Donell <carlos_odonell@mentor.com>
9897
9898 [BZ #14059]
9899 * sysdeps/x86_64/multiarch/init-arch.h
9900 (bit_YMM_Usable): Rename to...
9901 (bit_AVX_Usable): ... this.
9902 (bit_FMA4_Usable): New macro.
9903 (bit_XMM_state): New macro.
9904 (bit_YMM_state): New macro.
9905 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9906 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9907 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9908 (CPUID_OSXSAVE): New macro.
9909 (CPUID_AVX): New macro.
9910 (CPUID_FMA4): New macro.
9911 (index_YMM_Usable): Rename to...
9912 (index_AVX_Usable): ... this.
9913 (HAS_AVX): Use HAS_ARCH_FEATURE.
9914 (HAS_FMA4): Likewise.
9915 (HAS_YMM_USABLE): Remove.
9916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9917 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9918 are present.
9919 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9920 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9921 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9922 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9923 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9924
0af797de
CM
99252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9926
9927 * math/libm-test.c: Support platforms without multiple rounding modes.
9928 * math/bug-nextafter.c: Support platforms without FP exceptions.
9929 * math/bug-nexttoward.c: Likewise.
9930 * math/test-fenv.c: Likewise.
9931 * math/test-misc.c: Likewise.
9932 * stdlib/bug-getcontext.c: Likewise.
9933
e39745ff
AJ
99342012-05-17 Andreas Jaeger <aj@suse.de>
9935
9936 * manual/examples/search.c (critter_cmp): Change signature to
9937 avoid warnings.
9938 * manual/string.texi (Collation Functions): Likewise.
9939
48970aba
L
99402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9941
9942 * bits/types.h: Fold copyright years.
9943 * bits/typesizes.h: Likewise.
9944 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9948 * time/time.h: Likewise.
9949
bedee953
PP
99502012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9951
9952 [BZ #208]
9953 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9954 in instead of returning them. Return void.
9955 (__libc_mallinfo): Accumulate over all arenas.
9956 (__malloc_stats): Adjust for change in int_mallinfo interface.
9957
61653dfb
RM
99582012-05-16 Roland McGrath <roland@hack.frob.com>
9959
30b99d79
RM
9960 [BZ #10375]
9961 * configure.in (NM): Add AC_CHECK_TOOL for it.
9962 (libc_extra_cflags): New substituted variable.
9963 Check for -fstack-protector being used implicitly.
9964 * configure: Regenerated.
9965 * config.make.in (config-extra-cflags): New variable,
9966 gets @libc_extra_cflags@.
9967 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9968
61653dfb
RM
9969 [BZ #10375]
9970 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9971 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9972 * configure: Regenerated.
9973 * config.make.in (CPPUNDEFS): New substituted variable.
9974 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9975 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9976 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9977
661768bb
L
99782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9979
9980 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9981 (mq_attr): Use __syscall_slong_t.
9982
d4261567
L
99832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9984
9985 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9986 Check __x86_64__ instead of __WORDSIZE.
9987 (_STAT_VER_LINUX): Likewise.
9988 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9989 __syscall_ulong_t and __syscall_slong_t.
9990 (stat64): Likewise.
9991
cf3ff365
L
99922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9993
9994 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9995
76cf3e4d
L
99962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9997
9998 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9999
a637753a
L
100002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10001
10002 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10003 __syscall_ulong_t.
10004
d5e05119
L
10005 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10006 include <bits/wordsize.h>. Check __x86_64__ instead of
10007 __WORDSIZE.
10008 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10009 defined.
10010 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10011
f62ee380
L
10012 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10013 include <bits/wordsize.h>. Check __x86_64__ instead of
10014 __WORDSIZE.
10015 (user_regs_struct): Use "__extension__ unsigned long long"
10016 instead of "unsigned long" if __x86_64__ is defined.
10017 (user): Likewise. Pad after pointer field if __ILP32__ is
10018 defined.
10019
4e124ced
JM
100202012-05-16 Joseph Myers <joseph@codesourcery.com>
10021
6a3951a0
JM
10022 * configure.in (makeinfo): Require version 4.5 or later. Allow
10023 versions 5 to 9.
10024 * configure: Regenerated.
10025 * manual/install.texi (texinfo): Increase version requirement to
10026 4.5 or later.
10027 * INSTALL: Regenerated.
10028
4e124ced
JM
10029 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10030
953ca31a
L
100312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10032
10033 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10034
617aca05
L
10035 * sysdeps/x86_64/x32/ffs.c: New file.
10036
5762f7ae
L
10037 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10038 __syscall_ulong_t.
10039 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10040 defined. Use __syscall_ulong_t.
10041 (shminfo): Use __syscall_ulong_t.
10042 (shm_info): Likewise.
10043
a26b6856
L
10044 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10045 __syscall_ulong_t.
10046
cb2b9ef7
L
10047 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10048 <bits/wordsize.h>.
10049 (msgqnum_t): Use __syscall_ulong_t.
10050 (msglen_t): Likewise.
10051 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10052 __syscall_ulong_t.
10053
34683bb0
L
10054 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10055 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10056
84a68786
L
10057 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10058
48baa5f1
L
10059 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10060 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10061
180be88b
L
10062 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10063 __syscall_slong_t.
10064
5e90c8ad
L
10065 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10066 include <bits/wordsize.h>. Check __x86_64__ instead of
10067 __WORDSIZE.
10068
23dfb58b
L
10069 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10070 "unsigned long long int" if __x86_64__ is defined.
10071 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10072
ce5d54b0
L
10073 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10074 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10075 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10076
13dc9eac
L
10077 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10078 <stdint.h>.
10079 (GET_PC): Cast to uintptr_t first.
10080 (GET_FRAME): Likewise.
10081 (GET_STACK): Likewise.
10082
a7895d15
L
10083 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10084 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10085 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10086 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10087 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10088 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10089 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10090 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10091 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10092 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10093 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10094 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10095 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10096 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10097 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10098 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10099 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10100 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10101 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10102 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10103 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10104 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10105 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10106 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10107 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10108 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10109 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10110 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10111 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10112
656416c9
AS
101132012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10114
5bd66283
AS
10115 * Makerules (+depfiles): Also collect depfiles from .oS in
10116 $(extra-objs).
10117 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10118 .oS, $(libnldbl-routines)).
10119
656416c9
AS
10120 * Makerules (native-compile-mkdep-flags): Define.
10121 * sunrpc/Makefile (extra-objs): Add $(addprefix
10122 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10123 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10124 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10125 calling $(make-target-directory).
10126
a46f2169
L
101272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10128
10129 * bits/types.h (__snseconds_t): Removed.
10130 * time/time.h (struct timespec): Replace __snseconds_t with
10131 __syscall_slong_t.
10132 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10133 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10134 Likewise.
10135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10136 (__SNSECONDS_T_TYPE): Likewise.
10137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10138 (__SNSECONDS_T_TYPE): Likewise.
10139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10140 (__SNSECONDS_T_TYPE): Likewise.
10141
6af6528b
L
101422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10143
10144 * sysdeps/mach/hurd/bits/typesizes.h
10145 (__SYSCALL_SLONG_TYPE): New macro.
10146 (__SYSCALL_ULONG_TYPE): Likewise.
10147
de986b56
L
101482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10149
10150 * bits/types.h (__syscall_slong_t): New type.
10151 (__syscall_ulong_t): Likewise.
10152
10153 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10154 (__SYSCALL_ULONG_TYPE): Likewise.
10155 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10156 (__SYSCALL_SLONG_TYPE): Likewise.
10157 (__SYSCALL_ULONG_TYPE): Likewise.
10158 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10159 (__SYSCALL_SLONG_TYPE): Likewise.
10160 (__SYSCALL_ULONG_TYPE): Likewise.
10161 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10162 (__SYSCALL_SLONG_TYPE): Likewise.
10163 (__SYSCALL_ULONG_TYPE): Likewise.
10164
85736dc7
L
101652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10166
10167 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10168 Add sigaltstack-offsets.sym.
10169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10170 <sigaltstack-offsets.h>.
10171 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10172 longjmp_msg pointer.
10173 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10174 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10175 signal stack.
10176 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10177
cc03b296
JM
101782012-05-15 Joseph Myers <joseph@codesourcery.com>
10179
a9538892
JM
10180 * elf/stackguard-macros.h: Remove file.
10181 * sysdeps/generic/stackguard-macros.h: New file.
10182 * sysdeps/i386/stackguard-macros.h: Likewise.
10183 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10184 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10185 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10186 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10187 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10188 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10189 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10190 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10191 <elf/stackguard-macros.h>.
10192
cc03b296
JM
10193 [BZ #14109]
10194 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10195 __aligned__ in attribute.
10196 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10197 (gregset_t): Likewise.
10198
93171016
L
101992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10200
10201 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10202 * sysdeps/x86_64/64/Implies-after: Here. New file.
10203 * sysdeps/x86_64/x32/Implies-after: New file.
10204
d86813a0
L
102052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10206
10207 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10208 and access return value for _dl_profile_fixup. Use R10_LP to
10209 load frame size.
10210
2953ec75
L
102112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10212
10213 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10214
3b550e9e
L
102152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10216
10217 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10218 * sysdeps/x86_64/x32/sysdep.h: New file.
10219
eda41706
L
102202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10221
10222 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10223 * sysdeps/x86_64/setjmp.S: Likewise.
10224
9ea01d93
AZ
102252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10226
10227 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10228 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10229 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10230 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10231 remove unused global constant.
10232
02a91938
CM
102332012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10234
10235 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10236 include of <not-cancel.h>.
10237
6540185f
RM
102382012-05-15 Roland McGrath <roland@hack.frob.com>
10239
10240 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10241
509072a0
AJ
102422012-05-15 Jeff Law <law@redhat.com>
10243 Andreas Jaeger <aj@suse.de>
10244
10245 [BZ #13594]
10246 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10247 out from...
10248 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10249 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10250 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10251 code changing __hst_map_handle.map.
10252
ba75122d
RM
102532012-05-15 Roland McGrath <roland@hack.frob.com>
10254
10255 * configure.in (sysnames): Look for Implies-before and Implies-after
10256 files.
10257 * configure: Regenerated.
10258
890d8bd8
L
102592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10260
10261 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10262 8-byte data alignment with LP_SIZE alignment.
10263
f6ee6623
L
102642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10265
10266 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10267 into R10_LP.
10268
ea2626f6
L
102692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10270
10271 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10272
085f715e
L
102732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10274
10275 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10276 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10278 Likewise.
10279 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10280
be8498fc
L
102812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10282
10283 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10284 (stackinfo_sub_sp): Likewise.
10285
70bc83b9
L
102862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10287
10288 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10289 RAX_LP.
10290
9bc0b730
L
102912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10292
10293 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10294 into R*_LP.
10295
6d2850e7
L
102962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10297
10298 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10299 sizes into R*_LP.
10300
3cb84561
L
103012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10302
10303 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10304
54e2ed81
L
103052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10306
10307 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10308 into R11_LP and load __x86_64_shared_cache_size_half into
10309 R8_LP.
10310
8a17f349
L
103112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10312
10313 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10314 R8_LP.
10315
777b1eea
AZ
103162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10317
10318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10319 logb for POWER7.
10320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10321 logbf for POWER7.
10322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10323 logbl for POWER7.
10324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10325 powerpc32/power7/fpu/s_logb.c via #include.
10326 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10327 powerpc32/power7/fpu/s_logbf.c via #include.
10328 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10329 powerpc32/power7/fpu/s_logbl.c via #include.
10330
d20d4ac2
JM
103312012-05-15 Joseph Myers <joseph@codesourcery.com>
10332
10333 * README.libm: Remove file.
10334
6cdef1ab
L
103352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10336
10337 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10338 count for x32. Use R*_LP and omit operand-size suffix.
10339
0b254d8f
L
103402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10341
10342 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10343 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10344 * sysdeps/x86_64/x32/shlib-versions: New file.
10345
ceb809dc
RM
103462012-05-14 Roland McGrath <roland@hack.frob.com>
10347
10348 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10349 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10350 Use _dl_fatal_printf instead.
10351
37f1abd4
JM
103522012-05-14 Joseph Myers <joseph@codesourcery.com>
10353
10354 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10355 set if not set by the user. Do not allow for being unset.
10356 * sysdeps/unix/sysv/linux/configure: Regenerated.
10357
11de3a33
L
103582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10359
10360 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10361 the `q' suffix from lea and replace .quad with ASM_ADDR.
10362
e02f153a
L
103632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10364
10365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10366 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10367 instead of $17.
10368 (PTR_DEMANGLE): Likewise.
10369
520ae0fd
L
103702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10371
10372 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10373 (LP_OP): Likewise.
10374 (ASM_ADDR): Likewise.
10375 (RAX_LP): Likewise.
10376 (RBP_LP): Likewise.
10377 (RBX_LP): Likewise.
10378 (RCX_LP): Likewise.
10379 (RDI_LP): Likewise.
10380 (RSI_LP): Likewise.
10381 (RSP_LP): Likewise.
10382 (R8_LP): Likewise.
10383 (R9_LP): Likewise.
10384 (R10_LP): Likewise.
10385 (R10_LP): Likewise.
10386 (R11_LP): Likewise.
10387 (R12_LP): Likewise.
10388 (R13_LP): Likewise.
10389 (R14_LP): Likewise.
10390 (R15_LP): Likewise.
10391
b985be81
L
103922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10393
10394 * sysdeps/x86_64/x32/dl-machine.h: New file.
10395
6a4888ff
AJ
103962012-05-14 Andreas Jaeger <aj@suse.de>
10397
10398 * manual/Makefile (subdir): Remove export of subdir.
10399 (all): Remove target.
10400 (.PHONY): Remove all from list.
10401 (mkinstalldirs): Remove.
10402 (.PHONY): Remove installdirs from list.
10403 ($(inst_infodir)/libc.info): Use make-target-directory.
10404 (installdirs): Remove.
10405 (subdir_%): Remove.
10406 (glibc-targets): Remove.
10407 (lib): Remove.
10408 (stubs): Remove.
10409 ($(objpfx)stubs ../po/manual.pot): Remove.
10410 ($(objpfx)stamp%): Remove.
10411 (make-target-directory): Remove.
10412 (subdir_install): Remove.
10413 (routines): Remove.
10414 (aux): Remove.
10415 (sources): Remove.
10416 (objects): Remove.
10417 (headers): Remove.
10418
10419 [BZ #13750]
10420 * manual/.gitignore: Remove, it's not needed anymore.
10421 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10422 all files in it.
10423 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10424 directory.
10425 (texis): Renamed to $(objpfx)texis.
10426 (texis-path): New, contains path to generated files.
10427 (chapters.%): Use texis-path for complete path, add extra argument
10428 libc-texinfo.sh.
10429 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10430 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10431 (summary,texi, stamp-summary): Use complete path of
10432 files. Generate files in build dir.
10433 (dir-add.texi): Build in build dir.
10434 (libm-err.texi,stamp-libm-err): Likewise.
10435 (version.texi, stamp-version): Likewise.
10436 (.%c.texi): Likewise.
10437 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10438 (mostlyclean): Remove target.
10439 (realclean): Remove target.
10440 (generated): Add new variable with contents from mostlyclean and
10441 realclean, remove entries duplicated in common-mostlyclean, add
10442 stamp-libm-err and stamp-version.
10443 (generated-dirs): Add libc directory.
10444 ($(inst_infodir)/libc.info): Install files from build dir.
10445
10446 * manual/install.texi (Configuring and compiling): Adjust since
10447 the info files are not part of the tar ball anymore.
10448
7ac77294
AJ
104492012-05-14 Andreas Jaeger <aj@suse.de>
10450
10451 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10452 variable.
10453
ffb7875d
JM
104542012-05-14 Joseph Myers <joseph@codesourcery.com>
10455
10456 [BZ #13717]
10457 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10458 to 2.2.0 where earlier.
10459 * sysdeps/unix/sysv/linux/configure: Regenerated.
10460 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10461 Remove conditional code.
10462 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10463 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10464 Remove conditional code.
10465 [!__NR_lchown]: Likewise.
10466 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10467 [__NR_lchown]: Likewise.
10468 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10469 comment referencing __ASSUME_LCHOWN_SYSCALL.
10470 * sysdeps/unix/sysv/linux/i386/sigaction.c
10471 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10472 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10473 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10474 Remove conditional code.
10475 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10476 (__protocol_available): Remove #if 0 code.
10477 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10478 conditional code.
10479 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10480 * sysdeps/unix/sysv/linux/kernel-features.h
10481 (__ASSUME_GETCWD_SYSCALL): Don't define.
10482 (__ASSUME_REALTIME_SIGNALS): Likewise.
10483 (__ASSUME_PREAD_SYSCALL): Likewise.
10484 (__ASSUME_PWRITE_SYSCALL): Likewise.
10485 (__ASSUME_POLL_SYSCALL): Likewise.
10486 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10487 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10488 non-SPARC.
10489 (__ASSUME_SIOCGIFNAME): Don't define.
10490 (__ASSUME_MSG_NOSIGNAL): Likewise.
10491 (__ASSUME_SENDFILE): Define unconditionally.
10492 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10493 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10494 conditional code.
10495 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10496 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10497 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10498 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10499 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10500 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10501 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10503 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10504 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10506 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10507 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10509 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10510 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10512 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10513 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10515 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10518 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10521 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10524 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10526 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10527 Remove conditional code.
10528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10529 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10530 Remove conditional code.
10531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10532 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10533 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10534 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10535 Remove conditional code.
10536 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10537 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10538 Remove conditional code.
10539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10540 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10541 Remove conditional code.
10542 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10543 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10544 Remove conditional code.
10545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10546 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10547 Remove conditional code.
10548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10549 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10550 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10552 * sysdeps/unix/sysv/linux/sigaction.c
10553 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10554 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10555 * sysdeps/unix/sysv/linux/sigpending.c
10556 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10557 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10558 * sysdeps/unix/sysv/linux/sigprocmask.c
10559 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10560 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10561 * sysdeps/unix/sysv/linux/sigsuspend.c
10562 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10563 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10564 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10565 (__libc_missing_rt_sigs): Remove.
10566 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10567 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10568 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10569 Remove conditional code.
10570 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10571 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10572 return 1.
10573 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10574 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10575 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10576 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10577
1bfb7291
AJ
105782012-05-14 Andreas Jaeger <aj@suse.de>
10579
caae5a81
AJ
10580 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10581 it's not used in glibc.
10582 (__coshm1): Likewise.
10583 (__acosh1p): Likewise.
10584 (__sgn): Likewise.
10585
1bfb7291
AJ
10586 * manual/string.texi (Copying and Concatenation): Add missing
10587 variable in concat example.
10588 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10589
c044d724
L
105902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10591
144c5467 10592 [BZ #14103]
c044d724
L
10593 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10594 __builtin_clzl with __builtin_clzll.
10595
2523c62b
L
105962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10597
10598 [BZ #14104]
10599 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10600 libc_freeres_ptr.
10601
d7bb4c42
LD
106022012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10603
10604 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10605 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10606 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10607 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10608
9dc4e1fb
MF
106092012-05-14 Mike Frysinger <vapier@gentoo.org>
10610
10611 * NEWS: Update ia64 info.
10612
c7df0112
AS
106132012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10614
10615 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10616 used as bcopy.
10617
dc70356c
TS
106182012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10619
10620 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10621 * sysdeps/unix/syscalls.list (dup3): Likewise.
10622 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10623 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10624
9fb1a21f
L
106252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10626
10627 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10628 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10629
4822a2a5
L
106302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10631
10632 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10633 thread pointer.
10634 (TLS_IE): Use mov/add instead of movq/addq to load thread
10635 pointer.
10636 (TLS_GD_PREFIX): New.
10637 (TLS_GD): Use it.
10638
842b81d6
DM
106392012-05-11 David S. Miller <davem@davemloft.net>
10640
10641 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10642 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10643 (_FPU_SETCW): Likewise.
10644
1cf463cd
L
106452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10646
10647 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10648 is 32-byte aligned.
10649
60cc4a18
AS
106502012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10651
10652 [BZ #11837]
10653 * iconvdata/gb18030.c: Update tables.
10654 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10655 characters specially.
10656 (BODY for TO_LOOP): Add encoding of missing ranges.
10657
febb44a4
TS
106582012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10659
10660 [BZ #13673]
10661 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10662 * sysdeps/mach/hurd/dup3.c: Likewise.
10663 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10664 * sysdeps/powerpc/memmove.c:: Likewise.
10665
0a10fb9e
L
106662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10667
10668 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10669 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10670
df8a552f
L
106712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10672
10673 * elf/elf.h (R_X86_64_RELATIVE64): New.
10674 (R_X86_64_NUM): Updated.
10675 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10676 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10677 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10678 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10679 tst-quad1pie tst-quad2pie
10680 (modules-names): Add tst-quadmod1 tst-quadmod2.
10681 ($(objpfx)tst-quad1): New dependency.
10682 ($(objpfx)tst-quad2): Likewise.
10683 ($(objpfx)tst-quad1pie): Likewise.
10684 ($(objpfx)tst-quad2pie): Likewise.
10685 * sysdeps/x86_64/tst-quad1.c: New file.
10686 * sysdeps/x86_64/tst-quad1pie.c: New file.
10687 * sysdeps/x86_64/tst-quad2.c: Likewise.
10688 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10689 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10690 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10691 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10692 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10693
f34d6f84
ST
106942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10695
f42d41d1
ST
10696 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10697 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10698 * streams/stropts.h (t_scalar_t): Define type.
10699
3c3571fc
ST
10700 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10701 (_PATH_PRESERVE): Set to "/var/lib".
10702 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10703
61f06bd3
ST
10704 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10705 instead of int.
10706
918d4d71
ST
10707 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10708 if __dir_mkfile succeeded.
10709
f34d6f84
ST
10710 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10711 checking for _hurd_dtablesize. Unlock it right after having
10712 finished _hurd_dtable allocation.
10713
10589b4a
TS
107142012-05-10 Thomas Schwinge <thomas@schwinge.name>
10715
674cdbc7
TS
10716 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10717 * sysdeps/mach/hurd/configure: Regenerated.
10718 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10719 special-casing to...
10720 * sysdeps/gnu/configure.in: ... this new file.
10721 * sysdeps/unix/sysv/linux/configure: Regenerated.
10722 * sysdeps/gnu/configure: New generated file.
10723
8e41b99f
TS
10724 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10725 for Linux: use nsec instead of usec, as well as:
10726 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10727 members of type struct timespec.
10728 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10729 New macros.
10730 (struct stat64): Likewise.
10731 (_STATBUF_ST_NSEC): New macro.
10732 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10733
10589b4a
TS
10734 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10735 __strtoul_internal rather than strtoul.
10736
63643c85
PT
107372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10738
10739 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10740 and reject them.
10741
3faebe6a
ST
107422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10743
10744 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10745 which preserves existing values.
10746 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10747
c6474b07
PT
107482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10749
10750 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10751 TIMEOUT values. Return EINVAL for NFDS values either negative or
10752 greater than FD_SETSIZE.
10753
1043890b
ST
107542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10755
10756 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10757 allocated, call __vm_protect to finish enabling the existing space, and
10758 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10759 allocate the remainder.
10760
37ed8b9b
PT
107612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10762
10763 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10764 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10765
db653660
ST
107662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10767
37ed8b9b
PT
10768 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10769 sysdeps/mach/hurd/readlink.c.
b29d4053 10770
db653660
ST
10771 * posix/tst-sysconf.c (posix_options): Only use
10772 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10773 _POSIX_SYNCHRONIZED_IO when they are defined
10774 * sysdeps/mach/hurd/bits/posix_opt.h:
10775 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10776 (_XOPEN_REALTIME): Undefine macro.
10777 (_XOPEN_REALTIME_THREADS): Undefine macro.
10778 (_XOPEN_SHM): Undefine macro.
10779 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10780 macro to -1.
10781 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10782 macro to -1.
10783 (_POSIX_ASYNC_IO): Undefine macro.
10784 (_POSIX_PRIORITIZED_IO): Undefine macro.
10785 (_POSIX_SPIN_LOCKS): Define macro to -1.
10786
ee16e894
ST
10787 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10788 SA_NODEFER, SA_RESETHAND.
10789 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10790 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10791 F_DUPFD_CLOEXEC.
10792
6103ae3b
TS
107932012-05-10 Thomas Schwinge <thomas@schwinge.name>
10794
10795 * elf/Makefile (pldd-modules): Define unconditionally.
10796
80b4e5f3
TS
107972012-05-10 Thomas Schwinge <thomas@schwinge.name>
10798
10799 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10800
edadcbd6
ST
108012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10802
10803 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10804 Return ENOENT when name is empty.
10805 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10806
80694780
TS
108072012-05-10 Thomas Schwinge <thomas@schwinge.name>
10808
1792c087
TS
10809 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10810
80694780
TS
10811 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10812
6b645f0d
ST
108132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10814
80694780
TS
10815 Fix mlock in all cases except non-readable pages.
10816 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10817 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10818
6b645f0d
ST
10819 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10820 (__mkdir): When path is `/', just fail with EEXIST.
10821 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10822
e468f8a3
TS
108232012-05-10 Thomas Schwinge <thomas@schwinge.name>
10824
10825 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10826 <sys/uio.h> (for writev).
10827 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10828 and <sys/param.h> (for MIN).
10829
a4186cff
PT
108302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10831
10832 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10833 REQUESTED_TIME. Properly set the remaining time and return EINTR
10834 if interrupted.
10835
510bbf14
TS
108362012-05-10 Thomas Schwinge <thomas@schwinge.name>
10837
10838 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10839 Depend on against $(link-rpcuserlibs).
10840
5d5722e8
ST
108412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10842
a4186cff
PT
10843 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10844 (__libc_stack_end): Do not use attribute_relro.
10845 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10846 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10847 to libthread-provided value.
a4186cff
PT
10848 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10849 attribute_relro.
5d5722e8 10850
37233df9
TS
108512012-05-10 Thomas Schwinge <thomas@schwinge.name>
10852
be971a2b
TS
10853 [BZ #3748]
10854 * bits/libc-lock.h (__libc_once_get): New macro.
10855 * sysdeps/mach/bits/libc-lock.h: Likewise.
10856 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10857 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10858 instead of using implementation details.
10859
37233df9
TS
10860 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10861 * libio/freopen.c: Likewise.
10862 * libio/freopen64.c: Likewise.
10863 * misc/syslog.c: Likewise.
10864 * nscd/connections.c: Likewise.
10865 * nscd/netgroupcache.c: Likewise.
10866 * sysdeps/posix/getcwd.c: Likewise.
10867
38de94a5
RM
108682012-05-10 Roland McGrath <roland@hack.frob.com>
10869
10870 * math/w_ilogbf.c: Add #include <limits.h>.
10871
67530489
ST
108722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10873
a4186cff 10874 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10875 path instead of returning without unlocking.
10876
67530489
ST
10877 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10878 immediate-write ioctls.
10879 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10880
5aa3a74a
TS
108812012-05-10 Thomas Schwinge <thomas@schwinge.name>
10882
18bad2ae
TS
10883 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10884 __builtin_frame_address instead of making assumptions about the
10885 location of the return address relative to DATA. Force early load of
10886 the return address.
10887 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10888 __builtin_frame_address.
10889
5aa3a74a
TS
10890 dup3 for GNU Hurd.
10891 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10892 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10893 implement dup3 and do some further code clean-ups.
10894 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10895 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10896
ecd0de9a
ST
108972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10898
cd9fa985
ST
10899 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10900
a4186cff
PT
10901 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10902 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10903 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10904 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10905 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10906 d->port.lock.
802ca5a5 10907
a4186cff
PT
10908 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10909 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10910 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10911
bcf55240
TS
109122012-05-10 Thomas Schwinge <thomas@schwinge.name>
10913
6960eb42
TS
10914 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10915 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10916 definitions.
10917
eb43375f
TS
10918 accept4 for GNU Hurd.
10919 * include/sys/socket.h (__libc_accept4): New prototype.
10920 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10921 to implement __libc_accept4.
10922 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10923 __libc_accept4.
10924 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10925
bcf55240
TS
10926 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10927 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10928 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10929 signal-defines.sym.
10930
6178c55b
ST
109312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10932
a4186cff 10933 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10934
6f080c2f
TS
109352012-05-10 Thomas Schwinge <thomas@schwinge.name>
10936
10937 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10938 assertion on O_CLOEXEC flag.
10939 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10940 * hurd/intern-fd.c: Likewise.
10941 * hurd/port2fd.c: Likewise.
10942
bcfe3a54
ST
109432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10944
10945 [BZ #3906]
10946 * bits/in.h (IPV6_PKTINFO): Define new macro.
10947 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10948
89c9aa49
AZ
109492012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10950
10951 [BZ #13954]
10952 [BZ #13955]
10953 [BZ #13956]
10954 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10955 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10956 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10957 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10959 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10960 * math/libm-test.inc (logb_test) : Additional logb tests.
10961
021db4be
AJ
109622012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10963 Andreas Jaeger <aj@suse.de>
10964
10965 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10966 * configure: Regenerated.
10967 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10968 * config.make.in (link-obsolete-rpc): New substituted variable.
10969 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10970 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10971 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10972 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10973 so that libc.a contains the symbols.
10974 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10975 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10976 * sunrpc/auth_none.c: Likewise.
10977 * sunrpc/auth_unix.c: Likewise.
10978 * sunrpc/authdes_prot.c: Likewise.
10979 * sunrpc/authuxprot.c: Likewise.
10980 * sunrpc/clnt_gen.c: Likewise.
10981 * sunrpc/clnt_perr.c: Likewise.
10982 * sunrpc/clnt_raw.c: Likewise.
10983 * sunrpc/clnt_simp.c: Likewise.
10984 * sunrpc/clnt_tcp.c: Likewise.
10985 * sunrpc/clnt_udp.c: Likewise.
10986 * sunrpc/clnt_unix.c: Likewise.
10987 * sunrpc/des_crypt.c: Likewise.
10988 * sunrpc/des_soft.c: Likewise.
10989 * sunrpc/get_myaddr.c: Likewise.
10990 * sunrpc/key_call.c: Likewise.
10991 * sunrpc/key_prot.c: Likewise.
10992 * sunrpc/netname.c: Likewise.
10993 * sunrpc/pm_getmaps.c: Likewise.
10994 * sunrpc/pm_getport.c: Likewise.
10995 * sunrpc/pmap_clnt.c: Likewise.
10996 * sunrpc/pmap_prot.c: Likewise.
10997 * sunrpc/pmap_prot2.c: Likewise.
10998 * sunrpc/pmap_rmt.c: Likewise.
10999 * sunrpc/publickey.c: Likewise.
11000 * sunrpc/rpc_cmsg.c: Likewise.
11001 * sunrpc/rpc_common.c: Likewise.
11002 * sunrpc/rpc_dtable.c: Likewise.
11003 * sunrpc/rpc_prot.c: Likewise.
11004 * sunrpc/rpc_thread.c: Likewise.
11005 * sunrpc/rtime.c: Likewise.
11006 * sunrpc/svc.c: Likewise.
11007 * sunrpc/svc_auth.c: Likewise.
11008 * sunrpc/svc_raw.c: Likewise.
11009 * sunrpc/svc_run.c: Likewise.
11010 * sunrpc/svc_tcp.c: Likewise.
11011 * sunrpc/svc_udp.c: Likewise.
11012 * sunrpc/svc_unix.c: Likewise.
11013 * sunrpc/svcauth_des.c: Likewise.
11014 * sunrpc/xcrypt.c: Likewise.
11015 * sunrpc/xdr.c: Likewise.
11016 * sunrpc/xdr_array.c: Likewise.
11017 * sunrpc/xdr_float.c: Likewise.
11018 * sunrpc/xdr_intXX_t.c: Likewise.
11019 * sunrpc/xdr_mem.c: Likewise.
11020 * sunrpc/xdr_rec.c: Likewise.
11021 * sunrpc/xdr_ref.c: Likewise.
11022 * sunrpc/xdr_sizeof.c: Likewise.
11023 * sunrpc/xdr_stdio.c: Likewise.
11024
b5c086a2
RM
110252012-05-10 Roland McGrath <roland@hack.frob.com>
11026
11027 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11028 change. Update copyright years.
11029
6d74dd09
JM
110302012-05-10 Joseph Myers <joseph@codesourcery.com>
11031
11032 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11033
28e72501
MK
110342012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11035 Joseph Myers <joseph@codesourcery.com>
11036 Paul Pluzhnikov <ppluzhnikov@google.com>
11037
11038 [BZ #14012]
11039 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11040 requiring rpcgen.
11041 [cross-compiling] (extra-libs): Likewise.
11042 [cross-compiling] (extra-libs-others): Likewise.
11043 [cross-compiling] (librpcsvc-routines): Likewise.
11044 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11045 [cross-compiling] (omit-deps): Likewise.
11046 (sunrpc-CPPFLAGS): New variable.
11047 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11048 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11049 (cross-rpcgen-objs): New variable.
11050 (extra-objs): Append $(cross-rpcgen-objs).
11051 ($(cross-rpcgen-objs)): New rule.
11052 ($(objpfx)cross-rpcgen): Likewise.
11053 (rpcgen-cmd): Define to use $(built-program-file). Expand
11054 comment.
11055 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11056 ($(objpfx)x%.stmp): Likewise.
11057 * sunrpc/proto.h [IS_IN_build] (_): Define.
11058 [IS_IN_build] (_libc_intl_domainname): Likewise.
11059
c8c59454
L
110602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11061
11062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11063 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11064 and R_X86_64_TPOFF64.
11065
6f27cd16
JM
110662012-05-10 Joseph Myers <joseph@codesourcery.com>
11067
11068 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11069 sysdeps/unix/sysv/syscalls.list.
11070 (stime): Likewise.
11071 (utime): Likewise.
11072 * sysdeps/unix/sysv/syscalls.list: Remove file.
11073
02467e1c
PE
110742012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11075
11076 [BZ #3440]
11077 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11078 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11079 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11080 (__LC_IDENTIFICATION): Make these macros useful in #if
11081 expressions, as required by C99.
11082
da392631
AS
110832012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11084
11085 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11086 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11087 after this.
11088
8115f29b
L
110892012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11090
11091 * stdlib/longlong.h: Updated from GCC.
11092
bdd74070
AJ
110932012-05-09 Andreas Jaeger <aj@suse.de>
11094
edfe0dbe
AJ
11095 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11096 default is first entry.
11097 (run_mode): Set type.
11098 (main): Remove informal message about syslog.
11099 (options): Fix typo.
11100
bcfe3a54
ST
11101 [BZ #14053]
11102 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11103 to asm.
bcfe3a54
ST
11104 (lrint): Likewise.
11105 (llrintf): Likewise.
11106 (llrint): Likewise.
11107 (rint): Likewise.
11108 (rintf): Likewise.
11109 (nearbyint): Likewise.
11110 (nearbyintf): Likewise.
bdd74070 11111
91d8d69e
AJ
111122012-05-09 Andreas Jaeger <aj@suse.de>
11113 Pedro Alves <palves@redhat.com>
11114
11115 * nscd/nscd.c (run_mode): Use enum.
11116 (main): Cleanup coding style issue.
11117
bb90b80b
AJ
111182012-05-09 Alexandre Oliva <aoliva@redhat.com>
11119 Andreas Jaeger <aj@suse.de>
11120
bcfe3a54
ST
11121 * nscd/nscd.c (go_background): Replaced with...
11122 (run_mode): ... this.
bb90b80b 11123 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11124 (options): Add -F --foreground.
11125 (main): Implement it.
11126 (parse_opt): Parse it.
bb90b80b 11127
1a4b75a1
AJ
111282012-05-09 Andreas Jaeger <aj@suse.de>
11129
11130 [BZ #14083]
11131 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11132 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11133 -Wconversion warning.
11134 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11135 Likewise.
11136
b1cc2472
JM
111372012-05-09 Joseph Myers <joseph@codesourcery.com>
11138
11139 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11140 == 0.
11141 (LC_ALL): Use macro-int-constant.
11142 (LC_COLLATE): Likewise.
11143 (LC_CTYPE): Likewise.
11144 (LC_MESSAGES): Likewise.
11145 (LC_MONETARY): Likewise.
11146 (LC_NUMERIC): Likewise.
11147 (LC_TIME): Likewise.
11148 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11149 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11150 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11151 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11152 Specify type.
11153 [C99-based standards] (float_t): Expect type.
11154 [C99-based standards] (double_t): Expect type.
11155 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11156 type.
11157 [C99-based standards] (HUGE_VALL): Likewise.
11158 [C99-based standards] (INFINITY): Likewise.
11159 [C99-based standards] (NAN): Likewise.
11160 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11161 [C99-based standards] (FP_NAN): Likewise.
11162 [C99-based standards] (FP_NORMAL): Likewise.
11163 [C99-based standards] (FP_SUBNORMAL): Likewise.
11164 [C99-based standards] (FP_ZERO): Likewise.
11165 [C99-based standards] (FP_FAST_FMA): Use
11166 optional-macro-int-constant. Specify type. Require == 1.
11167 [C99-based standards] (FP_FAST_FMAF): Likewise.
11168 [C99-based standards] (FP_FAST_FMAL): Likewise.
11169 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11170 [C99-based standards] (FP_ILOGBNAN): Likewise.
11171 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11172 Specify type.
11173 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11174 [C99-based standards] (math_errhandling): Specify type.
11175 [ISO99 || ISO11] (signgam): Do not allow.
11176 [non-C99-based standards] (copysignf): Do not allow.
11177 [non-C99-based standards] (exp2f): Likewise.
11178 [non-C99-based standards] (log2f): Likewise.
11179 [non-C99-based standards] (modff): Allow.
11180 [non-C99-based standards] (erff): Do not allow.
11181 [non-C99-based standards] (erfcf): Likewise.
11182 [non-C99-based standards] (gammaf): Likewise.
11183 [non-C99-based standards] (hypotf): Likewise.
11184 [non-C99-based standards] (j0f): Likewise.
11185 [non-C99-based standards] (j1f): Likewise.
11186 [non-C99-based standards] (jnf): Likewise.
11187 [non-C99-based standards] (lgammaf): Likewise.
11188 [non-C99-based standards] (tgammaf): Likewise.
11189 [non-C99-based standards] (y0f): Likewise.
11190 [non-C99-based standards] (y1f): Likewise.
11191 [non-C99-based standards] (ynf): Likewise.
11192 [non-C99-based standards] (isnanf): Likewise.
11193 [non-C99-based standards] (acoshf): Likewise.
11194 [non-C99-based standards] (asinhf): Likewise.
11195 [non-C99-based standards] (atanhf): Likewise.
11196 [non-C99-based standards] (cbrtf): Likewise.
11197 [non-C99-based standards] (expm1f): Likewise.
11198 [non-C99-based standards] (ilogbf): Likewise.
11199 [non-C99-based standards] (log1pf): Likewise.
11200 [non-C99-based standards] (logbf): Likewise.
11201 [non-C99-based standards] (nextafterf): Likewise.
11202 [non-C99-based standards] (remainderf): Likewise.
11203 [non-C99-based standards] (rintf): Likewise.
11204 [non-C99-based standards] (scalbf): Likewise.
11205 [non-C99-based standards] (copysignl): Likewise.
11206 [non-C99-based standards] (exp2l): Likewise.
11207 [non-C99-based standards] (log2l): Likewise.
11208 [non-C99-based standards] (modfl): Allow.
11209 [non-C99-based standards] (erfl): Do not allow.
11210 [non-C99-based standards] (erfcl): Likewise.
11211 [non-C99-based standards] (gammal): Likewise.
11212 [non-C99-based standards] (hypotl): Likewise.
11213 [non-C99-based standards] (j0l): Likewise.
11214 [non-C99-based standards] (j1l): Likewise.
11215 [non-C99-based standards] (jnl): Likewise.
11216 [non-C99-based standards] (lgammal): Likewise.
11217 [non-C99-based standards] (tgammal): Likewise.
11218 [non-C99-based standards] (y0l): Likewise.
11219 [non-C99-based standards] (y1l): Likewise.
11220 [non-C99-based standards] (ynl): Likewise.
11221 [non-C99-based standards] (isnanl): Likewise.
11222 [non-C99-based standards] (acoshl): Likewise.
11223 [non-C99-based standards] (asinhl): Likewise.
11224 [non-C99-based standards] (atanhl): Likewise.
11225 [non-C99-based standards] (cbrtl): Likewise.
11226 [non-C99-based standards] (expm1l): Likewise.
11227 [non-C99-based standards] (ilogbl): Likewise.
11228 [non-C99-based standards] (log1pl): Likewise.
11229 [non-C99-based standards] (logbl): Likewise.
11230 [non-C99-based standards] (nextafterl): Likewise.
11231 [non-C99-based standards] (remainderl): Likewise.
11232 [non-C99-based standards] (rintl): Likewise.
11233 [non-C99-based standards] (scalbl): Likewise.
11234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11235 [non-C99-based standards] (FP_*): Do not allow.
11236 [C99-based standards] (FP_*): Change to
11237 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11238 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11239 allow.
11240 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11241 (SIG_ERR): Likewise.
11242 [X/Open-based standards] (SIG_HOLD): Likewise.
11243 (SIG_IGN): Likewise.
11244 (SIGABRT): Use macro-int-constant. Specify type. Require
11245 positive value.
11246 (SIGFPE): Likewise.
11247 (SIGILL): Likewise.
11248 (SIGINT): Likewise.
11249 (SIGSEGV): Likewise.
11250 (SIGTER): Likewise.
11251 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11252 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11253 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11254 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11255 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11256 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11257 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11258 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11259 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11260 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11261 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11262 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11263 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11264 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11265 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11266 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11267 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11268 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11269 [X/Open-based standards] (SIGTRAP): Likewise.
11270 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11271 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11272 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11273 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11274 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11275 allow.
11276
b9f1922d
IW
112772012-05-08 Ian Wienand <ianw@vmware.com>
11278
11279 [BZ #14080]
11280 * time/tzset.c (__tzset_parse_tz): Update default rules for
11281 daylight time changes in the Energy Policy Act of 2005.
11282
1db86e88
AJ
112832012-05-09 Andreas Jaeger <aj@suse.de>
11284
11285 [BZ #13983]
11286 * elf/ldconfig.c (parse_conf): Change string to make clear that
11287 ldconfig only issued a warning if ld.so.conf does not exist.
11288
dee4a4e3
DM
112892012-05-08 David S. Miller <davem@davemloft.net>
11290
ee0db190
DM
11291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11292 movxtod instead of popping the value on the stack.
11293
dee4a4e3
DM
11294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11295
6a43ec98
CD
112962012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11297
11298 * config.h.in: Add HAVE_ARM_PCS_VFP.
11299
05c2c961
RMG
113002012-05-08 Roland Mc Grath <roland@hack.frob.com>
11301
bcfe3a54
ST
11302 [BZ #13979]
11303 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11304 checking but the checks are disabled for any reason.
05c2c961 11305
4b30f61a
L
113062012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11307
11308 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11309 and ELF64_R_TYPE with ELFW(R_TYPE).
11310
eee2bc67
JM
113112012-05-08 Joseph Myers <joseph@codesourcery.com>
11312
7ea5391a
JM
11313 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11314 (ulimit): Likewise.
11315
eee2bc67
JM
11316 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11317 (settimeofday): Likewise.
11318
abb66a67
MF
113192012-05-08 Mike Frysinger <vapier@gentoo.org>
11320
11321 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11322 a struct th_u2 inside the union, and move tu_block/tu_code into
11323 a new th_u3 union of tu_block/tu_code inside of that. Move
11324 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11325 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11326 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11327 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11328 (th_stuff): Change to th_u1.tu_stuff.
11329 (th_data): Define.
11330 (th_msg): Change to th_u1.th_u2.tu_data.
11331
7f18b530
DM
113322012-05-07 David S. Miller <davem@davemloft.net>
11333
05760585
DM
11334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11335
7f18b530
DM
11336 [BZ #14074]
11337 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11338 (SETUP_PIC_REG): Use it.
11339 (SETUP_PIC_REG_LEAF): Use it.
11340
495fd99f
JM
113412012-05-07 Joseph Myers <joseph@codesourcery.com>
11342
11343 [BZ #13885]
11344 [BZ #13923]
11345 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11346 USE_AS_EXPM1L.
11347 (EXPL_FINITE): Likewise.
11348 (FLDLOG): Likewise.
11349 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11350 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11351 e_expl.S.
11352 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11353 USE_AS_EXPM1L.
11354 (EXPL_FINITE): Likewise.
11355 (FLDLOG): Likewise.
11356 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11357 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11358 e_expl.S.
11359 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11360 test of -max_value argument for long double.
11361 * sysdeps/i386/fpu/libm-test-ulps: Update.
11362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11363
6693d694
DM
113642012-05-06 David S. Miller <davem@davemloft.net>
11365
11366 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11367 quad soft-float symbols whose references which are compiler
11368 generated.
11369 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11370
6c23e11c
JM
113712012-05-06 Joseph Myers <joseph@codesourcery.com>
11372
d8b82cad
JM
11373 [BZ #13884]
11374 [BZ #13914]
11375 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11376 USE_AS_EXP10L.
11377 (EXPL_FINITE): Likewise.
11378 (FLDLOG): Likewise.
11379 (c0): Likewise.
11380 (c1): Likewise.
11381 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11382 Adjust comments for base varying.
11383 (__expl_finite): Change alias to EXPL_FINITE.
11384 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11385 e_expl.S.
11386 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11387 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11388 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11389 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11390 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11391 USE_AS_EXP10L.
11392 (EXPL_FINITE): Likewise.
11393 (FLDLOG): Likewise.
11394 (c0): Likewise.
11395 (c1): Likewise.
11396 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11397 Adjust comments for base varying.
11398 (__expl_finite): Change alias to EXPL_FINITE.
11399 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11400 tests for bugs.
11401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11402
6c23e11c
JM
11403 [BZ #14064]
11404 * math/libm-test.inc (check_float_internal): Correct ulp
11405 calculation for subnormal expected results.
11406
29ba805c
AJ
114072012-05-06 Andreas Jaeger <aj@suse.de>
11408
11409 * Makeconfig (+math-flags): New, set to -frounding-math.
11410 (+cflags): Add +math-flags so that all of glibc gets compiled with
11411 it.
11412
11413 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11414
7b17aeda
JM
114152012-05-05 Joseph Myers <joseph@codesourcery.com>
11416
5779f134
JM
11417 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11418 Disable one test.
11419
41498f4d
JM
11420 [BZ #13787]
11421 [BZ #13922]
11422 [BZ #14036]
11423 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11424 (__ieee754_expl): Allow for and saturate large arguments.
11425 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11426 (u_threshold): Likewise.
11427 (__exp): Call __ieee754_exp before checking for overflow and
11428 underflow.
11429 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11430 (u_threshold): Likewise.
11431 (__expf): Call __ieee754_expf before checking for overflow and
11432 underflow.
11433 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11434 (u_threshold): Likewise.
11435 (__expl): Call __ieee754_expl before checking for overflow and
11436 underflow.
11437 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11438 (__ieee754_expl): Allow for and saturate large arguments.
11439 * math/libm-test.inc (exp_test): Add another test. Do not allow
11440 missing overflow exception on overflow.
11441 (expm1_test): Do not allow missing overflow exception on overflow.
11442
6698b8bf
JM
11443 * sysdeps/i386/fpu/e_expl.c: Move to ...
11444 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11445 rather than using inline asm.
11446 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11447 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11448 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11449
7b17aeda
JM
11450 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11451 (nice): Likewise.
11452 (poll): Likewise.
11453 (signal): Likewise.
11454 (time): Likewise.
11455 (times): Likewise.
11456
f7c85819
JM
114572012-05-04 Joseph Myers <joseph@codesourcery.com>
11458
11459 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11460 sysdeps/unix/common/syscalls.list.
11461 (fchmod): Likewise.
11462 (fchown): Likewise.
11463 (ftruncate): Likewise.
11464 (getrusage): Likewise.
11465 (gettimeofday): Likewise.
11466 (setpgid): Likewise.
11467 (setregid): Likewise.
11468 (setreuid): Likewise.
11469 (sigaction): Likewise.
11470 (truncate): Likewise.
11471 (vhangup): Likewise.
11472 * sysdeps/unix/common/syscalls.list: Remove file.
11473 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11474 * sysdeps/unix/sysv/linux/Implies: Likewise.
11475
336270d0
L
114762012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11477
11478 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11480 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11481 Moved to ...
11482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11483 Here.
11484 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11485 to ...
11486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11487 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11488 to ...
11489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11490 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11491 to ...
11492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11493 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11494 to ...
11495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11496 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11497 to ...
11498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11499 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11500 to ...
11501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11502 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11503 to ...
11504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11505 Here.
11506 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11507 to ...
11508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11509 Here.
11510 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11511 to ...
11512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11513 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11514 Moved to ...
11515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11516 Here.
11517 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11518 to ...
11519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11520
d128e450
JM
115212012-05-04 Joseph Myers <joseph@codesourcery.com>
11522
fa8ee516
JM
11523 * sysdeps/unix/common/bits/dirent.h: Remove file.
11524 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11525
d128e450
JM
11526 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11527 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11528 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11529 * sysdeps/unix/bsd/isatty.c: Likewise.
11530 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11531 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11532 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11533
ff8faaf0 115342012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11535
62881be4 11536 [BZ #13563]
31dc8730
AZ
11537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11538 long double comparison inaccuracies.
11539 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11541
6fef930c
AS
115422012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11543
11544 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11545 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11546
8f203e6c
JM
115472012-05-04 Joseph Myers <joseph@codesourcery.com>
11548
11549 [BZ #14049]
11550 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11551 nonzero digits before rounding a hex value.
11552 * stdlib/tst-strtod.c (tests): Add another test.
11553
5197d9c2
AK
115542012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11555
11556 * sysdeps/s390/fpu/libm-test-ulps: Update.
11557
f0c1dedf
AJ
115582012-05-03 Andreas Jaeger <aj@suse.de>
11559
11560 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11561 does not get optimized out.
11562 (malloc_opt_barrier): New.
11563
a65ef2ae 115642012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11565 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11566
2b942cb7 11567 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11568 intermediate file deletion.
2b942cb7 11569 (generated): Add .symlist files.
a65ef2ae 11570
54b71e02
JM
115712012-05-03 Joseph Myers <joseph@codesourcery.com>
11572
11573 [BZ #13775]
11574 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11575 Redirect under this condition.
11576 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11577 [__USE_GNU] (__dprintf_chk): Not under this condition.
11578 [__USE_GNU] (__vdprintf_chk): Likewise.
11579 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11580 under this condition.
11581 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11582 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11583 [__USE_XOPEN2K8] (vdprintf): Likewise.
11584 [__USE_GNU] (__dprintf_chk): Not under this condition.
11585 [__USE_GNU] (__vdprintf_chk): Likewise.
11586 [__USE_GNU] (dprintf): Likewise.
11587 [__USE_GNU] (vdprintf): Likewise.
11588
d3dfcc41
RM
115892012-05-03 Roland McGrath <roland@hack.frob.com>
11590
11591 * elf/Makefile (common-generated): Set this instead of generated for
11592 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11593 $(all-built-dso)-derived lists.
11594
7ac30cc5
AJ
115952012-05-03 Andreas Jaeger <aj@suse.de>
11596
0c51e550
AJ
11597 * sysdeps/i386/fpu/libm-test-ulps: Update.
11598
7ac30cc5
AJ
11599 * FAQ: Removed.
11600 * FAQ.in: Likewise.
11601 * scripts/gen-FAQ.pl: Likewise.
11602 * manual/install.texi (Installation): Point to online location of
11603 FAQ.
11604 * Makefile (files-for-dist): Remove FAQ.
11605 (FAQ): Remove.
11606
d4c2917f
AM
116072012-05-02 Allan McRae <allan@archlinux.org>
11608
11609 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11610 (LDFLAGS-reldepmod5.so): Likewise.
11611 (LDFLAGS-reldep6mod1.so): Likewise.
11612 (LDFLAGS-reldep6mod4.so): Likewise.
11613 (LDFLAGS-reldep8mod3.so): Likewise.
11614 (LDFLAGS-unload4mod1.so): Likewise.
11615 (LDFLAGS-unload4mod2.so): Likewise.
11616 (LDFLAGS-tst-initorder): Likewise.
11617 (LDFLAGS-tst-initordera2.so): Likewise.
11618 (LDFLAGS-tst-initordera3.so): Likewise.
11619 (LDFLAGS-tst-initordera4.so): Likewise.
11620 (LDFLAGS-tst-initorderb2.so): Likewise.
11621 (LDFLAGS-noload): Likewise.
11622 (LDFLAGS-next): Likewise.
11623 (LDFLAGS-order2mod1.so): Likewise.
11624 (LDFLAGS-order2mod2.so): Likewise.
11625 (LDFLAGS-tst-initorder2): Likewise.
11626 (LDFLAGS-tst-initorder2a.so): Likewise.
11627 (LDFLAGS-tst-initorder2b.so): Likewise.
11628 (LDFLAGS-tst-initorder2c.so): Likewise.
11629 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11630
d77f993f
DM
116312012-05-02 David S. Miller <davem@davemloft.net>
11632
11633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11634
171a70b4
PP
116352012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11636
11637 [BZ #14055]
11638 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11639
0be196ad
AJ
116402012-05-02 Andreas Jaeger <aj@suse.de>
11641
11642 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11643 since we manipulate rounding mode.
11644 (CPPFLAGS-test-idouble.c): Likewise.
11645 (CPPFLAGS-test-ifloat.c): Likewise.
11646 (CFLAGS-test-ldouble.c): Likewise.
11647 (CFLAGS-test-double.c): Likewise.
11648 (CFLAGS-test-float.c): Likewise.
11649 (CFLAGS-test-misc.c): Likewise.
11650 (CFLAGS-test-test-fenv.c): Likewise.
11651
4f9d04aa
AZ
116522012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11653
2b942cb7
RM
11654 [BZ #2550]
11655 [BZ #2570]
11656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11657 comparisons to determine direction to adjust input.
4f9d04aa 11658
82a79e7d
RM
116592012-05-01 Roland McGrath <roland@hack.frob.com>
11660
f5a01ca9
RM
11661 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11662 output to the target.
11663
90fe4186
RM
11664 * scripts/localplt.awk: New file.
11665 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11666 (check-localplt-CFLAGS): Variable removed.
11667 ($(all-built-dso:=.jmprel)): New static pattern rule.
11668 (generated): Add those targets.
11669 (localplt-built-dso): New variable.
11670 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11671
11672 * elf/check-localplt.c: File removed.
11673
82397ed6
RM
11674 * scripts/check-execstack.awk: New file.
11675 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11676 (check-execstack-CFLAGS): Variable removed.
11677 ($(objpfx)check-execstack.h): Target removed.
11678 ($(objpfx)execstack-default): New target.
11679 (generated): Add that instead of check-execstack.h.
11680 ($(all-built-dso:=.phdr)): New static pattern rule.
11681 (generated): Add those targets.
11682 * elf/check-execstack.c: File removed.
11683
82a79e7d
RM
11684 * scripts/check-textrel.awk: New file.
11685 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11686 (check-textrel-CFLAGS): Variable removed.
11687 (all-built-dso): Use := to define.o
11688 ($(all-built-dso:=.dyn)): New static pattern rule.
11689 (generated): Add those targets.
11690 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11691 * config.make.in (READELF): New substituted variable.
11692 * elf/check-textrel.c: File removed.
11693
62fde54f 116942012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11695
615605c9
JM
11696 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11697 allow.
11698 * conform/data/ctype.h-data [C99-based standards] (isblank):
11699 Expect function.
11700 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11701 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11702 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11703 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11704 Specify type. Require positive value.
11705 (EILSEQ): Likewise.
11706 (ERANGE): Likewise.
11707 [ISO || POSIX] (EILSEQ): Do not expect.
11708 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11709 Specify type. Require positive value.
11710 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11711 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11712 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11713 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11714 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11715 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11716 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11717 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11718 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11719 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11720 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11721 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11722 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11723 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11724 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11725 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11726 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11727 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11728 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11729 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11730 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11731 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11732 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11733 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11734 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11735 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11736 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11737 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11738 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11739 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11740 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11741 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11742 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11743 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11744 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11745 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11746 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11747 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11748 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11749 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11750 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11751 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11752 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11753 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11754 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11755 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11756 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11757 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11758 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11759 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11760 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11761 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11762 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11763 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11764 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11765 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11766 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11767 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11768 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11769 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11770 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11771 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11772 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11773 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11774 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11775 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11776 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11777 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11778 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11779 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11780 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11781 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11782 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11783 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11784 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11785 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11786 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11787 Require >= 2.
11788 (FLT_ROUNDS): Expect as macro, not constant.
11789 (FLT_MANT_DIG): Use macro-int-constant.
11790 (DBL_MANT_DIG): Likewise.
11791 (LDBL_MANT_DIG): Likewise.
11792 (FLT_DIG): Likewise.
11793 (DBL_DIG): Likewise.
11794 (LDBL_DIG): Likewise.
11795 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11796 (DBL_MIN_EXP): Likewise.
11797 (LDBL_MIN_EXP): Likewise.
11798 (FLT_MAX_EXP): Use macro-int-constant.
11799 (DBL_MAX_EXP): Likewise.
11800 (LDBL_MAX_EXP): Likewise.
11801 (FLT_MAX_10_EXP): Likewise.
11802 (DBL_MAX_10_EXP): Likewise.
11803 (LDBL_MAX_10_EXP): Likewise.
11804 (FLT_MAX): Use macro-constant.
11805 (DBL_MAX): Likewise.
11806 (LDBL_MAX): Likewise.
11807 (FLT_EPSILON): Use macro-constant. Give upper bound.
11808 (DBL_EPSILON): Likewise.
11809 (LDBL_EPSILON): Likewise.
11810 (FLT_MIN): Likewise.
11811 (DBL_MIN): Likewise.
11812 (LDBL_MIN): Likewise.
11813 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11814 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11815 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11816 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11817 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11818 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11819 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11820 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11821 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11822 [ISO11] (FLT_TRUE_MIN): Likewise.
11823 [ISO11] (LDBL_TRUE_MIN): Likewise.
11824 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11825 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11826 (SCHAR_MIN): Use macro-int-constant. Specify type.
11827 (SCHAR_MAX): Likewise.
11828 (UCHAR_MAX): Likewise.
11829 (CHAR_MIN): Likewise.
11830 (CHAR_MAX): Likewise.
11831 (MB_LEN_MAX): Use macro-int-constant.
11832 (SHRT_MIN): Use macro-int-constant. Specify type.
11833 (SHRT_MAX): Likewise.
11834 (USHRT_MAX): Likewise.
11835 (INT_MAX): Likewise.
11836 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11837 bound negative.
11838 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11839 bound with "U".
11840 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11841 bound with "L".
11842 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11843 bound negative. Suffix upper bound with "L".
11844 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11845 bound with "UL".
11846 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11847 Specify type.
11848 [C99-based standards] (LLONG_MAX): Likewise.
11849 [C99-based standards] (ULLONG_MAX): Likewise.
11850 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11851 == 0.
11852 [ISO11] (max_align_t): Require type.
11853 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11854
c9140a62
JM
11855 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11856 from $CFLAGS, without defining away __attribute__ calls.
11857 (checknamespace): Use $CFLAGS_namespace.
11858
9af0bf29
JM
11859 * conform/conformtest.pl (@keywords): Only include C99 keywords
11860 for standards based on C99 or C11.
11861
343222a2
JM
11862 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11863 Disable tests.
11864 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11865 UNIX98]: Likewise.
11866
661f8cf0
JM
11867 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11868 usability of symbols in #if.
11869
ee74b9cb
JM
11870 * conform/conformtest.pl: If macro or constant types start
11871 "promoted:", expect the symbol to be of the following type
11872 promoted by the integer promotions.
62fde54f 11873
aafc49b3
JM
11874 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11875 in one place. Also handle "macro-constant".
11876
fefdf574
JM
11877 * conform/conformtest.pl: Only accept expected macro values with
11878 "==". Parse all "macro" lines in one place.
11879 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11880
f2d922fe
JM
11881 * conform/conformtest.pl: Handle braced types on "constant" lines
11882 instead of handling "typed-constant".
11883 * conform/data/signal.h-data: Use "constant" instead of
11884 "typed-constant".
11885
d22956c9
JM
11886 * conform/conformtest.pl: Handle "optional-" at start of lines in
11887 one place rather than duplicating several cases. Handle each
11888 format of "macro" line with initial "optional-".
11889
028e2e38
JM
11890 * conform/conformtest.pl: Only accept expected constant or
11891 optional-constant values with "==". Parse all "constant" lines in
11892 one place. Parse all "optional-constant" lines in one place.
11893 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11894 * conform/data/fmtmsg.h-data: Likewise.
11895 * conform/data/netinet/in.h-data: Likewise.
11896 * conform/data/tar.h-data: Likewise.
11897 * conform/data/limits.h-data: Use "==" form on "constant" and
11898 "optional-constant" lines.
11899
1b8f2850
JM
11900 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11901 Use -std=c99 for XOPEN2K.
11902 (@knownproblems): Remove.
11903 (newtoken): Don't check %isknown.
11904
a05a144b
JM
11905 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11906 Do not expect macro.
11907 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11908 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11909 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11910 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11911 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11912 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11913 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11914 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11915 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11916 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11917 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11918 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11919 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11920 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11921 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11922 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11923 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11924 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11925 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11926 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11927 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11928 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11929 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11930 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11931 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11932 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11933 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11934 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11935 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11936 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11937 [XPG3] (acosh): Likewise.
11938 [XPG3] (asinh): Likewise.
11939 [XPG3] (atanh): Likewise.
11940 [XPG3] (cbrt): Likewise.
11941 [XPG3] (expm1): Likewise.
11942 [XPG3] (ilogb): Likewise.
11943 [XPG3] (log1p): Likewise.
11944 [XPG3] (logb): Likewise.
11945 [XPG3] (nextafter): Likewise.
11946 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11947 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11948 [XPG3] (remainder): Likewise.
11949 [XPG3] (rint): Likewise.
11950 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11951 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11952 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11953 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11954 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11955 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11956 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11957 [UNIX98 || XOPEN2K] (scalb): Expect.
11958 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11959 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11960 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11961 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11962 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11963 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11964 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11965 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11966 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11967 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11968 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11969 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11970 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11971 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11972 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11973 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11974 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11975 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11976 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11977 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11978 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11979 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11980 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11981 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11982 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11983 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11984 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11985 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11986 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11987 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11988 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11989 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11990 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11991 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11992 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11993 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11994 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11995 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11996 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11997 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11998 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11999 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12000 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12001 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12002 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12003 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12004 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12005 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12006 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12007 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12008 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12009 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12010 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12011 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12012 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12013 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12014 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12015 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12016 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12017 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12018 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12019 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12020 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12021 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12022 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12023 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12024 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12025 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12026 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12027 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12028 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12029 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12030 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12031 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12032 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12033 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12034 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12035 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12036 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12037 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12038 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12039 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12040 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12041 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12042 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12043 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12044 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12045 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12046 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12047 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12048 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12049 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12050 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12051 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12052 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12053 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12054 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12055 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12056 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12057 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12058 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12059 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12060 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12061 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12062 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12063 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12064 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12065 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12066 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12067 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12068 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12069 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12070 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12071 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12072 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12073 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12074 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12075 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12076 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12077 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12078 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12079 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12080 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12081 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12082 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12083 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12084 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12085 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12086 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12087 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12088 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12089 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12090 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12091 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12092 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12093 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12094 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12095
73c5ebe3
JM
12096 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12097 _XOPEN_SOURCE_EXTENDED for XPG4.
12098
39c33b6c
JM
12099 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12100
62fde54f
JM
12101 * Makeconfig (localtime): Remove variable.
12102 (inst_localtime-file): Likewise.
12103
0741d64c
AS
121042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12105
12106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12107 Update.
12108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12109 Update.
12110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12111 Update.
12112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12113 Update.
12114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12115 Update.
12116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12117 Update.
12118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12119 Update.
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12121 Update.
12122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12123 Update.
12124
7cb029ee
JM
121252012-05-01 Joseph Myers <joseph@codesourcery.com>
12126
12127 [BZ #2550]
12128 [BZ #2570]
12129 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12130 comparisons to determine direction to adjust input.
12131 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12132 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12133 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12134 Likewise.
12135 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12136 Likewise.
12137 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12138 Likewise.
12139 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12140 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12141 Likewise.
12142 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12143 Likewise.
12144 * math/libm-test.inc (nexttoward_test): Add more tests.
12145
412bd966
AS
121462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12147
12148 [BZ #14040]
12149 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12150 in version GLIBC_2.1, not GLIBC_2.0.
12151 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12152 Likewise.
12153
9568c0c2
JM
121542012-04-30 Joseph Myers <joseph@codesourcery.com>
12155
adfbc8ac
JM
12156 [BZ #13942]
12157 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12158 (1 - x) * (1 + x).
12159 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12160 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12161 * math/libm-test.inc (acos_test): Add more tests.
12162 (asin_test): Likewise.
12163 * sysdeps/i386/fpu/libm-test-ulps: Update.
12164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12165
5ba3cc69
JM
12166 [BZ #14034]
12167 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12168 of square root.
12169 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12170 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12171 * math/libm-test.inc (acos_test_tonearest): New function.
12172 (acos_test_towardzero): Likewise.
12173 (acos_test_downward): Likewise.
12174 (acos_test_upward): Likewise.
12175 (asin_test_tonearest): Likewise.
12176 (asin_test_towardzero): Likewise.
12177 (asin_test_downward): Likewise.
12178 (asin_test_upward): Likewise.
12179 (main): Call the new functions.
12180 * sysdeps/i386/fpu/libm-test-ulps: Update.
12181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12182
9568c0c2
JM
12183 [BZ #13884]
12184 [BZ #13924]
12185 * math/e_exp10.c: Include <float.h>.
12186 (__ieee754_exp10): Handle underflow here rather than multiplying
12187 large negative argument by M_LN10.
12188 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12189 of __ieee754_expf.
12190 * math/e_exp10l.c: Include <float.h>.
12191 (__ieee754_exp10l): Handle underflow here rather than multiplying
12192 large negative argument by M_LN10l.
12193 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12194 spurious overflow exception on underflow.
12195
5ac3ea17
MP
121962012-04-29 Marek Polacek <polacek@redhat.com>
12197
12198 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12199 (__fortify_function): New macro.
12200 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12201 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12202 __extern_always_inline.
12203 * libio/bits/stdio2.h: Likewise.
12204 * libio/bits/stdio.h: Likewise.
12205 * string/string.h: Likewise.
12206 * string/bits/string3.h: Likewise.
12207 * include/stdio.h: Likewise.
12208 * stdlib/bits/stdlib.h: Likewise.
12209 * stdlib/stdlib.h: Likewise.
12210 * rt/bits/mqueue2.h: Likewise.
12211 * rt/mqueue.h: Likewise.
12212 * posix/bits/unistd.h: Likewise.
12213 * posix/unistd.h: Likewise.
12214 * io/bits/poll2.h: Likewise.
12215 * io/bits/fcntl2.h: Likewise.
12216 * io/fcntl.h: Likewise.
12217 * io/sys/poll.h: Likewise.
12218 * misc/bits/syslog.h: Likewise.
12219 * misc/bits/syslog-ldbl.h: Likewise.
12220 * misc/sys/syslog.h: Likewise.
12221 * socket/bits/socket2.h: Likewise.
12222 * socket/sys/socket.h: Likewise.
12223 * debug/tst-chk1.c: Likewise.
12224 * wcsmbs/bits/wchar2.h: Likewise.
12225 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12226 * wcsmbs/wchar.h: Likewise.
12227
ecf0ebfb
AJ
122282012-04-29 Andreas Jaeger <aj@suse.de>
12229
12230 * Makerules (tests): Remove enable-check-abi protection.
12231 (check-abi-warn): Remove.
12232 (check-abi-%): Remove check-abi-warn usage.
12233
12234 * configure.in: Remove check-abi configure option.
12235 * configure: Regenerated.
12236 * config.make.in (enable-check-abi): Remove.
12237
6d5c57fa
AS
122382012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12239
24c5d07e 12240 [BZ #14033]
ded5180a
AS
12241 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12242 double functions to double *_finite functions.
12243
7e0d315d
AS
12244 [BZ #13941]
12245 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12246 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12247 LDBL_MIN_EXP.
12248 * stdio-common/Makefile (tests): Add tst-sprintf3.
12249 * stdio-common/tst-sprintf3.c: New file.
12250
6d5c57fa
AS
12251 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12252 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12253
0749ff8b
JM
122542012-04-28 Joseph Myers <joseph@codesourcery.com>
12255
12256 * conform/conformtest.pl: Remove duplicate typed-constant
12257 handling.
12258
8dbd5d7b
DM
122592012-04-28 David S. Miller <davem@davemloft.net>
12260
12261 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12262 (check-abi-%): Remove AWK script prerequisite and explicit
12263 abilist directory.
12264 (check-abi): Rewrite to just diff the symlist with the abilist.
12265 (config-tls, config-abi-config): Delete, no longer used.
12266 (update-abi-%): Remove AWK script and explicit abilist directory.
12267 (update-abi): Rewrite to simply compare and conditionally copy the
12268 symlist and the sysdep abilist file. Remove update-abi-config
12269 checks.
12270 * abilist/ld.abilist: Remove.
12271 * abilist/libBrokenLocale.abilist: Remove.
12272 * abilist/libanl.abilist: Remove.
12273 * abilist/libcrypt.abilist: Remove.
12274 * abilist/libdl.abilist: Remove.
12275 * abilist/librt.abilist: Remove.
12276 * abilist/libthread_db.abilist: Remove.
12277 * abilist/libutil.abilist: Remove.
12278 * scripts/extract-abilist.awk: Remove.
12279 * scripts/merge-abilist.awk: Remove.
12280 * sysdeps/generic/libcidn.abilist: New file.
12281 * sysdeps/generic/libnss_compat.abilist: New file.
12282 * sysdeps/generic/libnss_db.abilist: New file.
12283 * sysdeps/generic/libnss_dns.abilist: New file.
12284 * sysdeps/generic/libnss_files.abilist: New file.
12285 * sysdeps/generic/libnss_hesiod.abilist: New file.
12286 * sysdeps/generic/libnss_nis.abilist: New file.
12287 * sysdeps/generic/libnss_nisplus.abilist: New file.
12288 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12289 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12290 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12291 file.
12292 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12293 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12294 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12295 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12296 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12297 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12298 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12299 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12300 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12301 file.
12302 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12303 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12304 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12305 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12306 file.
12307 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12308 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12309 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12310 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12311 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12312 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12313 file.
12314 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12315 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12316 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12317 file.
12318 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12320 New file.
12321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12322 New file.
12323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12324 New file.
12325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12326 New file.
12327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12328 New file.
12329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12330 New file.
12331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12332 New file.
12333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12334 New file.
12335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12336 New file.
12337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12338 New file.
12339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12340 New file.
12341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12342 New file.
12343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12344 New file.
12345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12346 file.
12347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12348 New file.
12349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12350 New file.
12351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12352 file.
12353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12354 New file.
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12356 New file.
12357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12358 file.
12359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12360 New file.
12361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12362 New file.
12363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12364 New file.
12365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12366 New file.
12367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12368 New file.
12369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12370 New file.
12371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12373 file.
12374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12375 New file.
12376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12377 file.
12378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12379 file.
12380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12381 file.
12382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12383 file.
12384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12385 file.
12386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12387 New file.
12388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12389 file.
12390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12391 file.
12392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12393 New file.
12394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12395 file.
12396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12398 file.
12399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12400 New file.
12401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12402 file.
12403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12404 file.
12405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12406 file.
12407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12408 file.
12409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12410 file.
12411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12412 New file.
12413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12414 file.
12415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12416 file.
12417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12418 New file.
12419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12420 file.
12421 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12422 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12423 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12424 file.
12425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12426 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12427 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12428 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12429 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12430 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12431 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12432 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12433 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12434 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12437 file.
12438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12439 New file.
12440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12441 file.
12442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12443 file.
12444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12445 file.
12446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12447 file.
12448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12449 file.
12450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12451 New file.
12452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12453 New file.
12454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12455 file.
12456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12457 New file.
12458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12459 file.
12460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12462 file.
12463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12464 New file.
12465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12466 file.
12467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12468 file.
12469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12470 file.
12471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12472 file.
12473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12474 file.
12475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12476 New file.
12477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12478 New file.
12479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12480 file.
12481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12482 New file.
12483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12484 file.
12485
41d73a1b
JM
124862012-04-28 Joseph Myers <joseph@codesourcery.com>
12487
12488 * conform/conformtest.pl: Fix typo in handling typed-constant from
12489 allow-header.
12490
28aeeda4
JM
124912012-04-27 Joseph Myers <joseph@codesourcery.com>
12492
adae8f5e
JM
12493 * README: Cut down references to pre-2.6 Linux kernels and
12494 Linuxthreads. Update lists of configurations in libc and ports
12495 and sort alphabetically. Say "or newer" with Linux kernel version
12496 requirements.
12497
28aeeda4
JM
12498 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12499
a462cb63
RA
125002012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12501
12502 [BZ #887]
12503 * math/libm-test.inc (logb_test_downward): New test to expose
12504 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12505 rounding mode.
12506
6ad3493e
JM
125072012-04-27 Joseph Myers <joseph@codesourcery.com>
12508
12509 [BZ #14027]
12510 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12511 to be done.
12512 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12513 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12514
2ce4f015
JM
125152012-04-26 Joseph Myers <joseph@codesourcery.com>
12516
5aeb141a
JM
12517 * sysdeps/unix/i386/brk.S: Remove file.
12518 * sysdeps/unix/i386/dl-brk.S: Likewise.
12519 * sysdeps/unix/i386/pipe.S: Likewise.
12520 * sysdeps/unix/i386/sigreturn.S: Likewise.
12521 * sysdeps/unix/i386/syscall.S: Likewise.
12522 * sysdeps/unix/i386/vfork.S: Likewise.
12523 * sysdeps/unix/i386/wait.S: Likewise.
12524
7143acae
JM
12525 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12526 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12527
2ce4f015
JM
12528 * configure.in (arm*-none*): Do not allow without
12529 --enable-hacker-mode.
12530 (netbsd*): Remove case setting base_os.
12531 (386bsd*): Likewise.
12532 (freebsd*): Likewise.
12533 (bsdi*): Likewise.
12534 (osf*): Likewise.
12535 (sunos*): Likewise.
12536 (ultrix*): Likewise.
12537 (newsos*): Likewise.
12538 (dynix*): Likewise.
12539 (*bsd*): Likewise.
12540 (sysv*): Likewise.
12541 (isc*): Likewise.
12542 (esix*): Likewise.
12543 (sco*): Likewise.
12544 (minix*): Likewise.
12545 (irix4*): Likewise.
12546 (irix6*): Likewise.
12547 (solaris[2-9]*): Likewise.
12548 (none): Likewise.
12549 * configure: Regenerated.
12550
0ac229c8
AZ
125512012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12552
12553 [BZ #11521]
12554 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12555 overflow or cancellation in calculating denominator.
12556 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12557 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12558 down expression to avoid unexpected rounding in newer GCCs.
12559 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12560
33f244f4
DM
125612012-04-26 David S. Miller <davem@davemloft.net>
12562
12563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12564 long-double compat symbols.
12565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12578
cfa1f3e8
DM
125792012-04-25 David S. Miller <davem@davemloft.net>
12580
12581 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12582 HWCAP_* values only after the memory barriers have been defined.
12583 (atomic_full_barrier): Define.
12584 (atomic_read_barrier): Define.
12585 (atomic_write_barrier): Define.
12586
6e236b92
SP
125872012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12588
12589 * shlib-versions: Add libgcc_s version information.
12590 * sysdeps/generic/libgcc_s.h: Remove.
12591 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12592 libgcc_s.h.
12593 * sysdeps/gnu/unwind-resume.c: Likewise.
12594 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12595
aab39a09
DM
125962012-04-25 David S. Miller <davem@davemloft.net>
12597
12598 * sysdeps/unix/sparc/brk.S: Delete.
12599 * sysdeps/unix/sparc/dl-brk.S: Delete.
12600 * sysdeps/unix/sparc/pipe.S: Delete.
12601 * sysdeps/unix/sparc/sysdep.S: Delete.
12602 * sysdeps/unix/sparc/sysdep.h: Delete.
12603 * sysdeps/unix/sparc/vfork.S: Delete.
12604 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12605 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12606 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12607 ret_ERRVAL, r0, r1, MOVE): Define.
12608 (JUMPTARGET): Remove.
12609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12610 sysdeps/unix/sparc/sysdep.h
12611 (ENTRY, END): Remove.
12612 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12613
a3cc4f48
JM
126142012-04-25 Joseph Myers <joseph@codesourcery.com>
12615
2ed8cda2
JM
12616 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12617 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12618 -DIS_IN_build.
12619
35d76d59
JM
12620 * timezone/README: Update upstream location and email address for
12621 tzcode and tzdata.
12622 * timezone/zdump.c: Update from tzcode 2012b.
12623 * timezone/zic.c: Likewise.
12624
a3cc4f48
JM
12625 * configure.in (libc_cv_as_needed): Remove test.
12626 * configure: Regenerated.
12627 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12628 conditional definition.
12629 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12630 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12631 * config.make.in (have-as-needed): Remove variable.
12632
ceab42c3
SP
126332012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12634 Paul Pluzhnikov <ppluzhnikov@google.com>
12635
12636 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12637 strings correctly.
12638
3ce2865f
CLT
126392012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12640
12641 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12642 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12643 * sysdeps/sh/strlen.S: Likewise.
12644
f37e0d68
JM
126452012-04-24 Joseph Myers <joseph@codesourcery.com>
12646
ae186e9a
JM
12647 * sysdeps/unix/fork.S: Remove file.
12648 * sysdeps/unix/i386/fork.S: Likewise.
12649 * sysdeps/unix/sparc/fork.S: Likewise.
12650
b96914af
JM
12651 * sysdeps/unix/system.c: Remove file.
12652 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12653
f37e0d68
JM
12654 * sysdeps/unix/getegid.S: Remove file.
12655 * sysdeps/unix/geteuid.S: Likewise.
12656
87ef29ca
RM
126572012-04-24 Roland McGrath <roland@hack.frob.com>
12658
83bcd236
RM
12659 * scripts/check-localplt.awk: New file.
12660 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12661 of diff.
12662 * scripts/data/localplt-generic.data: Add a comment.
12663
87ef29ca
RM
12664 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12665 NODE when __dir_mkfile failed.
12666 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12667 Reported by Ludovic Courtès <ludo@gnu.org>.
12668
e5a6e567
AJ
126692012-04-24 Andreas Jaeger <aj@suse.de>
12670
12671 * Makerules (common-clean): Also remove gen-as-const-headers
12672 files.
12673
c1820385
JM
126742012-04-24 Joseph Myers <joseph@codesourcery.com>
12675
12676 * Makerules (native-compile): Do not change working directory for
12677 build. Use $(OUTPUT_OPTION) in command.
12678 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12679
94e02fc4
AZ
126802012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12681
12682 [BZ #13886]
12683 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12684 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12685 * math/libm-test.inc (floor_test): Add more tests.
12686 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12687
3a533ca3
JM
126882012-04-24 Joseph Myers <joseph@codesourcery.com>
12689
940ab4b3
JM
12690 * sysdeps/unix/getdents.c: Remove file.
12691 * sysdeps/unix/sysv/getdents.c: Likewise.
12692 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12693
90e037bd
JM
12694 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12695 sysdeps/unix/mman/syscalls.list.
12696 (mmap): Likewise.
12697 (mprotect): Likewise.
12698 (msync): Likewise.
12699 (munmap): Likewise.
12700 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12701 * sysdeps/unix/mman/syscalls.list: Remove.
12702 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12703
3a533ca3
JM
12704 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12705 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12706 * configure: Regenerated.
12707 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12708 $(libgcc_s_suffix).
12709 * config.make.in (libgcc_s_suffix): Remove variable.
12710
1ad743de
JM
127112012-04-23 Joseph Myers <joseph@codesourcery.com>
12712
4ad451e2
JM
12713 * sysdeps/unix/sysv/gethostname.c: Move to ...
12714 * sysdeps/posix/gethostname.c: ... here.
12715
5e37ce39
JM
12716 * sysdeps/unix/execve.S: Remove file.
12717
1ad743de
JM
12718 * sysdeps/unix/_exit.S: Remove file.
12719
4e681b5b
AJ
127202012-04-23 Andreas Jaeger <aj@suse.de>
12721
12722 [BZ #13739]
12723 * manual/Makefile: Remove make dist support, there's no
12724 need for a stand-alone documentation tar ball.
12725 (TEXI2DVI): Define always, it's not in Makeconfig.
12726 (dist): Removed.
12727 (tar-it): Removed.
12728 (edition): Removed.
12729 (glibc-doc-$(edition).tar): Removed
12730 (%.Z): Removed.
12731 (%.gz): Removed.
12732 (%.uu): Removed.
12733 (ETAGS): Remove, it's in Makeconfig.
12734 (move-if-change): Remove, it's in Makeconfig.
12735
38686a03 127362012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12737
12738 [BZ #13970]
12739 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12740 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12741 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12742 (strtod_l, strtof_l, strtold_l): Remove __wur.
12743 It is not necessarily an error to ignore strtol's return value.
12744 One can reliably look at the stored endptr to decide whether
12745 the number had valid syntax.
12746
7c0616fa
AJ
127472012-04-21 Andreas Jaeger <aj@suse.de>
12748
803cb6b7 12749 [BZ #13739]
7c0616fa
AJ
12750 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12751
b0fe253f
JM
127522012-04-21 Joseph Myers <joseph@codesourcery.com>
12753
12754 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12755 * sysdeps/unix/sysv/Versions: Remove file.
12756
8280f22d
MT
127572012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12758
12759 [BZ #13927]
12760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12761
75ce411f 127622012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12763
12764 [BZ #7064]
12765 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12766 version from __vm86.
12767
097d59fa
JM
127682012-04-20 Joseph Myers <joseph@codesourcery.com>
12769
a90f3bcb
JM
12770 * sysdeps/unix/common/lxstat.c: Remove file.
12771 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12772
edc7ea78
JM
12773 * sysdeps/unix/sysv/Makefile: Remove file.
12774
cb78c221
JM
12775 * sysdeps/unix/sysv/direct.h: Remove file.
12776
efa6a45f
JM
12777 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12778 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12779 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12780 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12781 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12782 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12783 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12784
9c9f2d0c
JM
12785 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12786
4541c83b
JM
12787 * sysdeps/unix/xmknod.c: Remove file.
12788 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12789
f5d153a0
JM
12790 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12791
aa746595
JM
12792 * sysdeps/unix/sysv/i386/time.S: Remove file.
12793
cce5905e
JM
12794 * sysdeps/unix/fxstat.c: Remove file.
12795 * sysdeps/unix/xstat.c: Likewise.
12796 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12797
37fa3841
JM
12798 * sysdeps/unix/sysv/sigaction.c: Remove file.
12799
ff1962a3
JM
12800 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12801 (sysdep_headers): Remove variable.
12802 [termio.h not in sysdep_headers] (generated): Likewise.
12803 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12804 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12805 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12806 * sysdeps/unix/sysv/tcflow.c: Likewise.
12807 * sysdeps/unix/sysv/tcflush.c: Likewise.
12808 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12809 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12810 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12811 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12812 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12813
e7740d31
JM
12814 * sysdeps/unix/siglist.c: Remove file.
12815
ee06f18b
JM
12816 * sysdeps/unix/getppid.S: Remove file.
12817
097d59fa
JM
12818 * sysdeps/unix/mkdir.c: Remove file.
12819 * sysdeps/unix/rmdir.c: Likewise.
12820
ff3d51ec
AS
128212012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12822
12823 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12824 ERR_MAX value.
12825 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12826 errlist-compat value.
12827
50f81fd7
DM
128282012-04-18 David S. Miller <davem@davemloft.net>
12829
12830 * sysdeps/generic/memcopy.h (reg_char): Delete.
12831 * debug/strcat_chk.c: Use char, not reg_char.
12832 * debug/strcpy_chk.c: Likewise.
12833 * debug/strncat_chk.c: Likewise.
12834 * debug/strncpy_chk.c: Likewise.
12835 * string/memchr.c: Likewise.
12836 * string/memrchr.c: Likewise.
12837 * string/rawmemchr.c: Likewise.
12838 * string/strcat.c: Likewise.
12839 * string/strchr.c: Likewise.
12840 * string/strchrnul.c: Likewise.
12841 * string/strcmp.c: Likewise.
12842 * string/strcpy.c: Likewise.
12843 * string/strncat.c: Likewise.
12844 * string/strncmp.c: Likewise.
12845 * string/strncpy.c: Likewise.
12846
8ff41c46
WS
128472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12848
12849 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12850 __builtin_memcopy is called when src and dest ranges are known to not
12851 overlap.
12852
6b652f46
WS
128532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12854
12855 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12856 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12857 fwd_align_merge macro call.
12858 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12859 bwd_align_merge macro call.
12860 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12861
b282631e
WS
128622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12863
12864 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12865 bwd_align_merge macros.
12866 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12867 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12868 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12869
95aa737c
DM
128702012-04-18 David S. Miller <davem@davemloft.net>
12871
12872 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12873
7a99a614
AJ
128742012-04-18 Andreas Jaeger <aj@suse.de>
12875
12876 [BZ# 6794]
12877 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12878 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12879 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12880
12881 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12882 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12883 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12884
12885 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12886 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12887 Adjust for changed ldbl-128 files.
12888
12889 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12890 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12891 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12892
e5270c23
DM
128932012-04-17 David S. Miller <davem@davemloft.net>
12894
12895 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12896
fb5e92c9
AS
128972012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12898
12899 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12900 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12901 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12902 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12903 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12904 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12905
76da7265
AZ
129062012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12907
12908 [BZ #6794]
12909 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12910 * math/libm-test.inc: Add ilogb errno and exception tests.
12911 * math/w_ilogb.c: New file: ilogb wrapper.
12912 * math/w_ilogbf.c: New file: ilogbf wrapper.
12913 * math/w_ilogbl.c: New file: ilogbl wrapper.
12914 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12915 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12916 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12917 exception being thrown with 0.0 as argument.
12918 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12919 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12920 exception being thrown with 0.0 as argument.
12921 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12922 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12923 exception being thrown with 0.0 as argument.
12924 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12925 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12926 exception being thrown with 0.0 as argument.
12927 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12928 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12929 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12930 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12931 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12932 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12933 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12934 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12935 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12936
0396e69d
PB
129372012-04-17 Petr Baudis <pasky@ucw.cz>
12938
12939 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12940 with altivec.
12941
750b5926
MP
129422012-04-16 Marek Polacek <polacek@redhat.com>
12943
12944 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12945
751728a1
MP
129462012-04-16 Marek Polacek <polacek@redhat.com>
12947
12948 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12949 operands of fdivp instruction.
12950
34a27407
L
129512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12952
12953 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12954 * elf/tst-auditmod3b.c: Likewise.
12955 * elf/tst-auditmod4b.c: Likewise.
12956 * elf/tst-auditmod5b.c: Likewise.
12957 * elf/tst-auditmod6b.c: Likewise.
12958 * elf/tst-auditmod6c.c: Likewise.
12959 * elf/tst-auditmod7b.c: Likewise.
12960 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12961 * sysdeps/x86_64/preconfigure.in: Likewise.
12962 * sysdeps/x86_64/preconfigure: Regenerated.
12963
7e73e17d
L
129642012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12965
12966 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12967 __ILP32__.
12968
c7a6ab72
AB
129692012-04-13 Antoine Balestrat <merkil33@gmail.com>
12970
12971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12972 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12973
a9e8e0e0
CL
129742012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12975
12976 [BZ #13973]
12977 * locale/iso-639.def: Fix gl language name. Spotted by
12978 Yaron Shahrabani.
12979
ec98af7d
RM
129802012-04-12 Roland McGrath <roland@hack.frob.com>
12981
12982 [BZ #2074]
12983 * libio/libio.h (__io_write_fn): Update comment.
12984
247c3ede
PB
129852012-04-12 Petr Baudis <pasky@ucw.cz>
12986
12987 [BZ #2074]
12988 * stdio.texi (Hook Functions): The user provided writer function
12989 is not allowed to return -1.
12990
55939d6d
DM
129912012-04-11 David S. Miller <davem@davemloft.net>
12992
12993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12994
90020f5a
MF
129952012-04-11 Mike Frysinger <vapier@gentoo.org>
12996
12997 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12998 Add a leading slash to rtkaio.
12999
288f9098
JM
130002012-04-11 Jim Meyering <meyering@redhat.com>
13001
90020f5a
MF
13002 [BZ #11959]
13003 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13004 It is not necessarily an error to ignore fwrite's return
13005 value. One can reliably use ferror to test for errors after
13006 the fact.
288f9098 13007
4be2b570
L
130082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13009
13010 * bits/types.h (__snseconds_t): New type.
13011 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13012
13013 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13014 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13015 (__SNSECONDS_T_TYPE): Likewise.
13016 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13017 (__SNSECONDS_T_TYPE): Likewise.
13018 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13019 (__SNSECONDS_T_TYPE): Likewise.
13020
288f9098 130212012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13022
13023 [BZ #2636]
13024 * manual/time.texi (Processor Time): Return type of times is
13025 elapsed real time since an arbitrary point in the past.
13026 (CPU Time): Move CLK_TCK from here...
13027 (Processor Time): ...to here. Correct description.
13028 * manual/conf.texi (Constants for Sysconf): Correct description of
13029 _SC_CLK_TCK.
13030
d7dd4413
DM
130312012-04-10 David S. Miller <davem@davemloft.net>
13032
13033 [BZ #13967]
13034 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13035 where the is a gap between DT_REL(A) and DT_JMPREL.
13036
b46068fc
L
130372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13038
13039 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13040 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13041 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13042
73d65cc3
SP
130432012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13044
13045 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13046 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13047 (dl_main): Handle --inhibit-cache.
13048 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13049 _dl_inhibit_cache.
13050 * elf/dl-load.c (_dl_map_object): Use it.
13051 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13052
bcc8d661
JM
130532012-04-09 Joseph Myers <joseph@codesourcery.com>
13054
8f9a2fae
JM
13055 [BZ #13872]
13056 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13057 (__ieee754_powl): Saturate large exponents rather than testing for
13058 overflow of y*log2(x).
13059 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13060 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13061 exceptions.
13062
bcc8d661
JM
13063 [BZ #11521]
13064 * math/s_ctan.c: Include <float.h>.
13065 (__ctan): Avoid internal overflow or cancellation in calculating
13066 denominator.
13067 * math/s_ctanf.c: Likewise.
13068 * math/s_ctanl.c: Likewise.
13069 * math/s_ctanh.c: Likewise.
13070 * math/s_ctanhf.c: Likewise.
13071 * math/s_ctanhl.c: Likewise.
13072 * math/libm-test.inc (ctan_test): Add more tests.
13073 (ctanh_test): Likewise.
13074 * sysdeps/i386/fpu/libm-test-ulps: Update.
13075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13076
823fbbb4
AJ
130772012-04-09 Andreas Jaeger <aj@suse.de>
13078
03879793
AJ
13079 [BZ #6894]
13080 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13081 is an optional BSD extension.
13082
823fbbb4
AJ
13083 [BZ #10254]
13084 * manual/stdio.texi (Opening Streams): Document additional fopen
13085 parameters.
13086
8de131cb
RM
130872012-04-09 Roland McGrath <roland@hack.frob.com>
13088
13089 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13090 %eax without telling the compiler.
13091
c0ed9d7d
CD
130922012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13093
13094 [BZ # 13963]
13095 * manual/install.texi: Use sourceware.org.
13096
c483f6b4
JM
130972012-04-09 Joseph Myers <joseph@codesourcery.com>
13098
d7dd9453
JM
13099 [BZ #13873]
13100 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13101 (__ieee754_pow): Generate overflow and underflow using huge*huge
13102 and tiny*tiny rather than just returning constant infinity or zero
13103 for large exponents.
13104 * math/libm-test.inc (pow_test): Require overflow exceptions for
13105 applicable cases of large exponents.
13106
c483f6b4
JM
13107 [BZ #706]
13108 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13109 (__ieee754_pow): Use iterative multiplication algorithm only for
13110 integer exponents with absolute value below 1024. Check for odd
13111 integer exponents when using algorithm for real exponents.
13112 * math/libm-test.inc (pow_test): Add more tests.
13113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13114
d2de7579
JM
131152012-04-08 Joseph Myers <joseph@codesourcery.com>
13116
13117 [BZ #13705]
13118 * math/libm-test.inc (exp_test): Do not allow overflow exception
13119 on underflow test.
13120
f77f1232
AJ
131212012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13122
13123 [BZ #13705]
13124 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13125 instead of __kernel_standard_f.
13126
3884932b
MF
131272012-04-08 Mike Frysinger <vapier@gentoo.org>
13128
13129 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13130 * sysdeps/x86_64/memset_chk.S: Likewise.
13131
54472e9c
AJ
131322012-04-08 Andreas Jaeger <aj@suse.de>
13133
6ab0fbfc
AJ
13134 [BZ #10153]
13135 * manual/startup.texi (Environment Access): Describe return value
13136 for putenv and setenv.
13137
61efba8c
AJ
13138 [BZ #6895]
13139 * manual/filesys.texi (Directory Entries): Add description for
13140 DT_LNK.
13141
95c3f29a
AJ
13142 [BZ #6890]
13143 * manual/filesys.texi (Directory Entries): Clarify that it's file
13144 system not operating system in the description of DT_UNKNOWN.
13145
54472e9c
AJ
13146 [BZ #6578]
13147 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13148
624254b1
SC
131492012-04-08 Stephen Compall <s11@member.fsf.org>
13150
13151 [BZ #6649]
13152 * manual/llio.texi (Opening and Closing Files): Add cross
13153 reference to explain mode argument.
13154
1e4920e0
MF
131552012-04-07 Mike Frysinger <vapier@gentoo.org>
13156
13157 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13158 * sysdeps/x86_64/memset_chk.S: Likewise.
13159
5ed848f3
DM
131602012-04-07 David S. Miller <davem@davemloft.net>
13161
13162 * elf/elf.h (R_SPARC_WDISP10): Define.
13163 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13164 R_SPARC_SIZE32.
13165 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13166 R_SPARC_SIZE64 and R_SPARC_H34.
13167
96154cd8
CD
131682012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13169
13170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13171 conditions and remove no longer applicable assertion.
13172
9904dc47
L
131732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13174
13175 * bits/byteswap.h: Include <features.h>.
13176 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13177 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13178
f8887d0a
L
131792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13180
13181 * bits/byteswap.h (__bswap_16): Removed.
13182 Include <bits/byteswap-16.h> to get __bswap_16.
13183 * sysdeps/i386/bits/byteswap.h: Likewise.
13184 * sysdeps/s390/bits/byteswap.h: Likewise.
13185 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13186 * bits/byteswap-16.h: New file.
13187 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13188 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13189 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13190 * string/Makefile (headers): Add bits/byteswap-16.h.
13191
62470f60
PP
131922012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13193
13194 [BZ #13895]
13195 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13196 extra indirection.
13197 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13198 * nss/tst-nss-static.c: New.
13199
4dad7bab
RM
132002012-04-06 Robert Millan <rmh@gnu.org>
13201
13202 [BZ #6486]
13203 * manual/llio.texi (File Position Primitive): lseek
13204 refers to WHENCE when it really means OFFSET.
13205
e9142a17
AJ
132062012-04-06 Andreas Jaeger <aj@suse.de>
13207
2c040eff
AJ
13208 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13209 strncmp declarations.
13210
e9142a17
AJ
13211 * abilist/libc.abilist: Add __poll and __ppoll.
13212
ff9f1c5f
DM
132132012-04-05 David S. Miller <davem@davemloft.net>
13214
dcd2ae90
DM
13215 * scripts/check-local-headers.sh: Accept a host triplet in the
13216 path matched by the exclude regexp.
13217
993eb054
DM
13218 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13219 definition.
13220 * sysdeps/powerpc/powerpc32/dl-machine.h
13221 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13222 * sysdeps/s390/s390-32/dl-machine.h
13223 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13224 * sysdeps/sparc/sparc32/dl-machine.h
13225 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13226 * sysdeps/sparc/sparc64/dl-machine.h
13227 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13228
ff9f1c5f
DM
13229 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13230 lazy binding.
48e2e132 13231 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13232 undefined symbol errors.
13233
48e2e132 13234 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13235 DT_NEEDED entries.
13236
e80d6f94
MM
132372012-04-05 Michael Matz <matz@suse.de>
13238
13239 [BZ #13592]
13240 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13241
349fa79f
AJ
132422012-04-05 Andreas Jaeger <aj@suse.de>
13243
13244 [BZ #13908]
13245 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13246 comment.
13247
f402708f
KK
132482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13249
13250 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13251 which ROUND is no valid rounding mode.
13252
2ecccfc9
KK
132532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13254
13255 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13256 read again.
13257 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13258
8a53f50f
KK
132592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13260
13261 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13262 an exception using FPU order intentionally.
13263
132642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13265
13266 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13267 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13268 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13269 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13270
d653abb7
SJ
132712012-04-05 Simon Josefsson <simon@josefsson.org>
13272
13273 [BZ #12340]
13274 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13275 EINVAL when BUFLEN is too smal.
13276
c3b1bf7d
TS
132772012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13278
13279 [BZ #13553]
13280 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13281 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13282
b1aa60f3
AJ
132832012-04-03 Andreas Jaeger <aj@suse.de>
13284
c3b1bf7d 13285 [BZ #13938]
67f60a26
AJ
13286 * manual/setjmp.texi (System V contexts): Fix sentence.
13287
b1aa60f3
AJ
13288 [BZ #13926]
13289 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13290 New macro for this case.
13291 [!__GNUC__] (__bswap_64): New inline function for this case.
13292 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13293 * bits/byteswap.h: Likewise.
13294 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13295 ull, guard with __GLIBC_HAVE_LONG_LONG.
13296
13297 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13298 __GLIBC_HAVE_LONG_LONG.
13299
13300 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13301 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13302
39c59c35
TMQMF
133032012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13304
13305 [BZ #13691]
13306 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13307 inptr and inend, rather than using last_ch.
13308
135ffda8
DM
133092012-04-02 David S. Miller <davem@davemloft.net>
13310
13311 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13312 * stdio-common/printf-parse.h (read_int): Change return type to
13313 'int', return -1 on INT_MAX overflow.
13314 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13315 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13316 overflows INT_MAX. Check for overflow of in-format-string precision
13317 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13318 SIZE_MAX not INT_MAX for integer overflow test.
13319 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13320 skip the construct in the format string but do not record anything.
13321 * stdio-common/bug22.c: Adjust to test both width/prevision
13322 INT_MAX overflow as well as total length INT_MAX overflow. Check
13323 explicitly for proper errno values.
13324
228c019e
TS
133252012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13326
302cadd3
TS
13327 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13328 CHAR_MAX.
13329 * string/test-strcmp.c [! WIDE]: Likewise.
13330 * time/tst-mktime2.c: Likewise for INT_MAX.
13331 * string/test-string.h: #include <sys/param.h> for MIN.
13332
228c019e
TS
13333 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13334 * sysdeps/i386/init-first.c (init): Likewise.
13335 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13336 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13337 * sysdeps/sh/init-first.c (init): Likewise.
13338
cfa633f5
UD
133392012-04-01 Ulrich Drepper <drepper@gmail.com>
13340
13341 * po/ru.po: Update from translation team.
d1635ef8 13342 * po/vi.po: Likewise.
cfa633f5 13343
6cd0a5ea
SP
133442012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13345
13346 * resolv/nss_dns/dns-host.c: Merge copyright years.
13347
4b43400f
LD
133482012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13349
13350 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13351 Optimize memcpy with prefetch if
13352 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13353 src, dst pointers have unequal 16 byte alignments.
13354
48c41d04
SP
133552012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13356
13357 [BZ #13928]
13358 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13359 from a CNAME entry and return the minimum ttl for the query.
13360 (gaih_getanswer_slice): Likewise.
13361
b8dc394d
JL
133622012-03-30 Jeff Law <law@redhat.com>
13363
13364 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13365 due to long keys.
13366 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13367 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13368
2f5a5ed0
JL
13369 * resolv/nss_dns/dns-host.c: Update copyright year.
13370
1d39e359
UD
133712012-03-30 Ulrich Drepper <drepper@gmail.com>
13372
c030f70c 13373 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13374 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13375
1d39e359
UD
13376 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13377 comments for sendmmsg.
13378
133792012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13380
13381 [BZ #13691]
13382 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13383 with only 1 character between 0x0041 and 0x01b0.
13384 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13385 * wcsmbs/tst-mbsnrtowcs.c: New file.
13386
20fde227
DM
133872012-03-29 David S. Miller <davem@davemloft.net>
13388
13389 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13390 small copies by hand.
13391
984a4237
JL
133922012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13393
13394 [BZ #13761]
13395 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13396 _nss_compat_initgroups_dyn): Fall back to malloc/free
13397 for large group memberships.
13398
18c9d62b
DM
133992012-03-28 David S. Miller <davem@davemloft.net>
13400
88d85d4f
DM
13401 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13402 that branches into memcpy.
13403 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13404 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13406 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13408 bits.
13409 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13410 implementation too.
13411 * sysdeps/sparc/mempcpy.S: New file.
13412
e5aa83e1
DM
13413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13414 the IFUNC routine in the libc case.
13415 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13416
88570753
DM
13417 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13418 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13419 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13420 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13421 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13422 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13423 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13424 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13425
249d7567
DM
13426 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13427 loop to 256 bytes instead of 64 bytes and fix test signedness.
13428
18c9d62b
DM
13429 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13430 * sysdeps/sparc/sparc32/Makefile: rather than here...
13431 * sysdeps/sparc/sparc64/Makefile: and here.
13432
05f3d1f6
UD
134332012-03-28 Ulrich Drepper <drepper@gmail.com>
13434
13435 * malloc/mallocbug.c: Avoid warnings about unused variables.
13436
86ae07a8
JL
134372012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13438
13439 [BZ #13760]
13440 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13441 in the right place. Discard and retry query if response is
13442 larger than input buffer size.
13443
41bf21a1
JM
134442012-03-28 Joseph Myers <joseph@codesourcery.com>
13445
d6270972
JM
13446 [BZ #369]
13447 [BZ #2678]
13448 [BZ #3866]
13449 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13450 x for large integer exponent.
13451 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13452 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13453 sign of result as needed afterwards.
13454 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13455 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13456 result for underflowing pow the same as for overflow.
13457 (__kernel_standard_l): Handle powl overflow and underflow here
13458 rather than calling __kernel_standard.
13459 * math/libm-test.inc (pow_test): Add more tests.
13460
414fca03 13461 [BZ #3868]
41bf21a1
JM
13462 [BZ #13879]
13463 [BZ #13910]
13464 [BZ #13911]
13465 [BZ #13912]
13466 [BZ #13913]
13467 [BZ #13915]
13468 [BZ #13916]
13469 [BZ #13917]
13470 [BZ #13918]
13471 [BZ #13919]
13472 [BZ #13920]
13473 [BZ #13921]
13474 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13475 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13476 (__kernel_standard_l): New function.
13477 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13478 __kernel_standard.
13479 * math/w_acosl.c (__acosl): Likewise.
13480 * math/w_asinl.c (__asinl): Likewise.
13481 * math/w_atan2l.c (__atan2l): Likewise.
13482 * math/w_atanhl.c (__atanhl): Likewise.
13483 * math/w_coshl.c (__coshl): Likewise.
13484 * math/w_exp10l.c (__exp10l): Likewise.
13485 * math/w_exp2l.c (__exp2l): Likewise.
13486 * math/w_fmodl.c (__fmodl): Likewise.
13487 * math/w_hypotl.c (__hypotl): Likewise.
13488 * math/w_j0l.c (__j0l, __y0l): Likewise.
13489 * math/w_j1l.c (__j1l, __y1l): Likewise.
13490 * math/w_jnl.c (__jnl, __ynl): Likewise.
13491 * math/w_lgammal.c (__lgammal): Likewise.
13492 * math/w_log10l.c (__log10l): Likewise.
13493 * math/w_log2l.c (__log2l): Likewise.
13494 * math/w_logl.c (__logl): Likewise.
13495 * math/w_powl.c (__powl): Likewise.
13496 * math/w_remainderl.c (__remainderl): Likewise.
13497 * math/w_scalbl.c (sysv_scalbl): Likewise.
13498 * math/w_sinhl.c (__sinhl): Likewise.
13499 * math/w_sqrtl.c (__sqrtl): Likewise.
13500 * math/w_tgammal.c (__tgammal): Likewise.
13501 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13502 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13503 * math/libm-test.inc (acos_test): Add more tests.
13504 (acosh_test): Likewise.
13505 (asin_test): Likewise.
13506 (atanh_test): Likewise.
13507 (exp_test): Likewise.
13508 (exp10_test): Likewise.
13509 (exp2_test): Likewise.
13510 (expm1_test): Likewise.
13511 (lgamma_test): Likewise.
13512 (log_test): Likewise.
13513 (log10_test): Likewise.
13514 (log1p_test): Likewise.
13515 (log2_test): Likewise.
13516 (pow_test): Do not allow some spurious overflow exceptions.
13517 (sqrt_test): Add more tests.
13518 (tgamma_test): Likewise.
13519 (y0_test): Likewise.
13520 (y1_test): Likewise.
13521 (yn_test): Likewise.
13522
dd62fda6
AB
135232012-03-27 Anton Blanchard <anton@samba.org>
13524
13525 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13526 MAP_HUGETLB.
13527 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13528 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13529 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13530
1e3cdfda
AJ
135312012-03-27 David S. Miller <davem@davemloft.net>
13532
b855ab85
DM
13533 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13534
1e3cdfda
AJ
13535 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13536 have-as-vis3 check.
13537
135382012-03-27 Andreas Jaeger <aj@suse.de>
13539
13540 * sysdeps/x86_64/elf/configure.in: Moved to ...
13541 * sysdeps/x86_64/configure.in: ... here.
13542 * sysdeps/x86_64/elf/start.S: Moved to ...
13543 * sysdeps/x86_64/start.S: ... here.
13544 * sysdeps/x86_64/elf/configure: Delete.
13545
13546 * sysdeps/x86_64/configure.in: Merge contents from
13547 sysdeps/i386/configure.in (without i686 check).
13548
13549 * sysdeps/i386/elf/Versions: Merge into ...
13550 * sysdeps/i386/Versions: ... this.
13551 * sysdeps/i386/elf/Versions: Delete file.
13552 * sysdeps/i386/elf/start.S: Moved to ...
13553 * sysdeps/i386/start.S: ...here.
13554 * sysdeps/i386/elf/configure.in: Merge into...
13555 * sysdeps/i386/configure.in: ...here.
13556 * sysdeps/i386/elf/configure.in: Delete file.
13557 * sysdeps/i386/elf/configure: Delete file.
13558
13559 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13560 * debug/backtracesyms.c: ... here.
13561 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13562 * debug/backtracesymsfd.c: ... here.
13563 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13564 * sysdeps/generic/ifunc-sel.h: ... here.
13565
13566 * sysdeps/unix/i386/start.c: Delete file.
13567 * sysdeps/unix/sparc/start.c: Delete file.
13568 * sysdeps/unix/start.c: Delete file.
13569
13570 * sysdeps/sh/elf/configure.in: Moved to ...
13571 * sysdeps/sh/configure.in: ... here.
13572 * sysdeps/sh/elf/start.S: Moved to ...
13573 * sysdeps/sh/start.S: ... here.
13574 * sysdeps/sh/elf/configure: Delete file.
13575
13576 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13577 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13578 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13579 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13580 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13581 * sysdeps/powerpc/powerpc64/start.S: here.
13582 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13583 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13584 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13585 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13586 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13587
13588 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13589 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13590 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13591 * sysdeps/powerpc/powerpc32/start.S: ... here.
13592 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13593 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13594 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13595
13596 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13597 * sysdeps/powerpc/ifunc-sel.h: ... here.
13598 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13599 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13600
13601 * sysdeps/sparc/elf/configure.in: Moved to ...
13602 * sysdeps/sparc/configure.in: ... here.
13603 * sysdeps/sparc/elf/configure: Delete file.
13604 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13605 * sysdeps/sparc/sparc32/start.S: ... here.
13606 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13607 * sysdeps/sparc/sparc64/start.S: ... here.
13608 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13609 * sysdeps/sparc/sparc32/Makefile: ... this.
13610 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13611 * sysdeps/sparc/sparc64/Makefile: ... this.
13612
13613 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13614 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13615 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13616 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13617 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13618 * sysdeps/s390/s390-32/setjmp.S: ... here.
13619 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13620 * sysdeps/s390/s390-32/configure.in: ... here.
13621 * sysdeps/s390/s390-32/elf/configure: Delete file.
13622 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13623 * sysdeps/s390/s390-32/start.S: ... here.
13624
13625 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13626 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13627 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13628 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13629 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13630 * sysdeps/s390/s390-64/setjmp.S: ... here.
13631 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13632 * sysdeps/s390/s390-64/configure.in: ... here
13633 * sysdeps/s390/s390-64/elf/configure: Delete file.
13634 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13635 * sysdeps/s390/s390-64/start.S: ... here.
13636 * sysdeps/s390/s390-64/elf/configure: Delete.
13637
13638 * configure.in: Remove support for elf directories in sysdeps.
13639
13640 * configure: Regenerated.
13641 * sysdeps/i386/configure: Regenerated.
13642 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13643 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13644 * sysdeps/s390/s390-32/configure: Regenerated.
13645 * sysdeps/s390/s390-64/configure: Regenerated.
13646 * sysdeps/sh/configure: Regenerated.
13647 * sysdeps/sparc/configure: Regenerated.
13648 * sysdeps/x86_64/configure: Regenerated.
13649
a3f61311
AS
136502012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13651
c876e002
AS
13652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13653
a3f61311
AS
13654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13655 denormal result into account.
13656
ac4c54f0
RM
136572012-03-25 Roland McGrath <roland@hack.frob.com>
13658
13659 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13660 Reported by Allan McRae <allan@archlinux.org>.
13661
6a9b9c02
JL
136622012-03-23 Jeff Law <law@redhat.com>
13663
13664 * nss/getnssent.c (__nss_getent): Fix typo.
13665
4c42a0c1
DM
136662012-03-23 David S. Miller <davem@davemloft.net>
13667
13668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13669
1532c7ac
L
136702012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13671
13672 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13673 to pad to uint64_t for each field.
13674 (dl_tls_index): Replace unsigned long with uint64_t.
13675
3ff42526
PP
136762012-03-23 Daniel Jacobowitz <dmj@google.com>
13677 Paul Pluzhnikov <ppluzhnikov@google.com>
13678
13679 [BZ #6528]
13680 * grp/Makefile (otherlibs): Don't set it.
13681 * inet/Makefile (otherlibs): Likewise.
13682 * login/Makefile (otherlibs): Likewise.
13683 * nscd/Makefile (otherlibs): Likewise.
13684 * posix/Makefile (otherlibs): Likewise.
13685 * pwd/Makefile (otherlibs): Likewise.
13686 * rt/Makefile (otherlibs): Likewise.
13687 * sunrpc/Makefile (otherlibs): Likewise.
13688 * nss/Makefile (otherlibs): Likewise.
13689 Add libnss_files to routines and static-only-routines.
13690 ($(objpfx)getent): Remove rule.
13691 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13692 static-only-routines.
13693
7c69cd14
JM
136942012-03-22 Joseph Myers <joseph@codesourcery.com>
13695
13696 [BZ #13892]
13697 * math/s_cexp.c: Include <float.h>.
13698 (__cexp): Handle exp result overflowing not necessarily
13699 overflowing both real and imaginary parts of result.
13700 * math/s_cexpf.c: Likewise.
13701 * math/s_cexpl.c: Likewise.
13702 * math/libm-test.inc (cexp_test): Add more tests.
13703 * sysdeps/i386/fpu/libm-test-ulps: Update.
13704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13705
81b035fe
L
137062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13707
13708 * include/link.h (ELFW): New macro.
13709 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13710 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13711
1da7940c
L
137122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13713
13714 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13715 with uint64_t.
13716
b749dbb9
L
137172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13718
13719 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13720 declaration.
13721 (struct La_x32_retval): Likewise.
13722
2ff87f3f
L
137232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13724
13725 * sysdeps/x86_64/preconfigure.in: New file.
13726 * sysdeps/x86_64/preconfigure: New generated file.
13727
c0df8e69
JM
137282012-03-22 Joseph Myers <joseph@codesourcery.com>
13729
48e44791
JM
13730 [BZ #13824]
13731 * math/e_exp2l.c: Include <float.h>.
13732 (__ieee754_exp2l): Handle overflow and underflow cases
13733 separately. Only pass fractional part of argument to
13734 __ieee754_expl.
13735 * math/libm-test.inc (exp2_test): Add more tests.
13736
c0df8e69
JM
13737 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13738 negating x to take absolute value.
13739 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13740 Likewise.
13741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13743 Likewise.
13744 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13745 computing low part if x was negated.
13746 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13747
c8e43ba7
L
137482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13749
13750 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13751 la_x32_gnu_pltexit.
13752 (pltexit): Cast int_retval to ptrdiff_t.
13753 * elf/tst-auditmod3b.c: Likewise.
13754 * elf/tst-auditmod4b.c: Likewise.
13755 * elf/tst-auditmod5b.c: Likewise.
13756 * elf/tst-auditmod6b.c: Likewise.
13757 * elf/tst-auditmod6c.c: Likewise.
13758 * elf/tst-auditmod7b.c: Likewise.
13759
13760 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13761 and x32_gnu_pltexit.
13762
13763 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13764 __ELF_NATIVE_CLASS.
13765 (La_x32_regs): New macro.
13766 (La_x32_retval): Likewise.
13767 (la_x32_gnu_pltenter): New function prototype.
13768 (la_x32_gnu_pltexit): Likewise.
13769
7998fa78
AS
137702012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13771
dcb33988
AS
13772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13773 exponent.
13774
233fc563
AS
13775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13776
7998fa78
AS
13777 * configure.in (libc_cv_cc_nofma): Check for option to disable
13778 generation of FMA instructions.
13779 * configure: Regenerate.
13780 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13781 * sysdeps/ieee754/dbl-64/Makefile: New file.
13782 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13783 Remove brandred-fma4.
13784 (CFLAGS-brandred-fma4.c): Remove.
13785 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13786 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13787 define.
13788 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13789 define.
13790
8e95c99a
L
137912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13792
13793 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13794 LLONG_MAX != LONG_MAX.
13795 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13796 (_fitoa_word): Likewise.
13797 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13798 LLONG_MAX != LONG_MAX.
13799 * stdio-common/_itowa.h: Include <_itoa.h>.
13800 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13801 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13802 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13803 only if not defined.
13804 (_ITOA_WORD_TYPE): Likewise.
13805 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13806 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13807
6f4db457
DM
138082012-03-21 David S. Miller <davem@davemloft.net>
13809
13810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13811
7785fe5a
L
138122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13813
13814 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13815 of x86_64 when setting libc_cv_slibdir, libdir and
13816 libc_cv_localedir.
13817 * sysdeps/unix/sysv/linux/configure: Regenerated.
13818
4535cd55
JM
138192012-03-21 Joseph Myers <joseph@codesourcery.com>
13820
13821 * manual/lang.texi (Old Varargs): Remove section.
13822 (How Variadic): Update menu.
13823 (va_start): Do not mention varargs.h.
13824
17228132
TS
138252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13826 Joseph Myers <joseph@codesourcery.com>
13827
13828 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13829 link test.
13830 * configure: Regenerated.
13831
8149f976
TS
138322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13833
05f3d1f6
UD
13834 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13835 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13836 conformtest.pl
8149f976 13837
1a4ac776
JM
138382012-03-21 Joseph Myers <joseph@codesourcery.com>
13839
be22ce65
JM
13840 * NOTES: Remove.
13841 * Makefile (files-for-dist): Remove NOTES.
13842 (NOTES): Remove rule.
13843 * README: Don't refer to NOTES.
13844 * manual/creature.texi: Don't include macros.texi.
13845 * manual/intro.texi (creature.texi): Remove comment referring to
13846 NOTES.
13847
40b601fb
JM
13848 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13849 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13850 * configure: Regenerated.
13851 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13852 LIBC_TRY_CC_OPTION.
13853 (libc_cv_as_i686): Likewise.
13854 (libc_cv_cc_avx): Likewise.
13855 (libc_cv_cc_sse2avx): Likewise.
13856 (libc_cv_cc_fma4): Likewise.
13857 (libc_cv_cc_novzeroupper): Likewise.
13858 * sysdeps/i386/configure: Regenerated.
13859
1a4ac776
JM
13860 [BZ #13883]
13861 * sysdeps/i386/fpu/s_cexp.S: Remove.
13862 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13863 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13864 * math/libm-test.inc (cexp_test): Add more tests.
13865 * sysdeps/i386/fpu/libm-test-ulps: Update.
13866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13867
a458e7fe
AM
138682012-03-21 Allan McRae <allan@archlinux.org>
13869
13870 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13871
0cb7efc5
JM
138722012-03-21 Joseph Myers <joseph@codesourcery.com>
13873
13874 [BZ #13871]
13875 * math/w_exp2.c: Do not include <float.h>.
13876 (o_threshold, u_threshold): Remove.
13877 (__exp2): Calculate result before checking finiteness and calling
13878 __kernel_standard.
13879 * math/w_exp2f.c: Likewise.
13880 * math/w_exp2l.c: Likewise.
13881 * math/libm-test.inc (exp2_test): Require overflow exception for
13882 1e6 input.
2460d3aa
JM
13883
13884 [BZ #3866]
13885 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13886 range of signed 64-bit integers before using fistpll. Remove
13887 checks for whether integers fit in mantissa bits.
13888 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13889 the range of signed 32-bit integers before using fistpl. Remove
13890 checks for whether integers fit in mantissa bits.
13891 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13892 (__ieee754_powl): Test for y outside the range of signed 64-bit
13893 integers before using fistpll. Reduce 64-bit values to 63-bit
13894 ones as needed.
13895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13896 divide-by-zero is raised for zero to large negative powers.
13897 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13898 (__ieee754_powl): Test for y outside the range of signed 64-bit
13899 integers before using fistpll. Reduce 64-bit values to 63-bit
13900 ones as needed.
13901 * math/libm-test.inc (pow_test): Add more tests.
13902
eb96ffb0
L
139032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13904
13905 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13906 <stdio-common/_itoa.h>.
13907 * debug/segfault.c: Likewise.
13908 * elf/dl-cache.c: Likewise.
13909 * elf/dl-minimal.c: Likewise.
13910 * elf/dl-misc.c: Likewise.
13911 * elf/dl-sysdep.c: Likewise.
13912 * elf/dl-version.c: Likewise.
13913 * elf/rtld.c: Likewise.
13914 * hurd/hurdsock.c: Likewise.
13915 * hurd/lookup-retry.c: Likewise.
13916 * malloc/malloc.c: Likewise.
13917 * malloc/mtrace.c: Likewise.
13918 * nscd/nscd_getgr_r.c: Likewise.
13919 * nscd/nscd_getpw_r.c: Likewise.
13920 * nscd/nscd_getserv_r.c: Likewise.
13921 * posix/getopt_init.c: Likewise.
13922 * posix/wordexp.c: Likewise.
13923 * stdio-common/_itoa.c: Likewise.
13924 * stdio-common/printf_fphex.c: Likewise.
13925 * stdio-common/vfprintf.c: Likewise.
13926 * string/_strerror.c: Likewise.
13927 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13928 * sysdeps/i386/i686/hp-timing.h: Likewise.
13929 * sysdeps/mach/_strerror.c: Likewise.
13930 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13931 * sysdeps/mach/hurd/sethostid.c: Likewise.
13932 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13933 * sysdeps/mach/xpg-strerror.c: Likewise.
13934 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13935 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13936 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13937 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13938 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13939 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13940 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13941 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13942 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13943 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13944 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13945 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13946 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13947 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13948 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13949 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13950 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13951 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13952 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13953 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13954 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13955
13956 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13957
13958 * stdio-common/_itoa.h: Moved to ...
13959 * sysdeps/generic/_itoa.h: Here.
13960
13961 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13962
13963 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13964 instead of "_itoa.h" and "_itowa.h".
13965 * stdio-common/vfprintf.: Likewise.
13966
d1af992d
L
139672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13968
13969 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13970 <bits/wordsize.h>.
13971 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13972 (__signbit): Likwise.
13973 (llrintf): Likwise.
13974 (llrint): Likwise.
13975
114883e0
L
139762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13977
13978 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13979 __WORDSIZE != 64.
13980
c135cc1b
JM
139812012-03-20 Joseph Myers <joseph@codesourcery.com>
13982
13983 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13984 OVERFLOW_EXCEPTION_OK.
13985 * math/libm-test.inc ("Philosophy"): Update comment about
13986 exception testing.
13987 (OVERFLOW_EXCEPTION): Define.
13988 (OVERFLOW_EXCEPTION_OK): Likewise.
13989 (INVALID_EXCEPTION_OK): Renumber.
13990 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13991 (IGNORE_ZERO_INF_SIGN): Likewise.
13992 (test_exceptions): Handle FE_OVERFLOW.
13993 (exp10_test): Expect overflow exceptions.
13994 (exp2_test): Likewise.
13995 (expm1_test): Likewise.
13996 (nextafter_test): Likewise.
13997 (pow_test): Likewise.
13998 (scalbn_test): Likewise.
13999 (scalbln_test): Likewise.
14000
95443d88
L
140012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14002
14003 * sysdeps/x86_64/bits/atomic.h
14004 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14005 64bit integer.
14006 (atomic_exchange_acq): Likewise.
14007 (__arch_exchange_and_add_body): Likewise.
14008 (__arch_add_body): Likewise.
14009 (atomic_add_negative): Likewise.
14010 (atomic_add_zero): Likewise.
14011
490df6c4
L
140122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14013
c2722551 14014 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14015 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14016
5e52b189
L
140172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14018
14019 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14020 Check __x86_64__ instead of __WORDSIZE.
14021
a9879d4c
L
140222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14023
14024 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14025
5df98260
DM
140262012-03-19 David S. Miller <davem@davemloft.net>
14027
e1497744
DM
14028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14029
5df98260
DM
14030 * sysdeps/sparc/fpu/fenv_private.h: New file.
14031 * sysdeps/sparc/fpu/math_private.h: Use it.
14032 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14033 Remove.
14034 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14035 (libc_feholdexcept_setroundl): Remove.
14036 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14037 Remove.
14038 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14039 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14040
b4c35121
L
140412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14042
14043 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14044 int64_t instead of long int.
14045 (INSERT_WORDS64): Likwise.
14046
56965fd7
L
140472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14048
14049 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14050 _Unwind_GetCFA return to _Unwind_Ptr first.
14051
83d1aec8
JM
140522012-03-19 Joseph Myers <joseph@codesourcery.com>
14053
1897ad44
JM
14054 [BZ #13629]
14055 * math/s_clog.c: Include <float.h>.
14056 (__clog): Scale large or subnormal inputs.
14057 * math/s_clogf.c: Likewise.
14058 * math/s_clogl.c: Likewise.
14059 * math/s_clog10.c: Include <float.h>.
14060 (M_LOG10_2): Define.
14061 (__clog10): Scale large or subnormal inputs.
14062 * math/s_clog10f.c: Likewise.
14063 * math/s_clog10l.c: Likewise.
14064 * math/libm-test.inc (clog_test): Add more tests.
14065 (clog10_test): Likewise.
14066 * sysdeps/i386/fpu/libm-test-ulps: Update.
14067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14068
7726d6a9
JM
14069 [BZ #11451]
14070 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14071 x and y.
14072 * math/libm-test.inc (atan2_test): Add another test.
14073
83d1aec8
JM
14074 * Makerules (common-objdir-compile): Remove.
14075 * sysdeps/unix/Makefile (config-generated): Do not add
14076 $(unix-generated) to variable.
14077 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14078 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14079 Remove rule.
14080 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14081 Likewise.
14082 [generic bits/local_lim.h] (before-compile): Do not append to
14083 variable.
14084 [generic bits/local_lim.h] (common-generated): Likewise.
14085 [generic sys/param.h] (before-compile): Do not append to variable.
14086 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14087 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14088 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14089 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14090 include.
14091 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14092 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14093 [generic sys/param.h] ($(addprefix
14094 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14095 [generic sys/param.h] (common-generated): Do not append to
14096 variable.
14097 [generic sys/param.h] (sysdep_headers): Likewise.
14098 [generic bits/errno.h] (before-compile): Do not append to
14099 variable.
14100 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14101 rule.
14102 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14103 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14104 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14105 [generic bits/errno.h] (common-generated): Do not append to
14106 variable.
14107 [generic bits/ioctls.h] (before-compile): Do not append to
14108 variable.
14109 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14110 rule.
14111 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14112 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14113 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14114 rule.
14115 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14116 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14117 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14118 [generic bits/ioctls.h] (common-generated): Do not append to
14119 variable.
14120 [generic sys/syscall.h] (syscall.h): Remove variable.
14121 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14122 rule.
14123 [generic sys/syscall.h] (before-compile): Do not append to
14124 variable.
14125 [generic sys/syscall.h] (common-generated): Likewise.
14126 * sysdeps/unix/errnos-tmpl.c: Remove file.
14127 * sysdeps/unix/errnos.awk: Likewise.
14128 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14129 * sysdeps/unix/ioctls.awk: Likewise.
14130 * sysdeps/unix/mk-local_lim.c: Likewise.
14131 * sysdeps/unix/snarf-ioctls: Likewise.
14132
4851a949
RH
141332012-03-19 Richard Henderson <rth@twiddle.net>
14134
bd37f2ee
RH
14135 * sysdeps/i386/fpu/fenv_private.h: New file.
14136 * sysdeps/i386/fpu/math_private.h: Use it.
14137 (math_opt_barrier, math_force_eval): Remove.
14138 (libc_feholdexcept_setround_53bit): Remove.
14139 (libc_feupdateenv_53bit): Remove.
14140 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14141 (math_opt_barrier, math_force_eval): Remove.
14142 (libc_feholdexcept): Remove.
14143 (libc_feholdexcept_setround): Remove.
14144 (libc_fetestexcept, libc_fesetenv): Remove.
14145 (libc_feupdateenv_test): Remove.
14146 (libc_feupdateenv, libc_feholdsetround): Remove.
14147 (libc_feresetround): Remove.
14148
d0adc922
RH
14149 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14150 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14151
0fe0f1f8
RH
14152 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14153 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14154 (libc_feupdateenv_testl): New.
14155 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14156 (libc_feupdateenv_testf): New.
14157 (libc_feupdateenv): Use libc_feupdateenv_test.
14158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14159 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14160
eb92c487
RH
14161 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14162 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14163 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14164 (libc_feresetround_noex): New.
14165 (libc_feresetround_noexf): New.
14166 (libc_feresetround_noexl): New.
14167 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14168 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14169 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14170 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14171 SET_RESTORE_ROUND.
14172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14174 (__cos): Likewise.
14175 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14176 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14177 SET_RESTORE_ROUND_NOEX.
14178 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14179 SET_RESTORE_ROUND_NOEXF.
14180 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14181 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14182 (libc_feholdsetroundf): New.
14183 (libc_feresetround, libc_feresetroundf): New.
14184
7d2e8012
RH
14185 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14186 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14187 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14188
b4dabbb4
RH
14189 * sysdeps/generic/math_private.h: Include <fenv.h>.
14190 (default_libc_feholdexcept): New.
14191 (default_libc_feholdexcept_setround): New.
14192 (default_libc_fesetenv, default_libc_feupdateenv): New.
14193 (libc_feholdexcept): Only define if undefined.
14194 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14195 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14196 (libc_feholdexcept_setroundl): Likewise.
14197 (libc_feholdexcept_setround_53bit): Likewise.
14198 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14199 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14200 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14201 (libc_feupdateenv_53bit): Likewise.
14202 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14203 (libc_feholdexcept): Convert from macro to inline function.
14204 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14205 (libc_fesetenv, libc_feupdateenv): Likewise.
14206
4851a949
RH
14207 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14208 not previously defined.
14209 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14210 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14211 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14212 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14213 * sysdeps/ieee754/flt-32/math_private.h: New file.
14214 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14215 math_private.h below SET_FLOAT_WORD.
14216 (__isnan, __isinf_ns, __finite): Remove.
14217 (__isnanf, __isinf_nsf, __finitef): Remove.
14218
e79d442e
AS
142192012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14220
14221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14222
90b80344
DM
142232012-03-17 David S. Miller <davem@davemloft.net>
14224
14225 [BZ #6471]
14226 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14227 for 2.16.
14228
edc21804
DM
142292012-03-16 David S. Miller <davem@davemloft.net>
14230
77e927af
DM
14231 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14232 warnings.
14233
374976dd
DM
14234 [BZ #6471]
14235 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14236 properly.
14237 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14238 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14239 sysdep_routines when subdir is sysvipc.
14240 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14241 __getshmlba helper.
14242
edc21804
DM
14243 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14244
473c3ef3
L
142452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14246
14247 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14248 [__LP64__].
14249
eb0f39b6
L
142502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14251
14252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14253 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14254 (__lround): Renamed to ...
14255 (__llround): This. Replace long int with long long int.
14256 Define lround functions as aliases of llround functions.
14257 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14258
6b6cd74b
L
142592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14260
14261 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14262 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14263 adresses to uintptr_t. Replace "long int" and "unsigned long
14264 int" with "greg_t" on va_arg.
14265
f1a77b01
L
142662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14267
14268 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14269 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14270
14271 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14272 Move e_machine check before EI_CLASS check. Handle x32
14273 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14274 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14275 SKIP_EM_IA_64 and include
14276 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14277
14278 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14279 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14280 (add_system_dir): New macro.
14281
14282 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14283 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14284
11b90b9f
JM
142852012-03-16 Joseph Myers <joseph@codesourcery.com>
14286
c36e1d23
JM
14287 [BZ #2551]
14288 [BZ #2552]
14289 [BZ #2553]
14290 [BZ #2554]
14291 [BZ #2562]
14292 [BZ #2563]
14293 [BZ #2565]
14294 [BZ #2566]
14295 [BZ #2576]
14296 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14297 (y0): Likewise.
14298 * math/w_j0f.c (j0f): Likewise.
14299 (y0f): Likewise.
14300 * math/w_j0l.c (__j0l): Likewise.
14301 (__y0l): Likewise.
14302 * math/w_j1.c (j1): Likewise.
14303 (y1): Likewise.
14304 * math/w_j1f.c (j1f): Likewise.
14305 (y1f): Likewise.
14306 * math/w_j1l.c (__j1l): Likewise.
14307 (__y1l): Likewise.
14308 * math/w_jn.c (jn): Likewise.
14309 (yn): Likewise.
14310 * math/w_jnf.c (jnf): Likewise.
14311 (ynf): Likewise.
14312 * math/w_jnl.c (__jnl): Likewise.
14313 (__ynl): Likewise.
14314 * math/libm-test.inc (j0_test): Add more tests.
14315 (j1_test): Likewise.
14316 (jn_test): Likewise. Add trailing semicolon to existing test.
14317 (y0_test): Likewise.
14318 (y1_test): Likewise.
14319 * sysdeps/i386/fpu/libm-test-ulps: Update.
14320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14321
11b90b9f
JM
14322 [BZ #13851]
14323 [BZ #13854]
14324 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14325 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14326 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14327 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14328 (__tanl): Set errno for infinite argument.
14329 * sysdeps/i386/fpu/mptan.c: Remove.
14330 * sysdeps/i386/fpu/s_tan.S: Likewise.
14331 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14332 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14333 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14334 * math/libm-test.inc (tan_test): Add more tests and enable more
14335 tests for double and long double.
14336 * sysdeps/i386/fpu/libm-test-ulps: Update.
14337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14338
6a1bd2a1
JK
143392012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14340
14341 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14342 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14343
10a803e0
RM
143442012-03-16 Roland McGrath <roland@hack.frob.com>
14345
14346 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14347 * configure.in: Use it for both main tree and add-ons.
14348 * configure: Regenerated.
14349
f196c7f7
L
143502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14351
14352 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14353
8848d99d
JM
143542012-03-16 Joseph Myers <joseph@codesourcery.com>
14355
96cbe7f4
JM
14356 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14357 in comment.
14358
8848d99d
JM
14359 [BZ #13851]
14360 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14361 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14362 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14365 infinite argument.
14366 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14367 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14368 != 0 for prec == 2.
14369 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14370 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14371 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14372 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14373 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14374 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14375 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14376 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14377 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14378 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14379 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14380 * math/libm-test.inc (cos_test): Add more tests and enable more
14381 tests for long double.
14382 (sin_test): Likewise.
14383 (sincos_test): Likewise.
14384 * sysdeps/i386/fpu/libm-test-ulps: Update.
14385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14386
dd7f4703
DM
143872012-03-16 David S. Miller <davem@davemloft.net>
14388
14389 * sysdeps/sparc/fpu/math_private.h: New file.
14390
006f1daa
DM
143912012-03-15 David S. Miller <davem@davemloft.net>
14392
c0c83bc8
DM
14393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14394 file.
e6a62e18 14395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14397 file.
e6a62e18
DM
14398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14404 sysdep routines.
14405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14406
88cb87d9
DM
14407 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14408 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14409
006f1daa 14410 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14412 sparc-ifunc.h
006f1daa 14413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14415 Likewise.
14416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14417 Likewise.
006f1daa
DM
14418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14422 Likewise.
006f1daa
DM
14423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14428 Likewise.
14429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14430 Likewise.
006f1daa
DM
14431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14437 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14438 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14449 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14455
11e0098e
AS
144562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14457
14458 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14459 scaling.
14460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14461
e85b09d0
AJ
144622012-03-15 Andreas Jaeger <aj@suse.de>
14463
14464 [BZ #13852]
14465 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14466 ieee754/flt-32 implementation for sin, cos and sincos.
14467 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14468 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14469 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14470 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14471 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14472 ieee754/flt-32 implementation for tan.
14473
14474 * math/libm-test.inc (cos_test): Enable some large input tests for
14475 float as well
14476 (sin_test): Likewise.
14477 (sincos_test): Likewise.
14478 (tan_test): Add tests for large input.
14479
14480 * sysdeps/i386/fpu/libm-test-ulps: Update.
14481
81c64153
AJ
144822012-03-15 Andreas Jaeger <aj@suse.de>
14483
14484 [BZ #13658]
14485 * math/libm-test.inc (cos_test): Add more test cases.
14486 (sin_test): Likewise.
14487 (sincos_test): Likewise.
14488
7bbfa5c6
AJ
144892012-03-15 Andreas Jaeger <aj@suse.de>
14490
14491 [BZ #13837]
14492 * math/libm-test.inc (cos_test): Add a test case for large input
14493 value.
14494 (sin_test): Likewise.
14495 (sincos_test): Likewise.
14496
144972012-03-15 Andreas Jaeger <aj@suse.de>,
14498 Joseph Myers <joseph@codesourcery.com>
14499
14500 [BZ #13658]
0671f479 14501 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14502 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14503 * sysdeps/i386/fpu/branred.c: Likewise.
14504 * sysdeps/i386/fpu/dosincos.c: Likewise.
14505 * sysdeps/i386/fpu/mpa.c: Likewise.
14506 * sysdeps/i386/fpu/s_cos.S: Likewise.
14507 * sysdeps/i386/fpu/s_sin.S: Likewise.
14508 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14509 * sysdeps/i386/fpu/sincos32.c: Likewise.
14510
14511 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14512 Define.
14513 (libc_feupdateenv_53bit): Define.
14514 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14515 Define.
14516 (libc_feupdateenv_53bit): Define.
14517
14518 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14519 53 bit (without extend i386 double precision).
14520
14521 * math/libm-test.inc (sincos_test): Add tests for large input.
14522 (sin): Likewise.
14523 (cos): Likewise.
14524
14525 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14526
9cad04ea
AS
145272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14528
14529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14530
f7062b9a
DM
145312012-03-15 David S. Miller <davem@davemloft.net>
14532
14533 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14534 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14535 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14536 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14549 file.
f7062b9a 14550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14552 file.
f7062b9a 14553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14555 file.
f7062b9a 14556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14558 file.
f7062b9a
DM
14559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14561 fmin/fmax sysdep routines.
14562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14563
7bd951ff
DM
145642012-03-14 David S. Miller <davem@davemloft.net>
14565
559398ab
DM
14566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14572 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14573 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14594 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14595 routines.
14596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14597 file.
559398ab 14598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14600 file.
559398ab 14601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14603 file.
559398ab 14604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14606 file.
559398ab 14607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14609 file.
559398ab 14610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14612 file.
14613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14614 file.
14615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14616 file.
14617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14618 file.
14619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14620 New file.
14621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14622 file.
14623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14624 file.
559398ab 14625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14627 file.
559398ab 14628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14630 file.
559398ab 14631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14633 file.
559398ab 14634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14636 VIS3 routines.
559398ab
DM
14637
14638 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14639 New file.
14640
5a1c1e32
DM
14641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14642
eae47a36
DM
14643 * sysdeps/sparc/configure.in: New file.
14644 * sysdeps/sparc/configure: Generate.
14645 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14646 * configure: Regenerate.
14647 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14648 * config.make.in (have-as-vis3): New.
14649 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14650 available use -Av9d instead of -Av9a.
14651 * sysdeps/sparc/sparc64/Makefile: Likewise.
14652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14654 New file.
14655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14656 file.
14657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14658 New file.
14659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14660 file.
eae47a36
DM
14661 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14664 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14665 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14666
c0c83bc8
DM
14667 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14668 fzeros/fnegs to load 0x80000000 into a float register instead of
14669 using the stack.
7bd951ff
DM
14670 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14671
bd951ccb
JM
146722012-03-14 Joseph Myers <joseph@codesourcery.com>
14673
14674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14675 bits/syscall.h.
14676 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14677 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14678 ($(inst_includedir)/bits/syscall.h): Remove rule.
14679 ($(objpfx)bits/syscall.d): Include instead of
14680 $(objpfx)syscall-list.d.
14681 (generated): Change syscall-list.h and syscall-list.d to
14682 bits/syscall.h and bits/syscall.d.
14683
bb4e6db2
RM
146842012-03-14 Roland McGrath <roland@hack.frob.com>
14685
14686 [BZ #13846]
14687 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14688
aa4a2ae1
JM
146892012-03-14 Joseph Myers <joseph@codesourcery.com>
14690
e456826d
JM
14691 [BZ #13841]
14692 * math/s_csqrt.c: Include <float.h>.
14693 (__csqrt): Scale large or subnormal inputs.
14694 * math/s_csqrtf.c: Likewise.
14695 * math/s_csqrtl.c: Likewise.
14696 * math/libm-test.inc (csqrt_test): Add more tests.
14697 * sysdeps/i386/fpu/libm-test-ulps: Update.
14698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14699
aa4a2ae1
JM
14700 [BZ #13840]
14701 * math/libm-test.inc (hypot_test): Add more tests.
14702
7c10fd35
DM
147032012-03-13 David S. Miller <davem@davemloft.net>
14704
14705 [BZ #13840]
14706 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14707 double-precision for the calculation instead of scaling.
14708
f453b98b
JM
147092012-03-13 Joseph Myers <joseph@codesourcery.com>
14710
14711 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14712 manipulate bits before adding and subtracting TWO52[sx].
14713 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14714 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14715 Likewise.
14716 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14717
09a3453f
DM
147182012-03-13 David S. Miller <davem@davemloft.net>
14719
8e59da90
DM
14720 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14721 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14723 rtld-global-offsets.h
14724 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14725
2a8ab7f2
DM
14726 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14727 large parameters.
14728
10f62770
DM
14729 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14730
5f0bdb18
DM
14731 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14732 'err' in the ifdef scope in which it is actually used.
14733
09a3453f
DM
14734 * nss/nss_db/db-init.c: Include string.h
14735
b4b2eb5e
DM
147362012-03-12 David S. Miller <davem@davemloft.net>
14737
98bb2f1c
DM
14738 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14739 masking out of the most significant byte of random value used.
14740 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14741 Fix coding style in previous change.
14742
b4b2eb5e
DM
14743 * sysdeps/unix/sysv/linux/kernel-features.h
14744 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14745 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14746 expression.
14747 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14748 later.
14749
6e226b09
DM
147502012-03-11 David S. Miller <davem@davemloft.net>
14751
a1bcbd40
DM
14752 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14753 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14754 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14755 for 'resultvar' otherwise things get truncated on 64-bit.
14756
cb9d6174
DM
14757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14758 Fix masking out of the most significant byte of random value used.
14759
6e226b09
DM
14760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14761
058c132d
AS
147622012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14763
14764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14765
2d2cd515
DM
147662012-03-09 David S. Miller <davem@davemloft.net>
14767
14768 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14769 variables with appropriate CPP guards.
14770 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14771 frame pointer, not the stack pointer. Correct layout comments. Fix test
14772 on resulting framesize and the management of the outregs buffer for pltexit.
14773 Preserve floating point return values across _dl_call_pltexit call.
14774 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14775 framesize and the management of the outregs buffer for pltexit.
14776 Preserve floating point return values across _dl_call_pltexit
14777 call.
14778 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14779 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14780 (print_exit): Fix format string for return register value.
14781
9a07f9d0
JM
147822012-03-10 Joseph Myers <joseph@codesourcery.com>
14783
14784 * sunrpc/Makefile (others): Add rpcgen.
14785 ($(objpfx)rpcgen): Remove special build rule and dependency on
14786 libc.
14787 * sunrpc/rpcgen.c: New file.
14788
547b5e30
PE
147892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14790
c524201a
PE
14791 [BZ #13673]
14792 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14793 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14794 * sysdeps/i386/crti.S: Likewise.
14795 * sysdeps/i386/crtn.S: Likewise.
14796 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14797 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14798 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14799 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14800 * sysdeps/sh/crti.S: Likewise.
14801 * sysdeps/sh/crtn.S: Likewise.
14802 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14803
7b6235f2
PE
14804 [BZ #13673]
14805 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14806 with URL.
14807 * locale/programs/locfile-kw.gperf: Likewise.
14808 * locale/programs/charmap-kw.h: Regenerated.
14809 * locale/programs/locfile-kw.h: Likewise.
14810
547b5e30
PE
14811 [BZ #13673]
14812 * intl/plural.y: Replace FSF snail mail address with URL.
14813 * intl/plural.c: Regenerated.
14814
5f0a5dae
RH
148152012-03-09 Richard Henderson <rth@twiddle.net>
14816
14817 * include/math_private.h: Remove file.
14818 * math/math_private.h: Move file ...
14819 * sysdeps/generic/math_private.h: ... here.
14820
b8c03620
RH
14821 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14822 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14823 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14824
4e234f5d 14825 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14826 and <math_private.h>.
14827 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14828 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14829 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14830 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14831 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14832 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14838 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14839 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14840 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14841 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14851 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14852 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14857 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14858 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14859 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14860 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14861 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14864 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14865 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14867 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14868 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14869 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14870 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14871 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14872 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14873 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14874 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14876 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14877 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14882 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14885 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14886 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14888 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14890 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14891 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14892 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14893 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14894 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14898 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14899 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14900 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14901 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14906 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14907 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14908 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14910 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14911 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14914 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14915 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14916 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14917 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14918 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14919 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14920 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14921 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14922 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14924 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14925 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14927 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14928 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14929 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14930 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14931 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14932 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14933 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14934 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14935 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14936 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14937 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14938 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14939 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14940 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14941 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14942 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14943 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14944 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14945 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14946 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14947 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14948 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14950 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14951 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14952 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14953 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14954 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14955 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14956 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14957 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14958 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14959 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14960 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14961 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14962 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14963 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14964 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14965 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14966 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14967 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14968 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14969 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14970 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14971 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14972 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14973 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14974 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14975 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14976 * sysdeps/ieee754/k_standard.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15008 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15011 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15014 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15016 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15017 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15020 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15022 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15023 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15026 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15027 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15028 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15029 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15031 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15032 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15033 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15034 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15035 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15039 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15040 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15044 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15049 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15054 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15055 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15056 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15058 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15060 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15061 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15062 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15063 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15064 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15068 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15069 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15070 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15075 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15076 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15085 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15086 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15087 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15088 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15089 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15090 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15091 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15093 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15094 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15095 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15096 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15097 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15098 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15099 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15100 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15101 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15102 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15103 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15104 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15105 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15107 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15108 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15109 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15110 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15111 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15112 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15113 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15114 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15115 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15116 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15117 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15118 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15119 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15120 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15121 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15122 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15123 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15124 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15125 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15126 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15127 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15128 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15129 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15130 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15131 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15132 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15133 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15134 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15135 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15136 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15137 * sysdeps/ieee754/s_lib_version.c: Likewise.
15138 * sysdeps/ieee754/s_matherr.c: Likewise.
15139 * sysdeps/ieee754/s_signgam.c: Likewise.
15140 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15142 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15143 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15144 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15145 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15146 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15147 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15148 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15149 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15150 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15151 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15152 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15153 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15154 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15155 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15156 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15157 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15159 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15161
1991fa03
JM
151622012-03-09 Joseph Myers <joseph@codesourcery.com>
15163
15164 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15165 * sunrpc/rpc_main.c: Likewise.
15166 * sunrpc/rpc_svcout.c: Likewise.
15167
60d6f5a6
DM
151682012-03-09 David S. Miller <davem@davemloft.net>
15169
15170 * include/math_private.h: New file.
15171
4962050e
JM
151722012-03-09 Joseph Myers <joseph@codesourcery.com>
15173
02a6f887
JM
15174 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15175 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15176 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15177 from <bits/socket_type.h>.
15178 (enum __socket_type): Don't define here.
15179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15181 bits/socket_type.h.
15182
c6e013c1
JM
15183 [BZ #13566]
15184 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15185 checking __USE_GNU.
15186
4962050e
JM
15187 * Makerules ($(inst_includedir)/%.h): New rule.
15188 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15189 (install-others): Remove variable setting.
15190 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15191
38842f45
RH
151922012-03-08 Richard Henderson <rth@twiddle.net>
15193
67bb6da6
RH
15194 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15195 from macro to inline function; merge with the
15196 !__LIBC_INTERNAL_MATH_INLINES version.
15197 (__ieee754_sqrtf): Likewise.
15198
15194b4b
RH
15199 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15200 to inline function.
15201 (__rintf, __floor, __floorf): Likewise.
15202
64e21ede
RH
15203 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15204 macro to inline function.
15205 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15206
38842f45
RH
15207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15208 not <math/math_private.h>.
15209
c64bf5fe
DM
152102012-03-08 David S. Miller <davem@davemloft.net>
15211
15212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15213 copyright year.
15214 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15215
82d86f28
TS
152162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15217
15218 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15219 normalization.
15220 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15221 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15222
aea5d727
UD
152232012-03-08 Ulrich Drepper <drepper@gmail.com>
15224
15225 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15226 be defined individually, they must be defined as a block. Define
15227 S for printing a string instead of hidint the different by using a
15228 macro for adding the 'l'.
15229 * stdio-common/tst-fphex-wide.c: Adjust.
15230
70bca0a3
MP
152312012-03-07 Marek Polacek <polacek@redhat.com>
15232
15233 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15234
65b81130
MP
152352012-03-08 Marek Polacek <polacek@redhat.com>
15236
15237 [BZ #13806]
15238 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15239 * stdio-common/tst-fphex.c: Define a few macros to make the
15240 test reusable. Use them.
15241 * stdio-common/tst-fphex-wide.c: New file.
15242
07037eeb
JM
152432012-03-08 Joseph Myers <joseph@codesourcery.com>
15244
a7a93d50
JM
15245 [BZ #6911]
15246 * manual/macros.texi (gnusystems): New macro.
15247 (nongnusystems): Likewise.
15248 (gnulinuxhurdsystems): Likewise.
15249 (gnuhurdsystems): Likewise..
15250 (gnulinuxsystems): Likewise.
15251 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15252 variants of the GNU system, not "GNU system".
15253 * manual/conf.texi: Likewise.
15254 * manual/errno.texi: Likewise. Update example of errno macro
15255 expansion.
15256 * manual/filesys.texi: Likewise.
15257 (getumask): Document as specific to GNU/Hurd.
15258 * manual/install.texi: Likewise. Reword some references to
15259 GNU/Linux.
15260 * manual/intro.texi: Likewise.
15261 * manual/io.texi: Likewise.
15262 (File Name Portability): Detail which constraints are inapplicable
15263 to all GNU systems and which are only inapplicable to GNU/Hurd.
15264 * manual/job.texi: Likewise.
15265 * manual/llio.texi: Likewise.
15266 (O_NOCTTY): Document as present on GNU/Linux.
15267 * manual/maint.texi: Likewise.
15268 * manual/memory.texi: Likewise.
15269 * manual/pattern.texi: Likewise.
15270 * manual/pipe.texi: Likewise.
15271 * manual/process.texi: Likewise.
15272 * manual/resource.texi: Likewise.
15273 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15274 child on GNU/Hurd.
15275 * manual/setjmp.texi: Likewise.
15276 * manual/signal.texi: Likewise.
15277 * manual/startup.texi: Likewise.
15278 * manual/stdio.texi: Likewise.
15279 * manual/terminal.texi: Likewise.
15280 (ONLCR): Document as POSIX.
15281 (OXTABS): Document availability on GNU/Linux as XTABS.
15282 (ONOEOT): Document availability separately from other bits.
15283 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15284 * manual/time.texi: Likewise.
15285 * manual/users.texi: Likewise.
15286 * INSTALL: Regenerated.
15287 * sysdeps/gnu/errlist.c: Regenerated.
15288
07037eeb
JM
15289 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15290 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15291 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15292 puts.
15293 * configure: Regenerated.
15294
d1d3431a
JM
152952012-03-07 Joseph Myers <joseph@codesourcery.com>
15296
af6a1e37
JM
15297 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15298 default includes instead of AC_HEADER_CHECK.
15299 * sysdeps/i386/configure: Regenerated.
15300
d1d3431a
JM
15301 [BZ #10716]
15302 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15303 * math/s_cacoshf.c (__cacoshf): Likewise.
15304 * math/s_cacoshl.c (__cacoshl): Likewise.
15305 * math/s_casinh.c (__casinh): Set signs of result from argument.
15306 * math/s_casinhf.c (__casinhf): Likewise.
15307 * math/s_casinhl.c (__casinhl): Likewise.
15308 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15309 (casinh_test): Add more tests.
15310 * sysdeps/i386/fpu/libm-test-ulps: Update.
15311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15312
482ff4da
UD
153132012-03-07 Ulrich Drepper <drepper@gmail.com>
15314
872fda05
UD
15315 * po/zh_TW.po: Update from translation team.
15316
a4300c7a
UD
15317 * login/Makefile (distribute): Remove variable.
15318 * catgets/Makefile: Likewise.
15319 * mach/Makefile: Likewise.
15320 * malloc/Makefile: Likewise.
15321 * misc/Makefile: Likewise.
15322 * iconv/Makefile: Likewise.
15323 * nscd/Makefile: Likewise.
15324 * hurd/Makefile: Likewise.
15325 * manual/Makefile: Likewise.
15326 * locale/Makefile: Likewise.
15327 * intl/Makefile: Likewise.
15328 * conform/Makefile: Likewise.
15329 * nss/Makefile: Likewise.
15330 * time/Makefile: Likewise.
15331 * soft-fp/Makefile: Likewise.
15332 * dirent/Makefile: Likewise.
15333 * gmon/Makefile: Likewise.
15334 * po/Makefile: Likewise.
15335 * rt/Makefile: Likewise.
15336 * socket/Makefile: Likewise.
15337 * math/Makefile: Likewise.
15338 * signal/Makefile: Likewise.
15339 * debug/Makefile: Likewise.
15340 * elf/Makefile: Likewise.
15341 * timezone/Makefile: Likewise.
15342 * stdlib/Makefile: Likewise.
15343 * iconvdata/Makefile: Likewise.
15344 * sunrpc/Makefile: Likewise.
15345 * io/Makefile: Likewise.
15346 * argp/Makefile: Likewise.
15347 * inet/Makefile: Likewise.
15348 * hesiod/Makefile: Likewise.
15349 * grp/Makefile: Likewise.
15350 * csu/Makefile: Likewise.
15351 * wctype/Makefile: Likewise.
15352 * crypt/Makefile: Likewise.
15353 * libio/Makefile: Likewise.
15354 * string/Makefile: Likewise.
15355 * nis/Makefile: Likewise.
15356 * resolv/Makefile: Likewise.
15357 * stdio-common/Makefile: Likewise.
15358 * wcsmbs/Makefile: Likewise.
15359 * dlfcn/Makefile: Likewise.
15360 * posix/Makefile: Likewise.
15361
3b7c4e74 15362 [BZ #6959]
482ff4da
UD
15363 * timezone/Makefile: Don't install timezone files, just the programs
15364 and scripts.
15365
f72ed77d
UD
153662012-03-06 Ulrich Drepper <drepper@gmail.com>
15367
a000466f
UD
15368 * nss/databases.def: Add missing gshadow entry.
15369
f72ed77d
UD
15370 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15371
a53b7a4e
MP
153722012-03-06 Marek Polacek <polacek@redhat.com>
15373
15374 [BZ #13726]
15375 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15376 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15377 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15378 * stdio-common/tst-long-dbl-fphex.c: New file.
15379
e9258400
DM
153802012-03-06 David S. Miller <davem@davemloft.net>
15381
15382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15383 (set_obp_int): New function.
15384 (get_obp_int): New function.
15385 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15386 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15387 Avoid unused variable warnings on 'val' and use builtin_expect.
15388 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15389 __builtin_expect.
e9258400
DM
15390 (INLINE_CLONE_SYSCALL): Likewise.
15391
3bd2c723
DM
153922012-03-05 David S. Miller <davem@davemloft.net>
15393
15394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15395
bbb78d03
AS
153962012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15397
884c5db4
AS
15398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15399
bbb78d03
AS
15400 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15401 only for |x| >= 40.
15402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15403
1c9f702a 154042012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15405
15406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15407 Replace gettimeofday with __vdso_gettimeofday.
15408
7be16f82
RM
15409 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15410 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15411 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15412
15413 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15414 time with __vdso_time.
15415
ed58a00f
JM
154162012-03-05 Joseph Myers <joseph@codesourcery.com>
15417
15418 * manual/lang.texi (size_t): Note types to which size_t may be
15419 equivalent with the GNU C Library, but do not describe when
15420 differences between them are significant.
15421
30ee4ced
AJ
154222012-03-05 Andreas Jaeger <aj@suse.de>
15423
15424 * sysdeps/i386/fpu/libm-test-ulps: Update.
15425
b7cd39e8
JM
154262012-03-05 Joseph Myers <joseph@codesourcery.com>
15427
15428 [BZ #3976]
15429 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15430 (__ieee754_pow): Save and restore rounding mode and use
15431 round-to-nearest for main computations.
15432 * math/libm-test.inc (pow_test_tonearest): New function.
15433 (pow_test_towardzero): Likewise.
15434 (pow_test_downward): Likewise.
15435 (pow_test_upward): Likewise.
15436 (main): Call the new functions.
15437 * sysdeps/i386/fpu/libm-test-ulps: Update.
15438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15439
15440 [BZ #3976]
15441 * math/libm-test.inc (cosh_test_tonearest): New function.
15442 (cosh_test_towardzero): Likewise.
15443 (cosh_test_downward): Likewise.
15444 (cosh_test_upward): Likewise.
15445 (sinh_test_tonearest): Likewise.
15446 (sinh_test_towardzero): Likewise.
15447 (sinh_test_downward): Likewise.
15448 (sinh_test_upward): Likewise.
15449 (main): Call the new functions.
15450 * sysdeps/i386/fpu/libm-test-ulps: Update.
15451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15452
6c6a98c9
TV
154532012-03-05 Tom de Vries <tom@codesourcery.com>
15454
15455 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15456 default stack guard is set in last bytes.
15457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15458
21bb2d2e 154592012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15460
21bb2d2e 15461 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15462
21bb2d2e
AJ
15463 [BZ #13656]
15464 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15465 possibly allocate from heap instead of stack.
15466 * stdio-common/bug-vfprintf-nargs.c: New file.
15467 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15468
c6922934
AS
154692012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15470
15471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15472
bc957d53
MP
154732012-03-03 Marek Polacek <polacek@redhat.com>
15474
15475 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15476 * math/math_private.h: Likewise.
15477 * stdlib/tst-strtod.c: Likewise.
15478 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15479 * sysdeps/x86_64/bits/atomic.h: Likewise.
15480
6358490d
DM
154812012-03-02 David S. Miller <davem@davemloft.net>
15482
15483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15487 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15488 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15489 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15490 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15491
01ae168d
RM
154922012-03-02 Roland McGrath <roland@hack.frob.com>
15493
d9a17c07
RM
15494 [BZ #13792]
15495 * manual/examples/README: New file, says the example source files
15496 can be used under GPL>=2.
15497 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15498 line containing just "*/".
15499 * manual/examples/add.c: Add copyright header (GPL>=2).
15500 * manual/examples/argp-ex1.c: Likewise.
15501 * manual/examples/argp-ex2.c: Likewise.
15502 * manual/examples/argp-ex3.c: Likewise.
15503 * manual/examples/argp-ex4.c: Likewise.
15504 * manual/examples/atexit.c: Likewise.
15505 * manual/examples/db.c: Likewise.
15506 * manual/examples/dir.c: Likewise.
15507 * manual/examples/dir2.c: Likewise.
15508 * manual/examples/execinfo.c: Likewise.
15509 * manual/examples/filecli.c: Likewise.
15510 * manual/examples/filesrv.c: Likewise.
15511 * manual/examples/fmtmsgexpl.c: Likewise.
15512 * manual/examples/genpass.c: Likewise.
15513 * manual/examples/inetcli.c: Likewise.
15514 * manual/examples/inetsrv.c: Likewise.
15515 * manual/examples/isockad.c: Likewise.
15516 * manual/examples/longopt.c: Likewise.
15517 * manual/examples/memopen.c: Likewise.
15518 * manual/examples/memstrm.c: Likewise.
15519 * manual/examples/mkfsock.c: Likewise.
15520 * manual/examples/mkisock.c: Likewise.
15521 * manual/examples/mygetpass.c: Likewise.
15522 * manual/examples/pipe.c: Likewise.
15523 * manual/examples/popen.c: Likewise.
15524 * manual/examples/rprintf.c: Likewise.
15525 * manual/examples/search.c: Likewise.
15526 * manual/examples/select.c: Likewise.
15527 * manual/examples/setjmp.c: Likewise.
15528 * manual/examples/sigh1.c: Likewise.
15529 * manual/examples/sigusr.c: Likewise.
15530 * manual/examples/stpcpy.c: Likewise.
15531 * manual/examples/strdupa.c: Likewise.
15532 * manual/examples/strftim.c: Likewise.
15533 * manual/examples/strncat.c: Likewise.
15534 * manual/examples/subopt.c: Likewise.
15535 * manual/examples/swapcontext.c: Likewise.
15536 * manual/examples/termios.c: Likewise.
15537 * manual/examples/testopt.c: Likewise.
15538 * manual/examples/testpass.c: Likewise.
15539 * manual/examples/timeval_subtract.c: Likewise.
15540
01ae168d
RM
15541 [BZ #13792]
15542 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15543 function to ...
15544 * manual/timeval_subtract.c.texi: ... here, new file.
15545
49efa33d
DM
155462012-03-02 David S. Miller <davem@davemloft.net>
15547
15548 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15549
28afd92d
JM
155502012-03-02 Joseph Myers <joseph@codesourcery.com>
15551
804360ed
JM
15552 [BZ #3976]
15553 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15554 (__sin): Save and restore rounding mode and use round-to-nearest
15555 for all computations.
15556 (__cos): Save and restore rounding mode and use round-to-nearest
15557 for all computations.
15558 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15559 <fenv.h>.
15560 (tan): Save and restore rounding mode and use round-to-nearest for
15561 all computations.
15562 * math/libm-test.inc (cos_test_tonearest): New function.
15563 (cos_test_towardzero): Likewise.
15564 (cos_test_downward): Likewise.
15565 (cos_test_upward): Likewise.
15566 (sin_test_tonearest): Likewise.
15567 (sin_test_towardzero): Likewise.
15568 (sin_test_downward): Likewise.
15569 (sin_test_upward): Likewise.
15570 (tan_test_tonearest): Likewise.
15571 (tan_test_towardzero): Likewise.
15572 (tan_test_downward): Likewise.
15573 (tan_test_upward): Likewise.
15574 (main): Call the new functions.
15575 * sysdeps/i386/fpu/libm-test-ulps: Update.
15576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15577
a6d06d7b
JM
15578 [BZ #10135]
15579 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15580 small n, then large n, before computing and testing k+n.
15581 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15583 Likewise.
15584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15585 Likewise.
15586 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15587 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15588 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15589 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15590 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15591 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15592 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15594 * math/libm-test.inc (scalbn_test): Add more tests.
15595 (scalbln_test): Likewise.
15596
07e12bb3
JM
15597 * manual/filesys.texi (mode_t): Describe constraints on size and
15598 signedness, not exact equivalence to a particular type.
15599 (ino_t): Likewise.
15600 (ino64_t): Likewise.
15601 (dev_t): Likewise.
15602 (nlink_t): Likewise.
15603 (blkcnt_t): Likewise.
15604 (blkcnt64_t): Likewise.
15605 * manual/llio.texi (off_t): Likewise.
15606
28afd92d
JM
15607 [BZ #3976]
15608 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15609 (__ieee754_exp): Save and restore rounding mode and use
15610 round-to-nearest for all computations.
15611 * math/libm-test.inc (exp_test_tonearest): New function.
15612 (exp_test_towardzero): Likewise.
15613 (exp_test_downward): Likewise.
15614 (exp_test_upward): Likewise.
15615 (main): Call the new functions.
15616 * sysdeps/i386/fpu/libm-test-ulps: Update.
15617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15618
b1eeb65d
CD
156192012-03-01 Chris Demetriou <cgd@google.com>
15620
15621 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15622 have predictable order.
15623
53362a4b
DM
156242012-03-01 David S. Miller <davem@davemloft.net>
15625
3c969083
DM
15626 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15627
759707de
DM
15628 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15629 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15630 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15631 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15632
dfdb8ff2
DM
15633 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15634 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15635 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15637 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15638 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15639 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15640 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15641 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15642
ead89f96
DM
15643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15644
7f66bd07
DM
15645 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15646 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15648
53362a4b
DM
15649 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15650 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15651 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15652 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15653 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15654 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15655 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15656 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15657 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15658 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15659 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15660 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15662 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15663 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15665 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15666 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15667 * sysdeps/sparc/elf/configure: Regenerated.
15668
7b1902cb
JM
156692012-03-01 Joseph Myers <joseph@codesourcery.com>
15670
bec039bc
JM
15671 * configure.in (AS, LD): Require binutils 2.20 or later.
15672 * configure: Regenerated.
15673 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15674 as required minimum version.
15675 * INSTALL: Regenerated.
15676
7b1902cb
JM
15677 [BZ #2541]
15678 [BZ #4108]
15679 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15680 before squaring exponent.
15681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15682 bottom long double and 27 bits of top long double before squaring
15683 exponent.
15684 * math/libm-test.inc (erfc_test): Add more tests.
15685 * sysdeps/i386/fpu/libm-test-ulps: Update.
15686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15688
f775c276
KT
156892012-03-01 Kai Tietz <ktietz@redhat.com>
15690
15691 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15692 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15693 containing bit-fields.
15694 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15695 * soft-fp/single.h (_FP_UNION_S): Likewise.
15696 * soft-fp/double.h (_FP_UNION_D): Likewise.
15697
5b8a4d4a
JM
156982012-02-29 Joseph Myers <joseph@codesourcery.com>
15699
0bab47b6
JM
15700 [BZ #13786]
15701 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15702 not include ../strcmp.S.
15703 [USE_AS_STRNCASECMP_L]: Likewise.
15704 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15705 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15706 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15707 (__strncasecmp_l_ia32): Define as alias to
15708 __strncasecmp_l_nonascii.
15709
0fcad3e2
JM
15710 [BZ #5794]
15711 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15712 * sysdeps/i386/fpu/libm-test-ulps: Update.
15713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15714
5b8a4d4a
JM
15715 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15717
8fdceb2e
JL
157182012-02-29 Jeff Law <law@redhat.com>
15719
15720 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15721 out of bounds read.
15722
1f393a11
MP
157232012-02-29 Marek Polacek <polacek@redhat.com>
15724
15725 [BZ #13706]
15726 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15727 * elf/Makefile: Add rules to run tst-unused-dep.out.
15728
8847f037
DM
157292012-02-28 David S. Miller <davem@davemloft.net>
15730
15731 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15732 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15734 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15735 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15736 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15737
169d7f11
JM
157382012-02-29 Joseph Myers <joseph@codesourcery.com>
15739
15740 * math/libm-test.inc (llround_test): Move one test from
15741 lround_test. Use TEST_f_L in moved test.
15742 (lround_test): Move misplaced test to llround_test. Add testcase
15743 from bug 2561.
15744
39adf059
UD
157452012-02-28 Ulrich Drepper <drepper@gmail.com>
15746
15747 * sysdeps/x86_64/fpu/e_expf.S: New file.
15748 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15749
71b5d1c5
SB
157502012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15751
15752 [BZ #13637]
15753 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15754 of remain_len that may cause incomplete multi-byte character and
15755 false match.
15756 * posix/bug-regex33.c: New file.
15757 * posix/Makefile (tests): Add bug-regex33.
15758
1f77f049
JM
157592012-02-28 Joseph Myers <joseph@codesourcery.com>
15760
15761 * manual/macros.texi: New file.
15762 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15763 * manual/libc.texinfo: Include macros.texi.
15764 * manual/creatute.texi: Likewise.
15765 * manual/install.texi: Likewise.
15766 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15767 @glibcadj{} in references to the GNU C Library.
15768 * manual/charset.texi: Likewise.
15769 * manual/conf.texi: Likewise.
15770 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15771 when not using those macros.
15772 * manual/creature.texi: Likewise.
15773 * manual/crypt.texi: Likewise.
15774 * manual/errno.texi: Likewise.
15775 * manual/filesys.texi: Likewise.
15776 * manual/header.texi: Likewise.
15777 * manual/install.texi: Likewise.
15778 * manual/intro.texi: Likewise.
15779 * manual/io.texi: Likewise.
15780 * manual/job.texi: Likewise.
15781 * manual/lang.texi: Likewise.
15782 * manual/libc.texiinfo: Likewise.
15783 * manual/llio.texi: Likewise.
15784 * manual/locale.texi: Likewise.
15785 * manual/maint.texi: Likewise.
15786 * manual/math.texi: Likewise.
15787 * manual/memory.texi: Likewise.
15788 * manual/message.texi: Likewise.
15789 * manual/nss.texi: Likewise.
15790 * manual/pattern.texi: Likewise.
15791 * manual/process.texi: Likewise.
15792 * manual/resource.texi: Likewise.
15793 * manual/search.texi: Likewise.
15794 * manual/setjmp.texi: Likewise.
15795 * manual/signal.texi: Likewise.
15796 * manual/socket.texi: Likewise.
15797 * manual/startup.texi: Likewise.
15798 * manual/stdio.texi: Likewise.
15799 * manual/string.texi: Likewise.
15800 * manual/sysinfo.texi: Likewise.
15801 * manual/syslog.texi: Likewise.
15802 * manual/terminal.texi: Likewise.
15803 * manual/time.texi: Likewise.
15804 * manual/users.texi: Likewise.
15805 * INSTALL: Regenerated.
15806 * NOTES: Regenerated.
d40c5d54 15807 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15808
450bf206
AS
158092012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15810
15811 * include/dirent.h: Include <dirstream.h> before
15812 <dirent/dirent.h>.
15813
741a235b
DM
158142012-02-28 David S. Miller <davem@davemloft.net>
15815
15816 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15817 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15818 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15819 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15820
d6b5aa58
DM
158212012-02-27 David S. Miller <davem@davemloft.net>
15822
1aff59a3
DM
15823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15825 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15826 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15827
d6b5aa58
DM
15828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15829 frame pointer instead of stack pointer relative arg slot.
15830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15831 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15832 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15833
433f48bf
CD
158342012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15835
15836 [BZ #3992]
15837 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15838
d674b76d
DM
158392012-02-27 David S. Miller <davem@davemloft.net>
15840
15841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15847 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15848 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15849
0e7727f7
JM
158502012-02-27 Joseph Myers <joseph@codesourcery.com>
15851
15852 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15853 later. Allow versions 5-9.
43be4ca2 15854 * configure: Regenerated.
0e7727f7
JM
15855 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15856 required minimum version and 4.6 as recommended version. Do not
15857 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15858 * INSTALL: Regenerated.
0e7727f7 15859
a78bc654
DM
158602012-02-27 David S. Miller <davem@davemloft.net>
15861
428d5830
DM
15862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15866 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15867 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15868 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15869 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15870
a78bc654
DM
15871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15872 manipulate bits before adding and subtracting TWO112[sx].
15873 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15874
4579f81c
RM
158752012-02-27 Roland McGrath <roland@hack.frob.com>
15876
36c8acb4
RM
15877 [BZ #13775]
15878 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15879 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15880 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15881 being in POSIX, because they are in 1003.1-2008.
15882
84ad622b
RM
15883 * rt/tst-aio.c: Include <fcntl.h>.
15884 * rt/tst-aio7.c: Likewise.
15885 * rt/tst-aio64.c: Likewise.
15886
4579f81c
RM
15887 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15888
abd923db
JM
158892012-02-27 Joseph Myers <joseph@codesourcery.com>
15890
15891 * manual/install.texi (--with-headers): Describe headers as
15892 interface headers, not private headers.
15893 (Specific advice for GNU/Linux systems): Describe use of headers
15894 from "make headers_install", not private headers from older
15895 kernels.
43be4ca2 15896 * INSTALL: Regenerated.
abd923db
JM
15897 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15898 Change to 2.6.19.
15899 * sysdeps/unix/sysv/linux/configure: Regenerated.
15900
6664049b
JM
15901 * manual/llio.texi (fclean): Remove documentation.
15902
bb8b6697
JM
15903 * manual/Makefile (libc-texi-generated): New variable. Include
15904 version.texi.
15905 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15906 $(libc-texi-generated), not duplicated list of files.
15907 (version.texi, stamp-version): New rules.
15908 (realclean): Remove $(libc-texi-generated), not individual files
15909 from that list. Do not remove dir-add.texinfo.
15910 * manual/libc.texinfo: Comment out uses of edition numbers and
15911 references to printed manual. Remove last-updated dates.
15912 (EDITION): Comment out.
15913 (ISBN): Likewise.
15914 (VERSION, UPDATED): Remove.
15915 (version.texi): Include.
15916
12e5c3b9
AS
159172012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15918
15919 * sysdeps/posix/spawni.c: Include <signal.h>.
15920 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15921 * sysdeps/pthread/aio_fsync.c: Likewise.
15922
4efeffc1 159232012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15924
ba63ba08
UD
15925 * conform/Makefile (tests): Run only when not cross-compiling and
15926 when fast-check is not defined.
15927
d94a4670
UD
15928 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15929 * conform/data/limits.h-data: Fixes for POSIX2008.
15930 * conform/run-conformtest.sh: Run all tests.
15931 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15932 headers.
15933 * include/bits/dlfcn.h: Likewise.
15934 * include/langinfo.h: Likewise.
15935 * include/monetary.h: Likewise.
15936 * include/sys/poll.h: Likewise.
15937
15938 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15939 for __USE_GNU.
15940 * posix/spawn.h: Define __need_sigset_t.
15941 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15942 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15943 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15944 to get sigevent_t only.
15945 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15946 only for __USE_GNU.
15947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15948 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15949 process_vm_writev only for __USE_GNU.
15950 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15951
15952 * conform/Makefile: For now ignore errors from run-conformtest.
15953 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15954 POSIX to avoid namespace pollution. Don't prepend headers.
15955 * conform/data/aio.h-data: Fixes for POSIX testing.
15956 * conform/data/fcntl.h-data: Likewise.
15957 * conform/data/glob.h-data: Likewise.
15958 * conform/data/grp.h-data: Likewise.
15959 * conform/data/pthread.h-data: Likewise.
15960 * conform/data/pwd.h-data: Likewise.
15961 * conform/data/signal.h-data: Likewise.
15962 * conform/data/spawn.h-data: Likewise.
15963 * conform/data/stdio.h-data: Likewise.
15964 * conform/data/stdlib.h-data: Likewise.
15965 * conform/data/stropts.h-data: Likewise.
15966 * conform/data/sys/mman.h-data: Likewise.
15967 * conform/data/sys/stat.h-data: Likewise.
15968 * conform/data/sys/types.h-data: Likewise.
15969 * conform/data/sys/wait.h-data: Likewise.
15970 * conform/data/time.h-data: Likewise.
15971 * conform/data/unistd.h-data: Likewise.
15972 * conform/data/utime.h-data: Likewise.
15973
15974 * io/sys/stat.h: fchmod was always in POSIX.
15975 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15976 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15977 * rt/aio.h: Define __need_timespec before including <time.h>.
15978 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15979 struct. Add forward declaration of pthread_attr_t and use it in
15980 sigevent.
15981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15983 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15984 always remove CLK_TCK definition.
15985
c20105c3
AS
159862012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15987
15988 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15989
7a270350
UD
159902012-02-25 Ulrich Drepper <drepper@gmail.com>
15991
31341567
UD
15992 * conform/run-conformtest.sh: New file.
15993 * conform/Makefile: Run run-conformtest for tests.
15994 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15995 support.
15996
15997 * conform/data/uchar.h-data: New file.
15998 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15999 * conform/data/arpa/inet.h-data: Likewise.
16000 * conform/data/assert.h-data: Likewise.
16001 * conform/data/complex.h-data: Likewise.
16002 * conform/data/cpio.h-data: Likewise.
16003 * conform/data/ctype.h-data: Likewise.
16004 * conform/data/dirent.h-data: Likewise.
16005 * conform/data/dlfcn.h-data: Likewise.
16006 * conform/data/errno.h-data: Likewise.
16007 * conform/data/fcntl.h-data: Likewise.
16008 * conform/data/float.h-data: Likewise.
16009 * conform/data/fmtmsg.h-data: Likewise.
16010 * conform/data/fnmatch.h-data: Likewise.
16011 * conform/data/ftw.h-data: Likewise.
16012 * conform/data/glob.h-data: Likewise.
16013 * conform/data/grp.h-data: Likewise.
16014 * conform/data/iconv.h-data: Likewise.
16015 * conform/data/inttypes.h-data: Likewise.
16016 * conform/data/langinfo.h-data: Likewise.
16017 * conform/data/libgen.h-data: Likewise.
16018 * conform/data/limits.h-data: Likewise.
16019 * conform/data/locale.h-data: Likewise.
16020 * conform/data/math.h-data: Likewise.
16021 * conform/data/monetary.h-data: Likewise.
16022 * conform/data/mqueue.h-data: Likewise.
16023 * conform/data/ndbm.h-data: Likewise.
16024 * conform/data/net/if.h-data: Likewise.
16025 * conform/data/netdb.h-data: Likewise.
16026 * conform/data/netinet/in.h-data: Likewise.
16027 * conform/data/nl_types.h-data: Likewise.
16028 * conform/data/poll.h-data: Likewise.
16029 * conform/data/pthread.h-data: Likewise.
16030 * conform/data/pwd.h-data: Likewise.
16031 * conform/data/regex.h-data: Likewise.
16032 * conform/data/sched.h-data: Likewise.
16033 * conform/data/search.h-data: Likewise.
16034 * conform/data/semaphore.h-data: Likewise.
16035 * conform/data/setjmp.h-data: Likewise.
16036 * conform/data/signal.h-data: Likewise.
16037 * conform/data/spawn.h-data: Likewise.
16038 * conform/data/stdarg.h-data: Likewise.
16039 * conform/data/stdio.h-data: Likewise.
16040 * conform/data/stdlib.h-data: Likewise.
16041 * conform/data/string.h-data: Likewise.
16042 * conform/data/strings.h-data: Likewise.
16043 * conform/data/stropts.h-data: Likewise.
16044 * conform/data/sys/ipc.h-data: Likewise.
16045 * conform/data/sys/mman.h-data: Likewise.
16046 * conform/data/sys/msg.h-data: Likewise.
16047 * conform/data/sys/resource.h-data: Likewise.
16048 * conform/data/sys/select.h-data: Likewise.
16049 * conform/data/sys/sem.h-data: Likewise.
16050 * conform/data/sys/shm.h-data: Likewise.
16051 * conform/data/sys/socket.h-data: Likewise.
16052 * conform/data/sys/stat.h-data: Likewise.
16053 * conform/data/sys/statvfs.h-data: Likewise.
16054 * conform/data/sys/time.h-data: Likewise.
16055 * conform/data/sys/timeb.h-data: Likewise.
16056 * conform/data/sys/times.h-data: Likewise.
16057 * conform/data/sys/types.h-data: Likewise.
16058 * conform/data/sys/uio.h-data: Likewise.
16059 * conform/data/sys/un.h-data: Likewise.
16060 * conform/data/sys/utsname.h-data: Likewise.
16061 * conform/data/sys/wait.h-data: Likewise.
16062 * conform/data/syslog.h-data: Likewise.
16063 * conform/data/tar.h-data: Likewise.
16064 * conform/data/termios.h-data: Likewise.
16065 * conform/data/utime.h-data: Likewise.
16066 * conform/data/utmpx.h-data: Likewise.
16067 * conform/data/varargs.h-data: Likewise.
16068 * conform/data/wchar.h-data: Likewise.
16069 * conform/data/wctype.h-data: Likewise.
16070 * conform/data/wordexp.h-data: Likewise.
16071
16072 * include/stropts.h: New file.
16073 * include/uchar.h: New file.
16074 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16075 * include/assert.h: Likewise.
16076 * include/ctype.h: Likewise.
16077 * include/dirent.h: Likewise.
16078 * include/dlfcn.h: Likewise.
16079 * include/fcntl.h: Likewise.
16080 * include/fnmatch.h: Likewise.
16081 * include/glob.h: Likewise.
16082 * include/grp.h: Likewise.
16083 * include/libio.h: Likewise.
16084 * include/locale.h: Likewise.
16085 * include/math.h: Likewise.
16086 * include/net/if.h: Likewise.
16087 * include/netdb.h: Likewise.
16088 * include/netinet/in.h: Likewise.
16089 * include/pthread.h: Likewise.
16090 * include/pwd.h: Likewise.
16091 * include/regex.h: Likewise.
16092 * include/sched.h: Likewise.
16093 * include/search.h: Likewise.
16094 * include/setjmp.h: Likewise.
16095 * include/signal.h: Likewise.
16096 * include/stdio.h: Likewise.
16097 * include/stdlib.h: Likewise.
16098 * include/string.h: Likewise.
16099 * include/sys/cdefs.h: Likewise.
16100 * include/sys/mman.h: Likewise.
16101 * include/sys/msg.h: Likewise.
16102 * include/sys/resource.h: Likewise.
16103 * include/sys/select.h: Likewise.
16104 * include/sys/socket.h: Likewise.
16105 * include/sys/stat.h: Likewise.
16106 * include/sys/statvfs.h: Likewise.
16107 * include/sys/time.h: Likewise.
16108 * include/sys/times.h: Likewise.
16109 * include/sys/uio.h: Likewise.
16110 * include/sys/utsname.h: Likewise.
16111 * include/sys/wait.h: Likewise.
16112 * include/termios.h: Likewise.
16113 * include/time.h: Likewise.
16114 * include/ulimit.h: Likewise.
16115 * include/unistd.h: Likewise.
16116 * include/utime.h: Likewise.
16117 * include/wchar.h: Likewise.
16118 * include/wctype.h: Likewise.
16119 * include/wordexp.h: Likewise.
16120
16121 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16122
7a270350
UD
16123 * time/time.h: TIME_UTC must be a macro.
16124 Make timespec_get available for ISO C11 only as well.
16125
7724defc
UD
161262012-02-24 Ulrich Drepper <drepper@gmail.com>
16127
16128 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16129 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16130
6b1d1d46
JM
161312012-02-24 Joseph Myers <joseph@codesourcery.com>
16132
16133 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16134
0f8bbd69
JM
161352012-02-24 Joseph Myers <joseph@codesourcery.com>
16136
16137 * manual/texinfo.tex: Update to version 2012-01-19.16.
16138
66ab80bc
JM
161392012-02-24 Joseph Myers <joseph@codesourcery.com>
16140
16141 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16142
74981cc5
RM
161432012-02-24 Roland McGrath <roland@hack.frob.com>
16144
ee968201
RM
16145 [BZ #13738]
16146 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16147 * manual/fdl-1.3.texi: New file.
16148 * manual/fdl-1.1.texi: File removed.
16149
74981cc5
RM
16150 [BZ #13738]
16151 * manual/libc.texinfo (FDL_VERSION): New @set.
16152 Use it for mention of FDL in cover text.
16153 (Documentation License): Use it in @include file name.
16154
7bb764bc
JM
161552012-02-22 Joseph Myers <joseph@codesourcery.com>
16156 Roland McGrath <roland@hack.frob.com>
16157
16158 [BZ #5461]
16159 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16160 not LONG_LONG_MAX and LONG_LONG_MIN.
16161 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16162 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16163 name.
16164 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16165
6cbeae47
JM
161662012-02-22 Joseph Myers <joseph@codesourcery.com>
16167
16168 [BZ #2547]
16169 [BZ #11365]
16170 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16171 manipulate bits before adding and subtracting TWO23[sx].
16172 * math/libm-test.inc (nearbyint_test): Add more tests.
16173
fe45ce09
JM
161742012-02-22 Joseph Myers <joseph@codesourcery.com>
16175
16176 [BZ #2548]
16177 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16178 bits before adding and subtracting TWO23[sx].
16179 * math/libm-test.inc (rint_test): Add more tests.
16180 (rint_test_tonearest): Likewise.
16181 (rint_test_towardzero): Likewise.
16182 (rint_test_downward): Likewise.
16183 (rint_test_upward: Likewise.
16184
ff3b3d82
JM
161852012-02-22 Joseph Myers <joseph@codesourcery.com>
16186
16187 [BZ #10110]
16188 * include/stdc-predef.h: New file. Extracted from features.h.
16189 * include/features.h: Include stdc-predef.h.
16190 * Makefile (headers): Add stdc-predef.h.
16191 * CONFORMANCE (Compiler limitations): Update.
16192
ef0aab35
JM
161932012-02-22 Joseph Myers <joseph@codesourcery.com>
16194
16195 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16196
58639409
DM
161972012-02-21 David S. Miller <davem@davemloft.net>
16198
16199 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16200 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16201
c0e70b25
DM
162022012-02-20 David S. Miller <davem@davemloft.net>
16203
16204 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16205 using a normal save/restore sequence, rather than allocating a
16206 dummy stack frame just to store a frame pointer and restore.
16207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16208
fb06851d
JM
162092012-02-21 Joseph Myers <joseph@codesourcery.com>
16210
16211 * manual/install.texi: Fix stray word in line-wrapped comment.
16212
7a8b71c3
DM
162132012-02-20 David S. Miller <davem@davemloft.net>
16214
d510c123
DM
16215 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16216 both binutils and gcc support GOTDATA.
16217
0722d7c2
DM
16218 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16219 "rd %pc" in the PIC register setup sequences.
16220
3d2b3019
DM
16221 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16222 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16223 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16224 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16225 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16227 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16230 (SYSCALL_ERROR_HANDLER): Likewise.
16231 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16232 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16234 (SYSCALL_ERROR_HANDLER): Likewise.
16235
c80098a9
DM
16236 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16237 (HAVE_GCC_GOTDATA): New.
16238 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16239 relocation support in both binutils and gcc.
16240 * sysdeps/sparc/elf/configure: Regenerate.
16241
3a2545a0
DM
16242 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16243 * sysdeps/sparc/sparc32/elf/configure: Delete.
16244 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16245 * sysdeps/sparc/sparc64/elf/configure: Delete.
16246 * sysdeps/sparc/elf/configure.in: New file.
16247 * sysdeps/sparc/elf/configure: Generate.
16248
7a8b71c3
DM
16249 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16250 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16251 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16252 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16253 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16254
f1e86fca
JM
162552012-02-21 Joseph Myers <joseph@codesourcery.com>
16256
16257 * manual/install.texi: Do not mention specific glibc version
16258 numbers.
16259 * manual/libc.texinfo (VERSION, UPDATED): Update.
16260 (@copying): Use @copyright{} and range of years.
16261
0e7dfaef
JM
162622012-02-21 Joseph Myers <joseph@codesourcery.com>
16263
16264 [BZ #13695]
16265 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16266 [crti.S not in sysdirs] (generated): Do not append.
16267 [crti.S not in sysdirs] (omit-deps): Likewise.
16268 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16269 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16270 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16271 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16272 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16273 Likewise.
16274 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16275 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16276 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16277 * csu/defs.awk: Remove file.
16278 * sysdeps/generic/initfini.c: Likewise.
16279 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16280 variable.
16281 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16282 Likewise.
16283
599af3ca
JM
162842012-02-20 Joseph Myers <joseph@codesourcery.com>
16285
16286 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16287 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16288 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16290 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16291 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16292 <bits/epoll.h>.
16293 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16294 (__EPOLL_PACKED): Define to empty if not defined by
16295 <bits/epoll.h>.
16296 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16298 bits/epoll.h.
16299
0e499750
JM
163002012-02-20 Joseph Myers <joseph@codesourcery.com>
16301
16302 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16303 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16304 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16305 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16306 <bits/timerfd.h>.
16307 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16309 bits/timerfd.h.
16310
5ad91f6e
JM
163112012-02-20 Joseph Myers <joseph@codesourcery.com>
16312
16313 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16314 in C locale.
16315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16316 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16319
06b99b02
AJ
163202012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16321
16322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16323 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16324
7638c0fd
AS
163252012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16326
16327 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16328 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16329 defined.
16330 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16331 Likewise.
16332 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16333 entry for 2.16.
16334
92221550
AJ
163352012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16336
16337 * math/w_acos.c: Use non-signaling floating-point comparisons.
16338 * math/w_acosf.c: Likewise.
16339 * math/w_acosh.c: Likewise.
16340 * math/w_acoshf.c: Likewise.
16341 * math/w_acoshl.c: Likewise.
16342 * math/w_acosl.c: Likewise.
16343 * math/w_asin.c: Likewise.
16344 * math/w_asinf.c: Likewise.
16345 * math/w_asinl.c: Likewise.
16346 * math/w_atanh.c: Likewise.
16347 * math/w_atanhf.c: Likewise.
16348 * math/w_atanhl.c: Likewise.
16349 * math/w_exp2.c: Likewise.
16350 * math/w_exp2f.c: Likewise.
16351 * math/w_exp2l.c: Likewise.
16352 * math/w_j0.c: Likewise.
16353 * math/w_j0f.c: Likewise.
16354 * math/w_j0l.c: Likewise.
16355 * math/w_j1.c: Likewise.
16356 * math/w_j1f.c: Likewise.
16357 * math/w_j1l.c: Likewise.
16358 * math/w_jn.c: Likewise.
16359 * math/w_jnf.c: Likewise.
16360 * math/w_log.c: Likewise.
16361 * math/w_log10.c: Likewise.
16362 * math/w_log10f.c: Likewise.
16363 * math/w_log10l.c: Likewise.
16364 * math/w_log2.c: Likewise.
16365 * math/w_log2f.c: Likewise.
16366 * math/w_log2l.c: Likewise.
16367 * math/w_logf.c: Likewise.
16368 * math/w_logl.c: Likewise.
16369 * math/w_sqrt.c: Likewise.
16370 * math/w_sqrtf.c: Likewise.
16371 * math/w_sqrtl.c: Likewise.
16372 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16373 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16374 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16375 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16376 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16377
ebaf36eb
JM
163782012-02-19 Joseph Myers <joseph@codesourcery.com>
16379
16380 [BZ #9739]
16381 * manual/string.texi (strnlen): Use correct parameter name in
16382 equivalent expression.
16383
71c254a6
JM
163842012-02-19 Joseph Myers <joseph@codesourcery.com>
16385
16386 [BZ #11174]
16387 * manual/users.texi (seteuid): Consistently use neweuid for
16388 argument name.
16389
16d2c631
JM
163902012-02-19 Joseph Myers <joseph@codesourcery.com>
16391
16392 [BZ #13704]
16393 * manual/nss.texi (Services in the NSS configuration): Correct
16394 list of services in example configuration file.
16395
cd837b09
NB
163962012-02-19 Nick Bowler <nbowler@draconx.ca>
16397
16398 [BZ #11322]
16399 * manual/arith.texi: Remove statements about negative zero
16400 behaving identically to zero.
16401
02c4bbad
JM
164022012-02-18 Joseph Myers <joseph@codesourcery.com>
16403
16404 [BZ #5993]
16405 * manual/install.texi: Do not document upgrading from libc5.
16406
366842e7
JM
164072012-02-18 Joseph Myers <joseph@codesourcery.com>
16408
16409 [BZ #4596]
16410 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16411
dd54084d
DM
164122012-02-18 David S. Miller <davem@davemloft.net>
16413
16414 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16415 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16416 %o7 across the call.
16417 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16418 instead.
16419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16420 SETUP_PIC_REG_LEAF.
16421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16422 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16423 * sysdeps/sparc/crtn.S: Likewise.
16424
2bcc53a3
UD
164252012-02-17 Ulrich Drepper <drepper@gmail.com>
16426
16427 * aout/Makefile: Remove.
16428
09c093b5
RK
164292012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16430
16431 [BZ #13058]
16432 * manual/examples/argp-ex1.c (main): Format definition in GNU
16433 style.
16434 * manual/examples/argp-ex2.c (main): Likewise.
16435 * manual/examples/argp-ex3.c (main): Likewise.
16436 * manual/examples/argp-ex4.c (main): Likewise.
16437 * manual/examples/longopt.c (main): Use new-style prototype
16438 definition.
16439 * manual/examples/strncat.c (main): Specify return type and use
16440 (void) for arguments.
16441 * manual/examples/subopt.c (main): Use char **argv argument.
16442
2ee633a2
JM
164432012-02-17 Joseph Myers <joseph@codesourcery.com>
16444
16445 [BZ #5077]
16446 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16447 rounding modes.
16448
0520adde
FB
164492012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16450
16451 [BZ #6907]
16452 * manual/string.texi (strchr): Change when strchrnul is
16453 recommended.
16454
3f4081cd
DGM
164552012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16456
16457 [BZ #174]
16458 * manual/locale.texi (setlocale): Document LOCPATH.
16459
d1b10e78
JM
164602012-02-17 Joseph Myers <joseph@codesourcery.com>
16461
16462 [BZ #10210]
16463 * manual/process.texi (execle): Move @dots{} before last argument.
16464
79c6869c
PB
164652012-02-17 Paul Bolle <pebolle@tiscali.nl>
16466
16467 [BZ #12047]
16468 * manual/charset.texi (Generic Charset Conversion): Fix typo
16469 (LC_TYPE -> LC_CTYPE).
16470
cc6e48bc
NB
164712012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16472
16473 [BZ #5805]
16474 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16475 (scalbnf): Likewise.
16476 (scalbnl): Likewise.
16477 (scalbln): Likewise.
16478 (scalblnf): Likewise.
16479 (scalblnl): Likewise.
16480 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16481 (vwarnx): Likewise.
16482 (verr): Likewise.
16483 (verrx): Likewise.
16484 * manual/filesys.texi (telldir): Use braces around return type.
16485 * manual/llio.texi (mmap): Add space after comma.
16486 (mmap64): Likewise.
16487 * manual/math.texi (jn): Use @var{} on parameter names.
16488 (jnf): Likewise.
16489 (jnl): Likewise.
16490 (yn): Likewise.
16491 (ynf): Likewise.
16492 (ynl): Likewise.
16493 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16494 line.
16495 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16496 "...".
16497 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16498 (sched_get_priority_max): Likewise.
16499 * manual/signal.texi (sigvec): Add space after comma.
16500 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16501 names.
16502 (if_indextoname): Likewise.
16503 (if_freenameindex): Likewise.
16504 (sendto): Use ',' instead of '.' in prototype.
16505 * manual/startup.texi (syscall): Use @dots{} instead of literal
16506 "...".
16507 * manual/stdio.texi (__fpending): Separate initial words of
16508 paragraph from @deftypefun line.
16509 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16510 "...".
16511 (vsyslog): Use @var{} on parameter names.
16512 * manual/terminal.texi (stty): Use @var{} on parameter names.
16513 * manual/users.texi (getutmp): Use @var{} on parameter names.
16514 (getutmpx): Likewise.
16515
5b23062f
JM
165162012-02-17 Joseph Myers <joseph@codesourcery.com>
16517
16518 [BZ #6884]
16519 * manual/stdio.texi (fopen): Fix typos in description of
16520 ",ccs=STRING".
16521
8dee4833
AJ
165222012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16523
16524 [BZ #4026]
16525 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16526 get clock_id definition.
16527
9078ce93
TS
165282012-02-17 Thomas Schwinge <thomas@schwinge.name>
16529
16530 [BZ #4822]
16531 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16532 (madvise): Cast every argument to void on its own.
16533
3835c55f
JM
165342012-02-17 Joseph Myers <joseph@codesourcery.com>
16535
16536 [BZ #9902]
16537 * manual/startup.texi (Exit Status): Fix typo.
16538
35c47e37
JM
165392012-02-17 Joseph Myers <joseph@codesourcery.com>
16540
16541 [BZ #10140]
16542 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16543 * manual/examples/argp-ex2.c: Likewise.
16544 * manual/examples/argp-ex3.c: Likewise.
16545
e3b69ca7
RH
165462012-02-16 Richard Henderson <rth@redhat.com>
16547
16548 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16549 * sysdeps/s390/s390-32/initfini.c: Remove.
16550 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16551 * sysdeps/s390/s390-64/initfini.c: Remove.
16552
df83af67
KK
165532012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16554
16555 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16556 compiler output for sysdeps/generic/initfini.c.
16557 * sysdeps/sh/elf/initfini.c: Remove file.
16558
f63f3380
DM
165592012-02-16 David S. Miller <davem@davemloft.net>
16560
fb59b3a4
DM
16561 [BZ #11494]
16562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16563
f63f3380
DM
16564 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16565 * sysdeps/sparc/crti.S: New file.
16566 * sysdeps/sparc/crtn.S: New file.
16567 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16568 * sysdeps/sparc/sparc64/Makefile: Likewise.
16569
df6a4a4a
MF
165702012-02-15 Mike Frysinger <vapier@gentoo.org>
16571
6dd8f3dc 16572 [BZ #3335]
df6a4a4a
MF
16573 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16574
1cac7236
RM
165752012-02-15 Roland McGrath <roland@hack.frob.com>
16576
d2c736f8
RM
16577 [BZ #4822]
16578 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16579
1cac7236
RM
16580 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16581 (write, read, close): Likewise.
16582 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16583
8e475601
JM
165842012-02-15 Joseph Myers <joseph@codesourcery.com>
16585
16586 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16587 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16588 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16589 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16590 <bits/signalfd.h>.
16591 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16593 bits/signalfd.h.
16594
ed656b40
MP
165952012-02-14 Marek Polacek <polacek@redhat.com>
16596
16597 * sysdeps/x86_64/crti.S: New file.
16598 * sysdeps/x86_64/crtn.S: New file.
16599 * sysdeps/x86_64/elf/initfini.c: Remove file.
16600
2a979d3a
JM
166012012-02-13 Joseph Myers <joseph@codesourcery.com>
16602
16603 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16604 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16605 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16606 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16607 <bits/inotify.h>.
16608 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16610 bits/inotify.h.
16611
2a418ac3
JM
166122012-02-13 Joseph Myers <joseph@codesourcery.com>
16613
16614 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16615 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16616 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16617 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16618 <bits/eventfd.h>.
16619 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16621 bits/eventfd.h.
16622
fb779be7
TS
166232012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16624
e19e83c5
RM
16625 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16626 __feraiseexcept instead of feraiseexcept.
7c35ffed 16627
fb779be7
TS
16628 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16629 nanosleep invocations.
16630 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16631 strings, and add error checking for a nanosleep invocations.
16632
59ba27a6
PE
166332012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16634
16635 Replace FSF snail mail address with URLs, as per GNU coding standards.
16636 Most of the snail mail addresses were wrong anyway, and omitting
16637 them makes the source code easier to maintain. Almost all of the
16638 changes are to license notices and to locale LC_IDENTIFICATION
16639 addresses, except for this one:
16640 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16641 not its snail mail address.
16642
57b957eb
RH
166432012-02-09 Richard Henderson <rth@twiddle.net>
16644
af850b1c
RH
16645 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16646 of kernel-features.h.
16647
57b957eb
RH
16648 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16649
6b73181a
MP
166502012-02-08 Marek Polacek <polacek@redhat.com>
16651
16652 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16653 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16654 * sysdeps/gnu/_G_config.h: Likewise.
16655 * sysdeps/generic/_G_config.h: Likewise.
16656
26ecc33a
AS
166572012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16658
6c6dbc63
AS
16659 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16660 tests.
16661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16662
e216c012
AS
16663 * sysdeps/powerpc/powerpc32/crti.S: New file.
16664 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16665 * sysdeps/powerpc/powerpc64/crti.S: New file.
16666 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16667
26ecc33a
AS
16668 * Makeconfig (have-initfini): Don't set.
16669 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16670 * configure.in (nopic_initfini): Don't substitute.
16671 * config.h.in (HAVE_INITFINI): Don't #undef.
16672 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16673 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16674
3add8e13
JM
166752012-02-08 Joseph Myers <joseph@codesourcery.com>
16676
16677 Support crti.S and crtn.S provided directly by architectures.
16678 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16679 [crti.S in sysdirs] (omit-deps): Likewise.
16680 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16681 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16682 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16683 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16684 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16685 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16686 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16687 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16688 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16689 compiler output for sysdeps/generic/initfini.c.
16690 * sysdeps/i386/elf/Makefile: Remove file.
16691 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16692
a22f12b4
MP
166932012-02-07 Marek Polacek <polacek@redhat.com>
16694
16695 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16696 * sysdeps/gnu/_G_config.h: Likewise.
16697 * sysdeps/mach/hurd/_G_config.h: Likewise.
16698
148cf100
MP
166992012-02-07 Marek Polacek <polacek@redhat.com>
16700
16701 * math/Makefile (tests): Add tst-CMPLX2.
16702 * math/tst-CMPLX2.c: New file.
16703
cfdc0dd7
AS
167042012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16705
84ba42c4
AS
16706 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16707
cfdc0dd7
AS
16708 * math/libm-test.inc (jn_test): Add missing L suffix.
16709
622c86f4
MP
167102012-02-06 Marek Polacek <polacek@redhat.com>
16711
16712 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16713 * sysdeps/i386/fpu/e_powf.S: Likewise.
16714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16715 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16717 * sysdeps/i386/fpu/e_pow.S: Likewise.
16718 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16719 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16720 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16721 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16722 * sysdeps/i386/fpu/e_log2.S: Likewise.
16723 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16724 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16725 * sysdeps/i386/fpu/e_powl.S: Likewise.
16726 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16728 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16729 * sysdeps/i386/fpu/e_logl.S: Likewise.
16730 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16731 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16732 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16733 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16734 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16735 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16736 * sysdeps/i386/fpu/e_log.S: Likewise.
16737 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16739 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16740 * sysdeps/i386/fpu/e_logf.S: Likewise.
16741 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16742 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16743 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16744 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16746 * sysdeps/i386/fpu/e_log10.S: Likewise.
16747 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16748 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16749 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16750 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16751 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16752 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16753 * sysdeps/i386/asm-syntax.h: Likewise.
16754 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16755 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16756 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16757 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16758 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16759 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16760 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16761 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16762 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16763 * sysdeps/powerpc/sysdep.h: Likewise.
16764 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16766
d4a54ac6
JM
167672012-02-06 Joseph Myers <joseph@codesourcery.com>
16768
16769 [BZ #411]
16770 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16771
314054ea
JM
167722012-02-06 Joseph Myers <joseph@codesourcery.com>
16773
16774 * sysdeps/i386/sysdep.h: Include <features.h>.
16775 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16776 version.
16777
d8e0ca50
JM
167782012-02-05 Joseph Myers <joseph@codesourcery.com>
16779
16780 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16781 Define.
16782 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16783 LOAD_PIC_REG_STR.
16784
b1da7dd9
JM
167852012-02-03 Joseph Myers <joseph@codesourcery.com>
16786
16787 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16788 (SETUP_PIC_REG): Use GET_PC_THUNK.
16789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16790 macro.
16791
9a1d9254
JM
167922012-02-03 Joseph Myers <joseph@codesourcery.com>
16793
16794 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16795 for non-PIC compilation.
16796 (SETUP_PIC_REG): Add .p2align directive.
16797 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16798 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16799 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16800 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16801 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16802 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16804 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16805 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16806 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16807 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16808 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16809 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16810 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16811 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16812 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16813 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16814 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16815 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16816 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16817 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16818 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16819 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16820 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16821 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16825 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16826 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16827 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16828 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16829 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16830 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16831 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16832 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16833 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16834 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16835 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16836 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16837 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16838
65dc3b75
JM
168392012-02-03 Joseph Myers <joseph@codesourcery.com>
16840
16841 * math/tst-CMPLX.c: Include <stdio.h>.
16842
d55bf177
JM
168432012-01-31 Joseph Myers <joseph@codesourcery.com>
16844
16845 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16846 float.
16847 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16848 * sysdeps/sparc/bits/mathdef.h: Likewise.
16849
69db4f8f
MP
168502012-01-31 Marek Polacek <polacek@redhat.com>
16851
16852 * libio/libio.h: Don't define _PARAMS.
16853 * locale/programs/config.h: Don't define PARAMS.
16854 * stdlib/strtol_l.c: Likewise.
16855 (__strtol_l): Remove PARAMS from the prototype.
16856
41b81892
UD
168572012-01-31 Ulrich Drepper <drepper@gmail.com>
16858
3b49edc0
UD
16859 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16860 names. Just use the correct names. Remove unnecessary wrapper
16861 functions.
16862 * malloc/arena.c: Likewise.
16863 * malloc/hooks.c: Likewise.
16864
41b81892
UD
16865 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16866 ARENA_TEST says not to. Simplify test for creation of a new arena.
16867 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16868
27a25b6e
UD
168692012-01-30 Ulrich Drepper <drepper@gmail.com>
16870
16871 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16872 into tail calls.
16873 (update_get_addr): New function.
16874 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16875 GET_ADDR_MODULE parameter.
16876
c8a89e7d
JM
168772012-01-30 Joseph Myers <joseph@codesourcery.com>
16878
16879 * crypt/cert.c: Remove __STDC__ conditionals.
16880 * crypt/crypt-entry.c: Likewise.
16881 * crypt/crypt_util.c: Likewise.
16882 * libio/filedoalloc.c: Likewise.
16883 * libio/fileops.c: Likewise.
16884 * libio/genops.c: Likewise.
16885 * libio/iofclose.c: Likewise.
16886 * libio/iofdopen.c: Likewise.
16887 * libio/iofopen.c: Likewise.
16888 * libio/iofopen64.c: Likewise.
16889 * libio/iogetdelim.c: Likewise.
16890 * libio/iopopen.c: Likewise.
16891 * libio/obprintf.c: Likewise.
16892 * libio/oldfileops.c: Likewise.
16893 * libio/oldiofclose.c: Likewise.
16894 * libio/oldiofdopen.c: Likewise.
16895 * libio/oldiofopen.c: Likewise.
16896 * libio/oldiopopen.c: Likewise.
16897 * libio/wfiledoalloc.c: Likewise.
16898 * libio/wgenops.c: Likewise.
16899 * locale/programs/xmalloc.c: Likewise.
16900 * misc/syslog.c: Likewise.
16901 * stdio-common/xbug.c: Likewise.
16902 * string/memchr.c: Likewise.
16903 * string/memcmp.c: Likewise.
16904 * string/memrchr.c: Likewise.
16905 * string/rawmemchr.c: Likewise.
16906 * sysdeps/posix/getcwd.c: Likewise.
16907 * time/strftime_l.c: Likewise.
16908
3b100462
JM
169092012-01-30 Joseph Myers <joseph@codesourcery.com>
16910
16911 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16912 * config.make.in (config-cflags-sse2avx): Define.
16913 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16914 Fix typo.
16915
607998af
CM
169162012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16917
16918 * scripts/config.guess: Update from upstream config git repository.
16919 * scripts/config.sub: Likewise.
16920
3601428f
CM
169212012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16922
3ac8b282
CM
16923 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16924 (EM_NUM): Update.
16925 (R_TILEPRO_*, R_TILEGX_*): New macros.
16926
e034841e
CM
16927 * scripts/firstversions.awk: Fix bug in version range handling.
16928
540d7568
CM
16929 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16930
3601428f
CM
16931 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16932
463de862
CM
16933 * include/sys/epoll.h: New file.
16934 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16935 libc_hidden_def.
16936
73139a76
UD
169372012-01-28 Ulrich Drepper <drepper@gmail.com>
16938
96bc5b45
UD
16939 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16940 Avoid unnecessary __WORDSIZE == 64 test.
16941 (fmaxf): Use VEX format if possible.
16942 (fmax): Likewise.
16943 (fminf): Likewise.
16944 (fmin): Likewise.
16945
56f6f6a2
UD
16946 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16947 * math/math_private.h: Remove libc_fegetround* and
16948 libc_fesetround*.
16949 * sysdeps/i386/configure.in: Check for -msse2avx.
16950 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16951 also if SSE2AVX is defined.
16952 Remove libc_fegetround* and libc_fesetround*.
16953 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16954 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16956 of HAS_YMM_USABLE.
16957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16958 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16960 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16961 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16962
73139a76
UD
16963 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16964
d73f93a4
AZ
169652012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16966
16967 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16968 size is not set.
16969 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16970
6ee65ed6
UD
169712012-01-27 Ulrich Drepper <drepper@gmail.com>
16972
16973 [BZ #13618]
16974 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16975 relocation.
16976 * Makeconfig (libm): Define.
16977 * elf/Makefile: Add rules to build and run tst-relsort1.
16978 * elf/tst-relsort1.c: New file.
16979 * elf/tst-relsort1mod1.c: New file.
16980 * elf/tst-relsort1mod2.c: New file.
16981
8db21882
JM
169822012-01-27 Joseph Myers <joseph@codesourcery.com>
16983
16984 * math/s_ldexp.c: Remove __STDC__ conditionals.
16985 * math/s_ldexpf.c: Likewise.
16986 * math/s_ldexpl.c: Likewise.
16987 * math/s_nextafter.c: Likewise.
16988 * math/s_nexttowardf.c: Likewise.
16989 * math/s_significand.c: Likewise.
16990 * math/s_significandf.c: Likewise.
16991 * math/s_significandl.c: Likewise.
16992 * math/w_jnl.c: Likewise.
16993 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16994 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16995 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16996 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16997 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16999 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17002 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17003 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17005 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17006 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17007 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17008 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17012 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17013 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17014 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17015 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17016 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17017 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17018 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17019 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17020 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17021 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17022 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17023 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17024 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17025 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17027 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17028 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17029 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17030 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17031 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17032 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17033 * sysdeps/ieee754/k_standard.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17065 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17067 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17068 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17070 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17073 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17074 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17076 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17077 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17079 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17081 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17082 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17083 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17084 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17087 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17089 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17090 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17094 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17095 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17096 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17097 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17098 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17099 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17100 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17101 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17102 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17104 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17105 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17106 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17108 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17109 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17110 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17111 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17112 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17113 * sysdeps/ieee754/s_matherr.c: Likewise.
17114 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17115 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17118
965a54a4
JM
171192012-01-26 Joseph Myers <joseph@codesourcery.com>
17120
17121 * crypt/md5.h: Remove __STDC__ conditionals.
17122 * libio/libioP.h: Likewise.
17123 * locale/programs/config.h: Likewise.
17124 * sysdeps/generic/sysdep.h: Likewise.
17125 * sysdeps/i386/asm-syntax.h: Likewise.
17126 * sysdeps/s390/asm-syntax.h: Likewise.
17127 * sysdeps/unix/sysdep.h: Likewise.
17128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17130
7071ad79
JM
171312012-01-26 Joseph Myers <joseph@codesourcery.com>
17132
17133 * libio/libio.h: Remove __STDC__ conditionals.
17134 * malloc/obstack.h: Likewise.
17135 * math/complex.h: Likewise.
17136 * math/math.h: Likewise.
17137 * sysdeps/generic/_G_config.h: Likewise.
17138 * sysdeps/gnu/_G_config.h: Likewise.
17139 * sysdeps/mach/hurd/_G_config.h: Likewise.
17140 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17141 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17142 * sysdeps/sparc/bits/mathdef.h: Likewise.
17143
afc5ed09
UD
171442012-01-26 Ulrich Drepper <drepper@gmail.com>
17145
17146 [BZ #13583]
17147 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17148 Clean up HAS_* macros.
afc5ed09 17149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17150 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17151 possible.
17152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17153 HAS_AVX.
17154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17155 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17156 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17159
bdb6de1d
JM
171602012-01-25 Joseph Myers <joseph@codesourcery.com>
17161
17162 * elf/tst-unique3.cc (gets): Remove declaration.
17163 * elf/tst-unique3lib.cc (gets): Likewise.
17164 * elf/tst-unique3lib2.cc (gets): Likewise.
17165 * elf/tst-unique4.cc (gets): Likewise.
17166
b15549e6
UD
171672012-01-24 Ulrich Drepper <drepper@gmail.com>
17168
17169 * include/stdio.h: Add C++ protection. Add gets declarations and
17170 definitions.
17171 * debug/tst-chk1.c: Don't declare gets here.
17172 * stdio-common/tst-gets.c: Likewise.
17173
a037381f
JM
171742012-01-24 Joseph Myers <joseph@codesourcery.com>
17175
17176 * posix/glob: Remove directory.
17177
f1d4aa75
JM
171782012-01-24 Joseph Myers <joseph@codesourcery.com>
17179
17180 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17181
81c0c964
PT
171822012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17183
17184 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17185 of the non-standard EPFNOSUPPORT.
17186
0ea698ae
ST
171872011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17188
17189 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17190 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17191 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17192
d220b117
UD
171932012-01-21 Ulrich Drepper <drepper@gmail.com>
17194
17195 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17196
3e1aa84e
UD
171972012-01-20 Ulrich Drepper <drepper@gmail.com>
17198
17199 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17200 transient errors.
17201 * nscd/grpcache.c (cache_addgr): Likewise.
17202 * nscd/hstcache.c (cache_addhst): Likewise.
17203 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17204 * nscd/pwdcache.c (cache_addpw): Likewise.
17205 * nscd/servicescache.c (cache_addserv): Likewise.
17206
400aa020
UD
172072012-01-16 Ulrich Drepper <drepper@gmail.com>
17208
d77e7869
UD
17209 * malloc/malloc.c: Various cleanups.
17210 * malloc/hooks.c: Likewise.
17211
400aa020
UD
17212 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17213 * stdlib/bug-fmtmsg1.c: New file.
17214
17215 * stdlib/fmtmsg.c (init): Add missing unlock.
17216 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17217
e0a309cf
MP
172182012-01-12 Marek Polacek <polacek@redhat.com>
17219
17220 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17221 and _GNU_SOURCE.
17222
929d11c7
WS
172232012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17224
17225 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17226 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17227 macro to ensure uniqueness of label name.
17228 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17229 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17230
41d0e869
UD
172312012-01-11 Ulrich Drepper <drepper@gmail.com>
17232
0cc5ed3b
UD
17233 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17234
41d0e869
UD
17235 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17236 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17237 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17239
a47a831a
UD
172402012-01-10 Ulrich Drepper <drepper@gmail.com>
17241
daa891c0
UD
17242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17243
17244 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17245 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17247
e58ef0f2
UD
17248 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17249
a47a831a 17250 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17251 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17254
17255 * math/bits/math-finite.h: Add ldexp support.
17256
a0bfc9c7
MP
172572012-01-10 Marek Polacek <polacek@redhat.com>
17258
17259 * locale/programs/localedef.h (show_archive_content): Add noreturn
17260 attribute.
17261
d6e97a1d
UD
172622012-01-09 Ulrich Drepper <drepper@gmail.com>
17263
17264 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17265
d5835c26
UD
172662012-01-08 Ulrich Drepper <drepper@gmail.com>
17267
e5f484c6
UD
17268 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17269
d5835c26
UD
17270 * io/Makefile (headers): Add bits/poll2.h.
17271
d1f741e9
WS
172722011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17273
17274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17275 typo #include statement.
17276
ec09c1c4
UD
172772012-01-08 Ulrich Drepper <drepper@gmail.com>
17278
17279 * include/sys/cdefs.h: Define __attribute_alloc_size.
17280 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17281 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17282 * elf/pldd.c: Likewise.
17283 * iconv/iconv_charmap.c: Likewise.
17284 * iconv/iconvconfig.c: Likewise.
17285 * iconv/strtab.c: Likewise.
17286 * locale/programs/locale.c: Likewise.
17287 * locale/programs/localedef.h: Likewise.
17288 * locale/programs/simple-hash.c: Likewise.
17289 * nscd/nscd.h: Likewise.
17290 * nss/makedb.c: Likewise.
17291 * sysdeps/generic/ldconfig.h: Likewise.
17292 * locale/programs/localedef.c: Remove xmalloc prototype.
17293 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17294
20b38e03
PP
172952012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17296
17297 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17298 appropriate.
17299
a0da5fe1
UD
173002012-01-08 Ulrich Drepper <drepper@gmail.com>
17301
1d5a644a 17302 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17303 * math/tst-CMPLX.c: New file.
1d5a644a 17304
8784a6db
UD
17305 * math/complex.h (CMPLXL): Fix typo.
17306
d9a216c0
UD
17307 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17308 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17309 GLIBC_2.16.
17310 * debug/tst-chk1.c: Add poll and ppoll tests.
17311 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17312 * include/sys/poll.h: Add hidden proto for ppoll.
17313 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17314 * sysdeps/mach/hurd/ppoll.c: Likewise.
17315 * io/ppoll.c: Likewise.
17316 * debug/poll_chk.c: New file.
17317 * debug/ppoll_chk.c: New file.
17318 * include/bits/poll2.h: New file.
17319 * io/bits/poll2.h: New file.
17320
ac097f5c
UD
17321 [BZ #1350]
17322 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17323
2119dcfa
UD
17324 * configure.in: static is always set to yes. Remove.
17325 * config.make.in: Don't set build-static.
17326 * Makeconfig: Remove use of build-static.
17327 * dlfcn/Makefile: Likewise.
17328 * elf/Makefile: Likewise.
17329 * math/Makefile: Likewise.
17330 * misc/Makefile: Likewise.
17331 * nptl/Makefile: Likewise.
17332 * sysdeps/mach/hurd/Makefile: Likewise.
17333
121766a9
UD
17334 * configure.in: PWD_P is not used anymore.
17335 * config.make.in: Remove PWD_P entry.
17336
51a1d39c 17337 * configure.in: Remove last remnants of RANLIB.
8720d066 17338 No need to check for signed size_t anymore.
215f4bdc
UD
17339 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17340 and IA-64.
3857022a 17341 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17342 * aclocal.m4: Likewise.
17343
d3ed7225
UD
17344 * wcsmbs/mbrtoc16.c: Implement using towc function.
17345 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17346 * wcsmbs/wcsmbsload.c: Likewise.
17347 * iconv/gconv_simple.c: Likewise.
17348 * iconv/gconv_int.h: Likewise.
17349 * iconv/gconv_builtin.h: Likewise.
17350 * iconv/iconv_prog.c: Remove CHAR16 handling.
17351
17352 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17353
17354 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17355
a0da5fe1
UD
17356 * configure.in: Remove --with-elf and --enable-bounded options.
17357 Dont set base_machine for ia64. More non-ELF conditions removed.
17358 Remove testing and setting of leading underscore information.
17359 * config.make.in (build-bounded): Set to no.
17360 * config.h.in: Remove NO_UNDERSCORES entry.
17361 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17362 them.
17363 * csu/start.c: Remove !NO_UNDERSCORE code.
17364 * locale/localeinfo.h: Likewise.
17365 * sysdeps/generic/machine-gmon.h: Likewise.
17366 * sysdeps/generic/sysdep.h: Likewise.
17367 * sysdeps/i386/sysdep.h: Likewise.
17368 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17369 * sysdeps/mach/sysdep.h: Likewise.
17370 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17371 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17372 * sysdeps/sh/sysdep.h: Likewise.
17373 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17374 * sysdeps/unix/i386/sysdep.S: Likewise.
17375 * sysdeps/unix/sparc/start.c: Likewise.
17376 * sysdeps/unix/sparc/sysdep.S: Likewise.
17377 * sysdeps/unix/sparc/sysdep.h: Likewise.
17378 * sysdeps/unix/start.c: Likewise.
17379 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17380 * sysdeps/x86_64/sysdep.h: Likewise.
17381
df78418a
UD
173822012-01-07 Ulrich Drepper <drepper@gmail.com>
17383
a784e502
UD
17384 [BZ #13553]
17385 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17386 for non-gcc.
17387 * argp/argp-fmtstream.h: Use const instead __const.
17388 * argp/argp.h: Likewise.
17389 * assert/assert.h: Likewise.
17390 * bits/fenv.h: Likewise.
17391 * bits/sched.h: Likewise.
17392 * bits/sigset.h: Likewise.
17393 * bits/sigthread.h: Likewise.
17394 * catgets/nl_types.h: Likewise.
17395 * conform/data/pthread.h-data: Likewise.
17396 * crypt/crypt-private.h: Likewise.
17397 * crypt/crypt.h: Likewise.
17398 * crypt/crypt_util.c: Likewise.
17399 * ctype/ctype.h: Likewise.
17400 * debug/execinfo.h: Likewise.
17401 * debug/mbsnrtowcs_chk.c: Likewise.
17402 * debug/mbsrtowcs_chk.c: Likewise.
17403 * debug/wcsnrtombs_chk.c: Likewise.
17404 * debug/wcsrtombs_chk.c: Likewise.
17405 * debug/wcstombs_chk.c: Likewise.
17406 * dirent/dirent.h: Likewise.
17407 * dlfcn/dlfcn.h: Likewise.
17408 * elf/neededtest4.c: Likewise.
17409 * grp/grp.h: Likewise.
17410 * gshadow/gshadow.h: Likewise.
17411 * iconv/gconv.h: Likewise.
17412 * iconv/gconv_int.h: Likewise.
17413 * iconv/gconv_simple.c: Likewise.
17414 * iconv/iconv.h: Likewise.
17415 * iconv/loop.c: Likewise.
17416 * iconv/skeleton.c: Likewise.
17417 * include/aio.h: Likewise.
17418 * include/aliases.h: Likewise.
17419 * include/argz.h: Likewise.
17420 * include/arpa/inet.h: Likewise.
17421 * include/assert.h: Likewise.
17422 * include/dirent.h: Likewise.
17423 * include/dlfcn.h: Likewise.
17424 * include/execinfo.h: Likewise.
17425 * include/fcntl.h: Likewise.
17426 * include/fenv.h: Likewise.
17427 * include/glob.h: Likewise.
17428 * include/grp.h: Likewise.
17429 * include/libintl.h: Likewise.
17430 * include/mntent.h: Likewise.
17431 * include/netdb.h: Likewise.
17432 * include/pwd.h: Likewise.
17433 * include/rpc/netdb.h: Likewise.
17434 * include/sched.h: Likewise.
17435 * include/search.h: Likewise.
17436 * include/shadow.h: Likewise.
17437 * include/signal.h: Likewise.
17438 * include/stdio.h: Likewise.
17439 * include/stdlib.h: Likewise.
17440 * include/string.h: Likewise.
17441 * include/sys/socket.h: Likewise.
17442 * include/sys/stat.h: Likewise.
17443 * include/sys/statfs.h: Likewise.
17444 * include/sys/statvfs.h: Likewise.
17445 * include/sys/syslog.h: Likewise.
17446 * include/sys/time.h: Likewise.
17447 * include/sys/uio.h: Likewise.
17448 * include/time.h: Likewise.
17449 * include/unistd.h: Likewise.
17450 * include/utmp.h: Likewise.
17451 * include/wchar.h: Likewise.
17452 * include/wctype.h: Likewise.
17453 * inet/aliases.h: Likewise.
17454 * inet/arpa/inet.h: Likewise.
17455 * inet/netinet/ether.h: Likewise.
17456 * inet/netinet/in.h: Likewise.
17457 * intl/libintl.h: Likewise.
17458 * io/bits/fcntl2.h: Likewise.
17459 * io/fcntl.h: Likewise.
17460 * io/ftw.h: Likewise.
17461 * io/sys/poll.h: Likewise.
17462 * io/sys/stat.h: Likewise.
17463 * io/sys/statfs.h: Likewise.
17464 * io/sys/statvfs.h: Likewise.
17465 * io/utime.h: Likewise.
17466 * libio/bits/stdio.h: Likewise.
17467 * libio/bits/stdio2.h: Likewise.
17468 * libio/libio.h: Likewise.
17469 * libio/libioP.h: Likewise.
17470 * libio/stdio.h: Likewise.
17471 * locale/lc-ctype.c: Likewise.
17472 * locale/locale.h: Likewise.
17473 * login/utmp.h: Likewise.
17474 * malloc/arena.c: Likewise.
17475 * malloc/malloc.c: Likewise.
17476 * malloc/malloc.h: Likewise.
17477 * malloc/mcheck.c: Likewise.
17478 * malloc/mtrace.c: Likewise.
17479 * math/bits/mathcalls.h: Likewise.
17480 * math/fenv.h: Likewise.
17481 * math/math_private.h: Likewise.
17482 * misc/bits/error.h: Likewise.
17483 * misc/bits/syslog.h: Likewise.
17484 * misc/err.h: Likewise.
17485 * misc/error.h: Likewise.
17486 * misc/fstab.h: Likewise.
17487 * misc/mntent.h: Likewise.
17488 * misc/regexp.h: Likewise.
17489 * misc/search.h: Likewise.
17490 * misc/sgtty.h: Likewise.
17491 * misc/sys/mman.h: Likewise.
17492 * misc/sys/syslog.h: Likewise.
17493 * misc/sys/uio.h: Likewise.
17494 * misc/sys/xattr.h: Likewise.
17495 * misc/ttyent.h: Likewise.
17496 * nis/rpcsvc/ypclnt.h: Likewise.
17497 * nss/nss.h: Likewise.
17498 * posix/bits/unistd.h: Likewise.
17499 * posix/fnmatch.h: Likewise.
17500 * posix/glob.h: Likewise.
17501 * posix/sched.h: Likewise.
17502 * posix/spawn.h: Likewise.
17503 * posix/sys/wait.h: Likewise.
17504 * posix/unistd.h: Likewise.
17505 * posix/wordexp.h: Likewise.
17506 * pwd/pwd.h: Likewise.
17507 * resolv/netdb.h: Likewise.
17508 * resource/sys/resource.h: Likewise.
17509 * rt/aio.h: Likewise.
17510 * rt/bits/mqueue2.h: Likewise.
17511 * rt/mqueue.h: Likewise.
17512 * shadow/shadow.h: Likewise.
17513 * signal/signal.h: Likewise.
17514 * socket/send.c: Likewise.
17515 * socket/sendto.c: Likewise.
17516 * socket/sys/socket.h: Likewise.
17517 * stdio-common/printf.h: Likewise.
17518 * stdlib/bits/stdlib.h: Likewise.
17519 * stdlib/fmtmsg.h: Likewise.
17520 * stdlib/monetary.h: Likewise.
17521 * stdlib/stdlib.h: Likewise.
17522 * stdlib/ucontext.h: Likewise.
17523 * streams/stropts.h: Likewise.
17524 * string/argz.h: Likewise.
17525 * string/bits/string2.h: Likewise.
17526 * string/string.h: Likewise.
17527 * string/strings.h: Likewise.
17528 * sunrpc/rpc/auth.h: Likewise.
17529 * sunrpc/rpc/auth_des.h: Likewise.
17530 * sunrpc/rpc/clnt.h: Likewise.
17531 * sunrpc/rpc/netdb.h: Likewise.
17532 * sunrpc/rpc/pmap_clnt.h: Likewise.
17533 * sunrpc/rpc/xdr.h: Likewise.
17534 * sysdeps/generic/inttypes.h: Likewise.
17535 * sysdeps/generic/net/if.h: Likewise.
17536 * sysdeps/generic/sys/swap.h: Likewise.
17537 * sysdeps/gnu/net/if.h: Likewise.
17538 * sysdeps/gnu/utmpx.h: Likewise.
17539 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17540 * sysdeps/i386/i486/bits/string.h: Likewise.
17541 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17542 * sysdeps/s390/bits/string.h: Likewise.
17543 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17544 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17545 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17546 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17547 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17548 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17549 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17550 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17551 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17552 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17553 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17554 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17555 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17556 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17557 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17558 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17559 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17561 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17562 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17564 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17565 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17566 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17567 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17568 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17569 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17571 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17573 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17574 * sysvipc/sys/ipc.h: Likewise.
17575 * sysvipc/sys/msg.h: Likewise.
17576 * sysvipc/sys/sem.h: Likewise.
17577 * sysvipc/sys/shm.h: Likewise.
17578 * termios/termios.h: Likewise.
17579 * time/sys/time.h: Likewise.
17580 * time/time.h: Likewise.
17581 * wcsmbs/bits/wchar2.h: Likewise.
17582 * wcsmbs/uchar.h: Likewise.
17583 * wcsmbs/wchar.h: Likewise.
17584 * wctype/wctype.h: Likewise.
17585
0269750c
UD
17586 [BZ #13551]
17587 * Makeconfig: Remove all but ELF support including AIX support.
17588 * Makerules: Likewise.
17589 * config.h.in: Likewise.
17590 * config.make.in: Likewise.
17591 * configure: Likewise.
17592 * configure.in: Likewise.
17593 * csu/Makefile: Likewise.
17594 * csu/version.c: Likewise.
17595 * debug/Makefile: Likewise.
17596 * dlfcn/Makefile: Likewise.
17597 * elf/Makefile: Likewise.
17598 * extra-lib.mk: Likewise.
17599 * iconv/Makefile: Likewise.
17600 * include/libc-symbols.h: Likewise.
17601 * include/shlib-compat.h: Likewise.
17602 * resolv/Makefile: Likewise.
17603 * resolv/res_libc.c: Likewise.
17604 * rt/Makefile: Likewise.
17605 * sysdeps/i386/asm-syntax.h: Likewise.
17606 * sysdeps/i386/sysdep.h: Likewise.
17607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17608 * sysdeps/mach/sysdep.h: Likewise.
17609 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17610 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17611 * sysdeps/s390/asm-syntax.h: Likewise.
17612 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17614 * sysdeps/sh/sysdep.h: Likewise.
17615 * sysdeps/unix/sparc/sysdep.h: Likewise.
17616 * sysdeps/wordsize-32/divdi3.c: Likewise.
17617 * sysdeps/x86_64/sysdep.h: Likewise.
17618
00bbd29b
UD
17619 * argp/Versions: Remove _argp_unlock_xxx.
17620
17621 [BZ #13559]
17622 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17623 * abilist/libBrokenLocale.abilist: Likewise.
17624 * abilist/libanl.abilist: Likewise.
17625 * abilist/libc.abilist: Likewise.
17626 * abilist/libcrypt.abilist: Likewise.
17627 * abilist/libdl.abilist: Likewise.
17628 * abilist/libm.abilist: Likewise.
17629 * abilist/libnsl.abilist: Likewise.
17630 * abilist/libpthread.abilist: Likewise.
17631 * abilist/libresolv.abilist: Likewise.
17632 * abilist/librt.abilist: Likewise.
17633 * abilist/libthread_db.abilist: Likewise.
17634 * abilist/libutil.abilist: Likewise.
17635 * abilist/libnss_db.abilist: New file.
17636
17637 * scripts/abilist.awk: Add support for indirect functions.
17638
a2693a0e
UD
17639 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17640
3f05895f
UD
17641 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17642
ecb6fb48
UD
17643 * shlib-versions: Remove entries for ports architectures.
17644
664f8cb9
UD
17645 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17646 files in ports.
17647 * elf/stackguard-macros.h: Remove support for IA-64.
17648 * elf/tst-auditmod1.c: Likewise.
17649 * sysdeps/generic/ldsodefs.h: Likewise.
17650
7ae81d88
UD
17651 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17652 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17653 configure files.
17654
bdeba135
UD
17655 [BZ #13552]
17656 * configure.in: Remove --enable-omitfp support.
17657 * FAQ.in: Adjust.
17658 * config.make.in: Likewise.
17659 * Makeconfig: Likewise.
17660 * manual/install.texi: Likewise.
17661
d75a0a62
UD
17662 In case anyone cares, the IA-64 architecture could move to ports.
17663 * sysdeps/ia64/*: Removed.
17664 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17665 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17666
dcc9756b
UD
17667 [BZ #13555]
17668 * configure.in: Remove entries for unsupported architectures.
17669
d3761ebc 17670 [BZ #13533]
9954432e
UD
17671 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17672 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17673 routines.
17674 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17675 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17676 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17677 fall back to using wcrtomb.
17678 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17679 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17680 renaming.
17681 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17682 * wcsmbs/tst-c16c32-1.c: New file.
17683
17684 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17685 local variable.
17686
c3a87236
UD
17687 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17688
28926a1b
UD
17689 * elf/tst-unique3.cc: Add explicit declaration of gets.
17690 * elf/tst-unique3lib.cc: Likewise.
17691 * elf/tst-unique3lib2.cc: Likewise.
17692 * elf/tst-unique4.cc: Likewise.
17693
df78418a
UD
17694 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17695
8ecd6b2a
JM
176962012-01-06 Joseph Myers <joseph@codesourcery.com>
17697
17698 [BZ #13566]
17699 * assert/assert.h (static_assert): Don't define for C++.
17700 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17701 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17702
9f115170
UD
177032012-01-03 Ulrich Drepper <drepper@gmail.com>
17704
5e0d0300
UD
17705 * iconv/loop.c (single loop): Fix assertion in storing of
17706 remaining bytes.
17707
9f115170
UD
17708 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17709
81fb02b0
UD
177102012-01-01 Ulrich Drepper <drepper@gmail.com>
17711
17712 * posix/getconf.c: Update copyright year.
17713 * nss/getent.c: Likewise.
a316c1f6 17714 * nss/makedb.c: Likewise.
81fb02b0
UD
17715 * iconv/iconvconfig.c: Likewise.
17716 * iconv/iconv_prog.c: Likewise.
17717 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17718 * elf/pldd.c: Likewise.
17719 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17720 * catgets/gencat.c: Likewise.
17721 * csu/version.c: Likewise.
17722 * elf/ldd.bash.in: Likewise.
17723 * elf/sprof.c (print_version): Likewise.
17724 * locale/programs/locale.c: Likewise.
17725 * locale/programs/localedef.c: Likewise.
a316c1f6 17726 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17727 * nscd/nscd.c (print_version): Likewise.
17728 * debug/xtrace.sh: Likewise.
17729 * malloc/memusage.sh: Likewise.
17730 * malloc/mtrace.pl: Likewise.
17731 * debug/catchsegv.sh: Likewise.
17732
2ba92745
JJ
177332011-12-30 Jakub Jelinek <jakub@redhat.com>
17734
17735 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17736 pure attribute.
17737
dadebdae
UD
177382011-12-24 Ulrich Drepper <drepper@gmail.com>
17739
d3761ebc 17740 [BZ #13533]
db6af3eb
UD
17741 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17742 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17743 transformations.
17744 * iconv/gconv_int.h: Likewise.
17745 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17746 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17747 from libc for GLIBC_2.16.
17748 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17749 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17750 * wcsmbs/uchar.h: Really define mbstate_t.
17751 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17752 * wcsmbs/c16rtomb.c: New file.
17753 * wcsmbs/mbrtoc16.c: New file.
17754 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17755 for C/POSIX locale.
17756 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17757 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17758
dadebdae
UD
17759 * wcsmbs/wchar.h: Add missing __restrict.
17760
67371b56
UD
177612011-12-23 Ulrich Drepper <drepper@gmail.com>
17762
74033a25
UD
17763 [BZ #13532]
17764 * time/Makefile (routines): Add timespec_get.
17765 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17766 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17767 timespec for ISO C11.
17768 * time/timespec_get.c: New file.
17769 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17770 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17771
380d7e87
UD
17772 [BZ #13531]
17773 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17774 * stdlib/stdlib.h: Declare aligned_alloc.
17775 * Versions.def: Add GLIBC_2.16 for libc.
17776 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17777
4e9e7a35
UD
17778 [BZ 13527]
17779 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17780 ISO C11.
17781
380d7e87 17782 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17783 code.
17784
03a71829
UD
17785 [BZ #13528]
17786 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17787
839e283e
UD
17788 [BZ #13529]
17789 * assert/assert.h (static_assert): Define.
17790
ce5294e2 17791 * version.h: Update for 2.16 development version.
90fa7312 17792
8d44e150 17793 [BZ #13526]
d7809905
UD
17794 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17795 _ISOC11_SOURCE.
17796
c0da14cd
UD
17797 * version.h (RELEASE): Bump for 2.15 release.
17798 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17799
530a3249
MP
17800 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17801 Patch by Marek Polacek <mpolacek@redhat.com>.
17802
67371b56
UD
17803 * bits/byteswap.h: Protect long long constants with __extension__.
17804 * sysdeps/i386/bits/byteswap.h: Likewise.
17805 * sysdeps/ia64/bits/byteswap.h: Likewise.
17806 * sysdeps/s390/bits/byteswap.h: Likewise.
17807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17808
15db4de1
LD
178092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17810
17811 [BZ #13540]
bbe315ea
LD
17812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17813 destination buffer.
15db4de1
LD
17814 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17815
2b2596b1
MP
178162011-12-23 Marek Polacek <polacek@redhat.com>
17817
17818 * elf/dl-addr.c (determine_info): Add inline keyword.
17819 * elf/tst-auditmod4b.c (check_avx): Likewise.
17820 * elf/tst-auditmod6b.c (check_avx): Likewise.
17821 * elf/tst-auditmod6c.c (check_avx): Likewise.
17822 * elf/tst-auditmod7b.c (check_avx): Likewise.
17823
70c6c246
UD
178242011-12-23 Ulrich Drepper <drepper@gmail.com>
17825
17826 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17827 !__SSE_MATH__.
17828
c044cf14
LD
178292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17830
15db4de1 17831 [BZ #13540]
c044cf14
LD
17832 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17833 processing for last bytes.
17834
6b13d9d9
BH
178352011-08-06 Bruno Haible <bruno@clisp.org>
17836
d455f537
BH
17837 [BZ #13061]
17838 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17839 U+0385, not to U+1FEE.
17840
6b13d9d9
BH
17841 [BZ #13062]
17842 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17843 entry for U+00A5 U+0301.
17844
db910efd
UD
178452011-12-22 Ulrich Drepper <drepper@gmail.com>
17846
27deeafc
UD
17847 [BZ #13166]
17848 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17849 buffer for the output is too small.
17850
aed9d171
UD
17851 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17852 optimization.
17853
db910efd
UD
17854 [BZ #13185]
17855 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17856 SSE flags if possible.
17857
2bd779ae
LD
178582011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17859
e7f9dac3 17860 [BZ #13540]
2bd779ae
LD
17861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17862 processing for last bytes.
17863
154bfc16
JM
178642011-12-22 Joseph Myers <joseph@codesourcery.com>
17865
17866 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17867 (syscall-list-default-options, syscall-list-default-condition)
17868 (syscall-list-includes): Define.
17869 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17870 list of ABIs and options and #if conditions for each ABI. Do not
17871 handle common syscalls between ABIs specially.
17872 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17873 Remove.
17874 (syscall-list-variants, syscall-list-32bit-options)
17875 (syscall-list-32bit-condition, syscall-list-64bit-options)
17876 (syscall-list-64bit-condition): Define.
17877 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17878 (syscall-list-variants, syscall-list-32bit-options)
17879 (syscall-list-32bit-condition, syscall-list-64bit-options)
17880 (syscall-list-64bit-condition): Define.
17881 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17882 Remove.
17883 (syscall-list-variants, syscall-list-32bit-options)
17884 (syscall-list-32bit-condition, syscall-list-64bit-options)
17885 (syscall-list-64bit-condition): Define.
17886 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17887 Remove.
17888 (syscall-list-variants, syscall-list-32bit-options)
17889 (syscall-list-32bit-condition, syscall-list-64bit-options)
17890 (syscall-list-64bit-condition): Define.
17891
21eaf3a5
UD
178922011-12-22 Ulrich Drepper <drepper@gmail.com>
17893
16c6f992
UD
17894 * locale/iso-639.def: Add brx entry.
17895
41043168
UD
17896 [BZ #13328]
17897 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17898 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17899
21eaf3a5
UD
17900 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17901 __feraiseexcept_renamed.
17902
e3a851a2
UD
179032011-12-21 Ulrich Drepper <drepper@gmail.com>
17904
4920765e
UD
17905 [BZ #13538]
17906 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17907 EPOLLET with unsigned values.
17908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17909 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17910
e3a851a2
UD
17911 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17912 to large cancellation.
17913 * math/s_cacoshf.c: Likewise.
17914 * math/s_cacoshl.c: Likewise.
17915
b27e24b8
RK
179162011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17917
17918 [BZ #13305]
aebefeee 17919 [BZ #12786]
b27e24b8
RK
17920 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17921 * math/s_cacoshf.c: Likewise.
17922 * math/s_cacoshl.c: Likewise.
17923
ee190f67
UD
179242011-12-21 Ulrich Drepper <drepper@gmail.com>
17925
17926 [BZ #13439]
17927 * iconv/gconv.h: Define __GCONV_SWAP.
17928 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17929 * iconvdata/utf-16.c: Likewise.
17930 * iconvdata/utf-32.c: Likewise.
17931
707f25df
AS
179322011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17933
17934 [BZ #13524]
17935 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17936 numerator after shifting it by one limb.
17937
d2daaa1e
RÁE
179382011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17939
17940 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17941 under [__USE_EXTERN_INLINES].
17942
a4647e72
UD
179432011-12-17 Ulrich Drepper <drepper@gmail.com>
17944
17945 [BZ #13446]
17946 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17947
f0b264f1
AZ
179482011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17949
17950 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17951 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17952 optimized code.
17953 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17955 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17956 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17957 for strncasecmp/strncasecmp_l compilation.
17958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17959 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17960
8ef4f244
MP
179612011-12-08 Marek Polacek <mpolacek@redhat.com>
17962
17963 [BZ #13484]
17964 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17965 of __asm__.
17966
97ac2654
UD
179672011-12-17 Ulrich Drepper <drepper@gmail.com>
17968
17969 [BZ #13506]
17970 * time/tzfile.c (__tzfile_read): Check values from file header.
17971
91d2a845
WS
179722011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17973
17974 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17975 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17976 * powerpc/powerpc32/dl-start.S: Likewise.
17977 * powerpc/powerpc32/elf/start.S: Likewise.
17978 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17979 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17980 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17981 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17982 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17983 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17984 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17985 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17986 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17987 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17988 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17989 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17990 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17991 * powerpc/powerpc32/memset.S: Likewise.
17992 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17993 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17994 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17995 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17996 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17997 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17998 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17999 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18000 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18001 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18002 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18003 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18004 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18005
a1267ba1
AZ
180062011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18007
18008 * math/libm-test.inc: Added more nearbyint tests.
18009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18011 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18013
ad8ac1bd
RL
180142011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18015
18016 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18017 FD_CLOEXEC.
18018
1d3e4b61
UD
180192011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18020
18021 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18022 Add wcscpy-ssse3 wcscpy-c.
18023 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18024 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18025 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18026 * sysdeps/x86_64/wcschr.S: New file.
18027 * sysdeps/x86_64/wcsrchr.S: New file.
18028 * string/test-strcmp.c: Remove checking of wcscmp function for
18029 wrong alignments.
18030 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18031 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18032 wcsrchr-sse2 wcsrchr-c.
18033 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18034 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18035 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18036 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18037 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18038 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18039 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18040 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18041 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18042 * wcsmbc/wcschr.c (WCSCHR): New macro.
18043
5b330a2d
UD
180442011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18045
18046 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18047 * wcsmbs/test-wcsrchr.c: New file.
18048 * string/test-strrchr.c: Add wcsrchr support.
18049 (WIDE): New macro.
18050 * wcsmbs/test-wcscpy.c: New file.
18051 * string/test-strcpy.c: Add wcscpy support.
18052 (WIDE): New macro.
26428b7c 18053
f039c043
UD
180542011-12-10 Ulrich Drepper <drepper@gmail.com>
18055
18056 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18057 the inner loop.
18058
850fb039
AS
180592011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18060
18061 [BZ #13472]
18062 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18063
4efbd5cb
UD
180642011-12-04 Ulrich Drepper <drepper@gmail.com>
18065
52ff5dd0 18066 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18067 Minor optimizations.
52ff5dd0 18068
4efbd5cb
UD
18069 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18070 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18071 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18072
8a426e12
UD
180732011-12-03 Ulrich Drepper <drepper@gmail.com>
18074
aff2453d
UD
18075 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18076 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18077 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18078 for gcc to avoid warnings.
18079 * inet/Makefile (tests): Add tst-checks.
18080 * inet/tst-checks.c: New file.
18081
18082 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18083 warning.
18084
18085 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18086 __wmemcmp_sse2.
18087
18088 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18089 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18090
8a426e12
UD
18091 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18092
9bea3473
UD
180932011-12-02 Ulrich Drepper <drepper@gmail.com>
18094
3a965496
UD
18095 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18096 problem.
18097
9bea3473
UD
18098 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18099
f101631b
UD
181002011-11-29 Joseph Myers <joseph@codesourcery.com>
18101
18102 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18103 conditional on GCC version.
18104 (__arch_compare_and_exchange_val_8_acq)
18105 (__arch_compare_and_exchange_val_16_acq)
18106 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18107 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18108 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18109
a98275aa
UD
181102011-12-02 Joseph Myers <joseph@codesourcery.com>
18111
18112 * sysdeps/sh/backtrace.c: New file.
18113
d4cc29a2
AS
181142011-12-02 Andreas Schwab <schwab@redhat.com>
18115
18116 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18117 parenthesis.
18118
6257af2d
AS
181192011-12-01 Andreas Schwab <schwab@redhat.com>
18120
18121 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18122 falling back to utime.
18123
b5f44c1a
AS
181242011-11-30 Andreas Schwab <schwab@redhat.com>
18125
18126 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18127 expectations for float.
18128
f3a6cc0a
AS
181292011-11-29 Andreas Schwab <schwab@redhat.com>
18130
18131 * locale/weight.h (findidx): Add parameter len.
18132 * locale/weightwc.h (findidx): Likewise.
18133 * posix/fnmatch_loop.c (FCT): Adjust caller.
18134 * posix/regcomp.c (build_equiv_class): Likewise.
18135 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18136 * posix/regexec.c (check_node_accept_bytes): Likewise.
18137 * string/strcoll_l.c (STRCOLL): Likewise.
18138 * string/strxfrm_l.c (STRXFRM): Likewise.
18139
9d65ea3a
UD
181402011-11-17 Ulrich Drepper <drepper@gmail.com>
18141
18142 * Makefile.in: Remove CVSOPT handling.
18143 * configure.in: Remove use of AC_REVISION.
18144 * iconvdata/Makefile (distribute): No need to filter out CVS.
18145 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18146 handling.
18147
5583a086
AS
181482011-11-16 Andreas Schwab <schwab@redhat.com>
18149
18150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18151 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18152 [USE_AS_STRNCASECMP_L]: Likewise.
18153 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18154 NO_TLS_DIRECT_SEG_REFS.
18155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18156 Fix argument offsets for non-PIC.
18157 [USE_AS_STRNCASECMP_L]: Likewise.
18158 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18159 NO_TLS_DIRECT_SEG_REFS.
18160
d62a8200
UD
181612011-11-15 Ulrich Drepper <drepper@gmail.com>
18162
9d65ea3a 18163 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18164 O_CLOEXEC.
18165 * locale/loadlocale.c (_nl_load_locale): Likewise.
18166
09f93bd3
AS
181672011-11-15 Andreas Schwab <schwab@redhat.com>
18168
446514f9
AS
18169 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18170 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18171 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18172 (SYSCALL_GETTIME): Set errno on error.
18173
09f93bd3
AS
18174 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18175 count references to noai6ai_cached.
18176
312be3f9
UD
181772011-11-15 Ulrich Drepper <drepper@gmail.com>
18178
18179 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18180
18181 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18182 FD_CLOEXEC for /proc/self/maps.
18183
18184 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18185 FD_CLOEXEC for /proc/meminfo.
18186
18187 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18188 gai.conf.
18189
18190 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18191 FD_CLOEXEC for given file.
18192
18193 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18194
18195 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18196 FD_CLOEXEC for /etc/hosts.
18197 (_gethtent): Likewise.
18198
18199 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18200
18201 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18202 cancellation and set FD_CLOEXEC for /etc/netgroup.
18203
18204 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18205 reading /etc/publickey.
18206
18207 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18208 allow cancellation when reading /etc/group.
18209
18210 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18211 cancellation.
18212 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18213
18214 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18215 when using data file.
18216
18217 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18218
18219 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18220 (write_nis_obj): Use "c" and "e" in fopen.
18221
18222 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18223
18224 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18225
18226 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18227
18228 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18229
18230 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18231 locale.alias.
18232
18233 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18234
18235 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18236
18237 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18238
18239 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18240 file parsing and set FD_CLOEXEC.
18241
82af0fa8
UD
182422011-11-14 Ulrich Drepper <drepper@gmail.com>
18243
18244 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18245
a5fb313c
AS
182462011-11-14 Andreas Schwab <schwab@redhat.com>
18247
18248 * malloc/arena.c (arena_get2): Don't call reused_arena when
18249 _int_new_arena failed.
18250
6abf3465
UD
182512011-11-14 Ulrich Drepper <drepper@gmail.com>
18252
18253 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18254 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18255 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18256 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18257 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18258 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18259 to compile strcasecmp and strncasecmp.
18260 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18261 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18262
18263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18264
76e3966e
UD
182652011-11-13 Ulrich Drepper <drepper@gmail.com>
18266
18267 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18268 locale-defines.sym to gen-as-const-headers.
18269 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18270 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18272 to compile strcasecmp and strncasecmp.
18273 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18274 strcasecmp_l and strncasecmp_l.
18275 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18276 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18277 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18278 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18279 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18280 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18281 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18282 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18283 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18284 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18285 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18286
ab26144e
UD
182872011-11-12 Ulrich Drepper <drepper@gmail.com>
18288
7edb22ef
UD
18289 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18290 result of SYSDEP_GETTIME_CPU to retval.
18291 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18292 parameter list to macro. Remove trailing semicolon. Adjust users.
18293
9694fc44
UD
18294 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18295 variable.
18296
8ad89ef8
UD
18297 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18298 mantissa words.
18299 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18300
0c822ef9
UD
18301 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18302 from unused variable.
18303
874e0564
UD
18304 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18305 DWARF definitions.
18306 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18307 for assembling.
18308
3a2edc79
UD
18309 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18310 over namespaces.
18311
f3c2577f
UD
18312 * sunrpc/rpc_prot.c (rejected): Fix case value.
18313
294ce126
UD
18314 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18315 unsigned long long int to avoid warnings in shift.
18316
5e2b63c6
UD
18317 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18318 of use of trans.
18319 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18320 variable tmp.
18321
e7f4b08e
UD
18322 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18323 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18324 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18325
ab26144e
UD
18326 * nis/nis_table.c (nis_list): Use variable of correct type for
18327 result of __follow_path call.
18328
8a6d5255
AZ
183292011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18330
18331 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18332 of math functions ceil, trunc, floor, round, and sqrt, when
18333 avaliable on the platform.
18334 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18335 name clash.
18336 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18337 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18338 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18339
aaddc98c
MP
183402011-10-30 Marek Polacek <mpolacek@redhat.com>
18341
18342 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18344
95b7042b
RM
183452011-11-11 Roland McGrath <roland@hack.frob.com>
18346
18347 * include/unistd.h: Fix __readlink return type.
18348 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18349
57769839
UD
183502011-11-11 Ulrich Drepper <drepper@gmail.com>
18351
18352 * stdlib/ucontext.h: Undo last change for makecontext.
18353
edc5984d
AS
183542011-11-11 Andreas Schwab <schwab@redhat.com>
18355
98591e58
AS
18356 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18357
edc5984d
AS
18358 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18359 * setjmp/setjmp.h: Mark functions as non-leaf.
18360 * setjmp/bits/setjmp2.h: Likewise.
18361 * stdlib/ucontext.h: Likewise.
18362
77cdc054
AS
183632011-11-10 Andreas Schwab <schwab@redhat.com>
18364
18365 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18366 (reused_arena): Don't check arena limit.
18367 (arena_get2): Atomically check arena limit.
18368
fe72eebd
UD
183692011-11-08 Ulrich Drepper <drepper@gmail.com>
18370
5f078c32
UD
18371 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18372 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18373
fe72eebd
UD
18374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18375 instructions.
18376
ae1bc2fa
AS
183772011-11-07 Andreas Schwab <schwab@redhat.com>
18378
7583a88d
AS
18379 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18380 handler when locking.
18381
ae1bc2fa
AS
18382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18383 Fix size of allocated buffer.
18384
10fb0bfa
AS
183852011-11-04 Andreas Schwab <schwab@redhat.com>
18386
998832a4
AS
18387 [BZ #10103]
18388 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18389 declarations for long double functions.
18390 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18391
10fb0bfa
AS
18392 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18393
3d7ba52b
AS
183942011-11-03 Andreas Schwab <schwab@redhat.com>
18395
a9ae54a1
AS
18396 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18397 installed.
18398
3d7ba52b
AS
18399 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18400 is disabled.
18401
bc8db248
ST
184022011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18403
18404 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18405
45b96dd6
AS
184062011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18407
647776f6
AS
18408 * include/alloca.h (stackinfo_alloca_round): Define.
18409 (extend_alloca): Use it.
18410 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18411 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18412 here.
18413
d91a8b93
AS
18414 * scripts/check-local-headers.sh: Ignore libaudit.h.
18415
45b96dd6
AS
18416 * nscd/Makefile (extra-objs): Make recursively expanded.
18417
432d41ce
UD
184182011-11-01 Ulrich Drepper <drepper@gmail.com>
18419
34372fc6
UD
18420 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18421 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18422
fadb59f8
UD
18423 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18424 * posix/tst-rfc3484-2.c: Likewise.
18425 * posix/tst-rfc3484-3.c: Likewise.
18426
78239589
UD
18427 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18428 process_vm_writev.
18429 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18430 process_vm_writev.
18431 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18432 process_vm_writev from libc using GLIBC_2.15 version.
18433
432d41ce
UD
18434 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18435
02f9c6cf
PP
184362011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18437
18438 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18439 stack usage.
18440
3a2c0242
UD
184412011-10-31 Ulrich Drepper <drepper@gmail.com>
18442
f4ec4833
UD
18443 [BZ #13367]
18444 * nss/getent.c (initgroups_keys): Show error message in case no group
18445 names are given.
18446
3a2c0242
UD
18447 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18448 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18449 __bump_nl_timestamp.
18450 * nscd/connections (nscd_init): When host database is served open
18451 netlink socket and request notification about configuration changes.
18452 (main_loop_poll): Track netlink file descriptor and bump timestamp
18453 in case data becomes available.
18454 (main_loop_epoll): Likewise.
18455 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18456 (database_pers_head): Add extra_data fileds.
18457 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18458 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18459 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18460 Adjust caller.
18461 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18462 in6ai data, call __free_in6ai.
18463 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18464 Add -DHAVE_NETLINK.
18465 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18466 interface information. Reuse previous data if netlink timestamp
18467 is not changed.
18468 (__bump_nl_timestamp): New function.
18469 (__free_in6ai): New function.
18470
636064eb
UD
184712011-10-30 Ulrich Drepper <drepper@gmail.com>
18472
18473 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18474 close_not_cancel_no_status here.
18475 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18476
9beb2334
UD
184772011-10-29 Ulrich Drepper <drepper@gmail.com>
18478
6ef76f3b
UD
18479 [BZ #13276]
18480 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18481 return value.
18482
0ffc4f3e 18483 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18484 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18485 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18486
cb95113e
UD
184872011-07-03 Andreas Jaeger <aj@suse.de>
18488
18489 [BZ #10709]
18490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18491 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18492 * math/libm-test.inc (sin_test): Add test case.
18493
a1b560ff
UD
184942011-10-29 Ulrich Drepper <drepper@gmail.com>
18495
c9aaface
UD
18496 [BZ #13337]
18497 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18498 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18499
d272e7f1
UD
18500 * elf/chroot_canon.c (chroot_canon): Cleanups.
18501
1bc33071
UD
18502 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18503
1760874d
TJ
18504 [BZ #13335]
18505 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18506 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18507
51d91b18
UD
18508 * string/test-strchr.c: Make usable for strchrnul testing.
18509 * string/test-strchrnul.c: New file.
18510 * string/Makefile (strop-tests): Add strchrnul.
18511
a1b560ff 18512 * po/it.po: Update from translation team.
b611fb81 18513 * po/es.po: Likewise.
a1b560ff 18514
a5b81e1f
UD
185152011-10-28 Ulrich Drepper <drepper@gmail.com>
18516
fd52bc6d
UD
18517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18518 the three constants needed as parameters. Drop the others.
18519 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18520 __m128i_strloadu_tolower.
52e4b9eb
UD
18521 Create and initialize variable zero and use it in all the places
18522 where _mm_setzero_si128 was used.
fd52bc6d 18523
a5b81e1f
UD
18524 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18525 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18526 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18527 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18528 anymore.
18529 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18530 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18531 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18532 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18533 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18534 __mpranred, __mptan.
18535 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18536 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18537 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18538 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18539 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18540 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18541 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18542 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18543 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18544
b4343346
AS
185452011-10-28 Andreas Schwab <schwab@redhat.com>
18546
0c92d8a8
AS
18547 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18548 redefine if SHARED.
18549 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18550
b4343346
AS
18551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18552 wide char related routines to wcsmbs subdir.
18553
3871f58f
AS
185542011-10-27 Andreas Schwab <schwab@redhat.com>
18555
18556 [BZ #13344]
18557 * misc/sys/cdefs.h (__THROWNL): Define.
18558 * posix/unistd.h: Use __THREADNL instead of __THREAD
18559 for memory synchronization functions.
18560
94d44d9f
RM
185612011-10-26 Roland McGrath <roland@hack.frob.com>
18562
21b64b15 18563 [BZ #13349]
94d44d9f
RM
18564 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18565 doesn't exist.
18566 * manual/stdio.texi (Obstack Streams): Node removed.
18567
f6ce9294
AS
185682011-10-26 Andreas Schwab <schwab@redhat.com>
18569
80479147
AS
18570 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18571 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18573
f6ce9294
AS
18574 * math/math_private.h (math_force_eval): Allow non-addressable
18575 arguments.
18576 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18577
618280a1
UD
185782011-10-25 Ulrich Drepper <drepper@gmail.com>
18579
e0016b11
UD
18580 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18581 file is not needed.
18582
18583 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18585 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18586 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18589 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18590 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18591 Add AVX variants.
18592 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18593 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18594 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18595 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18596 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18597 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18598 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18599 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18600 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18601 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18602 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18603 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18605 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18606 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18607 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18608 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18609 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18610 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18611
18612 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18613 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18614
618280a1
UD
18615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18616 place. Use VEX encoding when compiling for AVX.
18617
37822576
AS
186182011-10-25 Andreas Schwab <schwab@redhat.com>
18619
1f1e1947
AS
18620 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18621 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18622
37822576
AS
18623 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18624
31ea014d
UD
186252011-10-25 Ulrich Drepper <drepper@gmail.com>
18626
d7826aa1 18627 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18628 useless if() expression.
d7826aa1
UD
18629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18630 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18635 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18637 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18640 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18642 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18645 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18647 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18648
31ea014d
UD
18649 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18650
16437fec
AS
186512011-10-25 Andreas Schwab <schwab@redhat.com>
18652
18653 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18654 condition.
18655 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18656
31d3cc00
UD
186572011-10-25 Ulrich Drepper <drepper@gmail.com>
18658
18659 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18660 .text section. Avoid duplicate constants.
18661 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18669 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18670 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18671 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18672 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18673 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18674 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18675 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18676 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18677 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18678 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18681 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18682 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18683 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18684 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18685 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18686 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18687 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18689 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18690 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18691 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18693 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18694 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18695 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18697 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18699 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18700 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18701 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18702 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18703 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18704 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18705 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18706
58985aa9
UD
187072011-10-24 Ulrich Drepper <drepper@gmail.com>
18708
202c9deb
UD
18709 * sysdeps/x86_64/dla.h: Move to ...
18710 * sysdeps/x86_64/fpu/dla.h: ...here.
18711 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18712 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18713
af968f62
UD
18714 * config.make.in: Add have-mfma4 entry.
18715 * configure.in: Substitute libc_cv_cc_fma4.
18716 * math/Makefile (dbl-only-routines): Add sincostab.
18717 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18718 Use __sincostab not sincos.
18719 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18720 name is a macro.
18721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18725 using __copysign.
18726 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18727 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18728 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18729 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18730 and __inv.
18731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18732 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18733 __copysign.
18734 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18735 define aliases when function name is a macro.
18736 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18737 sysdeps/ieee754/dbl-64/sincos.tbl.
18738 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18739 fma4-enabled routines.
18740 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18741 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18742 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18743 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18744 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18745 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18749 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18750 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18751 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18752 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18753 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18754 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18755 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18756 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18757 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18758 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18760 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18761 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18763 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18766 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18767 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18768 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18769 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18770
58985aa9
UD
18771 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18772 rename.
18773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18781
a201fbcf
AS
187822011-10-24 Andreas Schwab <schwab@redhat.com>
18783
18784 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18785
fc2ee42a
LD
187862011-10-23 Ulrich Drepper <drepper@gmail.com>
18787
bb3129bd
UD
18788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18789
0275fff8
UD
18790 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18791 prediction.
18792 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18793
2fa2ae85
UD
18794 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18795 Remove unused variable magic_bits.
18796 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18797
fc2ee42a
LD
18798 * string/strnlen.c: Define and use STRNLEN macro.
18799 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18800 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18802 * wcsmbs/wcslen.c: Define and use WCSLEN.
18803 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18804 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18805 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18806 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18807 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18808 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18809 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18810
ce7dd29f
LD
188112011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18812
18813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18814 strnlen-sse2-no-bsf.
18815 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18817 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18818 Add strnlen support.
18819 (USE_AS_STRNLEN): New macro.
18820 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18821 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18822 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18823 * sysdeps/x86_64/wcslen.S: New file.
18824
979c70a3
MZ
188252011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18826
18827 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18828 XMM-moves are used for copying on small sizes.
18829
2d09f82f
LD
188302011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18831
18832 * wcsmbs/Makefile (strop-tests): Add wcschr.
18833 * wcsmbs/test-wcschr.c: New file.
18834 * string/test-strchr.c: Update.
18835 Add wcschr support.
18836 (WIDE): New macro.
18837
619fccca
LD
188382011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18839
2d09f82f 18840 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18841 * wcsmbs/test-wcslen.c: New file.
18842 * string/test-strlen.c: Update.
18843 Add wcslen support.
18844 (WIDE): New macro.
18845
09f699ea
UD
188462011-10-23 Ulrich Drepper <drepper@gmail.com>
18847
18848 * po/it.po: Update from translation team.
18849
95584d3b
LD
188502011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18851
18852 * sysdeps/x86_64/wcscmp.S: Update.
18853 Fix wrong comparison semantics.
18854 wcscmp shall use signed comparison not unsigned.
18855 Don't use substraction to avoid overflow bug.
18856 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18857 * wcsmbc/wcscmp.c: Likewise.
18858 * string/test-strcmp.c: Likewise.
18859 Add new tests to check cases with negative values.
18860
c8b3296b
UD
188612011-10-23 Ulrich Drepper <drepper@gmail.com>
18862
18863 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18864 * sysdeps/x86_64/dla.h: ...here. New file.
18865 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18869 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18870 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18872 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18873 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18874
246ad57a
AS
188752011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18876
18877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18878 __ynl_finite aliases.
18879
a1a87169
UD
188802011-10-22 Ulrich Drepper <drepper@gmail.com>
18881
0d355eb7
UD
18882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18883
a1a87169
UD
18884 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18885 define DLA_FMA.
18886 [DLA_FMA] (EMULV): Use DLA_FMA.
18887 [DLA_FMA] (MUL12): Use EMULV.
18888 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18889 that are not needed.
18890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18896 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18897
ee2aafe0
AS
188982011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18899
18900 * math/s_nan.c: Undef __nan.
18901 * math/s_nanf.c: Undef __nanf.
18902 * math/s_nanl.c: Undef __nanl.
18903 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18904 "math_private.h".
18905
bc62c2fb
UD
189062011-10-22 Ulrich Drepper <drepper@gmail.com>
18907
77425c63
UD
18908 * math/s_catan.c: Add branch predictions.
18909 * math/s_catanf.c: Likewise.
18910 * math/s_catanh.c: Likewise.
18911 * math/s_catanhf.c: Likewise.
18912 * math/s_catanhl.c: Likewise.
18913 * math/s_catanl.c: Likewise.
18914 * math/s_cexp.c: Likewise.
18915 * math/s_cexpf.c: Likewise.
18916 * math/s_cexpl.c: Likewise.
18917 * math/s_clog.c: Likewise.
18918 * math/s_clog10.c: Likewise.
18919 * math/s_clog10f.c: Likewise.
18920 * math/s_clog10l.c: Likewise.
18921 * math/s_clogf.c: Likewise.
18922 * math/s_clogl.c: Likewise.
18923 * math/s_csqrt.c: Likewise.
18924 * math/s_csqrtf.c: Likewise.
18925 * math/s_csqrtl.c: Likewise.
18926 * math/s_ctanf.c: Likewise.
18927 * math/s_ctanh.c: Likewise.
18928 * math/s_ctanhf.c: Likewise.
18929 * math/s_ctanhl.c: Likewise.
18930 * math/s_ctanl.c: Likewise.
18931
bc62c2fb
UD
18932 * math/math_private.h: Define __nan, __nanf, __nanl.
18933 * math/s_cacosh.c: Include <math_private.h>.
18934 * math/s_cacoshl.c: Likewise.
18935 * math/s_casinh.c: Likewise.
18936 * math/s_casinhf.c: Likewise.
18937 * math/s_casinhl.c: Likewise.
18938 * math/s_ccos.c: Rely entire on ccosh.
18939 * math/s_ccosf.c: Rely entire on ccoshf.
18940 * math/s_ccosl.c: Rely entirely on ccoshl.
18941 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18942 Remove tests for FE_INVALID.
18943 * math/s_ccoshf.c: Likewise.
18944 * math/s_ccoshl.c: Likewise.
18945 * math/s_csin.c: Likewise.
18946 * math/s_csinf.c: Likewise.
18947 * math/s_csinh.c Likewise.
18948 * math/s_csinhf.c: Likewise.
18949 * math/s_csinhl.c: Likewise.
18950 * math/s_csinl.c: Likewise.
18951 * math/s_ctan.c: Likewise.
18952 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18953 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18954 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18955
8ec250a4
UD
189562011-10-21 Ulrich Drepper <drepper@gmail.com>
18957
c196fed8
UD
18958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18959 compilation problems.
18960
8ec250a4
UD
18961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18962 __builtin_expect.
18963
8d4f46c6
UD
189642011-10-20 Ulrich Drepper <drepper@gmail.com>
18965
ed72b654
UD
18966 * sysdeps/i386/configure.in: Test for -mfma4 option.
18967 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18968 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18969 COMMON_CPUID_INDEX_80000001.
18970 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18971 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18972 use it if FMA3 is not supported.
18973 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18974
8d4f46c6
UD
18975 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18976 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18977
d45c60c2
AS
189782011-10-20 Andreas Schwab <schwab@redhat.com>
18979
18980 [BZ #12892]
18981 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18982 it would create a cycle with a link time dependency.
18983
d9a4d2ab
UD
189842011-10-19 Ulrich Drepper <drepper@gmail.com>
18985
855d1560
UD
18986 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18987 instruction.
18988 * string/Makefile (strop-tests): Add rawmemchr.
18989 * string/test-rawmemchr.c: New file.
18990
d9a4d2ab
UD
18991 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18993 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18994 when compiling str{,n}casecmp and when AVX is available. Hook up
18995 new optimized code in initializers.
18996
8f3b1ffe
AS
189972011-10-19 Andreas Schwab <schwab@redhat.com>
18998
18999 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19000 __feraiseexcept instead of feraiseexcept.
19001
d38f1dba
UD
190022011-10-18 Ulrich Drepper <drepper@gmail.com>
19003
d9a8d0ab
UD
19004 * math/math_private.h: Define defaults for libc_fetestexcept and
19005 libc_feupdateenv.
19006 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19007 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19008 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19009 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19010 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19011 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19012 libc_fetestexcept and libc_feupdateenv.
19013
4855e3dd
UD
19014 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19015 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19016 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19017 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19018 libc_feholdexcept_setround.
19019
581d30e3
UD
19020 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19021 Add s_nearbyint-c and s_nearbyintf-c.
19022 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19023 nearbyintf inlines.
19024 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19025 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19026 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19027 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19028
d38f1dba
UD
19029 * math/math_private.h: Define defaults for libc_fegetround,
19030 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19031 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19032 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19034 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19035 standard functions.
19036 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19037 Remove comments and hacks for old compiler versions.
19038 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19039 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19040 libc_feholdexceptl.
19041
caa6c9d8
AS
190422011-10-18 Andreas Schwab <schwab@redhat.com>
19043
19044 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19045 (__feraiseexcept_renamed): Add __NTH.
19046 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19047 namespace violations.
19048
97c066e6
UD
190492011-10-17 Ulrich Drepper <drepper@gmail.com>
19050
99ce7b04
UD
19051 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19052
1004d182
UD
19053 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19054
228a984d
UD
19055 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19056 recently added interfaces.
19057 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19058
c8553a6a
UD
19059 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19060 about macro parameter expansion.
19061
ed22dcf6
UD
19062 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19063 __NO_MATH_INLINES is defined. Cleanups.
19064
19065 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19066 and __floorf is target has SSE4.1.
19067 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19068 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19069 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19071
b171c137
UD
19072 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19073 name.
19074 (floorf): Likewise.
19075
97c066e6
UD
19076 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19077
629f62ef
AS
190782011-10-17 Andreas Schwab <schwab@redhat.com>
19079
49a43d80
AS
19080 * misc/sys/cdefs.h: Fix last change.
19081
629f62ef
AS
19082 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19083 database lookup.
19084
e453f6cd
UD
190852011-10-16 Ulrich Drepper <drepper@gmail.com>
19086
aa78043a
UD
19087 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19088
ad0f5cad
UD
19089 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19090 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19092 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19095 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19096 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19097 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19098 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19099 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19100 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19101 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19102 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19103 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19104 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19105 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19106 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19107 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19108 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19109 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19110 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19111
19112 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19113 ceil, ceilf, floor, floorf.
19114
19115 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19116 Perform IRELATIVE relocations last.
19117
e453f6cd
UD
19118 * elf/do-rel.h: Add another parameter nrelative, replacing the
19119 local variable with the same name. Change name of the function
19120 to end in Rel or Rela (uppercase).
19121 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19122 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19123 elf_dynamic_do_##reloc function.
19124
fd5bdc09
UD
191252011-10-15 Ulrich Drepper <drepper@gmail.com>
19126
79b195b5
UD
19127 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19128 is sufficient, at least on modern CPUs.
19129
d4a28569
UD
19130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19131
b61099b5
UD
19132 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19133 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19134
bcf01e6d
UD
19135 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19136 __expl_finite.
19137 * math/bits/math-finite.h: Add entries for exp.
19138 * math/e_expl.c: Add __*_finite alias.
19139 * sysdeps/i386/fpu/e_exp.S: Likewise.
19140 * sysdeps/i386/fpu/e_expf.S: Likewise.
19141 * sysdeps/i386/fpu/e_expl.c: Likewise.
19142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19143 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19144 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19146 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19147 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19148 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19149
ba1a0d59
UD
19150 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19151 is sufficient, at least on modern CPUs.
19152
fd5bdc09
UD
19153 * ctype/ctype-info.c (__ctype_init): Define.
19154 * include/ctype.h (__ctype_init): Declare.
19155 (__ctype_b_loc): The variable is always initialized.
19156 (__ctype_toupper_loc): Likewise.
19157 (__ctype_tolower_loc): Likewise.
19158 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19159 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19160
7872cfb0
AS
191612011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19162
b468825a
AS
19163 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19164
7872cfb0
AS
19165 * configure.in: Also look in $cxxmachine/include for C++ system
19166 headers.
19167
be13f7bf
LD
191682011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19169
19170 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19171 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19172 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19173 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19174 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19175 (USE_AS_WMEMCMP): New macro.
19176 Fixing indents.
19177 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19178 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19179 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19180 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19182 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19183 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19184 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19185 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19186 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19187 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19188 (USE_AS_WMEMCMP): New macro.
19189 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19190 * sysdeps/string/test-memcmp.c: Update.
19191 Fix simple_wmemcmp.
19192 Add new tests.
19193 * wcsmbs/wmemcmp.c: Update.
19194 (WMEMCMP): New macro.
19195 Fix overflow bug.
19196
556a2007
AJ
191972011-10-12 Andreas Jaeger <aj@suse.de>
19198
19199 [BZ #13268]
19200 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19201
538faaa7
UD
192022011-10-15 Ulrich Drepper <drepper@gmail.com>
19203
ab6737ff
UD
19204 * libio/iofwide.c (do_length): Avoid warning.
19205
538faaa7
UD
19206 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19207
396a21b1
UD
192082011-10-14 Ulrich Drepper <drepper@gmail.com>
19209
cdf2901f
UD
19210 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19211
38ad40ce
UD
19212 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19213 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19214 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19215 * sysdeps/i386/i686/fpu/e_log.S: New file.
19216 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19217 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19218
396a21b1
UD
19219 * ctype/ctype.h: Add support for inlined isXXX functions when
19220 compiling C++ code.
19221
6b1f68c9
AS
192222011-10-14 Andreas Schwab <schwab@redhat.com>
19223
349290c0
AS
19224 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19225
6b1f68c9
AS
19226 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19227
f2282d42
RM
192282011-10-13 Roland McGrath <roland@hack.frob.com>
19229
19230 [BZ #13291]
19231 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19232
5298ffa8
AS
192332011-10-13 Andreas Schwab <schwab@redhat.com>
19234
714fad23
AS
19235 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19236 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19237 feraiseexcept.
19238
81dcc7fb
AS
19239 * sysdeps/x86_64/memrchr.S: Check for zero size.
19240
5298ffa8
AS
19241 * string/stratcliff.c: Add memrchr tests.
19242
951fbcec
LD
192432011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19244
19245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19246 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19247 rawmemchr-sse2 rawmemchr-sse2-bsf.
19248 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19249 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19250 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19251 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19252 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19253 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19254 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19255 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19256 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19257 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19258 * string/memrchr.c (MEMRCHR): New macro.
19259
0ac5ae23
UD
192602011-10-12 Ulrich Drepper <drepper@gmail.com>
19261
19262 Add integration with gcc's -ffinite-math-only and optimize wrapper
19263 functions in libm.
19264 * Versions.def: Define GLIBC_2.15 version for libm.
19265 * math/Makefile (headers): Add bits/math-finite.h.
19266 * math/bits/math-finite.h: New file.
19267 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19268 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19269 * math/e_acoshl.c: Add __*_finite alias.
19270 * math/e_acosl.c: Likewise.
19271 * math/e_asinl.c: Likewise.
19272 * math/e_atan2l.c: Likewise.
19273 * math/e_atanhl.c: Likewise.
19274 * math/e_coshl.c: Likewise.
19275 * math/e_exp10.c: Likewise.
19276 * math/e_exp10f.c: Likewise.
19277 * math/e_exp10l.c: Likewise.
19278 * math/e_exp2l.c: Likewise.
19279 * math/e_fmodl.c: Likewise.
19280 * math/e_gammal_r.c: Likewise.
19281 * math/e_hypotl.c: Likewise.
19282 * math/e_j0l.c: Likewise.
19283 * math/e_j1l.c: Likewise.
19284 * math/e_jnl.c: Likewise.
19285 * math/e_lgammal_r.c: Likewise.
19286 * math/e_log10l.c: Likewise.
19287 * math/e_log2l.c: Likewise.
19288 * math/e_logl.c: Likewise.
19289 * math/e_powl.c: Likewise.
19290 * math/e_sinhl.c: Likewise.
19291 * math/e_sqrtl.c: Likewise.
19292 * math/e_scalb.c: Completely rewritten and optimized.
19293 * math/e_scalbf.c: Likewise.
19294 * math/e_scalbl.c: Likewise.
19295 * math/w_acos.c: Likewise.
19296 * math/w_acosf.c: Likewise.
19297 * math/w_acosl.c: Likewise.
19298 * math/w_acosh.c: Likewise.
19299 * math/w_acoshf.c: Likewise.
19300 * math/w_acoshl.c: Likewise.
19301 * math/w_asin.c: Likewise.
19302 * math/w_asinf.c: Likewise.
19303 * math/w_asinl.c: Likewise.
19304 * math/w_atan2.c: Likewise.
19305 * math/w_atan2f.c: Likewise.
19306 * math/w_atan2l.c: Likewise.
19307 * math/w_atanh.c: Likewise.
19308 * math/w_atanhf.c: Likewise.
19309 * math/w_atanhl.c: Likewise.
19310 * math/w_exp10.c: Likewise.
19311 * math/w_exp10f.c: Likewise.
19312 * math/w_exp10l.c: Likewise.
19313 * math/w_fmod.c: Likewise.
19314 * math/w_fmodf.c: Likewise.
19315 * math/w_fmodl.c: Likewise.
19316 * math/w_j0.c: Likewise.
19317 * math/w_j0f.c: Likewise.
19318 * math/w_j0l.c: Likewise.
19319 * math/w_j1.c: Likewise.
19320 * math/w_j1f.c: Likewise.
19321 * math/w_j1l.c: Likewise.
19322 * math/w_jn.c: Likewise.
19323 * math/w_jnf.c: Likewise.
19324 * math/w_log.c: Likewise.
19325 * math/w_logf.c: Likewise.
19326 * math/w_logl.c: Likewise.
19327 * math/w_log10.c: Likewise.
19328 * math/w_log10f.c: Likewise.
19329 * math/w_log10l.c: Likewise.
19330 * math/w_log2.c: Likewise.
19331 * math/w_log2f.c: Likewise.
19332 * math/w_log2l.c: Likewise.
19333 * math/w_pow.c: Likewise.
19334 * math/w_powf.c: Likewise.
19335 * math/w_powl.c: Likewise.
19336 * math/w_remainder.c: Likewise.
19337 * math/w_remainderf.c: Likewise.
19338 * math/w_remainderl.c: Likewise.
19339 * math/w_scalb.c: Likewise.
19340 * math/w_scalbf.c: Likewise.
19341 * math/w_scalbl.c: Likewise.
19342 * math/w_sqrt.c: Likewise.
19343 * math/w_sqrtf.c: Likewise.
19344 * math/w_sqrtl.c: Likewise.
19345 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19346 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19347 used.
19348 * math/math_private.h: Declare __kernel_standard_f.
19349 * math/w_cosh.c: Remove cruft and optimize a bit.
19350 * math/w_coshf.c: Likewise.
19351 * math/w_coshl.c: Likewise.
19352 * math/w_exp2.c: Likewise.
19353 * math/w_exp2f.c: Likewise.
19354 * math/w_exp2l.c: Likewise.
19355 * math/w_hypot.c: Likewise.
19356 * math/w_hypotf.c: Likewise.
19357 * math/w_hypotl.c: Likewise.
19358 * math/w_lgamma.c: Likewise.
19359 * math/w_lgamma_r.c: Likewise.
19360 * math/w_lgammaf.c: Likewise.
19361 * math/w_lgammaf_r.c: Likewise.
19362 * math/w_lgammal.c: Likewise.
19363 * math/w_lgammal_r.c: Likewise.
19364 * math/w_sinh.c: Likewise.
19365 * math/w_sinhf.c: Likewise.
19366 * math/w_sinhl.c: Likewise.
19367 * math/w_tgamma.c: Likewise.
19368 * math/w_tgammaf.c: Likewise.
19369 * math/w_tgammal.c: Likewise.
19370 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19371 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19372 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19373 Minor optimizations. Pretty printing. Remove cruft.
19374 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19376 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19377 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19378 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19379 * sysdeps/i386/fpu/e_asin.S: Likewise.
19380 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19381 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19382 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19383 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19385 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19387 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19388 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19389 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19390 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19391 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19392 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19393 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19394 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19395 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19396 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19397 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19398 * sysdeps/i386/fpu/e_log.S: Likewise.
19399 * sysdeps/i386/fpu/e_log10.S: Likewise.
19400 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19401 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19402 * sysdeps/i386/fpu/e_log2.S: Likewise.
19403 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19404 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19405 * sysdeps/i386/fpu/e_logf.S: Likewise.
19406 * sysdeps/i386/fpu/e_logl.S: Likewise.
19407 * sysdeps/i386/fpu/e_pow.S: Likewise.
19408 * sysdeps/i386/fpu/e_powf.S: Likewise.
19409 * sysdeps/i386/fpu/e_powl.S: Likewise.
19410 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19411 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19412 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19413 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19415 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19416 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19417 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19418 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19429 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19430 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19432 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19433 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19435 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19436 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19440 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19441 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19442 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19443 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19444 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19445 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19446 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19447 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19448 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19449 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19450 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19453 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19454 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19455 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19456 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19457 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19458 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19459 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19460 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19461 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19462 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19465 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19466 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19467 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19468 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19469 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19470 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19471 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19473 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19474 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19475 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19476 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19477 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19478 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19479 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19480 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19483 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19484 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19486 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19488 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19489 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19490 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19491 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19493 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19494 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19495 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19496 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19497 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19498 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19499 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19500 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19501 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19502 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19503 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19504 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19505 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19507 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19508 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19510 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19511 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19512 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19513 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19514 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19515 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19516 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19517 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19518 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19519 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19520 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19521 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19522 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19523 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19524 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19525 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19526 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19527 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19529 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19530 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19531 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19532 (__isnanf): Likewise.
19533 (__isinf_ns): Likewise.
19534 (__isinf_nsf): Likewise.
19535 (__finite): Likewise.
19536 (__finitef): Likewise.
19537 (__ieee754_sqrt): Define as macro.
19538 (__ieee754_sqrtf): Define as macro.
19539 (__ieee754_sqrtl): Define as macro.
19540 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19541 inlined copy.
19542 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19543 __FINITE_MATH_ONLY__ consistent.
19544 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19545
12cc2fcd
AS
195462011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19547
a843a204
AS
19548 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19549 of rawmemchr.
19550
12cc2fcd
AS
19551 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19552
c853acd5
UD
195532011-10-09 Ulrich Drepper <drepper@gmail.com>
19554
19555 * po/ja.po: Update from translation team.
19556
c658d255
RM
195572011-10-08 Roland McGrath <roland@hack.frob.com>
19558
110946e4
RM
19559 * locale/programs/locarchive.c (prepare_address_space): New function.
19560 (create_archive, enlarge_archive, open_archive): Use it.
19561
50604220
RM
19562 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19563 inside [SHARED], where it is used.
19564
c658d255
RM
19565 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19566
19567 * nss/getent.c (netgroup_keys): Remove unused variable.
19568 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19569
6a621eb7
UD
195702011-10-08 Ulrich Drepper <drepper@gmail.com>
19571
7edb55ce
UD
19572 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19573 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19575 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19576 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19577 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19578 * math/Makefile (libm-calls): Add s_isinf_ns.
19579 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19580 * math/multc3.c: Likewise.
19581 * math/s_casin.c: Likewise.
19582 * math/s_casinf.c: Likewise.
19583 * math/s_casinl.c: Likewise.
19584 * math/s_ccos.c: Likewise.
19585 * math/s_ccosf.c: Likewise.
19586 * math/s_ccosl.c: Likewise.
19587 * math/s_ctan.c: Likewise.
19588 * math/s_ctanf.c: Likewise.
19589 * math/s_ctanh.c: Likewise.
19590 * math/s_ctanhf.c: Likewise.
19591 * math/s_ctanhl.c: Likewise.
19592 * math/s_ctanl.c: Likewise.
19593 * math/w_fmod.c: Likewise.
19594 * math/w_fmodf.c: Likewise.
19595 * math/w_fmodl.c: Likewise.
19596 * math/w_remainder.c: Likewise.
19597 * math/w_remainderf.c: Likewise.
19598 * math/w_remainderl.c: Likewise.
19599 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19600 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19601 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19603 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19604 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19605 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19606 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19607
187da0ae
UD
19608 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19609 of the number.
19610 * stdio-common/printf_fphex.c: Likewise.
19611 * stdio-common/printf_size.c: Likewise.
19612
9277c064
UD
19613 * math/e_exp10.c: Include math_private.h using <...> not "...".
19614 * math/e_exp10f.c: Likewise.
19615 * math/e_exp10l.c: Likewise.
19616 * math/e_exp2l.c: Likewise.
19617 * math/e_j0l.c: Likewise.
19618 * math/e_j1l.c: Likewise.
19619 * math/e_jnl.c: Likewise.
19620 * math/e_lgammal_r.c: Likewise.
19621 * math/e_rem_pio2l.c: Likewise.
19622 * math/e_scalb.c: Likewise.
19623 * math/e_scalbf.c: Likewise.
19624 * math/e_scalbl.c: Likewise.
19625 * math/k_cosl.c: Likewise.
19626 * math/k_sinl.c: Likewise.
19627 * math/k_tanl.c: Likewise.
19628 * math/s_cacoshf.c: Likewise.
19629 * math/s_catan.c: Likewise.
19630 * math/s_catanf.c: Likewise.
19631 * math/s_catanh.c: Likewise.
19632 * math/s_catanhf.c: Likewise.
19633 * math/s_catanhl.c: Likewise.
19634 * math/s_catanl.c: Likewise.
19635 * math/s_ccosh.c: Likewise.
19636 * math/s_ccoshf.c: Likewise.
19637 * math/s_ccoshl.c: Likewise.
19638 * math/s_cexp.c: Likewise.
19639 * math/s_cexpf.c: Likewise.
19640 * math/s_cexpl.c: Likewise.
19641 * math/s_clog.c: Likewise.
19642 * math/s_clog10.c: Likewise.
19643 * math/s_clog10f.c: Likewise.
19644 * math/s_clog10l.c: Likewise.
19645 * math/s_clogf.c: Likewise.
19646 * math/s_clogl.c: Likewise.
19647 * math/s_csin.c: Likewise.
19648 * math/s_csinf.c: Likewise.
19649 * math/s_csinh.c: Likewise.
19650 * math/s_csinhf.c: Likewise.
19651 * math/s_csinhl.c: Likewise.
19652 * math/s_csinl.c: Likewise.
19653 * math/s_csqrt.c: Likewise.
19654 * math/s_csqrtf.c: Likewise.
19655 * math/s_csqrtl.c: Likewise.
19656 * math/s_ctan.c: Likewise.
19657 * math/s_ctanf.c: Likewise.
19658 * math/s_ctanh.c: Likewise.
19659 * math/s_ctanhf.c: Likewise.
19660 * math/s_ctanhl.c: Likewise.
19661 * math/s_ctanl.c: Likewise.
19662 * math/s_ldexp.c: Likewise.
19663 * math/s_ldexpf.c: Likewise.
19664 * math/s_ldexpl.c: Likewise.
19665 * math/s_significand.c: Likewise.
19666 * math/s_significandf.c: Likewise.
19667 * math/s_significandl.c: Likewise.
19668 * math/w_acos.c: Likewise.
19669 * math/w_acosf.c: Likewise.
19670 * math/w_acosh.c: Likewise.
19671 * math/w_acoshf.c: Likewise.
19672 * math/w_acoshl.c: Likewise.
19673 * math/w_acosl.c: Likewise.
19674 * math/w_asin.c: Likewise.
19675 * math/w_asinf.c: Likewise.
19676 * math/w_asinl.c: Likewise.
19677 * math/w_atan2.c: Likewise.
19678 * math/w_atan2f.c: Likewise.
19679 * math/w_atan2l.c: Likewise.
19680 * math/w_atanh.c: Likewise.
19681 * math/w_atanhf.c: Likewise.
19682 * math/w_atanhl.c: Likewise.
19683 * math/w_cosh.c: Likewise.
19684 * math/w_coshf.c: Likewise.
19685 * math/w_coshl.c: Likewise.
19686 * math/w_dremf.c: Likewise.
19687 * math/w_exp10.c: Likewise.
19688 * math/w_exp10f.c: Likewise.
19689 * math/w_exp10l.c: Likewise.
19690 * math/w_exp2.c: Likewise.
19691 * math/w_exp2f.c: Likewise.
19692 * math/w_fmod.c: Likewise.
19693 * math/w_fmodf.c: Likewise.
19694 * math/w_fmodl.c: Likewise.
19695 * math/w_hypot.c: Likewise.
19696 * math/w_hypotf.c: Likewise.
19697 * math/w_hypotl.c: Likewise.
19698 * math/w_j0.c: Likewise.
19699 * math/w_j0f.c: Likewise.
19700 * math/w_j0l.c: Likewise.
19701 * math/w_j1.c: Likewise.
19702 * math/w_j1f.c: Likewise.
19703 * math/w_j1l.c: Likewise.
19704 * math/w_jn.c: Likewise.
19705 * math/w_jnf.c: Likewise.
19706 * math/w_jnl.c: Likewise.
19707 * math/w_lgamma.c: Likewise.
19708 * math/w_lgamma_r.c: Likewise.
19709 * math/w_lgammaf.c: Likewise.
19710 * math/w_lgammaf_r.c: Likewise.
19711 * math/w_lgammal.c: Likewise.
19712 * math/w_lgammal_r.c: Likewise.
19713 * math/w_log.c: Likewise.
19714 * math/w_log10.c: Likewise.
19715 * math/w_log10f.c: Likewise.
19716 * math/w_log10l.c: Likewise.
19717 * math/w_log2.c: Likewise.
19718 * math/w_log2f.c: Likewise.
19719 * math/w_log2l.c: Likewise.
19720 * math/w_logf.c: Likewise.
19721 * math/w_logl.c: Likewise.
19722 * math/w_pow.c: Likewise.
19723 * math/w_powf.c: Likewise.
19724 * math/w_powl.c: Likewise.
19725 * math/w_remainder.c: Likewise.
19726 * math/w_remainderf.c: Likewise.
19727 * math/w_remainderl.c: Likewise.
19728 * math/w_scalb.c: Likewise.
19729 * math/w_scalbf.c: Likewise.
19730 * math/w_scalbl.c: Likewise.
19731 * math/w_sinh.c: Likewise.
19732 * math/w_sinhf.c: Likewise.
19733 * math/w_sinhl.c: Likewise.
19734 * math/w_sqrt.c: Likewise.
19735 * math/w_sqrtf.c: Likewise.
19736 * math/w_sqrtl.c: Likewise.
19737 * math/w_tgamma.c: Likewise.
19738 * math/w_tgammaf.c: Likewise.
19739 * math/w_tgammal.c: Likewise.
19740
6a621eb7
UD
19741 * po/ja.po: Update from translation team.
19742
bf582445
AJ
197432011-09-29 Andreas Jaeger <aj@suse.de>
19744
f9efbf3a
AJ
19745 [BZ #13179]
19746 * sunrpc/netname.c (netname2host): Fix logic.
19747
bf582445
AJ
19748 [BZ #6779]
19749 [BZ #6783]
19750 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19751 correctly.
19752 * math/w_remainder.c (__remainder): Likewise.
19753 * math/w_remainderf.c (__remainderf): Likewise.
19754 * math/libm-test.inc (remainder_test): Add test cases.
19755
48693bea
AK
197562011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19757
19758 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19759 sdiv_qrnnd.
19760
42622229
LD
197612011-10-07 Ulrich Drepper <drepper@gmail.com>
19762
19763 * string/test-memcmp.c: Avoid unncessary #defines.
19764 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19765
093ecf92
LD
197662011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19767
19768 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19769 Use new sse2 version for core i3 - i7 as it's faster
19770 than sse42 version.
19771 (bit_Prefer_PMINUB_for_stringop): New.
19772 * sysdeps/x86_64/rawmemchr.S: Update.
19773 Replace with faster SSE2 version.
19774 * sysdeps/x86_64/memrchr.S: New file.
19775 * sysdeps/x86_64/memchr.S: Update.
19776 Replace with faster SSE2 version.
19777
fde56e5c
MP
197782011-09-12 Marek Polacek <mpolacek@redhat.com>
19779
19780 * elf/dl-load.c (lose): Add cast to avoid warning.
19781
21fd49a9
UD
197822011-10-07 Ulrich Drepper <drepper@gmail.com>
19783
5a06e643
UD
19784 * po/ca.po: Update from translation team.
19785
684ae515
UD
19786 * inet/getnetgrent_r.c: Hook up nscd.
19787 * nscd/Makefile (routines): Add nscd_netgroup.
19788 (nscd-modules): Add netgroupcache.
19789 (CFLAGS-netgroupcache.c): Define.
19790 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19791 (cache_search): Add const to second parameter.
19792 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19793 INNETGR.
19794 (dbs): Add netgrdb entry.
19795 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19796 (verify_persistent_db): Handle netgrdb.
19797 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19798 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19799 GETFDNETGR.
19800 (netgroup_response_header): Define.
19801 (innetgroup_response_header): Define.
19802 (datahead): Add netgroup_response_header and innetgroup_response_header
19803 elements.
19804 * nscd/nscd.conf: Add entries for netgroup cache.
19805 * nscd/nscd.h (dbtype): Add netgrdb.
19806 (_PATH_NSCD_NETGROUP_DB): Define.
19807 (netgroup_iov_disabled): Declare.
19808 (xmalloc, xcalloc, xrealloc): Move declarations here.
19809 (cache_search): Adjust prototype.
19810 Add netgroup-related prototypes.
19811 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19812 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19813 (__nscd_innetgr): Declare.
19814 * nscd/selinux.c (perms): Use access_vector_t as element type and
19815 add netgroup-related initializers.
19816 * nscd/netgroupcache.c: New file.
19817 * nscd/nscd_netgroup.c: New file.
19818 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19819 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19820 For four parameters use innetgr.
19821 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19822 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19823 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19824 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19825
21fd49a9
UD
19826 * nscd/connections.c (register_traced_file): Don't register file
19827 for disabled databases.
19828
054c0457
UD
198292011-10-06 Ulrich Drepper <drepper@gmail.com>
19830
32b63198
UD
19831 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19832
054c0457
UD
19833 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19834 from tree and freeing node.
19835
64031225
JO
198362011-09-25 Jiri Olsa <jolsa@redhat.com>
19837
19838 * nss/nsswitch.c (__nss_database_lookup): Handle
19839 nss_parse_service_list out of memory case.
19840
0490345c
JO
198412011-09-15 Jiri Olsa <jolsa@redhat.com>
19842
19843 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19844 out of memory case.
19845
3a62d00d
AS
198462011-10-04 Andreas Schwab <schwab@redhat.com>
19847
19848 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19849 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19850 pass it down.
19851 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19852 elf_machine_rela, elf_machine_lazy_rel.
19853 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19854 (ELF_DYNAMIC_DO_REL): Likewise.
19855 (ELF_DYNAMIC_DO_RELA): Likewise.
19856 (ELF_DYNAMIC_RELOCATE): Likewise.
19857 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19858 to ELF_DYNAMIC_DO_REL.
19859 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19860 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19861 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19862 elf_machine_rela.
19863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19864 skip_ifunc, don't call ifunc function if non-zero.
19865 (elf_machine_rela): Likewise.
19866 (elf_machine_lazy_rel): Likewise.
19867 (elf_machine_lazy_rela): Likewise.
19868 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19869 (elf_machine_lazy_rel): Likewise.
19870 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19871 Likewise.
19872 (elf_machine_lazy_rel): Likewise.
19873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19874 Likewise.
19875 (elf_machine_lazy_rel): Likewise.
19876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19877 (elf_machine_lazy_rel): Likewise.
19878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19879 (elf_machine_lazy_rel): Likewise.
19880 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19881 (elf_machine_lazy_rel): Likewise.
19882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19883 (elf_machine_lazy_rel): Likewise.
19884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19885 (elf_machine_lazy_rel): Likewise.
19886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19887 (elf_machine_lazy_rel): Likewise.
19888
68577918
UD
198892011-09-28 Ulrich Drepper <drepper@gmail.com>
19890
19891 * nss/nss_files/files-init.c (_nss_files_init): Use static
19892 initialization for all the *_traced_file variables.
19893
68822d74
AS
198942011-09-28 Andreas Schwab <schwab@redhat.com>
19895
19896 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19897
2056100b
RM
198982011-09-27 Roland McGrath <roland@hack.frob.com>
19899
19900 [BZ #13226]
19901 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19902
32c76b63
AS
199032011-09-27 Andreas Schwab <schwab@redhat.com>
19904
19905 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19906 Reread the line before reparsing it.
19907
bf972c9d
AS
199082011-09-26 Andreas Schwab <schwab@redhat.com>
19909
19910 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19911
e057a1b5
JM
199122011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19913 Maxim Kuvyrkov <maxim@codesourcery.com>
19914 Joseph Myers <joseph@codesourcery.com>
19915
19916 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19917 if needed for __stack_chk_guard.
19918
bc7e1c36
RM
199192011-09-19 Roland McGrath <roland@hack.frob.com>
19920
ecb1482f
RM
19921 * sysdeps/posix/spawni.c (script_execute): Always define it.
19922 It will be optimized away if unused.
19923 (maybe_script_execute): New function.
19924 (__spawni): Call it.
19925
bc7e1c36
RM
19926 * Makerules: Don't include tls.make.
19927 (config-tls): Always set to thread.
19928 * tls.make.c: File removed.
19929
1c3b002b
MF
199302011-09-19 Mike Frysinger <vapier@gentoo.org>
19931
19932 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19933 * config.make.in (CPPFLAGS-config): New substituted variable.
19934
2840865d
UD
199352011-09-15 Ulrich Drepper <drepper@gmail.com>
19936
88738eb6
UD
19937 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19938
cbf645a6 19939 [BZ #13192]
2840865d
UD
19940 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19941 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19942
b402e91a
RM
199432011-09-15 Roland McGrath <roland@hack.frob.com>
19944
19945 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19946 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19948 (CALL_FAIL): Likewise.
19949 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19950 (CALL_FAIL): Macro removed.
19951 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19952
4c1a1f71
UD
199532011-09-15 Ulrich Drepper <drepper@gmail.com>
19954
19955 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19956 for __FINITE_MATH_ONLY__ == 1.
19957
edc121be
AS
199582011-09-15 Andreas Schwab <schwab@redhat.com>
19959
19960 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19961 __ieee754_sqrt instead of sqrt.
19962 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19963 __ieee754_sqrtf instead of sqrtf.
19964 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19965 __floorf instead of floorf.
19966 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19967 __floorf, __truncf instead of floorf, truncf.
19968
cd205654
UD
199692011-09-14 Ulrich Drepper <drepper@gmail.com>
19970
ee4d0315
UD
19971 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19972
cd205654
UD
19973 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19974 __extern_always_inline.
19975 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19976 32-bit.
19977
48b67d71
AS
199782011-09-14 Andreas Schwab <schwab@redhat.com>
19979
19980 * elf/rtld.c (dl_main): Also relocate in dependency order when
19981 doing symbol dependency testing.
19982
1ae12c75
AS
199832011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19984
19985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19986 Always define `refsym'.
19987
995a80df
AS
199882011-09-13 Andreas Schwab <schwab@redhat.com>
19989
e529793b
AS
19990 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19991 (__FD_ELT): Renamed from __FDELT.
19992 * misc/bits/select2.h (__FD_ELT): Likewise.
19993 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19994 __FD_MASK instead of __FDELT, __FDMASK.
19995 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19996 Likewise.
19997 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19998 Likewise.
19999
52d4fef8
AS
20000 * elf/Makefile (gen-ldd): Fix pattern.
20001
995a80df
AS
20002 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20003 (init_tls): Likewise.
20004
8682f8b0
UD
200052011-09-12 Ulrich Drepper <drepper@gmail.com>
20006
20007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20008
de82006d
AS
200092011-09-12 Andreas Schwab <schwab@redhat.com>
20010
a7c8e6a1
AS
20011 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20012 `struct cmsghdr *' instead of `void *'.
20013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20014 Likewise.
20015
0f31fe77
AS
200162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20017
20018 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20019 if non-absolute.
20020 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20021 ldd_rewrite_script.
0f31fe77 20022
32b4c839
UD
200232011-09-11 Ulrich Drepper <drepper@gmail.com>
20024
83cd1420
UD
20025 * configure.in: Remove --with-tls option.
20026 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20027 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20028 out in case it is missing.
20029 * sysdeps/ia64/elf/configure.in: Likewise.
20030 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20031 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20032 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20033 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20034 * sysdeps/sh/elf/configure.in: Likewise.
20035 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20036 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20037 * sysdeps/x86_64/elf/configure.in: Likewise.
20038 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20039 * sysdeps/mach/hurd/tls.h: Likewise.
20040
633f745d
UD
20041 [BZ #13067]
20042 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20043
f318beb8
UD
20044 [BZ #13090]
20045 * configure.in: Fix use of AC_INIT.
20046
32b4c839
UD
20047 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20048
3ce1f295
UD
200492011-09-10 Ulrich Drepper <drepper@gmail.com>
20050
bb016596
UD
20051 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20052 __set_errno.
8e58439c
UD
20053 * malloc/hooks.c: Likewise.
20054
aebae053 20055 [BZ #11929]
02d46fc4
UD
20056 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20057 variables statically.
20058 (narenas): Initialize.
20059 (list_lock): Initialize.
bb016596
UD
20060 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20061 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20062 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20063 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20064 Add initializers to main_arena and mp_.
20065 (malloc_state): Remove pagesize member. Change all users to use
20066 GLRO(dl_pagesize).
20067
20068 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20069 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20070 is always initialized.
20071
22a89187
UD
20072 * malloc/malloc.c: Removed unused configurations and dead code.
20073 * malloc/arena.c: Likewise.
20074 * malloc/hooks.c: Likewise.
02d46fc4 20075 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20076
d063d164
UD
20077 * include/tls.h: Removed. USE___THREAD must always be defined.
20078 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20079 * elf/dl-libc.c: Likewise.
20080 * elf/dl-tsd.c: Likewise.
20081 * include/errno.h: Likewise.
20082 * include/netdb.h: Likewise.
20083 * include/resolv.h: Likewise.
20084 * inet/herrno-loc.c: Likewise.
20085 * inet/herrno.c: Likewise.
20086 * malloc/arena.c: Likewise.
20087 * malloc/hooks.c: Likewise.
20088 * malloc/malloc.c: Likewise.
20089 * resolv/res-state.c: Likewise.
20090 * resolv/res_libc.c: Likewise.
20091 * sysdeps/i386/dl-machine.h: Likewise.
20092 * sysdeps/ia64/dl-machine.h: Likewise.
20093 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20094 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20095 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20096 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20097 * sysdeps/sh/dl-machine.h: Likewise.
20098 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20099 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20100 * sysdeps/unix/i386/sysdep.S: Likewise.
20101 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20102 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20103 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20105 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20107 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20111 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20112 * sysdeps/x86_64/dl-machine.h: Likewise.
20113 * tls.make.c: Likewise.
20114
3ce1f295
UD
20115 * configure.in: Remove --with-__thread option. Make tests for
20116 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20117 tls_model attribute fail if no support is available. Remove
20118 USE_IN_LIBIO.
20119 * Makeconfig: Adjust for dropped configure option. All features are
20120 now mandatory.
20121 * Makerules: Likewise.
20122 * Versions.def: Likewise.
20123 * argp/argp-fmtstream.c: Likewise.
20124 * argp/argp-fmtstream.h: Likewise.
20125 * argp/argp-help.c: Likewise.
20126 * assert/assert.c: Likewise.
20127 * config.h.in: Likewise.
20128 * config.make.in: Likewise.
20129 * configure: Likewise.
20130 * configure.in: Likewise.
20131 * csu/Versions: Likewise.
20132 * csu/init.c: Likewise.
20133 * elf/tst-audit2.c: Likewise.
20134 * elf/tst-tls10.c: Likewise.
20135 * elf/tst-tls10.h: Likewise.
20136 * elf/tst-tls11.c: Likewise.
20137 * elf/tst-tls12.c: Likewise.
20138 * elf/tst-tls14.c: Likewise.
20139 * elf/tst-tlsmod11.c: Likewise.
20140 * elf/tst-tlsmod12.c: Likewise.
20141 * elf/tst-tlsmod13.c: Likewise.
20142 * elf/tst-tlsmod13a.c: Likewise.
20143 * elf/tst-tlsmod14a.c: Likewise.
20144 * elf/tst-tlsmod15b.c: Likewise.
20145 * elf/tst-tlsmod16a.c: Likewise.
20146 * elf/tst-tlsmod16b.c: Likewise.
20147 * elf/tst-tlsmod7.c: Likewise.
20148 * elf/tst-tlsmod8.c: Likewise.
20149 * elf/tst-tlsmod9.c: Likewise.
20150 * gmon/gmon.c: Likewise.
20151 * grp/fgetgrent_r.c: Likewise.
20152 * grp/putgrent.c: Likewise.
20153 * hurd/fopenport.c: Likewise.
20154 * include/libc-symbols.h: Likewise.
20155 * include/tls.h: Likewise.
20156 * intl/gettextP.h: Likewise.
20157 * intl/loadinfo.h: Likewise.
20158 * locale/global-locale.c: Likewise.
20159 * locale/localeinfo.h: Likewise.
20160 * mach/devstream.c: Likewise.
20161 * malloc/arena.c: Likewise.
20162 * malloc/set-freeres.c: Likewise.
20163 * misc/err.c: Likewise.
20164 * misc/getttyent.c: Likewise.
20165 * misc/mntent_r.c: Likewise.
20166 * posix/getopt.c: Likewise.
20167 * posix/wordexp.c: Likewise.
20168 * pwd/fgetpwent_r.c: Likewise.
20169 * resolv/Versions: Likewise.
20170 * resolv/res_hconf.c: Likewise.
20171 * shadow/fgetspent_r.c: Likewise.
20172 * shadow/putspent.c: Likewise.
20173 * stdio-common/printf_fphex.c: Likewise.
20174 * stdio-common/tmpfile.c: Likewise.
20175 * stdlib/abort.c: Likewise.
20176 * stdlib/fmtmsg.c: Likewise.
20177 * sunrpc/auth_unix.c: Likewise.
20178 * sunrpc/clnt_perr.c: Likewise.
20179 * sunrpc/clnt_tcp.c: Likewise.
20180 * sunrpc/clnt_udp.c: Likewise.
20181 * sunrpc/clnt_unix.c: Likewise.
20182 * sunrpc/openchild.c: Likewise.
20183 * sunrpc/svc_simple.c: Likewise.
20184 * sunrpc/svc_tcp.c: Likewise.
20185 * sunrpc/svc_udp.c: Likewise.
20186 * sunrpc/svc_unix.c: Likewise.
20187 * sunrpc/xdr.c: Likewise.
20188 * sunrpc/xdr_array.c: Likewise.
20189 * sunrpc/xdr_rec.c: Likewise.
20190 * sunrpc/xdr_ref.c: Likewise.
20191 * sunrpc/xdr_stdio.c: Likewise.
20192
1248c1c4
PB
201932011-09-09 Ulrich Drepper <drepper@gmail.com>
20194
20195 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20196
201972011-07-03 Andreas Jaeger <aj@suse.de>
20198
20199 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20200 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20201 regenerate with gen-libm-tests.pl.
20202
202032010-05-12 Petr Baudis <pasky@suse.cz>
20204
20205 [BZ #11589]
20206 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20207 around j0() zero points by switching to j1().
20208 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20212
f22e1074
UD
202132011-09-09 Ulrich Drepper <drepper@gmail.com>
20214
f19009c1
UD
20215 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20216 instead of 0.
20217 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20218 instead of 0.
f19009c1
UD
20219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20220 Patch in part by Pavel Roskin <proski@gnu.org>.
20221
3f8cc204
UD
20222 [BZ #13138]
20223 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20224 realloc.
20225 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20226 Free memory block if necessary.
20227
f22e1074
UD
20228 [BZ #12847]
20229 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20230 be NULL. Don't lock in this case.
20231
0a2349f9
RM
202322011-09-09 Roland McGrath <roland@hack.frob.com>
20233
20234 * elf/elf.h (ELFOSABI_GNU): New macro.
20235 (ELFOSABI_LINUX): Define to that.
20236
f3cdd467
DZ
202372011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20238
20239 * string/strncat.c (strncat): Undef the symbol in case it has been
20240 defined in bits/string.h.
20241
74718d13
UD
202422011-09-09 Ulrich Drepper <drepper@gmail.com>
20243
633e9e0f
UD
20244 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20245
0a2349f9 20246 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20247 link map.
20248
f9924780
AJ
202492011-08-17 Andreas Jaeger <aj@suse.de>
20250
20251 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20252
7f5517aa
PP
202532011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20254 Ian Lance Taylor <iant@google.com>
20255
20256 * math/libm-test.inc (lround_test): New testcase.
20257 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20258
762011fe
UD
202592011-09-08 Ulrich Drepper <drepper@gmail.com>
20260
92963737
UD
20261 * Makefile: Remove support for automatic cvs check-ins.
20262 * Makerules: Likewise.
20263 * config.make.in: Likewise.
20264 * configure.in: Likewise.
20265 * intl/Makefile: Likewise.
20266 * locale/Makefile: Likewise.
20267 * po/Makefile: Likewise.
20268 * posix/Makefile: Likewise.
20269 * sysdeps/gnu/Makefile: Likewise.
20270 * sysdeps/mach/hurd/Makefile: Likewise.
20271 * sysdeps/sparc/sparc32/Makefile: Likewise.
20272
b0727fd8
JS
20273 [BZ #13118]
20274 * posix/Makefile (bug-regex32-ENV): Define.
20275 Patch by John Stanley <jpsinthemix@verizon.net>.
20276
a0f33f99
UD
20277 * misc/Makefile (headers): Add bits/select2.h.
20278 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20279 * misc/bits/select2.h: New file.
20280 * include/bits/select2.h: New file.
20281 * debug/Makefile (routines): Add fdelt_chk.
20282 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20283 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20284 FD_ISSET.
20285 * debug/fdelt_chk.c: New file.
20286
762011fe
UD
20287 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20288 * wcsmbs/test-wmemcmp.c: Likewise.
20289 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20290 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20291
202922011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20293
20294 * string/Makefile (strop-tests): Add memcmp.
20295 * string/test-wmemcmp.c: New file.
20296 * string/test-memcmp.c: Add wmemcmp support.
20297
7f513ec8
RM
202982011-09-08 Roland McGrath <roland@hack.frob.com>
20299
0442afb4
RM
20300 [BZ #13153]
20301 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20302 2011-07-19 change.
20303
7f513ec8
RM
20304 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20305 garbage value in a __mach_port_mod_refs call in the cases of the
20306 task-self and thread-self ports.
20307
a12b2239
ST
203082011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20309
20310 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20311
610f9ab4
AS
203122011-09-08 Andreas Schwab <schwab@redhat.com>
20313
7f513ec8 20314 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20315
48882a1a
LD
203162011-09-07 Ulrich Drepper <drepper@gmail.com>
20317
b49865be
UD
20318 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20319
fdc86bc9
UD
20320 * elf/dl-libc.c (dlerror_run): Pass back error code from
20321 dl_catch_error.
20322
c966526a
UD
20323 [BZ #13123]
20324 * elf/dl-load.c (lose): Free l_origin if it is valid.
20325
48882a1a
LD
20326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20327 names.
20328 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20329 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20331 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20332 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20333 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20334
77a2a8b4
AZ
203352011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20336
20337 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20338 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20339 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20340 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20341 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20342 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20343 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20344 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20345 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20346 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20347
24f579d8
AM
203482011-08-15 Alan Modra <amodra@gmail.com>
20349
20350 [BZ #13092]
20351 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20352 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20353 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20354 ppc_mcount to static-only-routines.
20355 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20356 __mcount_internal.
20357 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20358 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20359
3d4837df
UD
203602011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20361
20362 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20363 for finite and infinity parameters.
20364
22700377
WS
203652011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20366
20367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20368 and add nop instructions for throughput optimization.
20369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20370
5025581e
WS
203712011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20372
20373 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20374 aligned copy for power7 with vector-scalar instructions.
20375 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20376
08a300c9
L
203772011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20378
20379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20380 AVX check.
20381
59178ef9
AS
203822011-09-07 Andreas Schwab <schwab@redhat.com>
20383
20384 [BZ #13144]
20385 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20386 last change.
20387
e38ba7ab
UD
203882011-09-07 Ulrich Drepper <drepper@gmail.com>
20389
20390 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20391 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20392 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20393 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20394 clock_gettime.
20395
d53a73ac
UD
203962011-09-06 Ulrich Drepper <drepper@gmail.com>
20397
fc8bffcc
UD
20398 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20399 Forgot to demangle the pointer.
20400
ceaa0c5d
UD
20401 * sysdeps/i386/sysdep.h: Define atom_text_section.
20402 * sysdeps/x86_64/sysdep.h: Likewise.
20403 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20404 section with atom_text_section.
20405 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20406 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20407 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20409 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20410
a77d3c17
UD
20411 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20412 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20413 already be defined. Change to take two parameters and don't assign
20414 result to variable. Adjust all users.
20415 Define INTERNAL_GETTIME if not already defined.
20416 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20417 call.
20418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20419 HAVE_CLOCK_GETTIME_VSYSCALL.
20420 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20421
d53a73ac
UD
20422 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20423 gettimeofday vsyscall, just use time.
20424
a8f84144
AS
204252011-09-06 Andreas Schwab <schwab@redhat.com>
20426
20427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20428 <errno.h>.
20429
ef606249
UD
204302011-09-06 Ulrich Drepper <drepper@gmail.com>
20431
20432 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20433 syscall on x86-64.
20434 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20435 syscall.
20436 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20438 syscall if possible.
20439
6585cb60
UD
204402011-09-05 Ulrich Drepper <drepper@gmail.com>
20441
20442 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20443 e_ident. Don't pass to find_mapsXX.
20444 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20445
a5f524e4
LD
204462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20447
20448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20449 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20450 * sysdeps/x86_64/multiarch/strchr.S: Update.
20451 Check bit_slow_BSF bit.
20452 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20453 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20455
554881ef
UD
204562011-09-05 Ulrich Drepper <drepper@gmail.com>
20457
d96de963
UD
20458 [BZ #13134]
20459 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20460 before glibc 2.15.
20461 (tryshell): Define.
20462 (__spawni): Change last parameter to be flag. Test
20463 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20464 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20465 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20466 * posix/spawni.c: Likewise.
20467 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20468 * posix/spawnp.c: Likewise. Change normal version to use
20469 SPAWN_XFLAGS_USE_PATH.
20470 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20471 SPAWN_XFLAGS_TRY_SHELL.
20472
d48e5868
UD
20473 [BZ #13150]
20474 * posix/glob.h: Remove gcc 1.x support.
20475
554881ef
UD
20476 [BZ #13068]
20477 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20478
693fb948
LD
204792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20480
20481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20482 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20483 strrchr-sse2-bsf
20484 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20485 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20486 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20487 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20488 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20489 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20490
1b48c537
UD
204912011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20492
49d42c37
UD
20493 * sysdeps/x86_64/wcscmp.S: New file.
20494
1b48c537
UD
20495 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20496 wcscmp-c wcscmp-sse2
20497 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20498 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20499 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20500 * wcsmbs/wcscmp.c: Allow renaming.
20501
15c95c5d
DM
205022011-09-05 David S. Miller <davem@davemloft.net>
20503
20504 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20505 stack slot, rather than the struct return pointer slot.
20506 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20507 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20509 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20510
2f0ad8f3
UD
205112011-09-05 Ulrich Drepper <drepper@gmail.com>
20512
d88ae418
UD
20513 * po/ja.po: Update from translation team.
20514
2f0ad8f3
UD
20515 [BZ #13144]
20516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20517 kernel in 64-bit binaries.
20518
5f4318d1
DM
205192011-09-01 David S. Miller <davem@davemloft.net>
20520
20521 * elf/elf.h (HWCAP_SPARC_*): Move to..
20522 * sysdeps/sparc/sysdep.h: this new file and add new values.
20523 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20524 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20525 _DL_HWCAP_COUNT to 24.
20526 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20527 entries.
20528 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20529 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20530 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20532 instead of magic constants.
20533 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20534
3ba57516
DM
205352011-08-31 David S. Miller <davem@davemloft.net>
20536
20537 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20539 Reimplement to do errno handling inline.
20540 (SYSCALL_ERROR_HANDLER): New macro.
20541 (__SYSCALL_STRING): Do not do errno handling in asm.
20542 (__CLONE_SYSCALL_STRING): Delete.
20543 (__INTERNAL_SYSCALL_STRING): Delete.
20544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20545 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20546 (PSEUDO): Reimplement to do errno handling inline.
20547 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20548 (SYSCALL_ERROR_HANDLER): New macro.
20549 (__SYSCALL_STRING): Do not do errno handling in asm.
20550 (__CLONE_SYSCALL_STRING): Delete.
20551 (__INTERNAL_SYSCALL_STRING): Delete.
20552 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20553 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20554 i386.
20555 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20556 (inline_syscall*): Add 'err' argument.
20557 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20558 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20559 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20560 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20561
20562 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20563 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20564
2bc17433
AS
205652011-08-30 Andreas Schwab <schwab@redhat.com>
20566
20567 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20568
fbeb5f4d
JO
205692011-08-29 Jiri Olsa <jolsa@redhat.com>
20570
20571 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20572 directive.
20573
ad69cc26
DM
205742011-08-24 David S. Miller <davem@davemloft.net>
20575
20576 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20577
39dd69df
AS
205782011-08-24 Andreas Schwab <schwab@redhat.com>
20579
20580 * elf/Makefile: Add rules to build and run unload8 test.
20581 * elf/unload8.c: New file.
20582 * elf/unload8mod1.c: New file.
20583 * elf/unload8mod1x.c: New file.
20584 * elf/unload8mod2.c: New file.
20585 * elf/unload8mod3.c: New file.
20586
20587 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20588 it wasn't used.
20589
2c0b250a
DM
205902011-08-23 David S. Miller <davem@davemloft.net>
20591
20592 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20593 subtract stack bias.
20594 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20595 %sp not %fp in calculations.
20596 (_JMPBUF_UNWINDS_ADJ): Likewise.
20597
22044b48
DM
20598 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20599 (aio_suspend): Call it to force an exception region around the
20600 AIO_MISC_WAIT() invocation.
20601
2cae4995
AS
206022011-08-23 Andreas Schwab <schwab@redhat.com>
20603
20604 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20605 backslash.
20606
873a772e
AJ
206072011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20608
20609 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20610 protection macro.
20611 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20612 and <dl-machine.h>.
20613 (Elf64_FuncDesc): Remove.
20614
25ad0df1
DM
206152011-08-22 David S. Miller <davem@davemloft.net>
20616
20617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20618 sigaltstack check, add missing cfi directives.
20619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20620 missing cfi directives, and sigaltstack handling.
20621
e888bcbe
AS
206222011-08-16 Andreas Schwab <schwab@redhat.com>
20623
20624 [BZ #11724]
20625 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20626 object is seen twice.
20627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20628
20629 * elf/Makefile (distribute): Add tst-initorder2.c.
20630 (tests): Add tst-initorder2.
20631 (modules-names): Add tst-initorder2a tst-initorder2b
20632 tst-initorder2c tst-initorder2d. Add rules to build them.
20633 ($(objpfx)tst-initorder2.out): New rule.
20634 * elf/tst-initorder2.c: New file.
20635 * elf/tst-initorder2.exp: New file.
20636
87162f46
AS
206372011-08-22 Andreas Schwab <schwab@redhat.com>
20638
70538b7f
AS
20639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20640
f55ffe58
AS
20641 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20642 dependencies back to end of function.
20643
87162f46
AS
20644 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20645 $(elfobjdir)/ld.so.
20646
91b392a4
UD
206472011-08-21 Ulrich Drepper <drepper@gmail.com>
20648
20649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20650 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20651 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20652 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20653 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20654 of __vdso_gettimeofday.
20655 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20656 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20657 attribute_hidden.
20658 (_libc_vdso_platform_setup): Remove initialization of
20659 __vdso_gettimeofday and __vdso_time.
20660
5c43483f
UD
206612011-08-20 Ulrich Drepper <drepper@gmail.com>
20662
775a77e7
UD
20663 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20664 and fgetc_unlocked.
20665 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20666 getc_unlocked.
89f447ed 20667
49c74ba9
UD
20668 * elf/dl-open.c (add_to_global): Report additions to the global scope
20669 for LD_DEBUG=scopes.
20670 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20671 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20672
5c43483f
UD
20673 [BZ #13114]
20674 * stdio-common/Makefile (tests): Add bug24.
20675 * stdio-common/bug24.c: New file.
20676
a101b025
AJ
206772011-08-19 Andreas Jaeger <aj@suse.de>
20678
20679 [BZ #13114]
20680 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20681 non-existant file when using close-on-exec mode.
20682
c88f1766
UD
206832011-08-20 Ulrich Drepper <drepper@gmail.com>
20684
0276a718
UD
20685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20686 the very first instruction.
20687
c88f1766
UD
20688 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20689 the CFI state in the end.
20690 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20691 inclusion of dl-trampoline.h.
20692 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20693
51ccffa0
AS
206942011-08-19 Andreas Schwab <schwab@redhat.com>
20695
94d7165f
AS
20696 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20697 expectations for long double.
20698
51ccffa0
AS
20699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20700 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20701
fd708658 207022011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20703
20704 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20705 artificual limit depends upon the system page size.
20706
44f0a71e
UD
207072011-08-17 Ulrich Drepper <drepper@gmail.com>
20708
20709 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20710 * resolv/Makefile: Define CFLAGS-libresolv.
20711
8de79a24
AS
207122011-08-17 Andreas Schwab <schwab@redhat.com>
20713
20714 * nss/makedb.c (compute_tables): Make variables used in nested
20715 function static.
20716
27724598
UD
207172011-08-17 Ulrich Drepper <drepper@gmail.com>
20718
c5305d88
UD
20719 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20720 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20721 if buffer was too small.
20722
27724598
UD
20723 * elf/pldd.c (main): Attach to all threads in the process.
20724 Rewrite /proc handling to use *at functions.
20725
076fe015
UD
207262011-08-16 Ulrich Drepper <drepper@gmail.com>
20727
174baab3
UD
20728 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20729 specifies first scope to show.
20730 (dl_open_worker): Update callers. Move printing scope of new
20731 object to before the relocation.
44f0a71e 20732 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20733 * sysdeps/generic/ldsodefs.h: Update declaration.
20734
076fe015
UD
20735 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20736 string for the scope number.
20737
a60df2c3
UD
207382011-08-14 Ulrich Drepper <drepper@gmail.com>
20739
20740 * nscd/servicescache.c (cache_addserv): Make sure written is always
20741 initialized.
20742
5e4287d1
RM
207432011-08-14 Roland McGrath <roland@hack.frob.com>
20744
85ae0589
RM
20745 * sysdeps/i386/i486/bits/atomic.h
20746 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20747 statement expression, so as to suppress "set but not used" warning.
20748 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20749
69f63097
RM
20750 * string/strncat.c (STRNCAT): Use prototype definition.
20751
675456ef
RM
20752 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20753 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20754 -Iprograms here.
20755 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20756 (localedef-modules): Add localedef.
20757 (locale-modules): Add locale.
20758
5e4287d1
RM
20759 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20760 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20761 to avoid a warning.
20762
9c96ff23
DM
207632011-08-14 David S. Miller <davem@davemloft.net>
20764
20765 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20766 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20767
f9ddf089
UD
207682011-08-13 Ulrich Drepper <drepper@gmail.com>
20769
44f0a71e 20770 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20771 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20772 * elf/rtld.c (dl_main): Set l_name of vDSO.
20773 Call _dl_show_scope when DL_DEBUG_SCOPES.
20774 (process_dl_debug): Recognize scopes flag and also set it for all.
20775 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20776 Declare _dl_show_scope.
20777
1dc27704
UD
20778 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20779 (do_dlopen): Pass caller_dlopen to dl_open.
20780 (__libc_dlopen_mode): Initialize caller_dlopen.
20781
f9ddf089
UD
20782 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20783 of libc. Make tolower call locale-independent. Optimize a bit by
20784 using isdigit instead of isalnum.
20785 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20786
9ac533d3
UD
207872011-08-12 Ulrich Drepper <drepper@gmail.com>
20788
20789 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20790 was a dependency or dynamically loaded.
20791
89edf2e9
UD
207922011-08-11 Ulrich Drepper <drepper@gmail.com>
20793
8e999d29
UD
20794 * intl/l10nflist.c: Allow architecture-specific pop function.
20795 * sysdeps/x86_64/l10nflist.c: New file.
20796
89edf2e9
UD
20797 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20798 classification.
20799
14d96785
AS
208002011-08-10 Andreas Schwab <schwab@redhat.com>
20801
20802 * include/dirent.h: Add libc_hidden_proto for scandirat and
20803 scandirat64. Don't declare __scandirat64.
20804 * dirent/scandirat.c: Add libc_hidden_def.
20805 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20806 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20807
6761ac04
DM
208082011-08-10 David S. Miller <davem@davemloft.net>
20809
20810 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20811 enum.
20812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20815
c55fbd1e
UD
208162011-08-09 Ulrich Drepper <drepper@gmail.com>
20817
20818 * Versions.def [libc]: Add GLIBC_2.15.
20819 * dirent/Makefile (routines): Add scandirat and scandirat64.
20820 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20821 GLIBC_2.15.
20822 * dirent/dirent.h: Declare scandirat and scandirat64.
20823 * dirent/scandirat.c: New file.
20824 * dirent/scandirat64.c: New file.
20825 * sysdeps/wordsize-64/scandirat.c: New file.
20826 * sysdeps/wordsize-64/scandirat64.c: New file.
20827 * dirent/opendir.c: Define opendirat.
20828 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20829 using scandirat.
20830 * dirent/scandir64.c: Adjust for scandir.c change.
20831 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20832 __scandirat64, and __scandir_cancel_handler.
20833 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20834 additional parameter and use openat instead of open (outside of ld.so).
20835 Add new __opendir as wrapper around __opendirat.
20836 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20837 here without requiring old scandirat implementation.
20838
879165f2
UD
208392011-08-08 Ulrich Drepper <drepper@gmail.com>
20840
20841 * dirent/scandir.c (cancel_handler): Renamed to
20842 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20843 defined. Adjust users.
20844 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20845 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20846
cb7e923b
UD
208472011-08-04 Ulrich Drepper <drepper@gmail.com>
20848
16292edd
UD
20849 * string/test-string.h (IMPL): Use __STRING to expand name and then
20850 stringify it.
20851
cb7e923b
UD
20852 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20853 of cleanups.
20854
cff82933
LD
208552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20856
20857 * string/Makefile: Update.
20858 (strop-tests): Append strncat.
20859 * string/test-wcscmp.c: New file.
20860 New comprehensive test for wcscmp.
20861 * string/test-strcmp.c: Update.
20862 (WIDE): New define.
20863
9be9bfcc
AS
208642011-07-22 Andreas Schwab <schwab@redhat.com>
20865
20866 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20867 line.
20868
2e96f1c7
AS
208692011-07-26 Andreas Schwab <schwab@redhat.com>
20870
20871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20872 encoding to ACE if AI_IDN.
20873
85188888
JJ
208742011-08-01 Jakub Jelinek <jakub@redhat.com>
20875
20876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20877 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20878
5fa16e9b
LD
208792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20880
20881 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20882 Fix overflow bug in strncat.
20883 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20884
20885 * string/test-strncat.c: Update.
20886 Add new tests for checking overflow bugs.
20887
208882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20889
20890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20891 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20892 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20893 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20894 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20895 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20896 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20897 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20898 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20899
20900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20901 (USE_AS_STRCAT): Define.
20902 Add strcat and strncat support.
20903 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20904
8c1a459f
AS
209052011-07-25 Andreas Schwab <schwab@redhat.com>
20906
20907 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20908 __n bigger than INT_MAX+1.
20909 (__strncmp_g): Likewise.
20910
bba33c28
UD
209112011-07-23 Ulrich Drepper <drepper@gmail.com>
20912
798be72d
UD
20913 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20914 * libio/stido.h: Likewise.
20915
8accd4dc
UD
20916 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20917 (AF_NFC): Define.
20918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20919 (AF_NFC): Define.
20920
cbff0d96
UD
20921 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20923 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20924 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20925 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20926
9191c04a
UD
20927 [BZ #13021]
20928 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20929 installed.
20930
bba33c28
UD
20931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20932 typo.
20933 (_dl_x86_64_save_sse): Likewise.
20934
90f139dd
UD
209352011-07-22 Ulrich Drepper <drepper@gmail.com>
20936
1aae088a
UD
20937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20938 OSXSAVE.
20939 (_dl_x86_64_save_sse): Likewise.
20940
8e2045f5
UD
20941 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20942
90f139dd
UD
20943 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20944
1d002f25
AS
209452011-07-21 Andreas Schwab <schwab@redhat.com>
20946
20947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20948 change.
20949 (_dl_x86_64_save_sse): Use correct AVX check.
20950
21137f89
UD
209512011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20952
20953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20954 bug in strncpy/strncat.
20955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20956
a65c0b7a
UD
209572011-07-21 Ulrich Drepper <drepper@gmail.com>
20958
20959 * string/tester.c (test_strcat): Add tests for different alignments
20960 of source and destination.
20961 (test_strncat): Likewise.
20962
6986b98a
UD
209632011-07-20 Ulrich Drepper <drepper@gmail.com>
20964
90bb2039
UD
20965 [BZ #12852]
20966 * posix/glob.c (glob): Check passed in values before using them in
20967 expressions to avoid some overflows.
20968 (glob_in_dir): Likewise.
20969
5644ef54
UD
20970 [BZ #13007]
20971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20972 check for AVX enablement so that we don't crash with old kernels and
20973 new hardware.
20974 * elf/tst-audit4.c: Add same checks here.
20975 * elf/tst-audit6.c: Likewise.
20976
20977 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20978
bfc9dc9b
AS
209792011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20980
20981 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20982
702e64bb
UD
209832011-07-20 Ulrich Drepper <drepper@gmail.com>
20984
20985 * po/cs.po: Update from translation team.
20986 * po/bg.po: Likewise.
20987
295e904f
MP
209882011-07-12 Marek Polacek <mpolacek@redhat.com>
20989
20990 * misc/sys/cdefs.h: Add support for const attribute.
20991 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20992 to gnu_dev_{major,minor,makedev} functions.
20993
3ff94596
MP
209942011-07-20 Marek Polacek <mpolacek@redhat.com>
20995
20996 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20997
28b59fca
AS
209982011-07-20 Andreas Schwab <schwab@redhat.com>
20999
21000 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21001 strlen results.
21002
19df733e
AK
210032011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21004
21005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21006 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21007 register in order to avoid conflicts with the soft frame pointer
21008 being held in r11 when necessary.
21009 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21010 (INTERNAL_VSYSCALL_NCS): Likewise.
21011
c8835729
MP
210122011-07-14 Marek Polacek <mpolacek@redhat.com>
21013
21014 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21015 * elf/dl-fini.c (_dl_fini): Adjust caller.
21016 * elf/dl-close.c (_dl_close_worker): Likewise.
21017 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21018
b902330c
MP
210192011-07-15 Marek Polacek <mpolacek@redhat.com>
21020
8991e135
MP
21021 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21022 "aux_cache->nlibs < 0".
21023
b902330c
MP
21024 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21025 in the reload-count case.
21026
99710781
LD
210272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21028
21029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21030 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21031 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21032 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21033 * sysdeps/x86_64/multiarch/strcat.S: New file.
21034 * sysdeps/x86_64/multiarch/strncat.S: New file.
21035 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21036 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21037 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21038 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21040 (USE_AS_STRCAT): Define.
21041 Add strcat and strncat support.
21042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21043 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21044 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21045 * string/strncat.c: Update.
21046 (USE_AS_STRNCAT): Define.
21047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21048 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21049 and i7.
21050 * sysdeps/x86_64/multiarch/init-arch.h
21051 (bit_Prefer_PMINUB_for_stringop): New.
21052 (index_Prefer_PMINUB_for_stringop): Likewise.
21053 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21054 bit_Prefer_PMINUB_for_stringop.
21055
7dc6bd90
UD
210562011-07-19 Ulrich Drepper <drepper@gmail.com>
21057
21058 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21059 buffer64.
21060 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21061 of casting of buffer.
21062 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21063 buffer32 and buffer64.
21064 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21065 writes instead of casting of buffer.
21066 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21067 buffer32.
21068 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21069 casting of buffer.
21070
e0e72284
AS
210712011-07-19 Andreas Schwab <schwab@redhat.com>
21072
21073 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21074
feb1eb0b
UD
210752011-07-19 Ulrich Drepper <drepper@gmail.com>
21076
21077 * nscd/nscd.c (termination_handler): Don't do anything for a database
21078 if it has not yet been initialized.
21079
298711ff
UD
210802011-07-18 Ulrich Drepper <drepper@gmail.com>
21081
21082 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21083
210842011-07-15 Marek Polacek <mpolacek@redhat.com>
21085
21086 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21087
f9d68389
UD
210882011-07-18 Ulrich Drepper <drepper@gmail.com>
21089
21090 * po/nl.po: Update from translation team.
21091 * po/sv.po: Likewise.
21092
db290cf5
RM
210932011-07-16 Roland McGrath <roland@hack.frob.com>
21094
21095 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21096 now disallowed by GCC.
5c550700 21097
fd5e21c7
RM
21098 * configure.in (use-default-link): Default to yes if a test -shared
21099 link meets our qualifications.
21100 * configure: Regenerated.
21101
5c550700
RM
21102 * config.make.in (output-format): New variable.
21103 * configure.in: Check for ld --print-output-format support.
21104 * configure: Regenerated.
21105 * Makerules ($(common-objpfx)format.lds)
21106 [$(output-format) != unknown]: Just use $(output-format),
21107 instead of the linker-script munging.
21108
9fa2c032
RM
211092011-07-14 Roland McGrath <roland@hack.frob.com>
21110
a6928d51
RM
21111 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21112 of $(common-objpfx)shlib.lds.
21113 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21114
661607b3
RM
21115 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21116 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21117
9fa2c032
RM
21118 * configure.in (-z relro check): Adjust test code to add a large
21119 writable data section after it.
21120 * configure: Regenerated.
21121
defe9061
RM
211222011-07-11 Roland McGrath <roland@hack.frob.com>
21123
21124 * configure.in (-z relro check): Fix test code to make the variable
21125 truly const.
21126 * configure: Regenerated.
21127
319b9ad4
UD
211282011-07-11 Ulrich Drepper <drepper@gmail.com>
21129
21130 * nscd/nscd.h (struct traced_file): Define.
21131 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21132 elements. Add traced_files.
21133 (inotify_fd): Declare.
21134 (register_traced_file): Declare.
21135 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21136 (inotify_fd): Export.
21137 (resolv_conf_descr): Remove.
21138 (nscd_init): Move inotify descriptor creation to main.
21139 Don't register files for notification here.
21140 (register_traced_file): New function.
21141 (invalidate_cache): Don't use reset_res to determine whether to call
21142 res_init, go through the list of registered files.
21143 (main_loop_poll): The inotify descriptors are now stored in the
21144 structures for the traced files.
21145 (main_loop_epoll): Likewise
21146 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21147 to __nss_disable_nscd.
21148 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21149 for a database anymore. Check the records for all the registered
21150 files instead.
21151 * nss/Makefile (libnss_files-routines): Add files-init.
21152 (libnss_db-routines): Add db-init.
21153 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21154 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21155 * nss/nss_db/db-init.c: New file.
21156 * nss/nss_files/files-init.c: New file.
21157 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21158 __nss_lookup_function.
21159 (__nss_lookup_function): Call nss_load_library.
21160 (nss_load_all_libraries): New function.
21161 (__nss_disable_nscd): Take parameter with callback function for files
21162 to register. Set is_nscd. Load all the DSOs for the NSS modules
21163 used for the cached services.
21164 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21165 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21166 options for features to all the files in nscd.
21167
21168 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21169
23bee3e8
RM
211702011-07-10 Roland McGrath <roland@hack.frob.com>
21171
21172 * csu/elf-init.c (__libc_csu_init): Comment typo.
21173
46a5b7f0
UD
211742011-07-09 Ulrich Drepper <drepper@gmail.com>
21175
21176 * po/pl.po: Update from translation team.
21177 * po/ja.po: Likewise.
21178 * po/ru.po: Likewise.
21179 * po/ko.po: Likewise.
21180 * po/fr.po: Likewise.
21181
d30cf5bb
RM
211822011-07-09 Roland McGrath <roland@hack.frob.com>
21183
113ddea4
RM
21184 * configure.in (.ctors/.dtors header and trailer check):
21185 Use an empirical test on a built program.
21186 * configure: Regenerated.
21187
574920b4
RM
21188 * configure.in (-z relro check): Use an empirical test on a built DSO.
21189 Detect, but do not require, on ia64.
21190 * configure: Regenerated.
21191
d30cf5bb
RM
21192 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21193 Update tests that use readelf to use $READELF instead.
21194 * configure: Regenerated.
21195
8538fdb3
UD
211962011-07-08 Ulrich Drepper <drepper@gmail.com>
21197
21198 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21199 if the result is not used.
21200
04d08991
AJ
212012011-07-05 Andreas Jaeger <aj@suse.de>
21202
21203 [BZ#9696]
21204 * stdlib/tst-strtod.c: Add testcase.
21205
de283087
AD
212062011-07-07 Ulrich Drepper <drepper@gmail.com>
21207
4e5f31c8 21208 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21209 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21210 The latter has a higher limit. Take additional parameter to pass to
21211 the new function.
21212 (__pathconf): Pass file to __statfs_link_max.
21213 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21214 __statfs_link_max.
21215 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21216 __statfs_link_max.
21217
de283087
AD
21218 [BZ #12868]
21219 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21221 Handle Lustre.
21222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21223 (__statfs_filesize_max): Likewise.
21224 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21225
c75fa153
AJ
212262011-07-05 Andreas Jaeger <aj@suse.de>
21227
21228 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21229
1a544854
UD
212302011-07-06 Marek Polacek <mpolacek@redhat.com>
21231
21232 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21233 `status' variable.
21234 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21235 Likewise.
21236
6f0eec67
UD
212372011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21238
21239 * Makefile (strop-tests): Add strncat.
21240 * string/test-strncat.c: New file.
21241
aae30307
UD
212422011-06-30 Marek Polacek <mpolacek@redhat.com>
21243
21244 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21245
c0cfb5eb
UD
212462011-06-21 Andreas Jaeger <aj@suse.de>
21247
21248 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21249 Copy rule from iconvdata/Makefile.
21250
01636b21
UD
212512011-07-06 Ulrich Drepper <drepper@gmail.com>
21252
21253 [BZ #12922]
21254 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21255 but no long options are defined, just return 'W'.
21256
9895c8bc
UD
212572011-06-22 Marek Polacek <mpolacek@redhat.com>
21258
21259 [BZ #9696]
21260 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21261
5d4cf042
UD
212622011-07-06 Ulrich Drepper <drepper@gmail.com>
21263
21264 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21265 netgroups to read.
960e5535 21266 (innetgr): Likewise.
5d4cf042 21267
751eb97e
RM
212682011-07-05 Roland McGrath <roland@hack.frob.com>
21269
21270 * config.make.in (install_root): Default to $(DESTDIR).
21271
f15f1e45
UD
212722011-07-05 Ulrich Drepper <drepper@gmail.com>
21273
21274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21275
4e34ac6a
RM
212762011-07-02 Roland McGrath <roland@hack.frob.com>
21277
5e9b6af4
RM
21278 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21279
84f9ea0f
RM
21280 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21281 containing directory rather than embedding absolute directory names.
21282
ea5ee9f7
RM
21283 * scripts/check-local-headers.sh: Rewritten using awk.
21284 Match by word, not by line. Print error messages for matches.
21285 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21286
1b74661a
RM
21287 * Makerules [shlib-lds-flags empty]:
21288 ($(common-objpfx)libc_pic.opts): New target.
21289 ($(common-objpfx)libc_pic.os.clean): New target.
21290 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21291
21292 * config.make.in (OBJCOPY): New variable.
21293 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21294 * configure: Regenerated.
21295
f781ef40
RM
21296 * config.make.in (use-default-link): New variable.
21297 * configure.in (use_default_link): Grok --with-default-link to set it.
21298 * configure: Regenerated.
21299 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21300 (shlib-lds, shlib-lds-flags): Define to empty.
21301
2d4fa81e
RM
21302 * Makerules (shlib-lds): New variable.
21303 (shlib-lds-flags): New variable.
21304 (build-shlib, build-moduile, build-module-asneeded): Use it.
21305 ($(common-objpfx)libc.so): Use $(shlib-lds).
21306 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21307 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21308
31fffa6b
RM
21309 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21310 DT_FLAGS/DT_FLAGS_1 with zero flags.
21311
4e34ac6a
RM
21312 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21313 linker script munging.
21314
fcfc776b
UD
213152011-07-02 Ulrich Drepper <drepper@gmail.com>
21316
21317 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21318 as 128-bit value.
21319 * crypt/sha512.c (sha512_process_block): Perform total addition using
21320 128-bit if possible.
21321 (__sha512_finish_ctx): Likewise.
21322 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21323 as 64-bit value.
21324 * crypt/sha256.c (SWAP64): Define.
21325 (sha256_process_block): Perform total addition using 64-bit if
21326 possible.
21327 (__sha256_finish_ctx): Likewise.
21328
99231d9a
UD
213292011-07-01 Ulrich Drepper <drepper@gmail.com>
21330
21331 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21333 * nscd/hstcache.c (cache_addhst): Likewise.
21334 * nscd/grpcache.c (cache_addgr): Likewise.
21335 * nscd/aicache.c (addhstaiX): Likewise
21336 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21337
445b4a53
TK
213382011-07-01 Thorsten Kukuk <kukuk@suse.de>
21339
21340 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21342 * nscd/hstcache.c (cache_addhst): Likewise.
21343 * nscd/grpcache.c (cache_addgr): Likewise.
21344 * nscd/aicache.c (addhstaiX): Likewise
21345
6d4d8e8e
AS
213462011-07-01 Andreas Schwab <schwab@redhat.com>
21347
21348 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21349 domain only when needed.
21350
89f654c5
AS
213512011-06-30 Andreas Schwab <schwab@redhat.com>
21352
21353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21354 is always restored.
21355
cf3b23ff
UD
213562011-06-29 Ulrich Drepper <drepper@gmail.com>
21357
21358 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21359 are re-adding the entry.
21360 * nscd/servicescache.c (cache_addserv): Likewise.
21361
751626f9
AJ
213622011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21363
21364 * sysdeps/generic/dl-irel.h: fix protection against multiple
21365 inclusions.
21366 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21367
9113ea1f
UD
213682011-06-28 Ulrich Drepper <drepper@gmail.com>
21369
5c0b8d90
UD
21370 [BZ #12935]
21371 * malloc/memusage.sh: Fix quoting in message.
21372 * debug/xtrace.sh: Likewise.
21373
9113ea1f
UD
21374 * configure.in: Remove support for --experimental-malloc option, make
21375 it the default.
21376 * config.make.in: Likewise.
21377 * malloc/Makefile: Likewise.
21378
a4172181
AS
213792011-06-27 Andreas Schwab <schwab@redhat.com>
21380
21381 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21382 two-byte characters.
21383
78a7eee7
RM
213842011-06-27 Roland McGrath <roland@hack.frob.com>
21385
62bede13
RM
21386 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21387 AC_CACHE_CHECK invocation.
21388 * configure: Regenerated.
21389
78a7eee7
RM
21390 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21391
5ce33a62
UD
213922011-06-27 Ulrich Drepper <drepper@gmail.com>
21393
034807a9
UD
21394 [BZ #12350]
21395 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21396 bit from old_res_options.
21397
4902da17
UD
21398 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21399
5ce33a62
UD
21400 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21401 value type for setfct.
21402
c2344f56
L
214032011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21404
21405 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21406 __gettimeofday instead of gettimeofday.
21407
68468076
UD
214082011-06-26 Ulrich Drepper <drepper@gmail.com>
21409
21410 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21411
acb0d739
L
214122011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21413
21414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21415
21416 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21417 info.
21418
8912479f
L
214192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21420
21421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21422 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21423 strcpy-sse2-unaligned strncpy-sse2-unaligned
21424 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21425 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21426 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21427 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21428 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21429 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21430 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21431 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21432 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21433 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21434 (STRCPY): Support SSE2 and SSSE3 versions.
21435
d5495a11
UD
214362011-06-24 Ulrich Drepper <drepper@gmail.com>
21437
21438 [BZ #12874]
21439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21440 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21441 kernels which artificially limit size of requests.
21442
0b1cbaae
L
214432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21444
21445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21446 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21447 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21448 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21449 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21450 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21451 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21452 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21455 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21456 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21457 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21458 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21459 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21461 Enable unaligned load optimization for Intel Core i3, i5 and i7
21462 processors.
21463 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21464 Define.
21465 (index_Fast_Unaligned_Load): Define.
21466 (HAS_FAST_UNALIGNED_LOAD): Define.
21467
07f494a0
MP
214682011-06-23 Marek Polacek <mpolacek@redhat.com>
21469
21470 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21471
fa3fc0fe
UD
214722011-06-22 Ulrich Drepper <drepper@gmail.com>
21473
21474 [BZ #12907]
21475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21476 until it is clear that the information is realy needed.
21477 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21478
e12df166
AS
214792011-06-22 Andreas Schwab <schwab@redhat.com>
21480
21481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21482
852eb34d
UD
214832011-06-22 Ulrich Drepper <drepper@gmail.com>
21484
84e2a551
UD
21485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21486 /sys/devices/system/cpu/online if it is usable.
21487
852eb34d
UD
21488 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21489 reading the information from the /proc filesystem to once a second.
21490
6e502e19
UD
214912011-06-21 Andreas Jaeger <aj@suse.de>
21492
21493 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21494 NULL after inclusion of kernel headers.
21495
75d39ff2
UD
214962011-06-21 Ulrich Drepper <drepper@gmail.com>
21497
51f9aa6a
UD
21498 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21499 calls to internal_setent.
21500
c0244a9d
UD
21501 [BZ #12885]
21502 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21503 addresses using gethostbyname4_r ignore IPv4 addresses.
21504
c5e3c2ae
UD
21505 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21506 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21507
75d39ff2
UD
21508 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21509
42675c6f
DM
215102011-06-20 David S. Miller <davem@davemloft.net>
21511
21512 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21513 inclusions.
21514 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21515
21516 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21517 (elf_irel): Use it.
21518 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21519 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21520 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21521 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21522 * sysdeps/x86_64/dl-irel.h: Likewise.
21523
21524 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21525 * elf/dl-sym.c: Likewise.
21526
57912a71
UD
215272011-06-15 Ulrich Drepper <drepper@gmail.com>
21528
21529 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21530 need to dereference resplen2.
21531
ee22793d
AS
215322011-06-14 Andreas Schwab <schwab@redhat.com>
21533
21534 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21535
a9e836b0
UD
215362011-06-15 Ulrich Drepper <drepper@gmail.com>
21537
77fb9117
UD
21538 * Makeconfig: Define vardbdir and inst_vardbdir.
21539 * nss/Makefile: Add rules to install db-Makefile.
21540
40c1b22c
UD
21541 * nss/nss_db/db-XXX.c: Cleanup.
21542
9f2da732
UD
21543 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21544 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21545 GLIBC_PRIVATE.
21546 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21547 * nss/makedb.c: Implement -g option to specify that value strings
21548 are generated and should not be added to table iterated over for
21549 get*ent calls.
21550 * nss/nss_db/db-initgroups.c: New file.
21551
82e9a1f7
UD
21552 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21553 interface.
21554
c41af17e
UD
21555 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21556 (internal_getgrouplist): Adjust to name change.
21557 Update use_initgroups_entry if this is not the first call.
21558 * nss/databases.def: Add initgroups entry.
21559
a9e836b0
UD
21560 * nss/makedb.c (compute_tables): Check result of multiple hash table
21561 sizes to minimize maximum chain length.
21562
2666d441
UD
215632011-06-14 Ulrich Drepper <drepper@gmail.com>
21564
21565 * Versions.def: Add entry for libnss_db.
21566 * shlib-versions: Likewise.
21567 * nss/Makefile: Add rules to build libnss_db.
21568 * nss/Versions: Add libnss_db information. Organize libnss_files
21569 entries better.
21570 * nss/db-Makefile: Add gshadow support. Change rules for the new
21571 makedb progra. Some minor improvements to generate smaller files.
21572 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21573 here from...
21574 * nss/makedb.c: ...here.
21575 Improve database format to be smaller and require less memory at
21576 runtime.
21577 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21578 db anymore.
21579 * nss/nss_db/db-netgrp.c: Likewise.
21580 * nss/nss_db/db-open.c: Likewise.
21581 * nss/nss_files/flies-XXX.x: Adjust comments.
21582 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21583 * nss/nss_files/files-grp.c: Likewise.
21584 * nss/nss_files/files-hosts.c: Likewise.
21585 * nss/nss_files/files-network.c: Likewise.
21586 * nss/nss_files/files-proto.c: Likewise.
21587 * nss/nss_files/files-pwd.c: Likewise.
21588 * nss/nss_files/files-rpc.c: Likewise.
21589 * nss/nss_files/files-service.c: Likewise.
21590 * nss/nss_files/files-sgrp.c: Likewise.
21591 * nss/nss_files/files-spwd.c: Likewise.
21592 * nss/nss_db/db-alias.c: Removed.
21593 * nss/nss_db/dummy-db.h: Removed.
21594
9ee76b5a
UD
215952011-06-02 Ulrich Drepper <drepper@gmail.com>
21596
21597 * nss/makedb.c: Rewritten to not use database library.
21598 * nss/Makefile: Update to build new makedb program.
21599
c71ca1f8
AJ
216002011-06-14 Andreas Jaeger <aj@suse.de>
21601
21602 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21603 memset declaration.
21604
3154bfb8
UD
216052011-06-10 Andreas Schwab <schwab@redhat.com>
21606
21607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21608 tmpbuf.
21609
b350afab
RM
216102011-06-10 Roland McGrath <roland@hack.frob.com>
21611
decd4e50
RM
21612 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21613 * elf/Makefile ($(objpfx)ld.so): Likewise.
21614
5615eaf2
RM
21615 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21616 Don't list ld.so twice in dependencies.
21617
21618 * posix/bug-regex31.c: Include <stdlib.h>.
21619
21620 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21621
21622 * nis/nss_compat/compat-spwd.c
21623 (getspent_next_nss_netgr): Remove unused variable.
21624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21625
21626 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21627 nonmembers" output to use the right array.
21628
21629 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21630
21631 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21632
21633 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21634 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21635 * catgets/gencat.c (read_input_file): Likewise.
21636 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21637
21638 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21639 variable definition inside #if's controlling its use.
21640
21641 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21642
21643 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21644
21645 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21646
21647 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21648 unreachable code.
21649
21650 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21651
b68e08db
RM
21652 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21653 * configure: Regenerated.
21654
b350afab
RM
21655 * Makerules: Revert last change.
21656 * elf/Makefile: Likewise.
21657
28368601
RM
216582011-06-09 Roland McGrath <roland@hack.frob.com>
21659
21660 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21661 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21662 (reloc-link): Likewise.
21663
11988f8f
UD
216642011-06-09 Ulrich Drepper <drepper@gmail.com>
21665
21666 * elf/Makefile: Add rules to build pldd.
21667 * elf/pldd.c: New file.
21668 * elf/pldd-xx.c: New file.
21669
e80fab37
UD
216702011-06-07 Ulrich Drepper <drepper@gmail.com>
21671
21672 * version.h: Update for 2.15 development version.
21673
9b849836
DM
216742011-06-07 David S. Miller <davem@davemloft.net>
21675
21676 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21677 ifuncs.
21678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21679 elf_machine_lazy_rel): Likewise.
21680 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21682 elf_machine_lazy_rel): Likewise.
21683 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21684 dl_hwcap via passed in argument.
21685 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21686 Likewise.
21687
5a31b283
AK
216882011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21689
21690 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21691
069e52f8
RM
216922011-06-06 Roland McGrath <roland@hack.frob.com>
21693
21694 [BZ #12849]
21695 * manual/fdl-1.1.texi: New file, verbatim from:
21696 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21697 * manual/lgpl-2.1.texi: New file, verbatim from:
21698 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21699 * manual/Makefile (licenses): New variable, list those new file names.
21700 (texis): Use it.
21701 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21702
21703 * manual/fdl.texi: File removed.
21704 * manual/lesser.texi: File removed.
21705 * manual/libc.texinfo (Copying, Documentation License):
21706 Use new @include file names, put @appendix directive before @include.
21707
f16846a5
JJ
217082011-06-04 Jakub Jelinek <jakub@redhat.com>
21709
21710 [BZ #12841]
21711 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21712 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21713 (mq_open): Add __NTH.
21714
3d29045b
L
217152011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21716
21717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21718 Assume Intel Core i3/i5/i7 processor if AVX is available.
21719
8c297311
UD
217202011-05-31 Ulrich Drepper <drepper@gmail.com>
21721
21722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21723 typo.
21724
c8fc0c91
UD
217252011-05-31 Andreas Schwab <schwab@redhat.com>
21726
21727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21728 memory. Use alloca_account. Fix memory leak when retrying.
21729
5b27a807
UD
217302011-05-31 Ulrich Drepper <drepper@gmail.com>
21731
356f8bc6
UD
21732 * version.h (RELEASE): Bump for 2.14 release.
21733 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21734
5b27a807
UD
21735 * config.make.in (RANLIB): Remove entry.
21736
01f16ab0
UD
217372011-05-30 Ulrich Drepper <drepper@gmail.com>
21738
41fce8bd
UD
21739 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21740 (libc.pot): Work around missing support for .ksh extension in xgettext.
21741
4769ae77
UD
21742 [BZ #12684]
21743 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21744 if both request failed.
21745 (send_dg): In case of server errors clear resplen or *resplen2.
21746
6b1e7d19
UD
21747 [BZ #12454]
21748 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21749 when there are multiple maps.
21750 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21751 (_dl_fini): Remove test here.
21752
01f16ab0
UD
21753 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21754
b1ebd700
UD
217552011-05-29 Ulrich Drepper <drepper@gmail.com>
21756
7ae22829
UD
21757 [BZ #12350]
21758 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21759 bit from old_res_options.
21760 (gaih_inet): Likewise.
21761
553149f6 21762 [BZ #11099]
18a84741 21763 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21764 as signed.
21765
652ffab1
UD
21766 * resolv/res_init.c (res_setoptions): Make the code more compact.
21767
16985fd0
UD
21768 [BZ #11558]
21769 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21770 set RES_USEVC.
21771
0464f746
UD
21772 [BZ #11634]
21773 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21774
7d17596c
UD
21775 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21776
cf6bbbd7
UD
21777 [BZ #11781]
21778 * malloc/malloc.h: Declare malloc hook variables as volatile.
21779
13f1ab36
UD
21780 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21781 in last patch.
21782
b1ebd700
UD
21783 [BZ #11799]
21784 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21785 raise in the comment.
80e2212d
UD
21786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21789
ce67228d
UD
217902011-05-28 Ulrich Drepper <drepper@gmail.com>
21791
8887a920
UD
21792 [BZ #12811]
21793 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21794 grow the buffers more if it already has to be sufficient.
21795 (build_wcs_upper_buffer): Likewise.
21796 * posix/regexec.c (check_matching): Likewise.
21797 (clean_state_log_if_needed): Likewise.
21798 (extend_buffers): Don't enlarge buffers beyond size of the input
21799 buffer.
21800 Patches mostly by Emil Wojak <emil@wojak.eu>.
21801 * posix/bug-regex32.c: New file.
21802 * posix/Makefile (tests): Add bug-regex32.
21803
4f031072
UD
21804 * locale/findlocale.c (_nl_find_locale): Return right away if
21805 _nl_explode_name failed.
21806 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21807
d0478f0c
UD
21808 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21809
de81b246
UD
21810 * debug/xtrace.sh: Unify messages.
21811 * malloc/memusage.sh: Likewise.
21812
c738465a
UD
21813 [BZ #12813]
21814 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21815 time symbol from vDSO. Substitute with vsyscall if not available.
21816 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21817 __vdso_time.
21818
f1f929d7
UD
21819 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21820 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21821 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21822 Add sendmmsg and internal_sendmmsg.
21823 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21824 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21825 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21826
ce67228d
UD
21827 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21828 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21829 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21830
e57420c6
UD
218312011-05-27 Ulrich Drepper <drepper@gmail.com>
21832
a8509ca5
UD
21833 [BZ #12813]
21834 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21835 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21836 available.
21837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21838 __vdso_getcpu.
21839
e57420c6
UD
21840 [BZ #12814]
21841 * iconvdata/Makefile (tests): Add bug-iconv9.
21842 * iconvdata/bug-iconv9.c: New file.
21843
4d07db15
AS
218442011-05-27 Andreas Schwab <schwab@redhat.com>
21845
21846 [BZ #12814]
21847 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21848
ea486f69
JJ
218492011-05-25 Jakub Jelinek <jakub@redhat.com>
21850
21851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21852 (struct user_regs_struct): Change intcs field back to cs.
21853
6f038433
UD
218542011-05-25 Ulrich Drepper <drepper@gmail.com>
21855
21856 * po/ja.po: Update from translation team.
21857
67f86a25
UD
218582011-05-23 Ulrich Drepper <drepper@gmail.com>
21859
21860 [BZ #12795]
21861 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21862 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21863
def7fbd6
AS
218642011-05-20 Andreas Schwab <schwab@redhat.com>
21865
21866 * stdlib/longlong.h: Update from GCC.
21867
f50ef8f1
AS
218682011-05-23 Andreas Schwab <schwab@redhat.com>
21869
21870 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21871 parameter name.
21872 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21873 Add parameter name.
21874 (__sysconf): Pass it down.
21875
de7ce8f1
UD
218762011-05-22 Ulrich Drepper <drepper@gmail.com>
21877
f2962a71
UD
21878 [BZ #12671]
21879 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21880 some situations.
21881 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21882 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21883 add in in __libc_use_alloca calls. Adjust callers.
21884 (glob): Use malloc in some situations.
21885
de7ce8f1
UD
21886 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21887 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21888 pltexit.
21889
aec84f53
UD
218902011-05-21 Ulrich Drepper <drepper@gmail.com>
21891
05bb4a68
UD
21892 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21893 and CLOCK_BOOTTIME_ALARM.
21894
7ea72f99
UD
21895 [BZ #12782]
21896 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21897 is returned.
21898
7e4afad5
UD
21899 * string/_strerror.c (__strerror_r): Print negative errors as signed
21900 numbers.
21901
8e211fec
UD
21902 [BZ #12777]
21903 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21904 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21905 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21906
f7d82dc9
UD
21907 * configure.in: Fix typo in redirection and correct removal of test
21908 files in two cases.
21909
cc9e536d
UD
21910 [BZ #12788]
21911 * locale/setlocale.c (new_composite_name): Fix test to check for
21912 identical name of all categories.
21913
aec84f53
UD
21914 [BZ #12792]
21915 * libio/filedoalloc.c (local_isatty): New function.
21916 (_IO_file_doallocate): Use local_isatty.
21917 * stdio-common/perror.c (perror): In case a new stream is used
21918 forward the stream error.
21919 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21920 error flag.
21921
78e64fdc
RT
219222011-05-20 Ulrich Drepper <drepper@gmail.com>
21923
34a9094f
UD
21924 [BZ #11869]
21925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21926 alloca.
21927 * include/alloca.h (extend_alloca_account): Define.
21928
78e64fdc
RT
21929 [BZ #11857]
21930 * posix/regex.h: Fix comments with documentation of user-accessible
21931 fields after compilation and describe correct free'ing of pattern
21932 after re_compile_pattern.
21933 Patch by Reuben Thomas <rrt@sc3d.org>.
21934
457bddfc
RA
219352011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21936
21937 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21938 and -mno-altivec to prevent the compiler from using Altivec and/or
21939 VSX instructions when the corresponding registers are not available.
21940
a4527b51
AS
219412011-05-19 Andreas Schwab <schwab@redhat.com>
21942
21943 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21944
ed690b2f
UD
219452011-05-19 Ulrich Drepper <drepper@gmail.com>
21946
21947 * libio/freopen.c (freopen): Use __dup2, not dup2.
21948 * libio/freopen64.c (freopen64): Likewise.
21949
8db73634
L
219502011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21951
21952 [BZ #12775]
21953 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21954 * math/Makefile (tests): Add test-powl.
21955 (CFLAGS-test-powl.c): Define.
21956 * math/test-powl.c: New file.
21957
0a197a9d
L
219582011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21959
21960 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21961
ee30c380
UD
219622011-05-17 Ulrich Drepper <drepper@gmail.com>
21963
21964 [BZ #11837]
21965 * iconvdata/gb18030.c: Update to GB18020-2005.
21966
6ce75379
UD
219672011-05-16 Ulrich Drepper <drepper@gmail.com>
21968
a4b89fd8
AR
21969 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21970 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21971 Patch by Aharon Robbins <arnold@skeeve.com>.
21972
ea389b12
UD
21973 [BZ #11892]
21974 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21975 on the stack.
21976
68a3f91f
UD
21977 [BZ #11895]
21978 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21979 through underflows.
21980
15cc7dd1
UD
21981 [BZ #12766]
21982 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21983 point to strings before performing equality test for error_one_per_line
21984 mode.
21985
f3799213
UD
21986 [BZ #11697]
21987 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21988
d79a9c94
UD
21989 [BZ #11820]
21990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21991 (struct user_fpregs_struct): Avoid __uint*_t types.
21992
56e5eb46
UD
21993 [BZ #6420]
21994 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21995 symbol info. Use it instead of calling _dl_addr locally.
21996 (lock_and_info): New function.
21997 (tr_freehook): Call lock_and_info and pass symbol info as additional
21998 parameter to tr_where.
21999 (tr_mallochook): Likewise.
22000 (tr_reallochook): Likewise.
22001 (tr_memalignhook): Likewise.
22002
6ce75379
UD
22003 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22004 used and couldn't be at all thread-safe.
22005
f8a3b5bf
UD
220062011-05-15 Ulrich Drepper <drepper@gmail.com>
22007
94b7cc37
UD
22008 * libio/freopen.c (freopen): Don't close old file descriptor
22009 before the new one is opened. Instead dup the new file descriptor
22010 to the old one after the new stream is created.
22011 * libio/freopen64.c (freopen64): Likewise.
22012 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22013 * libio/fileops.c (_IO_new_file_close_it): Handle new
22014 _IO_FLAGS2_NOCLOSE flag.
22015 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22016 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22017 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22018 _IO_FLAGS2_NOCLOSE flag.
22019 * include/unistd.h: Add hidden_proto for dup3.
22020 Define __have_dup3.
22021 * io/dup3.c: Define hidden symbol.
22022 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22023
bd25564e
UD
22024 [BZ #7101]
22025 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22026 when an incomplete long option is used.
22027 * posix/tst-getopt_long1.c: New file.
22028 * posix/Makefile (tests): Add tst-getopt_long1.
22029
c84cfef4
UD
22030 [BZ #10138]
22031 * scripts/config.guess: Update from autoconf-2.68.
22032 * scripts/config.sub: Likewise.
22033
3b85df27
UD
22034 [BZ #10157]
22035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22036 tests into ...
22037 (has_cpuclock): ...this. New function.
22038 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22039 macro here based on has_cpuclock code.
22040
15a856b1
UD
22041 [BZ #10149]
22042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22043 First byte (not low byte) is now always NUL.
22044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22045
05f399e6
UD
22046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22047 Use non-cancelable interfaces.
22048
10a52685 22049 [BZ #9809]
94ecc67d
UD
22050 * locale/iso-639.def: Add entry for Sorani.
22051
f8a3b5bf
UD
22052 [BZ #11901]
22053 * include/stdlib.h: Move include protection to the right place.
22054 Define abort_msg_s. Declare __abort_msg with it.
22055 * stdlib/abort.c (__abort_msg): Adjust type.
22056 * assert/assert.c (__assert_fail_base): New function. Majority
22057 of code from __assert_fail. Allocate memory for __abort_msg with
22058 mmap.
22059 (__assert_fail): Now call __assert_fail_base.
22060 * assert/assert-perr.c: Remove bulk of implementation. Use
22061 __assert_fail_base.
22062 * include/assert.hL Declare __assert_fail_base.
22063 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22064 mmap.
22065 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22066
1af4e298
UD
220672011-05-14 Ulrich Drepper <drepper@gmail.com>
22068
f8a3b5bf 22069 [BZ #11952]
d26dfc60
MG
22070 [BZ #12453]
22071 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22072 until all modules are registered in the DTV.
22073 * elf/Makefile: Add rules to build and run tst-tls19.
22074 * elf/tst-tls19.c: New file.
22075 * elf/tst-tls19mod1.c: New file.
22076 * elf/tst-tls19mod2.c: New file.
22077 * elf/tst-tls19mod3.c: New file.
22078 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22079
2fc54d6f
UD
22080 [BZ #12083]
22081 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22082 correctly.
22083
98d76b46
UD
22084 [BZ #12601]
22085 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22086 two-byte sequence errors.
22087 * iconvdata/Makefile (tests): Add bug-iconv8.
22088 * iconvdata/bug-iconv8.c: New file.
22089
da3c19ef
UD
22090 [BZ #12626]
22091 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22092 buf2 definition.
22093
ca408c15
UD
22094 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22095
d6f67f7d
UD
22096 [BZ #12432]
22097 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22098 (dummy_getcfa): New function.
22099 (init): Get _Unwind_GetCFA address, use dummy if not found.
22100 (backtrace_helper): In recursion check, also check whether CFA changes.
22101 (__backtrace): Completely initialize arg.
22102
1af4e298 22103 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22104 storing incomplete byte sequence in state object. Avoid testing for
22105 guaranteed too small input if we know there is enough data available.
1af4e298 22106
da62f81b
AS
221072011-05-11 Andreas Schwab <schwab@redhat.com>
22108
22109 * Makeconfig (+link-pie): Indent.
22110 * Rules (binaries-pie): Define if $(have-fpie) and
22111 $(build-shared).
22112 (binaries-shared): Also filter out $(binaries-pie).
22113 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22114 * nscd/Makefile (others-pie): Add nscd.
22115 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22116 ($(objpfx)nscd): Remove command override.
22117 * login/Makefile (others-pie): Add pt_chown.
22118 ($(objpfx)pt_chown): Remove command override.
22119 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22120 remove command overrides.
22121
fcabc0f8
UD
221222011-05-13 Ulrich Drepper <drepper@gmail.com>
22123
20030ae6
UD
22124 * libio/tst_putwc.c: Fix error messages.
22125
fcabc0f8
UD
22126 [BZ #12724]
22127 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22128 currently writing and seek to current position when not.
22129 * libio/Makefile (tests): Add bug-fclose1.
22130 * libio/bug-fclose1.c: New file.
22131
320a5dc0
PB
221322011-05-12 Ulrich Drepper <drepper@gmail.com>
22133
22134 [BZ #12511]
22135 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22136 don't set DF_1_NODELETE here.
22137 (do_lookup_x): When entering new entry test for copy relocation
22138 and if necessary set DF_1_NODELETE flag.
22139 * elf/tst-unique4.cc: New file.
22140 * elf/tst-unique4.h: New file.
22141 * elf/tst-unique4lib.cc: New file.
22142 * elf/Makefile: Add rules to build and run tst-unique4.
22143 Patch by Piotr Bury <pbury@goahead.com>.
22144
22836f52
UD
221452011-05-11 Ulrich Drepper <drepper@gmail.com>
22146
f574184a
UD
22147 [BZ #12052]
22148 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22149
e1fb097f
UD
22150 [BZ #12625]
22151 * misc/mntent_r.c (addmntent): Flush the stream after the output
22152
22836f52
UD
22153 [BZ #12393]
22154 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22155 (is_trusted_path_normalize): Skip initial colon. Append slash
22156 to empty buffer. Duplicate is_trusted_path code but allow
22157 constructed patch to be prefix.
22158 (is_dst): Allow $ORIGIN followed by /.
22159 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22160 Correct testing of result of is_trusted_path_normalize
22161 (decompose_rpath): Fix warning.
22162
7b3b0b2a
UD
221632011-05-10 Ulrich Drepper <drepper@gmail.com>
22164
22165 [BZ #11257]
22166 * grp/initgroups.c (internal_getgrouplist): When we found the service
22167 list through the initgroups entry in nsswitch.conf do not always
22168 continue on a successful lookup. Don't always use the
eac80ce2 22169 __nss_group_database value if it is set.
7b3b0b2a
UD
22170 * nss/nsswitch.conf (initgroups): Change action for successful db
22171 lookup to continue for compatibility.
22172
2a81eaa5
UD
221732011-05-09 Ulrich Drepper <drepper@gmail.com>
22174
be97a69e
UD
22175 [BZ #11532]
22176 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22177 and CP774 modules.
22178 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22179 and CP774 modules.
22180 * iconvdata/tst-tables.sh: Likewise.
22181 * iconvdata/cp770.c: New file.
22182 * iconvdata/cp771.c: New file.
22183 * iconvdata/cp772.c: New file.
22184 * iconvdata/cp773.c: New file.
22185 * iconvdata/cp774.c: New file.
22186 * iconvdata/testdata/CP770: New file.
22187 * iconvdata/testdata/CP770..UTF8: New file.
22188 * iconvdata/testdata/CP771: New file.
22189 * iconvdata/testdata/CP771..UTF8: New file.
22190 * iconvdata/testdata/CP772: New file.
22191 * iconvdata/testdata/CP772..UTF8: New file.
22192 * iconvdata/testdata/CP773: New file.
22193 * iconvdata/testdata/CP773..UTF8: New file.
22194 * iconvdata/testdata/CP774: New file.
22195 * iconvdata/testdata/CP774..UTF8: New file.
22196
22197 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22198 END CHARMAP line.
22199 * iconvdata/gen-8bit-gap.sh: Likewise.
22200 * iconvdata/gen-8bit.sh: Likewise.
22201
c1e9e399
UD
22202 * locale/iso-639.def: Add ary entry.
22203
24c55fb3 22204 [BZ #11258]
96b4b1b0
UD
22205 * locale/C-translit.h.in: Add U20A1 transliteration.
22206
bdc2f971
KB
22207 [BZ #12178]
22208 * locale/iso-639.def: Add wae entry.
22209 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22210
2952b117
UD
22211 [BZ #12545]
22212 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22213 for n.
22214
2a81eaa5
UD
22215 [BZ #12711]
22216 * locale/C-translit.h.in: Add entry for U20B9.
22217 Patch by pravin.d.s@gmail.com.
22218
28377d1b
UD
222192011-05-08 Ulrich Drepper <drepper@gmail.com>
22220
7fb90fb8
UD
22221 [BZ #12713]
22222 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22223 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22224 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22225 in rtld. Use *stat64.
7fb90fb8 22226 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22227 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22228 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22229 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22230 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22231 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22232 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22233 __fstatat64 macros.
7fb90fb8
UD
22234 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22235 * dirent/rewinddir.c: Add libc_hidden_def.
22236 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22237 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22238
28377d1b
UD
22239 * include/dirent.h (__alloc_dir): Add flags parameter.
22240 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22241 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22242 __alloc_dir.
22243 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22244 from fdopendir if O_CLOEXEC is already set.
22245
66bdbaa4
AM
222462011-03-15 Alan Modra <amodra@gmail.com>
22247
22248 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22249 l_tls_firstbyte_offset non-zero. Save padding offset in
22250 l_tls_firstbyte_offset for later use.
22251 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22252 freeing static tls block.
22253
95721191
JN
222542011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22255
22256 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22257 where #ifdef was intended. The intent is to prevent ARG_MAX from
22258 being defined by the kernel headers.
22259
f87dfb1f
UD
222602011-05-07 Ulrich Drepper <drepper@gmail.com>
22261
22262 [BZ #12734]
22263 * resolv/resolv.h: Define RES_NOTLDQUERY.
22264 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22265 no-tld-query and set RES_NOTLDQUERY.
22266 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22267 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22268 modern BIND to search name as TLD unless forbidden.
22269
47c3cd7a
UD
222702011-05-07 Petr Baudis <pasky@suse.cz>
22271 Ulrich Drepper <drepper@gmail.com>
22272
22273 [BZ #12393]
22274 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22275 (is_trusted_path): ...to here.
c1e9ea35 22276 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22277 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22278 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22279
8a35c912
PP
222802011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22281
22282 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22283 __BEGIN/__END_DECLS.
22284
acd41f47
UD
222852011-05-06 Ulrich Drepper <drepper@gmail.com>
22286
22287 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22288 NSS_STATUS_NOTFOUND if no record was found.
22289
597df647
AS
222902011-05-05 Andreas Schwab <schwab@redhat.com>
22291
22292 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22293 (headers-not-in-tirpc): Remove rpc/netdb.h
22294 * resolv/netdb.h: Revert last change.
22295
b9af1301
PP
222962011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22297
22298 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22299 circular dependency between libgcc.a and libc.a.
22300
4e34d5f5
AS
223012011-05-05 Andreas Schwab <schwab@redhat.com>
22302
22303 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22304 * nis/Makefile: Don't install rpcsvc/*.
22305 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22306 instead of <rpc/types.h>.
22307 (MAXHOSTNAMELEN): Define.
22308
00ee369c
AS
223092011-05-03 Andreas Schwab <schwab@redhat.com>
22310
22311 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22312
0b592a30
MB
223132011-04-28 Maciej Babinski <mbabinski@google.com>
22314
22315 [BZ #12714]
22316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22317 gethostbyname4_r when IPv6 results are possible.
22318
6e04cbbe
UD
223192011-05-02 Ulrich Drepper <drepper@gmail.com>
22320
22321 [BZ #12723]
22322 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22323 _PC_PIPE_BUF handling.
22324
e4ecafe0
BH
223252011-04-30 Bruno Haible <bruno@clisp.org>
22326
22327 [BZ #12717]
22328 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22329 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22330 to 'int'.
22331 * inet/getnameinfo.c (getnameinfo): Likewise.
22332
125ee683
UD
223332011-04-29 Ulrich Drepper <drepper@gmail.com>
22334
22335 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22336 to groups setting in database lookup.
22337 * nss/nsswitch.conf: Add initgroups entry.
22338
b722481a
EB
223392011-04-22 Ulrich Drepper <drepper@gmail.com>
22340
22341 [BZ #12685]
22342 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22343 mode string.
22344 Patch by Eric Blake <eblake@redhat.com>.
22345
4df46dbd
L
223462011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22347
22348 * sunrpc/Makefile (need-export-routines): Add svc_run.
22349 (routines): Remove svc_run.
22350 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22351 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22352 * sunrpc/svc_run.c (svc_run): Likewise.
22353 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22354
e84142d2
UD
223552011-04-21 Ulrich Drepper <drepper@gmail.com>
22356
22357 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22358 problem in reallocation in last patch.
22359
877175d8
UD
223602011-04-20 Ulrich Drepper <drepper@gmail.com>
22361
22362 * sunrpc/Makefile: Move inclusion of Rules.
22363
ab8eed78
UD
223642011-04-19 Ulrich Drepper <drepper@gmail.com>
22365
22366 * nss/nss_files/files-initgroups.c: New file.
22367 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22368 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22369 _nss_files_initgroups_dyn.
22370
e3d8f584
RS
223712011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22372
22373 * elf/elf.h (R_ARM_IRELATIVE): Define.
22374
af190f45
UD
223752011-04-19 Ulrich Drepper <drepper@gmail.com>
22376
22377 * po/ru.po: Update from translation team.
22378
53cf59ef
UD
223792011-04-17 Ulrich Drepper <drepper@gmail.com>
22380
22381 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22382 dependencies.
22383
4c559bcd
MF
223842011-02-06 Mike Frysinger <vapier@gentoo.org>
22385
22386 [BZ #12653]
22387 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22388 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22392
4420675c
AS
223932011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22394
22395 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22396 differing bytes.
22397 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22400
75ea32ab
UD
224012011-04-17 Ulrich Drepper <drepper@gmail.com>
22402
22403 [BZ #12420]
22404 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22405 storing it.
22406 * stdlib/bug-getcontext.c: New file.
22407 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22408
27390476
AK
224092011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22410
22411 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22412 instructions into .machine "z9-109".
22413 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22414 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22415
10442705
AK
224162011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22417
22418 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22419 between environment variables and auxiliary vector.
22420
7b57bfe5
UD
224212011-04-16 Ulrich Drepper <drepper@gmail.com>
22422
22423 * Makefile: Add rules to build linkobj/libc.so.
22424 * include/libc-symbols.h: Define libc_hidden_nolink.
22425 * include/rpc/auth.h: Mark functions which are to be hidden.
22426 * include/rpc/auth_des.h: Likewise.
22427 * include/rpc/auth_unix.h: Likewise.
22428 * include/rpc/clnt.h: Likewise.
22429 * include/rpc/des_crypt.h: Likewise.
22430 * include/rpc/key_prot.h: Likewise.
22431 * include/rpc/pmap_clnt.h: Likewise.
22432 * include/rpc/pmap_prot.h: Likewise.
22433 * include/rpc/pmap_rmt.h: Likewise.
22434 * include/rpc/rpc_msg.h: Likewise.
22435 * include/rpc/svc.h: Likewise.
22436 * include/rpc/svc_auth.h: Likewise.
22437 * include/rpc/xdr.h: Likewise.
22438 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22439 * nss/Makefile: Likewise.
22440 * sunrpc/Makefile: Don't install headers. Build library with normal
22441 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22442 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22443 for the compat linking library. Remove use of INTDEF/INTUSE.
22444 * sunrpc/auth_none.c: Likewise.
22445 * sunrpc/auth_unix.c: Likewise.
22446 * sunrpc/authdes_prot.c: Likewise.
22447 * sunrpc/authuxprot.c: Likewise.
22448 * sunrpc/clnt_gen.c: Likewise.
22449 * sunrpc/clnt_perr.c: Likewise.
22450 * sunrpc/clnt_raw.c: Likewise.
22451 * sunrpc/clnt_simp.c: Likewise.
22452 * sunrpc/clnt_tcp.c: Likewise.
22453 * sunrpc/clnt_udp.c: Likewise.
22454 * sunrpc/clnt_unix.c: Likewise.
22455 * sunrpc/des_crypt.c: Likewise.
22456 * sunrpc/des_soft.c: Likewise.
22457 * sunrpc/get_myaddr.c: Likewise.
22458 * sunrpc/key_call.c: Likewise.
22459 * sunrpc/key_prot.c: Likewise.
22460 * sunrpc/netname.c: Likewise.
22461 * sunrpc/pm_getmaps.c: Likewise.
22462 * sunrpc/pm_getport.c: Likewise.
22463 * sunrpc/pmap_clnt.c: Likewise.
22464 * sunrpc/pmap_prot.c: Likewise.
22465 * sunrpc/pmap_prot2.c: Likewise.
22466 * sunrpc/pmap_rmt.c: Likewise.
22467 * sunrpc/publickey.c: Likewise.
22468 * sunrpc/rpc_cmsg.c: Likewise.
22469 * sunrpc/rpc_common.c: Likewise.
22470 * sunrpc/rpc_dtable.c: Likewise.
22471 * sunrpc/rpc_prot.c: Likewise.
22472 * sunrpc/rpc_thread.c: Likewise.
22473 * sunrpc/rtime.c: Likewise.
22474 * sunrpc/svc.c: Likewise.
22475 * sunrpc/svc_auth.c: Likewise.
22476 * sunrpc/svc_authux.c: Likewise.
22477 * sunrpc/svc_raw.c: Likewise.
22478 * sunrpc/svc_run.c: Likewise.
22479 * sunrpc/svc_simple.c: Likewise.
22480 * sunrpc/svc_tcp.c: Likewise.
22481 * sunrpc/svc_udp.c: Likewise.
22482 * sunrpc/svc_unix.c: Likewise.
22483 * sunrpc/svcauth_des.c: Likewise.
22484 * sunrpc/xcrypt.c: Likewise.
22485 * sunrpc/xdr.c: Likewise.
22486 * sunrpc/xdr_array.c: Likewise.
22487 * sunrpc/xdr_float.c: Likewise.
22488 * sunrpc/xdr_intXX_t.c: Likewise.
22489 * sunrpc/xdr_mem.c: Likewise.
22490 * sunrpc/xdr_rec.c: Likewise.
22491 * sunrpc/xdr_ref.c: Likewise.
22492 * sunrpc/xdr_sizeof.c: Likewise.
22493 * sunrpc/xdr_stdio.c: Likewise.
22494
e6c61494
UD
224952011-04-10 Ulrich Drepper <drepper@gmail.com>
22496
22497 [BZ #12650]
22498 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22499 * sysdeps/ia64/dl-tls.h: Likewise.
22500 * sysdeps/powerpc/dl-tls.h: Likewise.
22501 * sysdeps/s390/dl-tls.h: Likewise.
22502 * sysdeps/sh/dl-tls.h: Likewise.
22503 * sysdeps/sparc/dl-tls.h: Likewise.
22504 * sysdeps/x86_64/dl-tls.h: Likewise.
22505 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22506
34fe483e
AS
225072011-03-14 Andreas Schwab <schwab@redhat.com>
22508
22509 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22510 rpath element also skip the following colon.
22511 (expand_dynamic_string_token): Add is_path parameter and pass
22512 down to DL_DST_REQUIRED and _dl_dst_substitute.
22513 (decompose_rpath): Call expand_dynamic_string_token with
22514 non-zero is_path. Ignore empty rpaths.
22515 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22516 with zero is_path.
22517
f12a32e6
AS
225182011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22519
22520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22521 Make cancelable.
22522
38a7d692
UD
225232011-04-09 Ulrich Drepper <drepper@gmail.com>
22524
22525 [BZ #12655]
22526 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22527 Patch by Filipe David Manana <fdmanana@apache.org>.
22528
e451d22b
AS
225292011-04-07 Andreas Schwab <schwab@redhat.com>
22530
22531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22532 Maintain aligned stack.
22533 (CHECK_RSP): Remove unused macro.
22534
dedc7c7b
UD
225352011-04-03 Ulrich Drepper <drepper@gmail.com>
22536
22537 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22539
94521213
UD
225402011-04-02 Ulrich Drepper <drepper@gmail.com>
22541
22542 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22543
8cb700c0 22544 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22545
0354e355
L
225462011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22547
22548 [BZ #12518]
22549 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22550 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22551 * sysdeps/x86_64/memmove.c: New file.
22552 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22553 (memcpy): Renamed to ...
22554 (__new_memcpy): This.
22555 (memcpy): Provide GLIBC_2_14 memcpy.
22556 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22557 (memcpy): Provide GLIBC_2_2_5 memcpy.
22558
8593482f
UD
225592011-04-01 Ulrich Drepper <drepper@gmail.com>
22560
22561 [BZ #12631]
22562 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22563
81a5726b
AS
225642011-03-30 Andreas Schwab <schwab@redhat.com>
22565
22566 * misc/syncfs.c: New file.
22567 * misc/Makefile (routines): Add syncfs.
22568 * posix/unistd.h: Declare syncfs.
22569 * sysdeps/unix/syscalls.list: Add syncfs.
22570
00e5419f
AS
225712011-04-01 Andreas Schwab <schwab@redhat.com>
22572
22573 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22574 open_by_handle_at.
22575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22580 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22582
748876bf
UD
225832011-04-01 Ulrich Drepper <drepper@gmail.com>
22584
658e451d
UD
22585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22592
748876bf
UD
22593 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22594 sync_file_range.c with -fexceptions.
22595 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22596 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22597 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22598 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22599 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22600 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22602 sync_file_range as cancellation point
22603 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22604 now a wrapper around __call_sync_file_range with cancellation handling.
22605 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22606 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22607 function name to __call_sync_file_range.
22608 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22609 Add call_sync_file_range.
748876bf 22610
6e63d5e1
AS
226112011-04-01 Andreas Schwab <schwab@redhat.com>
22612
22613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22614 bits/timex.h.
6e63d5e1 22615
46998f74
UD
226162011-04-01 Ulrich Drepper <drepper@gmail.com>
22617
4c1423ed
UD
22618 * iconv/iconv.h: Fix typo in comment.
22619 * io/fcntl.h: Likewise.
22620 * libio/stdio.h: Likewise.
22621 * posix/spawn.h: Likewise.
22622 * posix/unistd.h: Likewise.
22623 * stdlib/stdlib.h: Likewise.
22624 * time/time.h: Likewise.
22625 * wcsmbs/wchar.h: Likewise.
22626
158648c0
UD
22627 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22628 open_by_handle): Add.
22629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22630 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22631 Augment a few comments.
22632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22637 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22638 open_by_handle.
22639
46998f74
UD
22640 * io/fcntl.h (AT_EMPTY_PATH): Define.
22641
83fe108b
UD
226422011-03-30 Ulrich Drepper <drepper@gmail.com>
22643
22644 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22645 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22646 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22647 to...
22648 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22649 * Versions.def: Add GLIBC_2.14.
22650 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22651 Export.
83fe108b 22652
bb242059
UD
226532011-03-22 Ulrich Drepper <drepper@gmail.com>
22654
22655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22656 round counter.
22657 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22658
c97a1282
L
226592011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22660
22661 [BZ #12597]
22662 * string/test-strncmp.c (do_page_test): New function.
22663 (check2): Likewise.
22664 (test_main): Call check2.
22665 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22666
2a115601
UD
226672011-03-20 Ulrich Drepper <drepper@gmail.com>
22668
22669 [BZ #12587]
22670 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22671 Handle cache information in CPU leaf 4.
22672 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22673
8126d904
UD
226742011-03-18 Ulrich Drepper <drepper@gmail.com>
22675
042c49c6 22676 [BZ #12583]
8126d904
UD
22677 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22678 character representation.
22679 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22680
ccfe366e
RA
226812011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22682
22683 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22684 END(__isnan) to END(__isnanf) to match function entry point/label
22685 EALIGN(__isnanf,...).
22686
c6e13027
JJ
226872011-03-10 Jakub Jelinek <jakub@redhat.com>
22688
22689 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22690
33f85a3f
UD
226912011-03-10 Ulrich Drepper <drepper@gmail.com>
22692
028478fa
UD
22693 [BZ #12510]
22694 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22695 copy from the symbol referenced in the relocation to initialize the
22696 used variable.
22697 Patch by Piotr Bury <pbury@goahead.com>.
22698 * elf/Makefile: Add rules to build and tst-unique3.
22699 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22700 * elf/tst-unique3.cc: New file.
22701 * elf/tst-unique3.h: New file.
22702 * elf/tst-unique3lib.cc: New file.
22703 * elf/tst-unique3lib2.cc: New file.
22704
33f85a3f
UD
22705 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22706
03592fc7
MF
227072011-03-10 Mike Frysinger <vapier@gentoo.org>
22708
22709 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22710 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22711 to _start.
03592fc7 22712
6a5ee102
UD
227132011-03-06 Ulrich Drepper <drepper@gmail.com>
22714
22715 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22716 to-be-loaded object along a path to loader is ld.so.
22717
7e4ba49c
HJ
227182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22719 Ulrich Drepper <drepper@gmail.com>
22720
22721 * sysdeps/x86_64/memset.S: After aligning destination, code
22722 branches to different locations depending on the value of
22723 misalignment, when multiarch is enabled. Fix this.
22724
227252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22726
22727 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22728 Set _x86_64_preferred_memory_instruction for AMD processsors.
22729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22730 Set bit_Prefer_SSE_for_memop for AMD processors.
22731
13a804de
UD
227322011-03-04 Ulrich Drepper <drepper@gmail.com>
22733
22734 * libio/fmemopen.c (fmemopen): Optimize a bit.
22735
9d25c392
AS
227362011-03-03 Andreas Schwab <schwab@redhat.com>
22737
22738 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22739
a5543c6a
RM
227402011-03-03 Roland McGrath <roland@redhat.com>
22741
22742 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22743
012d35f7
DM
227442011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22745
7e4ba49c 22746 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22747 __bzero_ultra1 instead of __memset_ultra1.
22748
4bff6e01
AS
227492011-02-23 Andreas Schwab <schwab@redhat.com>
22750 Ulrich Drepper <drepper@gmail.com>
22751
22752 [BZ #12509]
22753 * include/link.h (struct link_map): Add l_orig_initfini.
22754 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22755 returning unsuccessfully.
22756 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22757 close of a file loaded at startup, restore the original l_initfini
22758 list.
22759 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22760 list, store the pointer.
22761 * elf/Makefile ($(objpfx)noload-mem): New rule.
22762 (noload-ENV): Define.
22763 (tests): Add $(objpfx)noload-mem.
22764 * elf/noload.c: Include <memcheck.h>.
22765 (main): Call mtrace. Close all opened handles.
22766
f2092faf
AS
227672011-02-17 Andreas Schwab <schwab@redhat.com>
22768
22769 [BZ #12454]
22770 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22771 dependencies are missing.
22772
6c8a2e88
ST
227732011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22774
f2092faf 22775 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22776 Hurd needs munmap.
22777 * sysdeps/mach/hurd/ifreq.h: New file.
22778
84a42118
PB
227792011-01-27 Petr Baudis <pasky@suse.cz>
22780 Ulrich Drepper <drepper@gmail.com>
22781
071f805e 22782 [BZ 12445]#
84a42118
PB
22783 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22784 to extend_alloca().
22785 * stdio-common/bug23.c: New file.
22786 * stdio-common/Makefile (tests): Add bug23.
22787
e23fe25b
AS
227882010-09-28 Andreas Schwab <schwab@redhat.com>
22789 Ulrich Drepper <drepper@gmail.com>
22790
22791 [BZ #12489]
22792 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22793 before performing relro protection. At old place add assertion
22794 to make sure nothing changed.
22795
d3f02e10
NS
227962011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22797 Glauber de Oliveira Costa <glommer@gmail.com>
22798
22799 * elf/elf.h: Add new ARM TLS relocs.
22800
d55fd7a5
RA
228012011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22802
22803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22804 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22805 cast from r3.
22806 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22807 'tests' variable.
22808 * sysdeps/wordsize-64/tst-writev.c: New file.
22809
2206397e
RA
228102011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22811
22812 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22813 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22814 insns in _dl_start to prevent a TOC reference before relocs are
22815 resolved.
22816
e9433893
UD
228172011-02-15 Ulrich Drepper <drepper@gmail.com>
22818
22819 [BZ #12469]
22820 * Makeconfig: Remove RANLIB definition.
22821 * Makerules: Don't use RANLIB.
22822 * aclocal.m4: Remove ranlib test.
22823 * configure.in: No need to check for ranlib.
22824 * elf/rtld-Rules: Don't use RANLIB.
22825
f75286c6
ST
228262011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22827
8e31c82d
ST
22828 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22829 protection macro.
22830 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22831 inclusion protection macro.
22832
f75286c6
ST
22833 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22834 SIGRTMIN and SIGRTMAX and print information in that case only when
22835 SIGRTMIN is defined.
22836
c1d0e639
JJ
228372011-02-11 Jakub Jelinek <jakub@redhat.com>
22838
22839 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22840 arginfo fn returning -1.
22841
22842 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22843 and thousands string is zero terminated.
22844
edf9294e
AS
228452011-02-03 Andreas Schwab <schwab@redhat.com>
22846
22847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22848 sysdeps/unix/sysv/linux/bits/socket.h.
22849
2b7e92df
ST
228502011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22851
edf9294e
AS
22852 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22853 (__CPU_COUNT): Remove old macros.
22854 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22855 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22856 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22857 (__sched_cpualloc, __sched_cpufree): Add declarations.
22858
a4c7ea7b
UD
228592011-02-05 Ulrich Drepper <drepper@gmail.com>
22860
22861 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22862 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22863 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22864 (readdhstai): Return value of addhstaiX call.
22865 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22866 (addgrbyX): Return value returned by cache_addgr.
22867 (readdgrbyname): Return value returned by addgrbyX.
22868 (readdgrbygid): Likewise.
22869 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22870 (addpwbyX): Return value returned by cache_addpw.
22871 (readdpwbyname): Return value returned by addhstbyX.
22872 (readdpwbyuid): Likewise.
22873 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22874 (addservbyX): Return value returned by cache_addserv.
22875 (readdservbyname): Return value returned by addservbyX:
22876 (readdservbyport): Likewise.
22877 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22878 (addhstbyX): Return value returned by cache_addhst.
22879 (readdhstbyname): Return value returned by addhstbyX.
22880 (readdhstbyaddr): Likewise.
22881 (readdhstbynamev6): Likewise.
22882 (readdhstbyaddrv6): Likewise.
22883 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22884 (readdinitgroups): Return value returned by addinitgroupsX.
22885 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22886 (prune_cache): Keep track of timeout value of re-added entries.
22887 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22888 * nscd/nscd.h: Adjust prototypes of readd* functions.
22889
a0bf67cc
RM
228902011-02-04 Roland McGrath <roland@redhat.com>
22891
22892 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22893 (nis_stats): Likewise.
22894 * nis/nis_modify.c (nis_modify): Likewise.
22895 * nis/nis_remove.c (nis_remove): Likewise.
22896 * nis/nis_add.c (nis_add): Likewise.
22897
22898 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22899
22900 * posix/fnmatch_loop.c: Add some consts.
22901
22902 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22903
435b95eb
L
229042011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22905
22906 [BZ #12460]
22907 * config.make.in (config-cflags-novzeroupper): Define.
22908 * configure.in: Substitute libc_cv_cc_novzeroupper.
22909 * elf/Makefile (AVX-CFLAGS): Define.
22910 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22911 (CFLAGS-tst-auditmod4a.c): Likewise.
22912 (CFLAGS-tst-auditmod4b.c): Likewise.
22913 (CFLAGS-tst-auditmod6b.c): Likewise.
22914 (CFLAGS-tst-auditmod6c.c): Likewise.
22915 (CFLAGS-tst-auditmod7b.c): Likewise.
22916 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22917
8517b15e
UD
229182011-02-02 Ulrich Drepper <drepper@gmail.com>
22919
22920 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22921 function to the callback.
22922 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22923
10a656fe
AS
229242011-02-02 Andreas Schwab <schwab@redhat.com>
22925
22926 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22927 of errno.
22928
968dad0a
UD
229292011-01-19 Ulrich Drepper <drepper@gmail.com>
22930
9f94d2ea 22931 [BZ #11724]
968dad0a
UD
22932 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22933 of constructors.
22934 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22935 of destructors.
22936 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22937
22938 [BZ #11724]
22939 * elf/Makefile: Add rules to build and run new test.
22940 * elf/tst-initorder.c: New file.
22941 * elf/tst-initorder.exp: New file.
22942 * elf/tst-initordera1.c: New file.
22943 * elf/tst-initordera2.c: New file.
22944 * elf/tst-initordera3.c: New file.
22945 * elf/tst-initordera4.c: New file.
22946 * elf/tst-initorderb1.c: New file.
22947 * elf/tst-initorderb2.c: New file.
22948 * elf/tst-order-a1.c: New file.
22949 * elf/tst-order-a2.c: New file.
22950 * elf/tst-order-a3.c: New file.
22951 * elf/tst-order-a4.c: New file.
22952 * elf/tst-order-b1.c: New file.
22953 * elf/tst-order-b2.c: New file.
22954 * elf/tst-order-main.c: New file.
22955 New test case by George Gensure <werkt0@gmail.com>.
22956
86e92359
UD
229572010-10-01 Andreas Schwab <schwab@redhat.com>
22958
22959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22960 decoding ACE if AI_CANONIDN.
22961
5d5732b0
UD
229622011-01-18 Ulrich Drepper <drepper@gmail.com>
22963
22964 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22965
a77e8cbc
UD
229662011-01-17 Ulrich Drepper <drepper@gmail.com>
22967
6392473f
UD
22968 * version.h (RELEASE): Bump for 2.13 release.
22969 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22970
620a0529
UD
22971 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22972
18ba70a5
UD
22973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22974 MADV_NOHUGEPAGE.
32465c3e
UD
22975 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22978 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22980 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22981
c0dafcf1
UD
22982 * posix/getconf.c: Update copyright year.
22983 * catgets/gencat.c: Likewise.
22984 * csu/version.c: Likewise.
22985 * debug/catchsegv.sh: Likewise.
22986 * debug/xtrace.sh: Likewise.
22987 * elf/ldconfig.c: Likewise.
22988 * elf/ldd.bash.in: Likewise.
22989 * elf/sprof.c (print_version): Likewise.
22990 * iconv/iconv_prog.c: Likewise.
22991 * iconv/iconvconfig.c: Likewise.
22992 * locale/programs/locale.c: Likewise.
22993 * locale/programs/localedef.c: Likewise.
22994 * malloc/memusage.sh: Likewise.
22995 * malloc/mtrace.pl: Likewise.
22996 * nscd/nscd.c (print_version): Likewise.
22997 * nss/getent.c: Likewise.
22998
a77e8cbc
UD
22999 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23000 PF_CAIF, and PF_ALG.
23001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23002
77e8bddf
AS
230032011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23004
1f20b93a
AS
23005 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23006 (modules-names): Use them.
23007 (ifunc-test-modules, ifunc-pie-tests): Define.
23008 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23009 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23010 (test-extras): Likewise.
23011 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23012 $(compile-command.c).
23013 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23014 (all-built-dso): Define.
23015 (check-textrel.out, check-execstack.out): Depend on it.
23016
77e8bddf
AS
23017 * configure.in: Don't override --enable-multi-arch.
23018
bc425b33
UD
230192011-01-15 Ulrich Drepper <drepper@gmail.com>
23020
23021 [BZ #6812]
23022 * nscd/hstcache.c (tryagain): Define.
23023 (cache_addhst): Return tryagain not notfound for temporary errors.
23024 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23025 failed.
23026
794c3ad3
UD
230272011-01-14 Ulrich Drepper <drepper@gmail.com>
23028
70181fdd
UD
23029 [BZ #10563]
23030 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23031 to make the syscall.
23032 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23033
794c3ad3
UD
23034 [BZ #12378]
23035 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23036 and fall back to matching as normal character if the string ends before
23037 the matching ']' is found. This is what POSIX requires.
23038 * posix/testfnm.c: Adjust test result.
23039 * posix/globtest.sh: Adjust test result. Add new test.
23040 * posix/tst-fnmatch.input: Likewise.
23041 * posix/tst-fnmatch2.c: Add new test.
23042
68dc9497
AS
230432010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23044
23045 * elf/Makefile (check-execstack): Revert last change. Depend on
23046 check-execstack.h.
23047 (check-execstack.h): New target.
23048 (generated): Add check-execstack.h.
23049 * elf/check-execstack.c: Include "check-execstack.h".
23050 (main): Revert last change.
23051 (handle_file): Return zero if GNU_STACK is absent and
23052 DEFAULT_STACK_PERMS doesn't include PF_X.
23053
451f001b
UD
230542011-01-13 Ulrich Drepper <drepper@gmail.com>
23055
cfa28e56
UD
23056 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23057 in child fails because the descriptor is already closed.
8cf8ce17
UD
23058 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23059 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23060 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23061
1086d70d
UD
23062 [BZ #12397]
23063 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23064 syscall.
23065
451f001b
UD
23066 [BZ #10484]
23067 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23068 temporary buffer used to handle multi lookups locally.
a85b5cb4 23069 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23070
08769175
UD
230712011-01-12 Ulrich Drepper <drepper@gmail.com>
23072
23073 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23074 loader is ld.so.
23075
5e49c52e
UD
230762011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23077
23078 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23079 alignment for SSE2.
23080
60522a5f
UD
230812011-01-12 Ulrich Drepper <drepper@gmail.com>
23082
23083 [BZ #12394]
23084 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23085 characters. When rounding increased number of integer digits recompute
23086 number of groups.
23087 * stdio-common/tst-grouping.c: New file.
23088 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23089
f257bbd7
UD
230902011-01-09 Ulrich Drepper <drepper@gmail.com>
23091
23092 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23093 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23094
23095 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23096 void.
23097 * bits/select.h: Likewise.
23098
fa9c15cb
UD
230992011-01-08 Ulrich Drepper <drepper@gmail.com>
23100
23101 * po/ja.po: Update from translation team.
23102
16c2895f
DM
231032011-01-04 David S. Miller <davem@sunset.davemloft.net>
23104
23105 [BZ #11155]
23106 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23107 implementation just like for lxstat, fxstatat, et al.
23108
2543fef2
JM
231092010-12-27 Jim Meyering <meyering@redhat.com>
23110
23111 [BZ #12348]
23112 * posix/regexec.c (build_trtable): Return failure indication upon
23113 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23114
98727dbe
UD
231152010-12-25 Ulrich Drepper <drepper@gmail.com>
23116
5bd6dc5c
UD
23117 [BZ #12201]
23118 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23119 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23120 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23121 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23122
97983464
UD
23123 [BZ #12207]
23124 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23125
98727dbe
UD
23126 [BZ #12204]
23127 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23128 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23129
4a531bb0
L
231302010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23131
23132 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23133 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23134 script has SORT_BY_INIT_PRIORITY.
23135 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23136 NO_CTORS_DTORS_SECTIONS is defined.
23137 * elf/soinit.c: Likewise.
23138 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23139 NO_CTORS_DTORS_SECTIONS is defined.
23140 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23141 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23142 * sysdeps/sh/init-first.c: Likewise.
23143 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23144
07eb4b71
UD
231452010-12-24 Ulrich Drepper <drepper@gmail.com>
23146
23147 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23148 always use the slow path.
23149
30950a5f
RA
231502010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23151
23152 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23153 similar rule which adds the sysdep directories to the header search in
23154 order to pick up the correct platform stackinfo.h.
23155 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23156 perform test if it is, otherwise return successfully without testing.
23157 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23158 DEFAULT_STACK_PERMS define in stackinfo.h.
23159 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23160 defined in stackinfo.h.
23161 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23162 DEFAULT_STACK_PERMS defined in stackinfo.h.
23163 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23164 * sysdeps/ia64/stackinfo.h: Likewise.
23165 * sysdeps/s390/stackinfo.h: Likewise.
23166 * sysdeps/sh/stackinfo.h: Likewise.
23167 * sysdeps/sparc/stackinfo.h: Likewise.
23168 * sysdeps/x86_64/stackinfo.h: Likewise.
23169 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23170 PF_X for powerpc64. Retain PF_X for powerpc32.
23171
db753e2c
UD
231722010-12-19 Ulrich Drepper <drepper@gmail.com>
23173
14b697f7
UD
23174 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23175 accurately.
db753e2c
UD
23176 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23177 GETDENTS_64BIT_ALIGNED.
23178
28300719
UD
231792010-12-14 Ulrich Drepper <dreper@gmail.com>
23180
14b697f7 23181 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23182
4f197237
AS
231832010-12-10 Andreas Schwab <schwab@redhat.com>
23184
dbb0472f
AS
23185 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23186 _GNU_SOURCE.
23187
4f197237
AS
23188 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23189 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23190 Remove __restrict.
23191 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23192 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23193
fb88ac72
UD
231942010-12-09 Ulrich Drepper <drepper@gmail.com>
23195
23196 [BZ #11655]
23197 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23198 are initialized.
23199
42acbb92
JJ
232002010-12-09 Jakub Jelinek <jakub@redhat.com>
23201
23202 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23203
c038d98d
UD
232042010-12-03 Ulrich Drepper <drepper@gmail.com>
23205
23206 * po/it.po: Update from translation team.
23207
3a4a2499
L
232082010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23209
23210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23211 unused codes.
23212
1e24cf6e
UD
232132010-11-30 Ulrich Drepper <drepper@gmail.com>
23214
23215 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23216
a7690819
AS
232172010-11-24 Andreas Schwab <schwab@redhat.com>
23218
23219 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23220 specially.
23221 (gaih_getanswer_slice): Likewise.
23222
3bf8d1b1
JJ
232232010-10-20 Jakub Jelinek <jakub@redhat.com>
23224
23225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23226
6db52fbb
PB
232272010-05-31 Petr Baudis <pasky@suse.cz>
23228
23229 [BZ #11149]
23230 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23231 silently even in the chroot mode.
23232
eaca7569
UD
232332010-11-22 Ulrich Drepper <drepper@gmail.com>
23234
23235 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23236 last patch a bit. Pretty printing
23237
3056dcdb
UD
232382010-05-31 Petr Baudis <pasky@suse.cz>
23239
23240 [BZ #10085]
23241 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23242 initialization of skip_initgroups_dyn.
23243
cf7c9078
UD
232442010-11-19 Ulrich Drepper <drepper@gmail.com>
23245
23246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23248
a1fb5e3e
UD
232492010-11-16 Ulrich Drepper <drepper@gmail.com>
23250
23251 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23252
3540d66b
AS
232532010-11-11 Andreas Schwab <schwab@redhat.com>
23254
23255 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23256 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23257 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23258 ($(objpfx)tst-fnmatch-mem): New rule.
23259 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23260 * posix/tst-fnmatch.c (main): Call mtrace.
23261
13b69574
L
232622010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23263
23264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23265 Support Intel processor model 6 and model 0x2c.
23266
da93d214
LM
232672010-11-10 Luis Machado <luisgpm@br.ibm.com>
23268
23269 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23270 signed comparison.
23271
8ca52c6e
L
232722010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23273
23274 [BZ #12205]
23275 * string/test-strncasecmp.c (check_result): New function.
23276 (do_one_test): Use it.
23277 (check1): New function.
23278 (test_main): Use it.
23279 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23280 Support strcasecmp and strncasecmp.
23281
69da074d
UD
232822010-11-08 Ulrich Drepper <drepper@gmail.com>
23283
23284 [BZ #12194]
23285 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23286 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23287
ff02d528
L
232882010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23289
23290 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23291 IFUNC support.
23292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23293 memset-x86-64.
23294 * sysdeps/x86_64/multiarch/bzero.S: New file.
23295 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23296 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23297 * sysdeps/x86_64/multiarch/memset.S: New file.
23298 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23300 Set bit_Prefer_SSE_for_memop for Intel processors.
23301 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23302 Define.
23303 (index_Prefer_SSE_for_memop): Define.
23304 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23305
344d0b54
LM
233062010-11-04 Luis Machado <luisgpm@br.ibm.com>
23307
23308 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23309 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23310
c0dde15b
UD
233112010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23312
23313 [BZ #12191]
23314 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23315 (__x86_64_raw_data_cache_size_half): Likewise.
23316 (__x86_64_raw_shared_cache_size): Likewise.
23317 (__x86_64_raw_shared_cache_size_half): Likewise.
23318
23319 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23320 (__x86_64_raw_data_cache_size_half): Likewise.
23321 (__x86_64_raw_shared_cache_size): Likewise.
23322 (__x86_64_raw_shared_cache_size_half): Likewise.
23323 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23324 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23325 and __x86_64_raw_shared_cache_size_half. Round
23326 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23327 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23328 to multiple of 256 bytes.
23329
0e516e0e
MS
233302010-11-03 Ulrich Drepper <drepper@gmail.com>
23331
23332 [BZ #12167]
23333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23334 of inacessible symlinks. Verify result of symlink before returning it.
23335 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23336 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23337
0e012e87
ER
233382010-10-28 Erich Ritz <erichritz@gmail.com>
23339
23340 * math/math.h (isinf): Fix typo in comment.
23341
de0ff7bc
UD
233422010-11-01 Ulrich Drepper <drepper@gmail.com>
23343
23344 * po/da.po: Update from translation team.
23345
fa41c84d
UD
233462010-10-26 Ulrich Drepper <drepper@gmail.com>
23347
23348 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23349 is added to the list.
23350
f0967738
AK
233512010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23352 Ulrich Drepper <drepper@gmail.com>
23353
23354 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23355 the global list here. Move code to...
23356 (_dl_add_to_namespace_list): ...here. New function.
23357 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23358 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23359 * elf/dl-load.c (lose): Don't remove the element from the list.
23360 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23361 (_dl_map_object): Likewise.
23362
233632010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23364
23365 [BZ #12159]
23366 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23367 into all bytes of SSE register.
23368 Patch by Richard Li <richardpku@gmail.com>.
23369
f0967738 233702010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23371
23372 [BZ #12140]
23373 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23374 perturbing.
23375
d0b9e94f
MB
233762010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23377
23378 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23379 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23380 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23381 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23383 submachine.
23384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23385
8e9f92e9
AS
233862010-10-22 Andreas Schwab <schwab@redhat.com>
23387
23388 * include/dlfcn.h (__RTLD_SECURE): Define.
23389 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23390 mode & __RTLD_SECURE instead.
23391 (open_path): Rename preloaded parameter to secure.
23392 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23393 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23394 * elf/dl-deps.c (openaux): Likewise.
23395 * elf/rtld.c (struct map_args): Remove is_preloaded.
23396 (map_doit): Don't use it.
23397 (dl_main): Likewise.
23398 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23399 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23400
bc96fbda
AS
234012010-09-09 Andreas Schwab <schwab@redhat.com>
23402
23403 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23404 (sysd-rules-targets): Remove duplicates.
23405 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23406 rtld-%.$o dependency.
23407
22cd1c9b
AS
234082010-10-18 Andreas Schwab <schwab@redhat.com>
23409
23410 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23411 _dl_map_object do it.
23412
18edac48
UD
234132010-10-19 Ulrich Drepper <drepper@gmail.com>
23414
23415 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23416 fast fma builtins, define the macros in the C99 standard.
23417 (FP_FAST_FMAF): Likewise.
23418 (FP_FAST_FMAL): Likewise.
23419 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23420
23421 * bits/mathdef.h: Update copyright year.
23422 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23423
d2050124
MM
234242010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23425
23426 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23427 builtins, define the macros in the C99 standard.
23428 (FP_FAST_FMAF): Likewise.
23429 (FP_FAST_FMAL): Likewise.
23430 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23431 multiply/add.
23432 (FP_FAST_FMAF): Likewise.
23433
475facd1
JJ
234342010-10-15 Jakub Jelinek <jakub@redhat.com>
23435
23436 [BZ #3268]
23437 * math/libm-test.inc (fma_test): Some new testcases.
23438 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23440 y and infinite z. Do multiplication by C already in long double.
23441 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23443 y and infinite z. Do bitwise or of inexact bit into u.d.
23444 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23445 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23446 * sysdeps/i386/fpu/s_fma.S: Removed.
23447 * sysdeps/i386/fpu/s_fmal.S: Removed.
23448
7c08a05c
JJ
234492010-10-16 Jakub Jelinek <jakub@redhat.com>
23450
23451 [BZ #3268]
23452 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23454 computation is not scheduled after fetestexcept. Fix value
23455 of minimum denormal long double.
23456
f3f7372d
JJ
234572010-10-14 Jakub Jelinek <jakub@redhat.com>
23458
23459 [BZ #3268]
23460 * math/libm-test.inc (fma_test): Add some more tests.
23461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23462 correctly.
23463
14d43591
AS
234642010-10-15 Andreas Schwab <schwab@redhat.com>
23465
23466 * scripts/data/localplt-s390-linux-gnu.data: New file.
23467 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23468
5e908464
JJ
234692010-10-13 Jakub Jelinek <jakub@redhat.com>
23470
23471 [BZ #3268]
23472 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23473 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23474 instead of dbl-64.
23475 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23476 inlines.
23477 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23479 if one of x and y is very large and the other is subnormal.
23480 * sysdeps/s390/fpu/s_fmaf.c: New file.
23481 * sysdeps/s390/fpu/s_fma.c: New file.
23482 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23483 * sysdeps/powerpc/fpu/s_fma.S: New file.
23484 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23485 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23486 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23487
234882010-10-12 Jakub Jelinek <jakub@redhat.com>
23489
23490 [BZ #3268]
23491 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23492 fma tests.
23493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23494 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23495 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23496 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23497 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23498 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23499 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23500
b833d51f
UD
235012010-10-12 Ulrich Drepper <drepper@redhat.com>
23502
23503 [BZ #12078]
23504 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23505 * posix/bug-regex31.input: Add test case.
23506
1751705d
UD
235072010-10-11 Ulrich Drepper <drepper@gmail.com>
23508
e9b9cbf5
UD
23509 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23510 * posix/bug-regex31.input: New file.
23511
23512 [BZ #12078]
23513 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23514 (parse_sub_exp): Fix last change, use postorder.
23515
ef06edbe
UD
23516 * posix/bug-regex31.c: New file.
23517 * posix/Makefile: Add rules to build and run bug-regex31.
23518
a129c80d
UD
23519 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23520
23521 [BZ #12078]
23522 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23523
b76b818e
UD
23524 [BZ #12108]
23525 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23526 to have entries in sys_siglist.
23527
1751705d
UD
23528 [BZ #12093]
23529 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23530 be NULL.
23531
9ff8d36f
JJ
235322010-10-07 Jakub Jelinek <jakub@redhat.com>
23533
23534 [BZ #3268]
23535 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23536 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23537 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23538 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23539 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23540 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23541 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23542 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23543 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23544 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23545 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23546 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23547 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23548 * math/ftestexcept.c (fetestexcept): Likewise.
23549 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23550 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23551 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23552 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23553 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23554 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23555 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23556
af325969
UD
235572010-10-11 Ulrich Drepper <drepper@gmail.com>
23558
c579b202 23559 [BZ #12107]
af325969
UD
23560 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23561 newline.
23562
67a67b95
UD
235632010-10-06 Ulrich Drepper <drepper@gmail.com>
23564
23565 * string/bug-strstr1.c: New file.
23566 * string/Makefile: Add rules to build and run bug-strstr1.
23567
5fb308bc
EB
235682010-10-05 Eric Blake <eblake@redhat.com>
23569
23570 [BZ #12092]
23571 * string/str-two-way.h (two_way_long_needle): Always clear memory
23572 when skipping input due to the shift table.
23573
45db99c7
UD
235742010-10-03 Ulrich Drepper <drepper@gmail.com>
23575
3b111893
UD
23576 [BZ #12005]
23577 * malloc/mcheck.c: Handle large requests.
23578
45db99c7
UD
23579 [BZ #12077]
23580 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23581 for strncmp and strncasecmp.
23582 * string/stratcliff.c: Add tests for strcmp and strncmp.
23583 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23584
cf7a1eb8
NI
235852010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23586
23587 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23588 __set_fpscr.
23589
6484ba5e
AJ
235902010-09-30 Andreas Jaeger <aj@suse.de>
23591
23592 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23593 (CGROUP_SUPER_MAGIC): Define.
23594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23595 Handle btrfs and cgroup file systems.
23596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23597 Likewise.
23598
91c42559
LM
235992010-09-27 Luis Machado <luisgpm@br.ibm.com>
23600
23601 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23602 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23603
87a97932
AK
236042010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23605
23606 [BZ #12067]
23607 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23608 trying to locate the ELF header.
23609
c21cc9bc
AS
236102010-09-27 Andreas Schwab <schwab@redhat.com>
23611
23612 [BZ #11611]
23613 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23614 Mask out sign-bit copies when constructing f_fsid.
23615
315970f6
PB
236162010-09-24 Petr Baudis <pasky@suse.cz>
23617
23618 * debug/stack_chk_fail_local.c: Add missing licence exception.
23619 * debug/warning-nop.c: Likewise.
23620
1ac7a2c7
JM
236212010-09-15 Joseph Myers <joseph@codesourcery.com>
23622
23623 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23624 implementing getdents64 using getdents syscall, set d_type if
23625 __ASSUME_GETDENTS32_D_TYPE.
23626
56801c50
AS
236272010-09-16 Andreas Schwab <schwab@redhat.com>
23628
23629 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23630 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23631
dda51327
UD
236322010-09-21 Ulrich Drepper <drepper@redhat.com>
23633
23634 [BZ #12037]
23635 * posix/unistd.h: Undo change of feature selection for ftruncate from
23636 2010-01-11.
23637
8ffcee4a
UD
236382010-09-20 Ulrich Drepper <drepper@redhat.com>
23639
a545ecd9 23640 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23641 detection.
23642
e24f0a8b
AS
236432010-09-20 Andreas Schwab <schwab@redhat.com>
23644
23645 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23646 fanotify_mark.
23647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23648
7291c56f
AS
236492010-09-14 Andreas Schwab <schwab@redhat.com>
23650
23651 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23652 variables after CHECK_SP call.
23653 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23654
bc5fb037
AS
236552010-09-13 Andreas Schwab <schwab@redhat.com>
23656 Ulrich Drepper <drepper@redhat.com>
23657
23658 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23659 re-relocationg ld.so.
23660 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23661 _dl_init_paths call.
23662 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23663 here anymore.
23664
e66e7419
UD
236652010-09-14 Ulrich Drepper <drepper@redhat.com>
23666
23667 * resolv/res_init.c (__res_vinit): Count the default server we added.
23668
c044aa75
CLT
236692010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23670 Ulrich Drepper <drepper@redhat.com>
23671
23672 [BZ #11968]
23673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23674 (____longjmp_chk): Use %ebx for saving value across system call.
23675 Add unwind info.
23676
32cf4069
AS
236772010-09-06 Andreas Schwab <schwab@redhat.com>
23678
23679 * manual/Makefile: Don't mix pattern rules with normal rules.
23680
817328ee
AS
236812010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23682
23683 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23684 operation.
23685 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23686 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23687 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23688 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23690 Likewise.
23691
29fddf61
UD
236922010-09-04 Ulrich Drepper <drepper@redhat.com>
23693
23694 [BZ #11979]
23695 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23696 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23697
0959ffc9
UD
236982010-09-02 Ulrich Drepper <drepper@redhat.com>
23699
23700 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23701 * sysdeps/x86_64/addmul_1.S: Likewise.
23702 * sysdeps/x86_64/lshift.S: Likewise.
23703 * sysdeps/x86_64/mul_1.S: Likewise.
23704 * sysdeps/x86_64/rshift.S: Likewise.
23705 * sysdeps/x86_64/sub_n.S: Likewise.
23706 * sysdeps/x86_64/submul_1.S: Likewise.
23707
ece29840
ST
237082010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23709
0959ffc9
UD
23710 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23711 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23712 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23713 * bits/sched.h [__need_schedparam]
ece29840 23714 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23715 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23716 (__defined_schedparam): Define to 1.
ece29840
ST
23717 (__sched_param): New structure, identical to sched_param.
23718 (__need_schedparam): Undefine.
23719
e53a31fe
MF
237202010-08-31 Mike Frysinger <vapier@gentoo.org>
23721
fdc0c10d
MF
23722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23723 (epoll_create1): Declare.
23724
e53a31fe
MF
23725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23726
a726d796
AS
237272010-08-31 Andreas Schwab <schwab@redhat.com>
23728
23729 [BZ #7066]
23730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23731 shifting retval into place.
23732
2f3e3dc7
UD
237332010-09-01 Ulrich Drepper <drepper@redhat.com>
23734
f2933da9
UD
23735 * nis/rpcsvc/nis.h: Update copyright notice.
23736 * nis/rpcsvc/nis.x: Likewise.
23737 * nis/rpcsvc/nis_callback.h: Likewise.
23738 * nis/rpcsvc/nis_callback.x: Likewise.
23739 * nis/rpcsvc/nis_object.x: Likewise.
23740 * nis/rpcsvc/nis_tags.h: Likewise.
23741 * nis/rpcsvc/yp.h: Likewise.
23742 * nis/rpcsvc/yp.x: Likewise.
23743 * nis/rpcsvc/ypupd.h: Likewise.
23744 * nis/yp_xdr.c: Likewise.
23745 * nis/ypupdate_xdr.c: Likewise.
23746
2f3e3dc7
UD
23747 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23748 mainly the body of pmap_getport. Add parameters to specify timeouts.
23749 (pmap_getport): Use __libc_rpc_getport.
23750 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23751 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23752 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23753
f3dcc2f9
AS
237542010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23755
23756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23757 fanotify_mark.
23758
6d34eb5b
RM
237592010-08-27 Roland McGrath <roland@redhat.com>
23760
23761 * sysdeps/i386/i686/multiarch/Makefile
23762 (CFLAGS-varshift.c): New variable.
23763
9ea3de11
UD
237642010-08-27 Ulrich Drepper <drepper@redhat.com>
23765
c96d23fc
UD
23766 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23767 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23768
9ea3de11
UD
23769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23770
23771 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23772
623aac7f
L
237732010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23774
23775 * sysdeps/x86_64/strlen.S: Unroll the loop.
23776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23777 strlen-sse2 strlen-sse2-bsf.
23778 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23779 __strlen_no_bsf if bit_Slow_BSF is set.
23780 (__strlen_sse42): Removed.
23781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23782 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23783
8b2b7715
RM
237842010-08-25 Roland McGrath <roland@redhat.com>
23785
23786 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23787 * sysdeps/x86_64/multiarch/varshift.c: New file.
23788 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23789 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23790 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23791 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23792
e73015f2
L
237932010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23794
23795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23796 strlen-sse2 strlen-sse2-bsf.
23797 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23798 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23799 (__strlen_sse2): Removed.
23800 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23803 bit_Slow_BSF for Atom.
23804 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23805 (index_Slow_BSF): Define.
23806 (HAS_SLOW_BSF): Define.
23807
df24a73e
UD
238082010-08-25 Ulrich Drepper <drepper@redhat.com>
23809
23810 [BZ #10851]
23811 * resolv/res_init.c (__res_vinit): When no server address at all
23812 is given default to loopback.
23813
f2ac4868
RM
238142010-08-24 Roland McGrath <roland@redhat.com>
23815
09055553
RM
23816 * configure.in: Remove config-name.h generation.
23817 * configure: Regenerated.
23818 * config-name.in: File removed.
23819 * scripts/config-uname.sh: New file.
23820 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23821 ($(objdir)config-name.h): New target.
23822
f2ac4868
RM
23823 * sunrpc/rpc_parse.h: Avoid nested comment.
23824
73f27d5e
RH
238252010-08-24 Richard Henderson <rth@redhat.com>
23826 Ulrich Drepper <drepper@redhat.com>
23827 H.J. Lu <hongjiu.lu@intel.com>
23828
23829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23831 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23832 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23833 _mm_alignr_epi8 with _mm_loadu_si128.
23834 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23835 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23836 (__m128i_shift_right): Removed.
23837 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23838 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23839 * sysdeps/x86_64/multiarch/varshift.h: New file.
23840 * sysdeps/x86_64/multiarch/varshift.S: New file.
23841
84b9230c
MF
238422010-08-21 Mike Frysinger <vapier@gentoo.org>
23843
23844 * configure.in: Move assembler checks to before sysdep dir checking.
23845
9bbd0ddc
PB
238462010-08-20 Petr Baudis <pasky@suse.cz>
23847
23848 * LICENSES: Sync the sunrpc license.
23849
9da4bb31
UD
238502010-08-19 Ulrich Drepper <drepper@redhat.com>
23851
a7ab6ec8
UD
23852 * sunrpc/auth_des.c: Update copyright notice once again.
23853 * sunrpc/auth_none.c: Likewise.
23854 * sunrpc/auth_unix.c: Likewise.
23855 * sunrpc/authdes_prot.c: Likewise.
23856 * sunrpc/authuxprot.c: Likewise.
23857 * sunrpc/bindrsvprt.c: Likewise.
23858 * sunrpc/clnt_gen.c: Likewise.
23859 * sunrpc/clnt_perr.c: Likewise.
23860 * sunrpc/clnt_raw.c: Likewise.
23861 * sunrpc/clnt_simp.c: Likewise.
23862 * sunrpc/clnt_tcp.c: Likewise.
23863 * sunrpc/clnt_udp.c: Likewise.
23864 * sunrpc/clnt_unix.c: Likewise.
23865 * sunrpc/des_crypt.c: Likewise.
23866 * sunrpc/des_soft.c: Likewise.
23867 * sunrpc/get_myaddr.c: Likewise.
23868 * sunrpc/getrpcport.c: Likewise.
23869 * sunrpc/key_call.c: Likewise.
23870 * sunrpc/key_prot.c: Likewise.
23871 * sunrpc/openchild.c: Likewise.
23872 * sunrpc/pm_getmaps.c: Likewise.
23873 * sunrpc/pm_getport.c: Likewise.
23874 * sunrpc/pmap_clnt.c: Likewise.
23875 * sunrpc/pmap_prot.c: Likewise.
23876 * sunrpc/pmap_prot2.c: Likewise.
23877 * sunrpc/pmap_rmt.c: Likewise.
23878 * sunrpc/rpc/auth.h: Likewise.
23879 * sunrpc/rpc/auth_unix.h: Likewise.
23880 * sunrpc/rpc/clnt.h: Likewise.
23881 * sunrpc/rpc/des_crypt.h: Likewise.
23882 * sunrpc/rpc/key_prot.h: Likewise.
23883 * sunrpc/rpc/netdb.h: Likewise.
23884 * sunrpc/rpc/pmap_clnt.h: Likewise.
23885 * sunrpc/rpc/pmap_prot.h: Likewise.
23886 * sunrpc/rpc/pmap_rmt.h: Likewise.
23887 * sunrpc/rpc/rpc.h: Likewise.
23888 * sunrpc/rpc/rpc_des.h: Likewise.
23889 * sunrpc/rpc/rpc_msg.h: Likewise.
23890 * sunrpc/rpc/svc.h: Likewise.
23891 * sunrpc/rpc/svc_auth.h: Likewise.
23892 * sunrpc/rpc/types.h: Likewise.
23893 * sunrpc/rpc/xdr.h: Likewise.
23894 * sunrpc/rpc_clntout.c: Likewise.
23895 * sunrpc/rpc_cmsg.c: Likewise.
23896 * sunrpc/rpc_common.c: Likewise.
23897 * sunrpc/rpc_cout.c: Likewise.
23898 * sunrpc/rpc_dtable.c: Likewise.
23899 * sunrpc/rpc_hout.c: Likewise.
23900 * sunrpc/rpc_main.c: Likewise.
23901 * sunrpc/rpc_parse.c: Likewise.
23902 * sunrpc/rpc_parse.h: Likewise.
23903 * sunrpc/rpc_prot.c: Likewise.
23904 * sunrpc/rpc_sample.c: Likewise.
23905 * sunrpc/rpc_scan.c: Likewise.
23906 * sunrpc/rpc_scan.h: Likewise.
23907 * sunrpc/rpc_svcout.c: Likewise.
23908 * sunrpc/rpc_tblout.c: Likewise.
23909 * sunrpc/rpc_util.c: Likewise.
23910 * sunrpc/rpc_util.h: Likewise.
23911 * sunrpc/rpcinfo.c: Likewise.
23912 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23913 * sunrpc/rpcsvc/key_prot.x: Likewise.
23914 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23915 * sunrpc/rpcsvc/mount.x: Likewise.
23916 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23917 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23918 * sunrpc/rpcsvc/rex.x: Likewise.
23919 * sunrpc/rpcsvc/rstat.x: Likewise.
23920 * sunrpc/rpcsvc/rusers.x: Likewise.
23921 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23922 * sunrpc/rpcsvc/spray.x: Likewise.
23923 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23924 * sunrpc/rtime.c: Likewise.
23925 * sunrpc/svc.c: Likewise.
23926 * sunrpc/svc_auth.c: Likewise.
23927 * sunrpc/svc_authux.c: Likewise.
23928 * sunrpc/svc_raw.c: Likewise.
23929 * sunrpc/svc_run.c: Likewise.
23930 * sunrpc/svc_simple.c: Likewise.
23931 * sunrpc/svc_tcp.c: Likewise.
23932 * sunrpc/svc_udp.c: Likewise.
23933 * sunrpc/svc_unix.c: Likewise.
23934 * sunrpc/svcauth_des.c: Likewise.
23935 * sunrpc/xcrypt.c: Likewise.
23936 * sunrpc/xdr.c: Likewise.
23937 * sunrpc/xdr_array.c: Likewise.
23938 * sunrpc/xdr_float.c: Likewise.
23939 * sunrpc/xdr_mem.c: Likewise.
23940 * sunrpc/xdr_rec.c: Likewise.
23941 * sunrpc/xdr_ref.c: Likewise.
23942 * sunrpc/xdr_sizeof.c: Likewise.
23943 * sunrpc/xdr_stdio.c: Likewise.
23944
9da4bb31
UD
23945 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23946 handling.
23947
bdaa77bc
AS
239482010-08-19 Andreas Schwab <schwab@redhat.com>
23949
23950 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23951
fe2f79db
LM
239522010-08-19 Luis Machado <luisgpm@br.ibm.com>
23953
23954 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23956 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23957 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23958 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23959 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23960 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23961 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23963 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23964 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23965 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23966 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23967 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23968
b9b42ee0
AB
239692010-07-26 Anton Blanchard <anton@samba.org>
23970
23971 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23972 * malloc/arena.c (heap_trim): Likewise.
23973
1c06ba31
UD
239742010-08-16 Ulrich Drepper <drepper@redhat.com>
23975
23976 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23977 here. Not...
23978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23979 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23980
f8392f40
L
239812010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23982
23983 * sysdeps/i386/elf/Makefile: New file.
23984
3162f12e
AS
239852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23986
23987 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23988 from fanotify_init.
23989 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23991
28c90b2c
UD
239922010-08-15 Ulrich Drepper <drepper@redhat.com>
23993
23994 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23995 of strncasecmp_l.
1feccb6c 23996 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23997
ca6bb004
UD
239982010-08-14 Ulrich Drepper <drepper@redhat.com>
23999
e9f82e0d
UD
24000 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24001 strncase_l-nonascii.
24002 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24003 Add strncase_l-ssse3.
24004 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24005 * sysdeps/x86_64/strcmp.S: Likewise.
24006 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24007 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24008 * sysdeps/x86_64/strncase.S: New file.
24009 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24010 * sysdeps/x86_64/strncase_l.S: New file.
24011 * string/Makefile (strop-tests): Add strncasecmp.
24012 * string/test-strncasecmp.c: New file.
24013
24014 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24015 warning.
24016
ca6bb004
UD
24017 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24018 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24019
052fa7b3
AS
240202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24021
24022 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24023
962dba78
UD
240242010-08-12 Ulrich Drepper <drepper@redhat.com>
24025
24026 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24027 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24028 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24029
bebff237
AM
240302010-05-01 Alan Modra <amodra@gmail.com>
24031
24032 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24033 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24034 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24035 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24036 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24037 tidying. Don't tail-call __sigjmp_save for static lib.
24038 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24039 save location.
24040 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24041 (CALL_MCOUNT): Add eh info, and nop after bl.
24042 (TAIL_CALL_SYSCALL_ERROR): New macro.
24043 (PSEUDO_RET): Use it.
24044 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24045 Correct save location of integer regs and cr.
24046 (_dl_profile_resolve): Correct cr save location. Delete nops
24047 after bl when SHARED. Reduce cfi size a little by better
24048 placement of cfi directives.
24049 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24050 make a stack frame. Instead use parm save area as a temp.
24051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24052 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24054 Don't make a stack frame for parent, use parm save area.
24055 Increase child stack frame to 112 bytes. Don't save unused reg,
24056 and adjust reg usage. Set up cfi on error recovery and
24057 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24059 (__makecontext): Add dummy nop after jump to exit.
24060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24061 Use correct parm save area and cr save, reduce stack frame.
24062 Correct cfi for possible PSEUDO_RET frame setup.
24063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24064 Branch to local label emitted by PSEUDO_RET rather than
24065 __syscall_error.
24066
02637374
AS
240672010-08-12 Andreas Schwab <schwab@redhat.com>
24068
24069 [BZ #11904]
24070 * locale/programs/locale.c (print_assignment): New function.
24071 (show_locale_vars): Use it.
24072
c3e2f19b
UD
240732010-08-11 Ulrich Drepper <drepper@redhat.com>
24074
3cdaa6ad
UD
24075 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24076 field.
24077 (struct statfs64): Likewise.
24078 (_STATFS_F_FLAGS): Define.
24079 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24080 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24081 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24082 (ST_VALID): Define locally.
24083 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24084 __statvfs_getflags, use the provided value.
24085 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24086 __ASSUME_STATFS_F_FLAGS.
24087
754f7da3
UD
24088 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24089
10b3bedc
UD
24090 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24091 Add sys/fanotify.h.
24092 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24093 fanotify_mask for GLIBC_2.13.
24094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24095 fanotify_init and fanotify_mark.
24096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24097 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24098
c08fb0d7
UD
24099 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24100 Add prlimit.
24101 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24102 prlimit64 for GLIBC_2.13.
24103 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24104 prlimit64.
24105 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24106 syscall.
24107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24108 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24109 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24110 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24112 add prlimit alias.
24113 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24114
15bac72b
UD
24115 [BZ #11903]
24116 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24117 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24118
c3e2f19b
UD
24119 * nss/Makefile: Add rules to build and run tst-nss-test1.
24120 * shlib-versions: Add entry for libnss_test1.
24121 * nss/nss_test1.c: New file.
24122 * nss/tst-nss-test1.c: New file.
24123
24124 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24125 (__nss_configure_lookup): Set appropriate entry in
24126 __nss_configure_lookup to true.
24127 * nss/nsswitch.h: Define enum with indeces of databases in
24128 databases and __nss_database_custom arrays. Declare
24129 __nss_database_custom.
24130 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24131 to avoid using nscd when custom rules are installed.
24132 * nss/getXXbyYY_r.c: Likewise.
24133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24134
24135 * nss/nss_files/files-parse.c: Whitespace fixes.
24136
f15ce4d8
UD
241372010-08-09 Ulrich Drepper <drepper@redhat.com>
24138
24139 [BZ #11883]
24140 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24141 * posix/fnmatch_loop.c: Likewise.
24142
d22e4cc9
AK
241432010-07-17 Andi Kleen <ak@linux.intel.com>
24144
24145 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24146 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24147 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24148 * Versions.def [GLIBC_2.13]: Add.
24149
805bc17d
UD
241502010-08-06 Ulrich Drepper <drepper@redhat.com>
24151
24152 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24153 Also fail if tpwd after pwuid call is NULL.
24154
5a42321d
ST
241552010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24156
24157 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24158 when converting to ms.
24159
fd3ebeda
ST
241602010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24161
24162 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24163 EOPNOTSUPP errors with ENOTTY.
24164 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24165 EOPNOTSUPP errors with ENOTTY.
24166
73507d3a
UD
241672010-07-31 Ulrich Drepper <drepper@redhat.com>
24168
24169 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24170 Add strcasecmp_l-ssse3.
24171 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24172 strcasecmp.
24173 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24174 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24175 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24176
fe36dd02
UD
241772010-07-30 Ulrich Drepper <drepper@redhat.com>
24178
66f6765a
UD
24179 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24180
42e08a54
UD
24181 * string/Makefile (strop-tests): Add strcasecmp.
24182 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24183 strcasecmp_l-nonascii.
24184 (gen-as-const-headers): Add locale-defines.sym.
24185 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24186 * sysdeps/x86_64/strcasecmp.S: New file.
24187 * sysdeps/x86_64/strcasecmp_l.S: New file.
24188 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24189 * sysdeps/x86_64/locale-defines.sym: New file.
24190 * string/test-strcasecmp.c: New file.
24191
fe36dd02
UD
24192 * string/test-strcasestr.c: Test both ends of the range of characters.
24193 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24194
48cbc0d6
RM
241952010-07-29 Roland McGrath <roland@redhat.com>
24196
76e6d6bc 24197 [BZ #11856]
48cbc0d6
RM
24198 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24199
880113d9
UD
242002010-07-27 Ulrich Drepper <drepper@redhat.com>
24201
24202 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24203 for ld.so.
24204
deb9cabb
AS
242052010-07-27 Andreas Schwab <schwab@redhat.com>
24206
24207 * manual/memory.texi (Malloc Tunable Parameters): Document
24208 M_PERTURB.
24209
1c7570ff
RM
242102010-07-26 Roland McGrath <roland@redhat.com>
24211
24212 [BZ #11840]
24213 * configure.in (-fgnu89-inline check): Set and substitute
24214 gnu89_inline, not libc_cv_gnu89_inline.
24215 * configure: Regenerated.
24216 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24217
24fb0f88
UD
242182010-07-26 Ulrich Drepper <drepper@redhat.com>
24219
24220 * string/test-strnlen.c: New file.
24221 * string/Makefile (strop-tests): Add strnlen.
24222 * string/tester.c (test_strnlen): Add a few more test cases.
24223 * string/tst-strlen.c: Better error reporting.
24224
24225 * sysdeps/x86_64/strnlen.S: New file.
24226
8e96b93a
UD
242272010-07-24 Ulrich Drepper <drepper@redhat.com>
24228
24229 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24230 lower-latency instructions.
24231
dbc676d4
UD
242322010-07-23 Ulrich Drepper <drepper@redhat.com>
24233
24234 * string/test-strcasestr.c: New file.
24235 * string/test-strstr.c: New file.
24236 * string/Makefile (strop-tests): Add strstr and strcasestr.
24237 * string/str-two-way.h: Don't undefine MAX.
24238 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24239
f6a31e0e
AS
242402010-07-21 Andreas Schwab <schwab@redhat.com>
24241
24242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24243 strcasestr-nonascii.
24244 (CFLAGS-strcasestr-nonascii.c): Define.
24245 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24247 Remove unused attribute.
24248
5dbc3b6c
RM
242492010-07-20 Roland McGrath <roland@redhat.com>
24250
24251 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24252 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24253 ld.so.cache was broken. With it, there is no way to disable dsocaps
24254 like LD_HWCAP_MASK can disable hwcaps.
24255
23d101d8
EPM
242562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24257
24258 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24259
cc9f2e47
UD
242602010-07-16 Ulrich Drepper <drepper@redhat.com>
24261
24262 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24263 call in strcasestr.
24264 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24265 __strcasestr_sse42_nonascii.
24266 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24267 strcasestr-nonascii.c.
24268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24269
77c1b069
LM
242702010-06-15 Luis Machado <luisgpm@br.ibm.com>
24271
24272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24273 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24274 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24275 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24276
440566c3
UD
242772010-07-09 Ulrich Drepper <drepper@redhat.com>
24278
24279 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24280 fcntl.
24281
5be9d05d
AS
242822010-07-06 Andreas Schwab <schwab@redhat.com>
24283
c30b7ee2 24284 [BZ #11577]
5be9d05d
AS
24285 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24286 dl_signal_cerror.
24287
8a492a67
UD
242882010-07-06 Ulrich Drepper <drepper@redhat.com>
24289
24290 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24291 _PC_PIPE_BUF using F_GETPIPE_SZ.
24292
713df3d5
RM
242932010-07-05 Roland McGrath <roland@redhat.com>
24294
24295 * manual/arith.texi (Rounding Functions): Fix rint description
24296 implicit in round description.
24297
702e8f14
UD
242982010-07-02 Ulrich Drepper <drepper@redhat.com>
24299
24300 * elf/Makefile: Fix linking for a few tests to make recent linker
24301 happy.
24302
52ed8be9
AS
243032010-06-30 Andreas Schwab <schwab@redhat.com>
24304
24305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24306 $(common-objpfx)libc_nonshared.a.
24307
f47c9a11
LM
243082010-06-21 Luis Machado <luisgpm@br.ibm.com>
24309
24310 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24311 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24312 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24313 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24314 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24316 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24317 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24332 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24333 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24334 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24335 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24336 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24337 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24338 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24339 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24340 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24341 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24342 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24343 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24358
6fb8cbcb
L
243592010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24360
24361 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24362 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24363 * string/memmove.c (memmove): Renamed to ...
24364 (MEMMOVE): ...this. Default to memmove.
24365 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24366 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24367 (END_CHK): Define.
24368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24369 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24370 mempcpy-ssse3-back memmove-ssse3-back.
24371 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24374 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24375 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24376 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24377 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24378 * sysdeps/x86_64/multiarch/memmove.c: New file.
24379 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24380 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24381 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24382 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24383 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24385 Define.
24386 (index_Fast_Copy_Backward): Define.
24387 (HAS_ARCH_FEATURE): Define.
24388 (HAS_FAST_REP_STRING): Define.
24389 (HAS_FAST_COPY_BACKWARD): Define.
24390
4e733bac 243912010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24392
24393 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24394 Restore proper fallback handling.
24395
63c4ed22
UD
243962010-06-19 Ulrich Drepper <drepper@redhat.com>
24397
ac2b484c
UD
24398 [BZ #11701]
24399 * posix/group_member.c (__group_member): Correct checking loop.
24400
63c4ed22
UD
24401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24402 OOM in getpwuid_r correctly. Return error number when the caller
24403 should return, otherwise -1.
24404 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24405 call returning > 0 value.
24406 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24407
765ade4b
AS
244082010-06-07 Andreas Schwab <schwab@redhat.com>
24409
24410 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24411 libc_nonshared.a from targets in modules-names.
24412
80da2e09
KS
244132010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24414
24415 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24416 requires it.
24417
158db122
LM
244182010-06-10 Luis Machado <luisgpm@br.ibm.com>
24419
24420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24422 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24424
caa78cf8
AS
244252010-06-02 Andreas Schwab <schwab@redhat.com>
24426
24427 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24428
b2ef2c01
UD
244292010-06-14 Ulrich Drepper <drepper@redhat.com>
24430
24431 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24432 and F_GETPIPE_SZ.
24433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24437 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24438 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24439
fbd643b6
RM
244402010-06-14 Roland McGrath <roland@redhat.com>
24441
24442 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24443
f32f2869
JJ
244442010-06-07 Jakub Jelinek <jakub@redhat.com>
24445
24446 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24447 __REDIRECT followed by __THROW.
24448 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24449 * posix/getopt.h (getopt): Likewise.
24450
2a50c078
EPM
244512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24452
24453 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24454 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24455 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24456 in AT_FLAGS.
24457 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24458 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24459
eb5ad2eb
LM
244602010-05-28 Luis Machado <luisgpm@br.ibm.com>
24461
24462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24463
3c88fe1e
L
244642010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24465
24466 [BZ #11640]
24467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24468 Properly check family and model.
24469
d2f73151
TY
244702010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24471
24472 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24473
ebd2e13d
LM
244742010-05-24 Luis Machado <luisgpm@br.ibm.com>
24475
24476 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24477
b32b8b45
UD
244782010-05-21 Ulrich Drepper <drepper@redhat.com>
24479
24480 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24481 symbol reference.
24482
9acbe24d
AS
244832010-05-19 Andreas Schwab <schwab@redhat.com>
24484
24485 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24486 symbol reference.
24487
f0ccf6ea
AS
244882010-05-21 Andreas Schwab <schwab@redhat.com>
24489
3d04ff3a
AS
24490 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24491 and internal_recvmmsg.
24492 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24493 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24494 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24495 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24496
f0ccf6ea
AS
24497 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24498 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24499 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24500
5b08ac57
AS
245012010-05-20 Andreas Schwab <schwab@redhat.com>
24502
24503 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24504
4828935d
LM
245052010-05-17 Luis Machado <luisgpm@br.ibm.com>
24506
24507 POWER7 optimizations.
24508 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24509 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24510
373d545e
UD
245112010-05-19 Ulrich Drepper <drepper@redhat.com>
24512
24513 * version.h: Update for 2.13 development version.
24514
21a2b1ae
AS
245152010-05-12 Andrew Stubbs <ams@codesourcery.com>
24516
24517 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24518 exceptions. Return 0.
24519
3f7dcb2b
RM
245202010-05-07 Roland McGrath <roland@redhat.com>
24521
24522 * elf/ldconfig.c (main): Add a const.
24523
5f24d53a 245242010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24525
a160f8d8
UD
24526 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24527 (args_options): Add no-idn option.
24528 (ahosts_keys_int): Add idn_flags to ai_flags.
24529 (parse_option): Handle 'i' option to clear idn_flags.
24530
5f24d53a
UD
24531 * malloc/malloc.c (_int_free): Possible race in the most recently
24532 added check. Only act on the data if no current modification
24533 happened.
265bb1ce
UD
24534
24535See ChangeLog.17 for earlier changes.