]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update NEWS
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d3b9ea61
SP
12013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2
0b57daeb
SP
3 [BZ #14496]
4 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
5 Fix application of SIMD FP exception mask.
6
caa99d06
SP
7 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8 mp_no from a power of two.
9 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10 __mpexp_twomm1. Use __pow_mp.
11
d3b9ea61
SP
12 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13 multiplication.
14
1dbaee3c
DM
152013-01-17 David S. Miller <davem@davemloft.net>
16
17 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18
728d7b43
JM
192013-01-17 Joseph Myers <joseph@codesourcery.com>
20
21 [BZ #15023]
22 * include/complex.h: Condition contents on [!_COMPLEX_H].
23 (__kernel_casinhf): New prototype.
24 (__kernel_casinh): Likewise.
25 (__kernel_casinhl): Likewise.
26 * math/Makefile (libm_calls): Add k_casinh.
27 * math/k_casinh.c: New file.
28 * math/k_casinhf.c: Likewise.
29 * math/k_casinhl.c: Likewise.
30 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31 finite nonzero arguments.
32 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33 finite nonzero arguments.
34 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35 finite nonzero arguments.
36 * math/s_casinh.c: Do not include <float.h>.
37 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38 * math/s_casinhf.c: Do not include <float.h>.
39 (__casinhf): Move code for finite nonzero arguments to
40 k_casinhf.c.
41 * math/s_casinhl.c: Do not include <float.h>.
42 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
43 redefine.
44 (__casinhl): Move code for finite nonzero arguments to
45 k_casinhl.c.
46 * math/libm-test.inc (cacos_test): Add more tests.
47 * sysdeps/i386/fpu/libm-test-ulps: Update.
48 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49
2a26ef3a
PT
502013-01-17 Pino Toscano <toscano.pino@tiscali.it>
51
52 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54 [!HAVE_MREMAP]: Remove [defined linux] case.
55 * malloc/arena.c: Do not include <malloc-sysdep.h>.
56
a897655d
SP
572013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
58
59 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60
881ebe89 612013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
62
63 * elf/elf.h (R_386_SIZE32): New relocation.
64 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
65 R_386_SIZE32.
66 (elf_machine_rela): Likewise.
67 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68 R_X86_64_SIZE64 and R_X86_64_SIZE32.
69
59981e9b
JM
702013-01-17 Joseph Myers <joseph@codesourcery.com>
71
72 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
73 (FP_FAST_FMA): Do not define.
74 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
75 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
76 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
77 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
78 !_SOFT_FLOAT]: Likewise.
79 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
80 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
81 value.
82 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
83 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
84 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
85 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
86 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
87 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
88 file.
89
cfa8054f
AS
902013-01-16 Andreas Schwab <schwab@suse.de>
91
92 [BZ #14327]
93 * include/stdlib.h (__mktemp): Add declaration.
94 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
95 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
96
dd930cc5
SP
972013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
98
881ebe89
SP
99 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
100 definitions.
101 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
102 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
103 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
104 definitions here.
105 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
106 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
107 definitions.
108 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
109 and ONE.
110 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
111 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
112 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
113 definitions.
114 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
115 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
116 definitions.
117 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 118
dd930cc5
SP
119 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
120
c19a9f89
DM
1212013-01-15 David S. Miller <davem@davemloft.net>
122
1aa61767
DM
123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
124 trunc{,f} to libm-sysdep_routes.
125 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
127 file.
128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
130 file.
131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
132 file.
133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
135 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
136 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
137 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
138 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
139 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
140 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
141
c42d5e98
DM
142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
143 nearbyint{,f} to libm-sysdep_routes.
144 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
146 New file.
147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
148 file.
149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
150 New file.
151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
152 file.
153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
155 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
156 file.
157 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
158 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
159 file.
160 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
161 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
162 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
163
c19a9f89
DM
164 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
165 libc_feholdexcept and libc_fesetenv.
166
357679d2
MF
1672013-01-15 Mike Frysinger <vapier@gentoo.org>
168
169 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
170
65a82e3d
DM
1712013-01-14 David S. Miller <davem@davemloft.net>
172
8b954ab9
DM
173 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
174 (SPARC_ASM_VIS2_IFUNC): Likewise.
175 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
177 use of 'siam' instruction.
178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
179 Likewise.
180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
181 Likewise.
182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
183 Likewise.
184 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
189 file.
190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
191 file.
192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
193 file.
194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
195 file.
196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
201 new VIS2 routines.
202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
205 Likewise.
206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
208 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
211 routines to libm-sysdep_routines.
212 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
213
65a82e3d
DM
214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
215 fdim/fdimf to libm-sysdep_routines.
216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
217 file.
218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
220 file.
221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
224 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
225 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
226 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
227 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
228
e34ab705
SP
2292013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
230
2a91b573
SP
231 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
232 to optimize copies.
233
1066a534
SP
234 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
237
e34ab705
SP
238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
239 local variable MPTWO.
240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
241 Likewise.
242
aba5e596
MF
2432013-01-13 Mike Frysinger <vapier@gentoo.org>
244
245 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
246 GLOB_NOESCAPE.
247
e557e9e5
MF
2482013-01-13 Mike Frysinger <vapier@gentoo.org>
249
250 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
251
0428cec9
MF
2522013-01-13 Mike Frysinger <vapier@gentoo.org>
253
254 * manual/pattern.texi (glob_t): Document gl_flags.
255 (glob64_t): Likewise.
256
8794a964
DM
2572013-01-11 David S. Miller <davem@davemloft.net>
258
66438c3f
RM
259 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
260 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
261 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
262 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
263 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
264 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
265 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
266 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
267 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
268 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
269 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
270 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
271 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
272
4ae4244d
DM
273 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
274 sparc V9 rather than using V8 code.
275 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
276 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
277
8794a964
DM
278 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
279 Move to...
280 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
281 Here.
282
6270516e
RM
2832013-01-11 Roland McGrath <roland@hack.frob.com>
284
285 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
286 not in the main loop.
287 * configure: Regenerated.
288
6a57d931
JM
2892013-01-11 Joseph Myers <joseph@codesourcery.com>
290
291 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
292 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
293 to just #else.
294 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
295 [!__GLIBC_HAVE_LONG_LONG] case.
296 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
297 condition to just #else.
298 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
299 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
300 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
301 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
302 unconditional.
303 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
304 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
305 #elif condition to just #else.
306 * sysdeps/unix/sysv/linux/sys/sysmacros.h
307 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
308 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
309 #elif condition to just #else.
310
0e8529e9
SE
3112013-01-11 Steve Ellcey <sellcey@mips.com>
312
313 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
314 (EF_MIPS_ARCH_64): Fix value.
315 (EF_MIPS_ARCH_32R2): New.
316 (EF_MIPS_ARCH_64R2): New.
317
740b3dbe
L
3182013-01-11 H.J. Lu <hongjiu.lu@intel.com>
319
320 * Makeconfig (+link-pie-before-libc): New.
321 (+link-pie-after-libc): Likewise.
322 (+link-pie-tests): Likewise.
323 (+link-pie): Rewritten.
324 (link-before-libc): Remove $(config-LDFLAGS).
325 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
326 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
327 (config-LDFLAGS): Renamed to ...
328 (rtld-LDFLAGS): This.
329 (rtld-tests-LDFLAGS): New macro.
330 (link-libc-rpath-link): Likewise.
331 (link-libc-tests-rpath-link): Likewise.
332 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
333 (link-libc): Prepand $(link-libc-rpath-link).
334 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
335 (test-program-prefix): New macro.
336 (test-via-rtld-prefix): Likewise.
337 (test-program-cmd): Likewise.
338 (host-test-program-cmd): Likewise.
339 * Makefile ($(common-objpfx)testrun.sh): Replace
340 $(run-program-prefix) with $(test-program-prefix).
341 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
342 $(rtld-LDFLAGS).
343 ($(common-objpfx)shlib.lds): Likewise.
344 (build-module-helper): Likewise.
345 ($(common-objpfx)format.lds): Likewise.
346 * Rules (binaries-pie-tests): New.
347 (binaries-pie-notests): Likewise.
348 (binaries-pie): Rewritten.
349 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
350 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
351 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
352 (make-test-out): Replace $(host-built-program-cmd) with
353 $(host-test-program-cmd).
354 * config.make.in (build-hardcoded-path-in-tests): New variable.
355 * configure.in (--enable-hardcoded-path-in-tests): New configure
356 option.
357 (hardcoded_path_in_tests): New AC_SUBST.
358 * configure: Regenerated.
359 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
360 $(built-program-cmd) with $(test-program-cmd).
361 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
362 (test_program_cmd): This.
363 * elf/Makefile ($(objpfx)order.out): Run test with
364 $(test-program-prefix).
365 ($(objpfx)order2.out): Likewise.
366 ($(objpfx)tst-initorder.out): Likewise.
367 ($(objpfx)tst-initorder2.out): Likewise.
368 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
369 $(test-program-cmd).
370 ($(objpfx)tst-array1-static.out): Likewise.
371 ($(objpfx)tst-array2.out): Likewise.
372 ($(objpfx)tst-array3.out): Likewise.
373 ($(objpfx)tst-array4.out): Likewise.
374 ($(objpfx)tst-array5.out): Likewise.
375 ($(objpfx)tst-array5-static.out): Likewise.
376 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
377 $(test-program-cmd).
378 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
379 $(run-program-prefix) with $(test-program-prefix).
380 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
381 (test_program_prefix): This.
382 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
383 $(run-program-prefix) with $(test-program-prefix).
384 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
385 (test_program_prefix): This.
386 * iconvdata/tst-tables.sh: Likewise.
387 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
388 $(run-program-prefix) with $(test-program-prefix).
389 ($(objpfx)tst-translit.out): Likewise.
390 ($(objpfx)tst-gettext2.out): Likewise.
391 ($(objpfx)tst-gettext4.out): Likewise.
392 ($(objpfx)tst-gettext6.out): Likewise.
393 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
394 (test_program_prefix): This.
395 * intl/tst-gettext2.sh: Likewise.
396 * intl/tst-gettext4.sh Likewise.
397 * intl/tst-gettext6.sh: Likewise.
398 * intl/tst-translit.sh: Likewise.
399 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
400 with $(test-program-cmd).
401 * libio/Makefile ($(objpfx)test-freopen.out): Replace
402 $(run-program-prefix) with $(test-program-prefix).
403 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
404 (test_program_prefix): This.
405 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
406 $(run-program-prefix) with $(test-program-prefix).
407 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
408 (test_program_prefix): This.
409 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
410 * posix/Makefile ($(objpfx)globtest.out): Replace
411 $(run-via-rtld-prefix) and $(test-wrapper) with
412 $(test-program-prefix) and $(test-via-rtld-prefix).
413 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
414 $(test-program-prefix).
415 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
416 $(host-test-program-cmd).
417 (tst-spawn-ARGS): Likewise.
418 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
419 $(test-program-prefix).
420 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
421 (test_via_rtld_prefix): This.
422 (test_wrapper): Renamed to ...
423 (test_program_prefix): This.
424 (run_program_prefix): Replaced by test_program_prefix.
425 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
426 (test_program_prefix): This.
427 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
428 with $(host-test-program-cmd).
429 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
430 $(run-program-prefix) with $(test-program-prefix).
431 ($(objpfx)tst-printf.out): Likewise.
432 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
433 $(test-program-cmd).
434 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
435 (test_program_prefix): This.
436 * stdio-common/tst-unbputc.sh: Likewise.
437 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
438 $(run-program-prefix) with $(test-program-prefix).
439 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
440 (test_program_prefix): This.
441 * string/Makefile ($(objpfx)tst-svc.out): Replace
442 $(built-program-cmd) with $(test-program-cmd).
443
c6fe55cf
AJ
4442013-01-11 Andreas Jaeger <aj@suse.de>
445
446 [BZ #15003]
447 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
448 value. Sync with Linux 3.7.
449
9e6919c8
DM
4502013-01-10 David S. Miller <davem@davemloft.net>
451
452 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
453 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
454 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
455
1c9f1a02
RM
4562013-01-10 Roland McGrath <roland@hack.frob.com>
457
458 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
459 never set.
460 * configure: Regenerated.
461
b9de2dde
DM
4622013-01-10 David S. Miller <davem@davemloft.net>
463
464 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
465 sparc V9 rather than using V8 code.
466 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
467 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
468
e7f68ef4
RM
4692013-01-10 Roland McGrath <roland@hack.frob.com>
470
471 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
472 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
473 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
474 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
475 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
476 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
477 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
478 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
479 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
480 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
481 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
482 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
483 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
484 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
485 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
486 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
487 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
488 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
489 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
490 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
491 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
492 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
493 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
494 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
495 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
496 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
497 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
498
5a47cc9c
DM
4992013-01-10 David S. Miller <davem@davemloft.net>
500
501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
502
4cf8f209
L
5032013-01-10 H.J. Lu <hongjiu.lu@intel.com>
504
505 * posix/Makefile (tests-static): New variable.
506 (tests): Add $(tests-static).
507 (tst-exec-static-ARGS): New variable.
508 (tst-spawn-static-ARGS): Likewise.
509 * posix/tst-exec-static.c: New file.
510 * posix/tst-spawn-static.c: Likewise.
511 * posix/tst-exec.c: Support run directly.
512 * posix/tst-spawn.c: Likewise.
513
fed0faa1
JM
5142013-01-10 Joseph Myers <joseph@codesourcery.com>
515
828beb13
JM
516 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
517 long.
518 * math/bits/mathcalls.h (llrint): Likewise.
519 (llround): Likewise.
520 * stdlib/stdlib.h (struct drand48_data): Likewise.
521 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
522 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
523 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
524 Likewise.
525 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
526 Likewise.
527 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
528 (elf_greg_t): Likewise.
529 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
530 (__jmp_buf): Likewise.
531 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
532 definitions.
533 (llrint): Likewise, for all definitions.
534 (llrintl): Likewise.
535
fed0faa1
JM
536 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
537 Remove [__GNUC__] condition.
538 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
539 condition to just [__USE_ISOC99].
540 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
541
1a20cb20
L
5422013-01-10 H.J. Lu <hongjiu.lu@intel.com>
543
544 [BZ #14200]
545 * sysdeps/unix/sysv/linux/x86/bits/environments.h
546 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
547 defined.
548 (_POSIX_V6_ILP32_OFF32): Likewise.
549 (_XBS5_ILP32_OFF32): Likewise.
550 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
551 (__ILP32_OFFBIG_LDFLAGS): Likewise.
552
751b85f7
SP
5532013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
554
7490eb81
SP
555 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
556
751b85f7
SP
557 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
558 doubles __mpexp_twomm1. Adjust usage.
559 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
560 Remove.
561
988197f0
AS
5622013-01-10 Andreas Schwab <schwab@suse.de>
563
564 [BZ #14964]
565 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
566 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
567
e83d7298
DM
5682013-01-09 David S. Miller <davem@davemloft.net>
569
034ed64b 570 [BZ #15003]
e83d7298
DM
571 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
572 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
573 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
574 TCP_FASTOPEN): Define.
575 (tcp_repair_opt): New structure.
576 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
577 enum values.
578 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
579 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
580 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
581 (tcp_cookie_transactions): New structure.
582
d5e0b9bd
AB
5832013-01-09 Anton Blanchard <anton@samba.org>
584
585 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
586 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
587 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
588 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
589
0c07e3ea
JM
5902013-01-09 Joseph Myers <joseph@codesourcery.com>
591
592 * include/features.h (__USE_ANSI): Remove.
593
232f7002
RM
5942013-01-09 Roland McGrath <roland@hack.frob.com>
595
ad98e30c
RM
596 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
597
232f7002
RM
598 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
599
950c99ca
SP
6002013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
601
b5792741
SP
602 * sysdeps/s390/fpu/libm-test-ulps: Update.
603
47cf2278
SP
604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
605
950c99ca
SP
606 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
607 (__acr): Likewise.
608 (__cpy): Likewise.
609 (norm): Likewise.
610 (denorm): Likewise.
611 (__mp_dbl): Likewise.
612 (__dbl_mp): Likewise.
613 (add_magnitudes): Likewise.
614 (sub_magnitudes): Likewise.
615 (__add): Likewise.
616 (__sub): Likewise.
617 (__mul): Likewise.
618 (__inv): Likewise.
619 (__dvd): Likewise.
620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
621 (__acr): Likewise.
622 (__cpy): Likewise.
623 (norm): Likewise.
624 (denorm): Likewise.
625 (__mp_dbl): Likewise.
626 (__dbl_mp): Likewise.
627 (add_magnitudes): Likewise.
628 (sub_magnitudes): Likewise.
629 (__add): Likewise.
630 (__sub): Likewise.
631 (__mul): Likewise.
632 (__inv): Likewise.
633 (__dvd): Likewise.
634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
635 (__acr): Likewise.
636 (__cpy): Likewise.
637 (norm): Likewise.
638 (denorm): Likewise.
639 (__mp_dbl): Likewise.
640 (__dbl_mp): Likewise.
641 (add_magnitudes): Likewise.
642 (sub_magnitudes): Likewise.
643 (__add): Likewise.
644 (__sub): Likewise.
645 (__mul): Likewise.
646 (__inv): Likewise.
647 (__dvd): Likewise.
648
eede9df9
JM
6492013-01-08 Joseph Myers <joseph@codesourcery.com>
650
651 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
652 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
653 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
654 2 && __USE_EXTERN_INLINES]: Likewise.
655
c40ea3d9
AJ
6562013-01-08 Andreas Jaeger <aj@suse.de>
657
658 [BZ# 14985]
659 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
660 Remove.
661 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
662 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
663
2ccdea26
AB
6642013-01-07 Anton Blanchard <anton@samba.org>
665
666 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
667 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
668 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
669 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
670 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
671 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
672 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
673 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
675 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
676 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
677 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
678 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
679 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
680 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
681 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
682 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
683 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
684 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
685 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
686 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
687 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
688 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
689 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
690 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
691 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
692 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
693 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
694 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
695 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
696 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
698 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
699 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
700 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
701 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
702 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
703 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
704 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
705 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
706 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
707 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
708 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
709
a9708fed
JM
7102013-01-07 Joseph Myers <joseph@codesourcery.com>
711
375607b9
JM
712 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
713 (__MALLOC_PMT): Likewise.
714 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
715 [__GNUC__], only on [_LIBC].
716 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
717 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
718 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
719 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
720 forward declaration.
721 (realloc_hook_ini): Likewise.
722 (memalign_hook_ini): Likewise.
723 (__libc_memalign): Do not use __MALLOC_PMT in variable
724 declaration.
725 (__libc_valloc): Likewise.
726 (__libc_pvalloc): Likewise.
727 (__libc_calloc): Likewise.
728 (__posix_memalign): Likewise.
729
a9708fed
JM
730 [BZ #14996]
731 * math/s_casinh.c: Include <float.h>.
732 (__casinh): Do not do computation with squaring and square root
733 for large arguments.
734 * math/s_casinhf.c: Include <float.h>.
735 (__casinhf): Do not do computation with squaring and square root
736 for large arguments.
737 * math/s_casinhl.c: Include <float.h>.
738 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
739 (__casinhl): Do not do computation with squaring and square root
740 for large arguments.
741 * math/libm-test.inc (casin_test): Add more tests.
742 (casinh_test): Likewise.
743 * sysdeps/i386/fpu/libm-test-ulps: Update.
744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
745
afec409a
L
7462013-01-04 H.J. Lu <hongjiu.lu@intel.com>
747
748 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
749 (__x86_64_raw_data_cache_size): Likewise.
750 (__x86_64_data_cache_size_half): Likewise.
751 (__x86_64_raw_data_cache_size_half): Likewise.
752 (__x86_64_shared_cache_size): Likewise.
753 (__x86_64_raw_shared_cache_size): Likewise.
754 (__x86_64_shared_cache_size_half): Likewise.
755 (__x86_64_raw_shared_cache_size_half): Likewise.
756 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
757 to ...
758 (__x86_data_cache_size): This.
759 (__x86_64_raw_data_cache_size): Renamed to ...
760 (__x86_raw_data_cache_size): This.
761 (__x86_64_data_cache_size_half): Renamed to ...
762 (__x86_data_cache_size_half): This.
763 (__x86_64_raw_data_cache_size_half): Renamed to ...
764 (__x86_raw_data_cache_size_half): This.
765 (__x86_64_shared_cache_size): Renamed to ...
766 (__x86_shared_cache_size): This.
767 (__x86_64_raw_shared_cache_size): Renamed to ...
768 (__x86_raw_shared_cache_size): This.
769 (__x86_64_shared_cache_size_half): Renamed to ...
770 (__x86_shared_cache_size_half): This.
771 (__x86_64_raw_shared_cache_size_half): Renamed to ...
772 (__x86_raw_shared_cache_size_half): This.
773 * sysdeps/x86_64/memcpy.S: Updated.
774 * sysdeps/x86_64/memset.S: Likewise.
775 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
776 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
777 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
778
0b3986d0
DM
7792013-01-04 David S. Miller <davem@davemloft.net>
780
781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
782
e47686e9
AS
7832013-01-04 Andreas Schwab <schwab@linux-m68k.org>
784
d643bac1
AS
785 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
786 1 to avoid redefinition warning.
787 (__USE_GNU): Don't define.
788 (init_signaling_nan): Protoize.
789
e47686e9
AS
790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
791
b18decba
SP
7922013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
793
fffb407f
SP
794 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
796 (__cpymn): Likewise.
797 (norm): Remove commented code.
798 (denorm): Likewise.
799 (__mp_dbl): Likewise.
800 (__inv): Likewise.
801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
802 (__cpymn): Likewise.
803 (norm): Remove commented code.
804 (denorm): Likewise.
805 (__mp_dbl): Likewise.
806 (__inv): Likewise.
807
b18decba
SP
808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
809 mp_no value for 1.0 and 2.0.
810 (norm): Use RADIXI instead of radixi.d.
811 (denorm): Likewise.
812 (__mul): Use 0.0 instead of zero.d.
813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
814 mp_no value for 1.0 and 2.0.
815 (norm): Use RADIXI instead of radixi.d.
816 (denorm): Likewise.
817 (__mul): Use 0.0 instead of zero.d.
818
cdc1c96f
JM
8192013-01-04 Joseph Myers <joseph@codesourcery.com>
820
821 [BZ #14994]
822 * math/s_casinh.c (__casinh): Reduce finite argument to first
823 quadrant then set signs of results at the end.
824 * math/s_casinhf.c (__casinhf): Likewise.
825 * math/s_casinhl.c (__casinhl): Likewise.
826 * math/libm-test.inc (casin_test): Add more tests.
827 (casinh_test): Likewise.
828 * sysdeps/i386/fpu/libm-test-ulps: Update.
829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
830
302913e1
SP
8312013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
832
6420d207
SP
833 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
834
a9e48ab4
SP
835 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
836
b7837264
SP
837 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
838 declarations.
839 (denorm): Likewise.
840 (__mp_dbl): Likewise.
841 (__inv): Likewise.
842
f8af25d2
SP
843 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
844 and adjust the header comment.
845
302913e1
SP
846 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
847 variable name from declaration.
848
5d7dd1ca
L
8492013-01-03 H.J. Lu <hongjiu.lu@intel.com>
850
851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
852 Initialize COMMON_CPUID_INDEX_7 element.
853 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
854 (CPUID_RTM): Likewise.
855 (HAS_RTM): Likewise.
856 (COMMON_CPUID_INDEX_7): New enum.
857
2f5f40f4
AS
8582013-01-03 Andreas Schwab <schwab@linux-m68k.org>
859
860 [BZ #14981]
861 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
862 size is zero, record memory as freed.
863
4056f4a0
AJ
8642013-01-03 Andreas Jaeger <aj@suse.de>
865
866 * po/ia.po: Add new Interlingua translation.
867
ab15736f 8682012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
869
870 * locale/programs/localedef.c: Fix description of '--posix' flag.
871
568035b7
JM
8722013-01-02 Joseph Myers <joseph@codesourcery.com>
873
e6898b8d
JM
874 * NEWS: Update dates in second copyright notice.
875 * README: Update copyright dates in example.
876 * manual/libc.texinfo: Update copyright dates.
877 * scripts/test-installation.pl: Update copyright date in --version
878 output.
879
0e2f9562
JM
880 * hurd/ctty-input.c: Fix copyright notice formatting.
881 * hurd/ctty-output.c: Likewise.
882 * hurd/dtable.c: Likewise.
883 * hurd/hurd-raise.c: Likewise.
884 * hurd/hurdprio.c: Likewise.
885 * hurd/msgportdemux.c: Likewise.
886 * misc/sys/file.h: Likewise.
887 * misc/sys/ioctl.h: Likewise.
888 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
889 * sysdeps/mach/hurd/chdir.c: Likewise.
890 * sysdeps/mach/hurd/fchdir.c: Likewise.
891 * sysdeps/mach/hurd/rename.c: Likewise.
892 * sysdeps/mach/hurd/rmdir.c: Likewise.
893 * sysdeps/mach/hurd/seekdir.c: Likewise.
894 * sysdeps/mach/hurd/setsid.c: Likewise.
895 * sysdeps/posix/wait3.c: Likewise.
896
568035b7
JM
897 * All files with FSF copyright notices: Update copyright dates
898 using scripts/update-copyrights.
899 * intl/plural.c: Regenerated.
900 * locale/programs/charmap-kw.h: Likewise.
901 * locale/programs/locfile-kw.h: Likewise.
902
da08f647
SP
9032013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
904
0f5477af
SP
905 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
906 four values.
907
44e0d4c2
SP
908 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
909 calculation loop and add branch prediction.
910
4d55b4e5
SP
911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
912 check access beyond bounds of m1np.
913
da08f647
SP
914 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
915 MPTWO.
916 (__inv): Remove local variable MPTWO to use the global
917 constant.
918 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
919 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
920 variable MPTWO.
921 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
922 MP3HALFS static const.
923
8e051029
DM
9242013-01-01 David S. Miller <davem@davemloft.net>
925
926 * po/ca.po: Update from translation team.
927
f4cf5f2d
JM
9282013-01-01 Joseph Myers <joseph@codesourcery.com>
929
930 * scripts/update-copyrights: New file.
931 * Makeconfig: Reformat copyright notice.
932 * ctype/ctype.h: Likewise.
933 * debug/swprintf_chk.c: Likewise.
934 * elf/dl-cache.c: Likewise.
935 * elf/dl-debug.c: Likewise.
936 * elf/dl-object.c: Likewise.
937 * grp/initgroups.c: Likewise.
938 * hurd/Makefile: Likewise.
939 * hurd/hurd/signal.h: Likewise.
940 * hurd/hurdfault.c: Likewise.
941 * hurd/hurdioctl.c: Likewise.
942 * hurd/hurdlookup.c: Likewise.
943 * hurd/intr-msg.c: Likewise.
944 * iconv/gconv_open.c: Likewise.
945 * libio/swprintf.c: Likewise.
946 * locale/lc-ctype.c: Likewise.
947 * locale/nl_langinfo.c: Likewise.
948 * mach/Machrules: Likewise.
949 * mach/Makefile: Likewise.
950 * malloc/obstack.h: Likewise.
951 * manual/Makefile: Likewise.
952 * manual/tsort.awk: Likewise.
953 * misc/bits/stab.def: Likewise.
954 * nis/nis_print_group_entry.c: Likewise.
955 * nis/nis_table.c: Likewise.
956 * nis/nss_compat/compat-pwd.c: Likewise.
957 * nis/nss_compat/compat-spwd.c: Likewise.
958 * po/Makefile: Likewise.
959 * posix/fnmatch.c: Likewise.
960 * posix/regex.h: Likewise.
961 * resolv/Makefile: Likewise.
962 * resolv/nss_dns/dns-network.c: Likewise.
963 * resolv/res_hconf.c: Likewise.
964 * scripts/gen-sorted.awk: Likewise.
965 * soft-fp/soft-fp.h: Likewise.
966 * stdio-common/printf.h: Likewise.
967 * stdlib/monetary.h: Likewise.
968 * stdlib/random.c: Likewise.
969 * stdlib/random_r.c: Likewise.
970 * sysdeps/generic/Makefile: Likewise.
971 * sysdeps/gnu/Makefile: Likewise.
972 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
974 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
976 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
979 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
980 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
981 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
982 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
983 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
984 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
985 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
986 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
987 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
988 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
990 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
991 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
992 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
993 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
994 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
995 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
996 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
997 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
998 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
999 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1000 * sysdeps/mach/hurd/errnos.awk: Likewise.
1001 * sysdeps/mach/hurd/fork.c: Likewise.
1002 * sysdeps/mach/hurd/getcwd.c: Likewise.
1003 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1004 * sysdeps/mach/hurd/mmap.c: Likewise.
1005 * sysdeps/mach/hurd/utimes.c: Likewise.
1006 * sysdeps/mach/hurd/xmknod.c: Likewise.
1007 * sysdeps/posix/profil.c: Likewise.
1008 * sysdeps/posix/readdir_r.c: Likewise.
1009 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1010 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1011 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1012 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1014 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1015 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1016 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1018 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1019 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1020 * sysdeps/pthread/lio_listio.c: Likewise.
1021 * sysdeps/sparc/dl-procinfo.h: Likewise.
1022 * sysdeps/unix/i386/sysdep.S: Likewise.
1023 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1024 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1025 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1026 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1028 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1029 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1030 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1031 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1032 * sysdeps/wordsize-32/divdi3.c: Likewise.
1033 * time/sys/time.h: Likewise.
1034 * wcsmbs/Makefile: Likewise.
1035
0549fbba
DM
10362013-01-01 David S. Miller <davem@davemloft.net>
1037
a141f1a7
DM
1038 * po/fr.po: Update from translation team.
1039
0549fbba
DM
1040 * catgets/gencat.c: Update copyright year.
1041 * csu/version.c: Likewise.
1042 * debug/catchsegv.sh: Likewise.
1043 * debug/pcprofiledump.c: Likewise.
1044 * debug/xtrace.sh: Likewise.
1045 * elf/ldconfig.c: Likewise.
1046 * elf/ldd.bash.in: Likewise.
1047 * elf/pldd.c: Likewise.
1048 * elf/sotruss.ksh: Likewise.
1049 * elf/sprof.c: Likewise.
1050 * iconv/iconv_prog.c: Likewise.
1051 * iconv/iconvconfig.c: Likewise.
1052 * locale/programs/locale.c: Likewise.
1053 * locale/programs/localedef.c: Likewise.
1054 * login/programs/pt_chown.c: Likewise.
1055 * malloc/memusage.sh: Likewise.
1056 * malloc/memusagestat.c: Likewise.
1057 * malloc/mtrace.pl: Likewise.
1058 * nscd/nscd.c: Likewise.
1059 * nss/getent.c: Likewise.
1060 * nss/makedb.c: Likewise.
1061 * posix/getconf.c: Likewise.
1062
18ea052c
SP
10632012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1064
1065 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1066 numbers.
1067
9c89fca6
MF
10682012-12-30 Mike Frysinger <vapier@gentoo.org>
1069
1070 * math/bits/mathcalls.h (modf): Use __nonnull.
1071
085ec079
SP
10722012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1073
1074 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1075 (split): Use macro CN instead of the bare value.
1076 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1077 could be used.
1078 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1079 instead of the bare value.
1080 (power1): Likewise.
1081
6d9f97e1
SP
10822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1083
d63f73be
SP
1084 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1085 __ATAN_TWOM.
1086 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1087
6d9f97e1
SP
1088 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1089 their values.
1090 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1091 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1092 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1093 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1094
4c4febf5
AJ
10952012-12-28 Andreas Jaeger <aj@suse.de>
1096
af5843ef
AJ
1097 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1098 values are from Linux 3.7.
1099
4c4febf5
AJ
1100 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1101 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1102
99136f82
SP
11032012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1104
2f216c3c 1105 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1106 TRUE case.
1107
99136f82
SP
1108 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1109 (norm): Likewise.
1110 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1111 variables with preprocessor constants.
1112 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1113 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1114 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1115
7fffbdff
BH
11162012-12-27 Bruno Haible <bruno@clisp.org>
1117
1118 [BZ #14317]
1119 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1120 only if needed.
1121
b76eb5f0
SP
11222012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1123
31a7fe5c
SP
1124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1125 and use variable directly.
1126 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1127
b76eb5f0
SP
1128 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1129 MPONE.
1130 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1131 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1132 variable MPONE.
1133 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1135 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1136 include directive. Remove local variable MPONE.
1137 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1138 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1139 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1140
2c8bfe7d
DM
11412012-12-25 David S. Miller <davem@davemloft.net>
1142
1143 * version.h (RELEASE): Set to "development".
1144 (VERSION): Set to "2.17.90".
1145 * NEWS: Add 2.18 section.
1146
147d03b0
DM
11472012-12-21 David S. Miller <davem@davemloft.net>
1148
1149 * po/hr.po: Update from translation team.
1150
a8ebb2b9
AK
11512012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1152
1153 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1154
95b4f1b6
SE
11552012-12-19 Steve Ellcey <sellcey@mips.com>
1156
b2d94007 1157 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1158
cedb2a90
MS
11592012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1160
1161 * manual/contrib.texi (Contributors): Spelling correction.
1162
bbf527d6
DM
11632012-12-15 David S. Miller <davem@davemloft.net>
1164
1165 * po/ru.po: Update from translation team.
1166
bc38c906
DM
11672012-12-13 David S. Miller <davem@davemloft.net>
1168
85429b1a
DM
1169 * NEWS: Mention IFUNC testsuite enhancements.
1170
d283e353
DM
1171 * po/pl.po: Update from translation team.
1172 * po/bg.po: Likewise.
1173
bc38c906
DM
1174 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1175 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1176
a181b0d7
DM
11772012-12-11 David S. Miller <davem@davemloft.net>
1178
4641d57e
DM
1179 * po/sv.po: Update from translation team.
1180
f7bc6495
DM
1181 * po/vi.po: Update from translation team.
1182
6fc9048f
DM
1183 * po/cs.po: Update from translation team.
1184
a181b0d7
DM
1185 * po/de.po: Update from translation team.
1186 * po/eo.po: Likewise.
1187 * po/nl.po: Likewise.
1188
f70bfe80
SP
11892012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1190
3c8b4190
SP
1191 [BZ #14246]
1192 * manual/argp.texi (Argp Helper Functions): Move node to follow
1193 Argp Parsing State.
1194
f70bfe80
SP
1195 [BZ #14872]
1196 * manual/conf.texi (Limits on File System Capacity): Mention if
1197 terminating null is included in the max size.
1198
188f0adf
AJ
11992012-12-10 Andreas Jaeger <aj@suse.de>
1200
1201 * po/cs.po: Update from translation team.
1202
56e7d3ad
SP
12032012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1204
1205 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1206 void pointer and cast to uintptr_t.
1207 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1208 path.
1209 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1210 * sysdeps/s390/s390-64/memset.S: Likewise.
1211
76f2d2ea 12122012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1213
1214 [BZ #14833]
1215 * menual/message.texi (Message Translation): Fix typos.
1216 (Helper programs for gettext): Likewise.
1217
67cbf9a2
AS
12182012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1219
1220 [BZ #14898]
1221 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1222 Change to -1.
1223
682d0e9a
DM
12242012-12-07 David S. Miller <davem@davemloft.net>
1225
1226 * po/libc.pot: Update.
1227
573cd484
RH
12282012-12-07 Richard Henderson <rth@redhat.com>
1229
7e9da188 1230 [BZ #10114]
573cd484
RH
1231 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1232 normal/normal case to before the switch.
1233 (_FP_DIV): Likewise.
1234
e933a943
MF
12352012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1236 Mike Frysinger <vapier@gentoo.org>
1237
1238 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1239 check for __NR_fadvise64_64.
1240
82123268
CM
12412012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1242
1243 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1244 0, not just to plain "0" as a statement.
1245 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1246 with cw.
1247
d9814526
JM
12482012-12-06 Joseph Myers <joseph@codesourcery.com>
1249
1250 * NEWS: Use sourceware.org in Bugzilla URL.
1251
7728c574
SP
12522012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1253
f16946dd
SP
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1255 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1256
5704bbcb
SP
1257 * stdio-common/tst-put-error.c (do_test): Add newline to the
1258 padded test to ensure flush.
1259
17aa0516
JL
12602012-12-05 Jeff Law <law@redhat.com>
1261
1262 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1263
363313b5
JM
12642012-12-05 Joseph Myers <joseph@codesourcery.com>
1265
effbd42a
JM
1266 * README: Don't refer to ports add-on as distributed separately.
1267 Mention AArch64 in list of systems supported in the ports add-on.
1268
87600365
JM
1269 * LICENSES: Add more non-FSF copyright and license notices.
1270
a0d7066a
JM
1271 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1272 ((unused)).
1273
66ca5a5b
JM
1274 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1275
363313b5
JM
1276 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1277 10000 as width of padded output.
1278
b37984ad
JM
12792012-12-04 Joseph Myers <joseph@codesourcery.com>
1280
9003570a
JM
1281 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1282
b37984ad
JM
1283 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1284 variable LX with __attribute__ ((unused)).
1285 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1286 Likewise.
1287 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1289 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1290 with __attribute__ ((unused)).
1291
c8df52ec
DM
12922012-12-04 David S. Miller <davem@abraco.davemloft.net>
1293
1294 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1295
b3b099af
JM
12962012-12-04 Joseph Myers <joseph@codesourcery.com>
1297
c33aa6e3
JM
1298 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1299 (CFLAGS-nldbl-acos.c): New variable.
1300 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1301 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1302 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1303 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1304 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1305 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1306 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1307 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1308 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1309 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1310 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1311 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1312 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1313 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1314 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1315 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1316 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1317 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1318 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1319 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1320 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1321 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1322 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1323 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1324 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1325 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1326 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1327 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1328 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1329 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1330 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1331 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1332 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1333 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1334 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1335 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1336 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1337 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1338 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1339 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1340 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1341 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1342 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1343 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1344 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1345 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1346 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1347 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1348 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1349 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1350 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1351 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1352 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1353 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1354 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1355 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1356 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1357 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1358 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1359 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1360 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1361 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1362 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1363 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1364 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1365 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1366 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1367 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1368 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1369 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1370 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1371 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1372 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1373 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1374 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1375 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1376 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1377 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1378 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1379 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1380 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1381 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1382 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1383 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1384 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1385 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1386 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1387 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1388 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1389 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1390 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1391 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1392 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1393 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1394 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1395 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1396 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1397
20f0018d
JM
1398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1399 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1400
b3b099af
JM
1401 [BZ #14914]
1402 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1403 whole low double instead of just low 47 bits when splitting values
1404 into two parts.
1405
029264d1
AM
14062012-12-03 Allan McRae <allan@archlinux.org>
1407
1408 * manual/stdio.texi (Predefined Printf Handlers): Remove
1409 @hsep and @vsep usage.
1410
c9d6789e
MF
14112012-12-03 Mike Frysinger <vapier@gentoo.org>
1412
1413 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1414 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1415
4b7634a5
JL
14162012-12-03 Jeff Law <law@redhat.com>
1417
1418 * time/sys/time.h (settimeofday): Do not mark TV argument
1419 as __nonnull.
1420
eb6cbd24
MF
14212012-12-01 Mike Frysinger <vapier@gentoo.org>
1422
1423 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1424 when currently writing and seek to current position when not.
1425 * libio/Makefile (tests): Remove bug-fclose1.
1426 * libio/bug-fclose1.c: Delete.
1427
f638872a
JM
14282012-12-01 Joseph Myers <joseph@codesourcery.com>
1429
1430 * manual/arith.texi (feenableexcept): Fix typo.
1431 (fedisableexcept): Likewise.
1432
48085d14
RM
14332012-11-30 Roland McGrath <roland@hack.frob.com>
1434
1435 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1436 second, differently-typed declaration, rather than a cast.
1437
1a538b9f
SP
14382012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1439
1440 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1441 * include/rpc/svc.h: ... here.
1442
d07f2ff1 14432012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1444
1445 [BZ #13013]
1446 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1447 depending n and resplen2 to catch cases where answer
1448 equals answerp2.
1449
c93ec1f0
CD
14502012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1451
1452 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1453 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1454
37db69de
MF
14552012-11-29 Mike Frysinger <vapier@gentoo.org>
1456
1457 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1458
e10c4e4f
RM
14592012-11-29 Roland McGrath <roland@hack.frob.com>
1460
1461 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1462
2af1b328
JL
14632012-11-28 Jeff Law <law@redhat.com>
1464
1465 [BZ #13761]
1466 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1467 dataset_temporary. Track alloca usage into alloca_used.
1468 If dataset is large allocate and release it via malloc/free.
1469
111db5b1
FW
14702012-06-04 Florian Weimer <fweimer@redhat.com>
1471
f06cc227 1472 [BZ #14197]
111db5b1
FW
1473 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1474
dd694abd
DM
14752012-11-28 David S. Miller <davem@davemloft.net>
1476
1477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1478
9984dd01
JM
14792012-11-28 Joseph Myers <joseph@codesourcery.com>
1480
1481 [BZ #14803]
1482 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1483 of pi/2 rounded to nearest to 64 bits.
1484 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1485 nearest to 64 bits.
1486 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1487 bits.
1488
14bc93a9
JL
14892012-11-28 Jeff Law <law@redhat.com>
1490 Martin Osvald <mosvald@redhat.com>
1491
1492 [BZ #14889]
1493 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1494 * sunrpc/svc.c: Include time.h.
1495 (__svc_accept_failed): New function.
1496 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1497 any reason other than EINTR, call __svc_accept_failed.
1498 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1499 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1500
e3c6aa3a
AS
15012012-11-28 Andreas Schwab <schwab@suse.de>
1502
1503 * scripts/abilist.awk: Also handle indirect functions in .opd
1504 section.
1505
1bead169
JM
15062012-11-28 Joseph Myers <joseph@codesourcery.com>
1507
1508 [BZ #13881]
1509 * sysdeps/x86/fpu/powl_helper.c: New file.
1510 * sysdeps/x86/fpu/Makefile: Likewise.
1511 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1512 (p3): New object.
1513 (__ieee754_powl): Use __powl_helper for finite arguments except
1514 integer exponents below 8.
1515 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1516 (p3): New object.
1517 (__ieee754_powl): Use __powl_helper for finite arguments except
1518 integer exponents below 8.
1519 * math/libm-test.inc (pow_test): Add more tests and enable some
1520 previously disabled tests.
1521 * sysdeps/i386/fpu/libm-test-ulps: Update.
1522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1523
0817d63d
SP
15242012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1525 Carlos O'Donell <carlos_odonell@mentor.com>
1526
1527 * nss/makedb.c (is_prime): Assert that input is odd and greater
1528 than 4. Note that fact in a comment too.
1529 (next_prime): Add 4 to input.
1530
de2fd463
SP
15312012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1532
1533 [BZ #11741]
1534 * libio/Makefile (tests): Add test case tst-fwrite-error.
1535 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1536 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1537 * libio/tst-fwrite-error.c: New test case.
1538
c515fb51
L
15392012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1542 before casting to void *.
1543 * include/libc-internal.h (__pointer_type): New macro.
1544 (__integer_if_pointer_type_sub): Likewise.
1545 (__integer_if_pointer_type): Likewise.
1546 (cast_to_integer): Likewise.
1547 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1548 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1549 before casting to atomic64_t.
1550 (atomic_exchange_acq): Likewise.
1551 (__arch_exchange_and_add_body): Likewise.
1552 (__arch_add_body): Likewise.
1553 (atomic_add_negative): Likewise.
1554 (atomic_add_zero): Likewise.
1555
4cf77aa9
JM
15562012-11-26 Joseph Myers <joseph@codesourcery.com>
1557
1558 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1559 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1560 (add_fdes): Likewise.
1561 (linear_search_fdes): Likewise.
1562 (binary_search_unencoded_fdes): Likewise.
1563
d260b3b4
AS
15642012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1565
1566 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1567
67060746
AC
15682012-11-24 Adam Conrad <adconrad@0c3.net>
1569
1570 * configure.in: Autodetect C++ header directories.
1571 * configure: Regenerated.
1572
800938a1
MF
15732012-11-23 Mike Frysinger <vapier@gentoo.org>
1574
1575 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1576
4e6e34e6
AS
15772012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1578
1579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1580
7c7feb47
JM
15812012-11-22 Joseph Myers <joseph@codesourcery.com>
1582
7184dcdf
JM
1583 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1584 LDBL_MANT_DIG == 106]: Disable some tests.
1585 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1586 Likewise.
1587 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1588 Likewise.
1589
0a42601f
JM
1590 [BZ #14871]
1591 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1592 input for small inputs. Return +/- pi/2 for large inputs.
1593 * math/libm-test.inc (atan_test): Add more tests.
1594
79c9b9fe
JM
1595 * sysdeps/generic/unwind-dw2-fde-glibc.c
1596 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1597 __attribute__ ((unused)).
1598
c60d3bf2
JM
1599 [BZ #14645]
1600 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1601 x * y if x and y are nonzero and z is zero.
1602
ef1e0867
JM
1603 [BZ #14811]
1604 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1605 nonzero exponents with absolute value below 0x1p-117 to +/-
1606 0x1p-117.
1607
1468ded3
JM
1608 [BZ #14869]
1609 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1610 up arguments below 2**-450, not just those below 2**-500.
1611 * math/libm-test.inc (hypot_test): Add another test.
1612
8e27e3cc
JM
1613 [BZ #14868]
1614 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1615 Return a+b for ratio over 2**120, not 2**60.
1616 * math/libm-test.inc (hypot_test): Add another test.
1617
c9c0279b
JM
1618 * math/libm-test.inc (clog_test): Use
1619 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1620 (clog10_test): Likewise.
1621
7c7feb47
JM
1622 [BZ #6778]
1623 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1624
fff1530e
AS
16252012-11-22 Andreas Schwab <schwab@suse.de>
1626
1627 * sysdeps/i386/fpu/libm-test-ulps: Update.
1628
94558d30
PT
16292012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1630
1631 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1632 printf output with newline.
1633
7e1be741
L
16342012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1635
6bfea974
L
1636 [BZ #14865]
1637 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1638 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1639 -z nodlopen, -z initfirst and -z execstack support.
1640 * configure: Regenerated.
1641
7e1be741
L
1642 * elf/elf.h (DF_1_NODIRECT): New macro.
1643 (DF_1_IGNMULDEF): Likewise.
1644 (DF_1_NOKSYMS): Likewise.
1645 (DF_1_NOHDR): Likewise.
1646 (DF_1_EDITED): Likewise.
1647 (DF_1_NORELOC): Likewise.
1648 (DF_1_SYMINTPOSE): Likewise.
1649 (DF_1_GLOBAUDIT): Likewise.
1650 (DF_1_SINGLETON): Likewise.
1651 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1652 DT_1_SUPPORTED_MASK bits.
1653 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1654
105ce2ce
CD
16552012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1656
1657 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1658
123be9de
TS
16592012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1660
d072f3f7
TS
1661 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1662 macro.
1663
123be9de
TS
1664 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1665 (sendmmsg): Move declarations...
1666 * socket/sys/socket.h: ... here.
1667 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1668 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1669 include it from...
1670 * socket/recvmmsg.c: ... this new file.
1671 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1672 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1673 definition of __sendmmsg hidden.
1674 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1675 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1676 Move ENOSYS stub into and include it from...
1677 * socket/sendmmsg.c: ... this new file.
1678 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1679 (sysdep_routines): Move recvmmsg and sendmmsg...
1680 * socket/Makefile (routines): ... here.
1681 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1682 (GLIBC_PRIVATE): Add __sendmmsg.
1683 * include/sys/socket.h (__sendmmsg): Add declarations.
1684 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1685 sendmmsg.
1686
cf9a5d18
JM
16872012-11-20 Joseph Myers <joseph@codesourcery.com>
1688
1689 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1690 variable I1 with __attribute__ ((unused)).
1691 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1692
ecd4caf9
JM
16932012-11-19 Joseph Myers <joseph@codesourcery.com>
1694
be14d48f
JM
1695 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1696 DUMMY variables with __attribute__ ((unused)).
1697
ecd4caf9
JM
1698 * bits/byteswap.h: Include <bits/types.h>.
1699 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1700
986cab95
PT
17012012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1702
1703 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1704 string_t. Do not manually set errno.
1705 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1706 length with __strnlen. Make sure to both set errno and return it on
1707 failure.
1708
6d33cc9d
DM
17092012-11-19 David S. Miller <davem@davemloft.net>
1710
1711 With help from Joseph Myers.
1712 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1713 very large arguments properly.
1714 * math/libm-test.inc (atan_test): New tests.
1715 (atan2_test): New tests.
1716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1718
ee663277
JM
17192012-11-19 Joseph Myers <joseph@codesourcery.com>
1720
877f2d8e
JM
1721 [BZ #14856]
1722 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1723 Define to 3.
1724
116fc08a
JM
1725 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1726 [POSIX] (EADDRNOTAVAIL): Likewise.
1727 [POSIX] (EAFNOSUPPORT): Likewise.
1728 [POSIX] (EALREADY): Likewise.
1729 [POSIX] (ECONNABORTED): Likewise.
1730 [POSIX] (ECONNREFUSED): Likewise.
1731 [POSIX] (ECONNRESET): Likewise.
1732 [POSIX] (EDESTADDRREQ): Likewise.
1733 [POSIX] (EDQUOT): Likewise.
1734 [POSIX] (EHOSTUNREACH): Likewise.
1735 [POSIX] (EIDRM): Likewise.
1736 [POSIX] (EISCONN): Likewise.
1737 [POSIX] (ELOOP): Likewise.
1738 [POSIX] (EMULTIHOP): Likewise.
1739 [POSIX] (ENETDOWN): Likewise.
1740 [POSIX] (ENETUNREACH): Likewise.
1741 [POSIX] (ENOBUFS): Likewise.
1742 [POSIX] (ENODATA): Likewise.
1743 [POSIX] (ENOLINK): Likewise.
1744 [POSIX] (ENOMSG): Likewise.
1745 [POSIX] (ENOPROTOOPT): Likewise.
1746 [POSIX] (ENOSR): Likewise.
1747 [POSIX] (ENOSTR): Likewise.
1748 [POSIX] (ENOTCONN): Likewise.
1749 [POSIX] (ENOTSOCK): Likewise.
1750 [POSIX] (EOPNOTSUPP): Likewise.
1751 [POSIX] (EOVERFLOW): Likewise.
1752 [POSIX] (EPROTO): Likewise.
1753 [POSIX] (EPROTONOSUPPORT): Likewise.
1754 [POSIX] (EPROTOTYPE): Likewise.
1755 [POSIX] (ESTALE): Likewise.
1756 [POSIX] (ETIME): Likewise.
1757 [POSIX] (ETXTBSY): Likewise.
1758 [POSIX] (EWOULDBLOCK): Likewise.
1759 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1760 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1761 [POSIX] (SEEK_CUR): Likewise.
1762 [POSIX] (SEEK_END): Likewise.
1763 [POSIX || UNIX98] (mode_t): Do not require.
1764 [POSIX] (off_t): Likewise.
1765 [POSIX] (pid_t): Likewise.
1766 [POSIX] (sys/stat.h): Do not allow header.
1767 [POSIX] (unistd.h): Likewise.
1768 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1769 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1770 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1771 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1772 require.
1773 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1774 sigevent): Specify elements.
1775 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1776 entry.
1777 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1778 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1779
a483863f
JM
1780 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1781 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1782 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1783 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1784 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1785 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1786 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1787 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1788 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1789 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1790 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1791 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1792 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1793 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1794 Likewise.
1795 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1796 Likewise.
1797 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1798 Likewise.
1799 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1800 Likewise.
1801 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1802 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1803 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1804 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1805 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1806 Specify lower bound on value.
1807 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1808 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1809 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1810 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1811 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1812 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1813 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1814 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1815 value.
1816 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1817 as optional.
1818 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1819 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1820 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1821 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1822 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1823 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1824 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1825 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1826 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1827 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1828 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1829 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1830 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1831 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1832 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1833 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1834 entry.
1835 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1836 optional.
1837 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1838 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1839 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1840 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1841 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1842 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1843 Likewise.
1844 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1845 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1846 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1847 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1848 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1849 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1850 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1851 as optional.
1852 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1853 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1854 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1855 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1856 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1857 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1858 specify as optional.
1859 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1860 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1861 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1862 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1863 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1864 [XPG3] (NL_LANGMAX): Likewise.
1865 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1866 [POSIX || XPG3] (NL_NMAX): Likewise.
1867 [POSIX || XPG3] (NL_SETMAX): Likewise.
1868 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1869 [XPG3] (NZERO): Likewise.
1870 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1871 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1872 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1873 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1874 (REG_ERANGE): Expect.
1875 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1876 optional-constant.
1877 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1878 Use (void) in prototype.
1879 [POSIX] (*_t): Allow.
1880 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1881 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1882 (WRDE_BADVAL): Expect.
1883
5ba924e3
JM
1884 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1885 expect.
1886 [XPG3 || XPG4] (O_RSYNC): Likewise.
1887 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1888 Likewise.
1889 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1890 [XPG3 || XPG4] (sigqueue): Likewise.
1891 [XPG3 || XPG4] (sigtimedwait): Likewise.
1892 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1893 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1894 [XPG3 || XPG4] (vsnprintf): Likewise.
1895 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1896 Likewise.
1897 [XPG3 || XPG4] (blksize_t): Likewise.
1898 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1899 Likewise.
1900 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1901 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1902 [XPG3 || XPG4] (struct itimerspec): Likewise.
1903 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1904 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1905 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1906 [XPG3 || XPG4] (clockid_t): Likewise.
1907 [XPG3 || XPG4] (timer_t): Likewise.
1908 [XPG3 || XPG4] (clock_getres): Likewise.
1909 [XPG3 || XPG4] (clock_gettime): Likewise.
1910 [XPG3 || XPG4] (clock_settime): Likewise.
1911 [XPG3 || XPG4] (nanosleep): Likewise.
1912 [XPG3 || XPG4] (timer_create): Likewise.
1913 [XPG3 || XPG4] (timer_delete): Likewise.
1914 [XPG3 || XPG4] (timer_gettime): Likewise.
1915 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1916 [XPG3 || XPG4] (timer_settime): Likewise.
1917 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1918 [XPG3 || XPG4] (getlogin_r): Likewise.
1919 [XPG3 || XPG4] (pread): Likewise.
1920 [XPG3 || XPG4] (pthread_atfork): Likewise.
1921 [XPG3 || XPG4] (pwrite): Likewise.
1922
ee663277
JM
1923 [BZ #14835]
1924 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1925 <bits/siginfo.h>.
1926
942caa16
PT
19272012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1928
e19af380
PT
1929 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1930 finalizing MALLSTREAM.
1931
942caa16
PT
1932 * sysdeps/mach/hurd/syncfs.c: New file.
1933
cfde9b46
SP
19342012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1935
1936 [BZ #14719]
1937 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1938 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1939 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1940 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1941 (_nss_dns_gethostbyname4_r): Likewise.
1942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1943 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1944
f6da27e5
PH
19452012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1946
1947 [BZ #13763]
1948 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1949
6665d4a2
SM
19502012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1951
1f51ee92
SM
1952 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1953 * elf/cache.c (print_entry): Print ",AArch64" for
1954 FLAG_AARCH64_LIB64
1955
6665d4a2
SM
1956 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1957 * elf/cache.c (print_entry): Print ",hard-float" for
1958 FLAG_ARM_LIBHF.
1959
05b227bd
DM
19602012-11-18 David S. Miller <davem@davemloft.net>
1961
1962 With help from Joseph Myers.
1963 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1964 cutoff to 2**-13.
1965 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1966 cutoff to 2**-25.
1967 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1968 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1969 small.
1970 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1971 * math/libm-test.inc (y0_test): New tests.
1972 (y1_test): New tests.
1973 * sysdeps/i386/fpu/libm-test-ulps: Update.
1974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1976
786b0b67
AS
19772012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1978
1979 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1980 64-bit targets.
1981 * configure: Regenerated.
1982
8e18b86d
DM
19832012-11-17 David S. Miller <davem@davemloft.net>
1984
1985 [BZ #14811]
1986 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1987 nonzero exponents with absolute value below 0x1p-128 to +/-
1988 0x1p-128.
1989
531f1ae0
JM
19902012-11-17 Joseph Myers <joseph@codesourcery.com>
1991
12df29e2
JM
1992 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1993
150dc1a0
JM
1994 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1995
531f1ae0
JM
1996 * posix/getconf-speclist.c: New file.
1997 * posix/posix-envs.def: Likewise.
1998 * posix/confstr.c (START_ENV_GROUP): New macro.
1999 (END_ENV_GROUP): Likewise.
2000 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2001 (KNOWN_PRESENT_ENV_STRING): Likewise.
2002 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2003 (UNKNOWN_ENVIRONMENT): Likewise.
2004 (confstr): Include posix-envs.def instead of handling
2005 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2006 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2007 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2008 (END_ENV_GROUP): Likewise.
2009 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2010 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2011 (UNKNOWN_ENVIRONMENT): Likewise.
2012 (__sysconf): Include posix-envs.def instead of handling associated
2013 cases directly here.
2014 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2015 preprocessing getconf-speclist.c rather than running getconf or
2016 generating empty file.
2017
a93f9cbc
PT
20182012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2019
2020 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2021
d64d9f87
AL
20222012-11-16 Andrej Lajovic <natrij@gmail.com>
2023
2024 [BZ #14672]
2025 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2026
447885eb
DM
20272012-11-16 David S. Miller <davem@davemloft.net>
2028
2029 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2030 smaller than LDBL_EPSILON/2.0L, just return xm1.
2031
bcbf9830
L
20322012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2033
2034 * elf/tst-array1.c (init): Set constructor priority to 1000.
2035 (fini): Set destructor priority to 1000.
2036 * elf/tst-array2dep.c: Likewise.
2037
2b766585
SP
20382012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2039
2040 [BZ #11741]
2041 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2042 (_IO_new_file_xsputn): Also return EOF if none of the input
2043 data was written when overflow failed.
2044 * libio/iopadn.c (_IO_padn): Likewise.
2045 * libio/iowpadn.c (_IO_wpadn): Likewise.
2046 * stdio-common/tst-put-error.c: Add copyright notice.
2047 (do_test): Add case for printing padded string.
2048 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2049 _IO_padn returned error.
2050 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2051 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2052 return EOF.
2053
b1848fde
SP
20542012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2055
2056 * libio/libioP.h: Add comment note that the references to C++
2057 bits are now obsolete.
2058
2fd89785
MS
20592012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2060
2061 * math/libm-test.inc (check_complex): Use asprintf.
2062
e3ea5409
JM
20632012-11-14 Joseph Myers <joseph@codesourcery.com>
2064
2065 * debug/pcprofiledump.c (print_version): Update copyright year.
2066 * malloc/memusagestat.c (print_version): Likewise.
2067
2e64d265
L
20682012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2069
2070 [BZ #14831]
2071 * elf/Makefile (tests): Add tst-audit8.
2072 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2073 ($(objpfx)tst-audit8.out): New target.
2074 (tst-audit8-ENV): New variable.
2075 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2076 audit if l_reloc_result is NULL.
2077 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2078 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2079 * elf/tst-audit8.c: New file.
2080
c485e4d2
MS
20812012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2082
2083 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2084 * misc/Makefile (CFLAGS-select.c): Define.
2085 * posix/Makefile (CFLAGS-pause.c): Define.
2086
3a0d900a
DM
20872012-11-13 David S. Miller <davem@davemloft.net>
2088
2089 * crypt/Makefile: Move test targets after toplevel Rules
2090 inclusion. Grab any necessary sysdep routines when linking.
2091 * crypt/md5.c (md5_process_block): Remove define, we will always
2092 name it __md5_process_block.
2093 (md5_finish_ctx): Update md5_process_block call.
2094 (md5_stream): Likewise.
2095 (md5_process_bytes): Likewise.
2096 (md5_process_block): Rename to __md5_process_block and move to ...
2097 * crypt/md5-block.c: ... here.
2098 * crypt/sha256.c (sha256_process_block): Move to ...
2099 * crypt/sha256-block.c: ... here.
2100 * crypt/sha512.c (sha512_process_block): Move to ...
2101 * crypt/sha512-block.c: ... here.
2102 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2103 path.
2104 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2105 * sysdeps/sparc/sparc64/multiarch/Makefile
2106 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2107 crypt subdir.
2108 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2109 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2110 multiarch changes.
2111 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2112 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2113 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2114 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2115 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2116 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2117 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2118 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2119 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2120 file.
2121 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2122 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2123 file.
2124 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2125
8ca89318
JM
21262012-11-13 Joseph Myers <joseph@codesourcery.com>
2127
e27d476a
JM
2128 * timezone/tzselect.ksh: Update from tzcode git revision
2129 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2130 * timezone/zdump.c: Likewise.
2131 * timezone/zic.c: Likewise.
2132 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2133 in TZVERSION setting, not $(PKGVERSION).
2134 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2135 REPORT_BUGS_TO settings.
2136
8ca89318
JM
2137 [BZ #14838]
2138 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2139 macro.
2140
47594329
MS
21412012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2142
2143 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2144 detection to immediately after _FP_ROUND().
2145 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2146 bits are 0.
2147
640ac3f1
DM
21482012-11-11 David S. Miller <davem@davemloft.net>
2149
2150 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2151 inttypes.h
2152 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2153 __close rather than their public counterparts.
2154
3d2577bb
JM
21552012-11-10 Joseph Myers <joseph@codesourcery.com>
2156
2157 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2158 file.
2159 [UNIX98] (sem_timedwait): Do not expect.
2160 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2161 [XPG4 || UNIX98] (sockatmark): Do not expect.
2162 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2163 (clock_getcpuclockid): Do not expect.
2164 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2165 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2166 Do not expect.
2167 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2168 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2169 [UNIX98] (vwscanf): Likewise.
2170 [UNIX98] (vswscanf): Likewise.
2171
fb1ae1ee
JM
21722012-11-09 Joseph Myers <joseph@codesourcery.com>
2173
9ec6f8bd
JM
2174 * timezone/version.h: Remove file.
2175 * timezone/README: Do not refer to version.h.
2176 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2177 $(objpfx)version.h.
2178 ($(objpfx)zdump.o): Likewise.
c3f81911 2179 ($(objpfx)version.h): New target.
9ec6f8bd 2180
0aa8f8a1
JM
2181 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2182 2012i.
2183 * timezone/README: Don't mention modification to tzselect.ksh.
2184 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2185 work on unmodified tzselect.ksh. Substitute version numbers in
2186 tzselect.ksh.
2187
4e87147f
JM
2188 * Makefile (format-me): Remove.
2189 (INSTALL): Adjust indentation. Use commands directly instead of
2190 using $(format-me).
2191
8b748aed
JM
2192 * aclocal.m4 (ACX_PKGVERSION): New macro.
2193 (ACX_BUGURL): Likewise.
2194 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2195 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2196 (REPORT_BUGS_TO): Likewise.
2197 * configure: Regenerated.
2198 * config.h.in (PKGVERSION): New macro.
2199 (REPORT_BUGS_TO): Likewise.
2200 * config.make.in (PKGVERSION): New variable.
2201 (PKGVERSION_TEXI): Likewise.
2202 (REPORT_BUGS_TO): Likewise.
2203 (REPORT_BUGS_TEXI): Likewise.
2204 * Makefile (format-me): Use -I$(common-objpfx)manual.
2205 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2206 ($(common-objpfx)manual/%): New target.
2207 (manual/%): Remove target.
2208 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2209 (print_version): Use PKGVERSION.
2210 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2211 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2212 and REPORT_BUGS_TO.
2213 ($(objpfx)xtrace): Likewise.
2214 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2215 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2216 (print_version): Use PKGVERSION.
2217 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2218 (do_version): Use PKGVERSION.
2219 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2220 REPORT_BUGS_TO.
2221 (common-ldd-rewrite): Likewise.
2222 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2223 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2224 (print_version): Use PKGVERSION.
2225 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2226 * elf/pldd.c (argp_program_bug_address): Remove variable.
2227 (more_help): New function.
2228 (argp): Use more_help.
2229 (print_version): Use PKGVERSION.
2230 * elf/sln.c (main): Use PKGVERSION.
2231 (usage): Use REPORT_BUGS_TO.
2232 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2233 (top level): Use PKGVERSION.
2234 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2235 (print_version): Use PKGVERSION.
2236 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2237 (print_version): Use PKGVERSION.
2238 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2239 (print_version): Use PKGVERSION.
2240 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2241 (print_version): Use PKGVERSION.
2242 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2243 (print_version): Use PKGVERSION.
2244 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2245 (print_version): Use PKGVERSION.
2246 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2247 and BUGURL.
2248 ($(objpfx)memusage): Likewise.
2249 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2250 (do_version): Use PKGVERSION.
2251 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2252 (print_version): Use PKGVERSION.
2253 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2254 ($PKGVERSION): New variable.
2255 ($REPORT_BUGS_TO): Likewise.
2256 (usage): Use $REPORT_BUGS_TO.
2257 (top level): Use $PKGVERSION.
2258 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2259 ($(objpfx)pkgvers.texi): New rule.
2260 ($(objpfx)stamp-pkgvers): Likewise.
2261 * manual/install.texi: Include pkgvers.texi.
2262 (--with-pkgversion): Document new configure option.
2263 (--with-bugurl): Likewise.
2264 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2265 than necessarily for this particular distribution. Use
2266 REPORT_BUGS_TO for where to report bugs.
2267 * INSTALL: Regenerated.
2268 * manual/libc.texinfo: Include pkgvers.texi.
2269 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2270 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2271 (print_version): Use PKGVERSION.
2272 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2273 (print_version): Use PKGVERSION.
2274 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2275 (print_version): Use PKGVERSION.
2276 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2277 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2278 macro.
2279 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2280 (print_version): Use PKGVERSION.
2281 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2282 (print_version): Use PKGVERSION.
2283 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2284 and PKGVERSION.
2285
92e4b6a9
JM
2286 * timezone/checktab.awk: Update from tzcode 2012i.
2287 * timezone/ialloc.c: Likewise.
2288 * timezone/private.h: Likewise.
2289 * timezone/scheck.c: Likewise.
2290 * timezone/tzfile.h: Likewise.
2291 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2292 (TZVERSION): Hardcode tzcode version number.
2293 * timezone/zdump.c: Update from tzcode 2012i.
2294 * timezone/zic.c: Likewise.
2295 * timezone/version.h: New file.
2296 * timezone/README: Describe version.h. Update upstream location.
2297
9bde902c
JM
2298 [BZ #14824]
2299 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2300 (mktemp): Enable declaration.
2301 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2302 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2304 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2305 Likewise.
2306 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2307 Likewise.
2308 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2309 Likewise.
2310 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2311 Likewise.
2312 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2313 Likewise.
2314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2315 Likewise.
2316
fb1ae1ee
JM
2317 [BZ #14821]
2318 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2319 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2320 for copies of such integer values.
2321 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2322 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2323
2c1adbcb
AJ
23242012-11-09 Andreas Jaeger <aj@suse.de>
2325
2326 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2327 definitions and declarations that are provided by
2328 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2329
d0f8457e
AK
23302012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2331
3a235abb 2332 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2333 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2334 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2335 definition.
2336
57241e26
MS
23372012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2338
2339 * elf/elf.h: Update comment before AArch64 relocations.
2340
60e8270d
DM
23412012-11-07 David S. Miller <davem@davemloft.net>
2342
2343 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2344 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2345 (__start_context): Declare.
2346 (__makecontext_ret): Delete.
2347 (__makecontext): Hook up __start_context instead of
2348 __makecontext_ret.
2349 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2350 (sysdep_routines): Add __start_context when in stdlib.
2351
0fbb0fbc
JM
23522012-11-07 Joseph Myers <joseph@codesourcery.com>
2353
2354 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2355 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2356 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2357 hardcoded "nm".
2358 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2359 (READELF): New variable. Use it instead of hardcoded "readelf".
2360
eb48db7e
L
23612012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2362
2363 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2364 * sysdeps/x86/Makefile: Here.
2365 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2366 * sysdeps/x86/tst-xmmymm.sh: This.
2367
05bcf62a
JM
23682012-11-07 Joseph Myers <joseph@codesourcery.com>
2369
c4b6cf53
JM
2370 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2371 expectations.
2372 [UNIX98] (pthread_barrier_t): Do not expect.
2373 [UNIX98] (pthread_barrierattr_t): Likewise.
2374 [UNIX98] (pthread_spinlock_t): Likewise.
2375 [UNIX98] (pthread_barrier_destroy): Likewise.
2376 [UNIX98] (pthread_barrier_init): Likewise.
2377 [UNIX98] (pthread_barrier_wait): Likewise.
2378 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2379 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2380 [UNIX98] (pthread_barrierattr_init): Likewise.
2381 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2382 [UNIX98] (pthread_getcpuclockid): Likewise.
2383 [UNIX98] (pthread_mutex_timedlock): Likewise.
2384 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2385 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2386 [UNIX98] (pthread_sigmask): Likewise.
2387 [UNIX98] (pthread_spin_destroy): Likewise.
2388 [UNIX98] (pthread_spin_init): Likewise.
2389 [UNIX98] (pthread_spin_lock): Likewise.
2390 [UNIX98] (pthread_spin_trylock): Likewise.
2391 [UNIX98] (pthread_spin_unlock): Likewise.
2392 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2393 Do not expect.
2394 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2395 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2396 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2397 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2398 [XPG3 || XPG4] (pthread_key_t): Likewise.
2399 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2400 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2401 [XPG3 || XPG4] (pthread_once_t): Likewise.
2402 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2403 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2404 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2405 [XPG3 || XPG4] (pthread_t): Likewise.
2406
cbe6e120
JM
2407 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2408 not expect.
2409 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2410
1b126443
JM
2411 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2412 Change function return type to int.
2413
b961a573
JM
2414 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2415 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2416 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2417 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2418 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2419 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2420 [!POSIX] (posix_madvise): Likewise.
2421 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2422 && !UNIX98].
2423 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2424 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2425 (mode_t): Likewise.
2426 (posix_mem_offset): Likewise.
2427 (posix_typed_mem_get_info): Likewise.
2428 (posix_typed_mem_open): Likewise.
2429
9e188909
JM
2430 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2431 Change condition to [XOPEN2K8].
2432
05bcf62a
JM
2433 * conform/conformtest.pl: Preprocess allow-header data with -x c
2434 instead of from stdin.
2435 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2436 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2437 [C99-based standards] (cerfc): Likewise.
2438 [C99-based standards] (cexp2): Likewise.
2439 [C99-based standards] (cexpm1): Likewise.
2440 [C99-based standards] (clog10): Likewise.
2441 [C99-based standards] (clog1p): Likewise.
2442 [C99-based standards] (clog2): Likewise.
2443 [C99-based standards] (clgamma): Likewise.
2444 [C99-based standards] (ctgamma): Likewise.
2445 [C99-based standards] (cerff): Likewise.
2446 [C99-based standards] (cerfcf): Likewise.
2447 [C99-based standards] (cexp2f): Likewise.
2448 [C99-based standards] (cexpm1f): Likewise.
2449 [C99-based standards] (clog10f): Likewise.
2450 [C99-based standards] (clog1pf): Likewise.
2451 [C99-based standards] (clog2f): Likewise.
2452 [C99-based standards] (clgammaf): Likewise.
2453 [C99-based standards] (ctgammaf): Likewise.
2454 [C99-based standards] (cerfl): Likewise.
2455 [C99-based standards] (cerfcl): Likewise.
2456 [C99-based standards] (cexp2l): Likewise.
2457 [C99-based standards] (cexpm1l): Likewise.
2458 [C99-based standards] (clog10l): Likewise.
2459 [C99-based standards] (clog1pl): Likewise.
2460 [C99-based standards] (clog2l): Likewise.
2461 [C99-based standards] (clgammal): Likewise.
2462 [C99-based standards] (ctgammal): Likewise.
2463 * conform/data/inttypes.h-data [C99-based standards]: Include
2464 stdint.h-data. Remove all expectations for stdint.h contents.
2465 [C99-based standards] (PRI*): Do not allow.
2466 [C99-based standards] (SCN*): Likewise.
2467 [C99-based standards] (*_t): Likewise.
2468 [C99-based-standards] (PRId8): Expect macro.
2469 [C99-based-standards] (PRIi8): Likewise.
2470 [C99-based-standards] (PRIo8): Likewise.
2471 [C99-based-standards] (PRIu8): Likewise.
2472 [C99-based-standards] (PRIx8): Likewise.
2473 [C99-based-standards] (PRIX8): Likewise.
2474 [C99-based-standards] (SCNd8): Likewise.
2475 [C99-based-standards] (SCNi8): Likewise.
2476 [C99-based-standards] (SCNo8): Likewise.
2477 [C99-based-standards] (SCNu8): Likewise.
2478 [C99-based-standards] (SCNx8): Likewise.
2479 [C99-based-standards] (PRIdLEAST8): Likewise.
2480 [C99-based-standards] (PRIiLEAST8): Likewise.
2481 [C99-based-standards] (PRIoLEAST8): Likewise.
2482 [C99-based-standards] (PRIuLEAST8): Likewise.
2483 [C99-based-standards] (PRIxLEAST8): Likewise.
2484 [C99-based-standards] (PRIXLEAST8): Likewise.
2485 [C99-based-standards] (SCNdLEAST8): Likewise.
2486 [C99-based-standards] (SCNiLEAST8): Likewise.
2487 [C99-based-standards] (SCNoLEAST8): Likewise.
2488 [C99-based-standards] (SCNuLEAST8): Likewise.
2489 [C99-based-standards] (SCNxLEAST8): Likewise.
2490 [C99-based-standards] (PRIdFAST8): Likewise.
2491 [C99-based-standards] (PRIiFAST8): Likewise.
2492 [C99-based-standards] (PRIoFAST8): Likewise.
2493 [C99-based-standards] (PRIuFAST8): Likewise.
2494 [C99-based-standards] (PRIxFAST8): Likewise.
2495 [C99-based-standards] (PRIXFAST8): Likewise.
2496 [C99-based-standards] (SCNdFAST8): Likewise.
2497 [C99-based-standards] (SCNiFAST8): Likewise.
2498 [C99-based-standards] (SCNoFAST8): Likewise.
2499 [C99-based-standards] (SCNuFAST8): Likewise.
2500 [C99-based-standards] (SCNxFAST8): Likewise.
2501 [C99-based-standards] (PRId16): Likewise.
2502 [C99-based-standards] (PRIi16): Likewise.
2503 [C99-based-standards] (PRIo16): Likewise.
2504 [C99-based-standards] (PRIu16): Likewise.
2505 [C99-based-standards] (PRIx16): Likewise.
2506 [C99-based-standards] (PRIX16): Likewise.
2507 [C99-based-standards] (SCNd16): Likewise.
2508 [C99-based-standards] (SCNi16): Likewise.
2509 [C99-based-standards] (SCNo16): Likewise.
2510 [C99-based-standards] (SCNu16): Likewise.
2511 [C99-based-standards] (SCNx16): Likewise.
2512 [C99-based-standards] (PRIdLEAST16): Likewise.
2513 [C99-based-standards] (PRIiLEAST16): Likewise.
2514 [C99-based-standards] (PRIoLEAST16): Likewise.
2515 [C99-based-standards] (PRIuLEAST16): Likewise.
2516 [C99-based-standards] (PRIxLEAST16): Likewise.
2517 [C99-based-standards] (PRIXLEAST16): Likewise.
2518 [C99-based-standards] (SCNdLEAST16): Likewise.
2519 [C99-based-standards] (SCNiLEAST16): Likewise.
2520 [C99-based-standards] (SCNoLEAST16): Likewise.
2521 [C99-based-standards] (SCNuLEAST16): Likewise.
2522 [C99-based-standards] (SCNxLEAST16): Likewise.
2523 [C99-based-standards] (PRIdFAST16): Likewise.
2524 [C99-based-standards] (PRIiFAST16): Likewise.
2525 [C99-based-standards] (PRIoFAST16): Likewise.
2526 [C99-based-standards] (PRIuFAST16): Likewise.
2527 [C99-based-standards] (PRIxFAST16): Likewise.
2528 [C99-based-standards] (PRIXFAST16): Likewise.
2529 [C99-based-standards] (SCNdFAST16): Likewise.
2530 [C99-based-standards] (SCNiFAST16): Likewise.
2531 [C99-based-standards] (SCNoFAST16): Likewise.
2532 [C99-based-standards] (SCNuFAST16): Likewise.
2533 [C99-based-standards] (SCNxFAST16): Likewise.
2534 [C99-based-standards] (PRId32): Likewise.
2535 [C99-based-standards] (PRIi32): Likewise.
2536 [C99-based-standards] (PRIo32): Likewise.
2537 [C99-based-standards] (PRIu32): Likewise.
2538 [C99-based-standards] (PRIx32): Likewise.
2539 [C99-based-standards] (PRIX32): Likewise.
2540 [C99-based-standards] (SCNd32): Likewise.
2541 [C99-based-standards] (SCNi32): Likewise.
2542 [C99-based-standards] (SCNo32): Likewise.
2543 [C99-based-standards] (SCNu32): Likewise.
2544 [C99-based-standards] (SCNx32): Likewise.
2545 [C99-based-standards] (PRIdLEAST32): Likewise.
2546 [C99-based-standards] (PRIiLEAST32): Likewise.
2547 [C99-based-standards] (PRIoLEAST32): Likewise.
2548 [C99-based-standards] (PRIuLEAST32): Likewise.
2549 [C99-based-standards] (PRIxLEAST32): Likewise.
2550 [C99-based-standards] (PRIXLEAST32): Likewise.
2551 [C99-based-standards] (SCNdLEAST32): Likewise.
2552 [C99-based-standards] (SCNiLEAST32): Likewise.
2553 [C99-based-standards] (SCNoLEAST32): Likewise.
2554 [C99-based-standards] (SCNuLEAST32): Likewise.
2555 [C99-based-standards] (SCNxLEAST32): Likewise.
2556 [C99-based-standards] (PRIdFAST32): Likewise.
2557 [C99-based-standards] (PRIiFAST32): Likewise.
2558 [C99-based-standards] (PRIoFAST32): Likewise.
2559 [C99-based-standards] (PRIuFAST32): Likewise.
2560 [C99-based-standards] (PRIxFAST32): Likewise.
2561 [C99-based-standards] (PRIXFAST32): Likewise.
2562 [C99-based-standards] (SCNdFAST32): Likewise.
2563 [C99-based-standards] (SCNiFAST32): Likewise.
2564 [C99-based-standards] (SCNoFAST32): Likewise.
2565 [C99-based-standards] (SCNuFAST32): Likewise.
2566 [C99-based-standards] (SCNxFAST32): Likewise.
2567 [C99-based-standards] (PRId64): Likewise.
2568 [C99-based-standards] (PRIi64): Likewise.
2569 [C99-based-standards] (PRIo64): Likewise.
2570 [C99-based-standards] (PRIu64): Likewise.
2571 [C99-based-standards] (PRIx64): Likewise.
2572 [C99-based-standards] (PRIX64): Likewise.
2573 [C99-based-standards] (SCNd64): Likewise.
2574 [C99-based-standards] (SCNi64): Likewise.
2575 [C99-based-standards] (SCNo64): Likewise.
2576 [C99-based-standards] (SCNu64): Likewise.
2577 [C99-based-standards] (SCNx64): Likewise.
2578 [C99-based-standards] (PRIdLEAST64): Likewise.
2579 [C99-based-standards] (PRIiLEAST64): Likewise.
2580 [C99-based-standards] (PRIoLEAST64): Likewise.
2581 [C99-based-standards] (PRIuLEAST64): Likewise.
2582 [C99-based-standards] (PRIxLEAST64): Likewise.
2583 [C99-based-standards] (PRIXLEAST64): Likewise.
2584 [C99-based-standards] (SCNdLEAST64): Likewise.
2585 [C99-based-standards] (SCNiLEAST64): Likewise.
2586 [C99-based-standards] (SCNoLEAST64): Likewise.
2587 [C99-based-standards] (SCNuLEAST64): Likewise.
2588 [C99-based-standards] (SCNxLEAST64): Likewise.
2589 [C99-based-standards] (PRIdFAST64): Likewise.
2590 [C99-based-standards] (PRIiFAST64): Likewise.
2591 [C99-based-standards] (PRIoFAST64): Likewise.
2592 [C99-based-standards] (PRIuFAST64): Likewise.
2593 [C99-based-standards] (PRIxFAST64): Likewise.
2594 [C99-based-standards] (PRIXFAST64): Likewise.
2595 [C99-based-standards] (SCNdFAST64): Likewise.
2596 [C99-based-standards] (SCNiFAST64): Likewise.
2597 [C99-based-standards] (SCNoFAST64): Likewise.
2598 [C99-based-standards] (SCNuFAST64): Likewise.
2599 [C99-based-standards] (SCNxFAST64): Likewise.
2600 [C99-based-standards] (PRIdMAX): Likewise.
2601 [C99-based-standards] (PRIiMAX): Likewise.
2602 [C99-based-standards] (PRIoMAX): Likewise.
2603 [C99-based-standards] (PRIuMAX): Likewise.
2604 [C99-based-standards] (PRIxMAX): Likewise.
2605 [C99-based-standards] (PRIXMAX): Likewise.
2606 [C99-based-standards] (SCNdMAX): Likewise.
2607 [C99-based-standards] (SCNiMAX): Likewise.
2608 [C99-based-standards] (SCNoMAX): Likewise.
2609 [C99-based-standards] (SCNuMAX): Likewise.
2610 [C99-based-standards] (SCNxMAX): Likewise.
2611 [C99-based-standards] (PRIdPTR): Likewise.
2612 [C99-based-standards] (PRIiPTR): Likewise.
2613 [C99-based-standards] (PRIoPTR): Likewise.
2614 [C99-based-standards] (PRIuPTR): Likewise.
2615 [C99-based-standards] (PRIxPTR): Likewise.
2616 [C99-based-standards] (PRIXPTR): Likewise.
2617 [C99-based-standards] (SCNdPTR): Likewise.
2618 [C99-based-standards] (SCNiPTR): Likewise.
2619 [C99-based-standards] (SCNoPTR): Likewise.
2620 [C99-based-standards] (SCNuPTR): Likewise.
2621 [C99-based-standards] (SCNxPTR): Likewise.
2622 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2623 allow.
2624 * conform/data/stdint.h-data: Update comments to clarify
2625 requirements.
2626 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2627 type.
2628 [C99-based standards] (INT8_MAX): Likewise.
2629 [C99-based standards] (INT16_MIN): Likewise.
2630 [C99-based standards] (INT16_MAX): Likewise.
2631 [C99-based standards] (INT32_MIN): Likewise.
2632 [C99-based standards] (INT32_MAX): Likewise.
2633 [C99-based standards] (INT64_MIN): Likewise.
2634 [C99-based standards] (INT64_MAX): Likewise.
2635 [C99-based standards] (UINT8_MAX): Likewise.
2636 [C99-based standards] (UINT16_MAX): Likewise.
2637 [C99-based standards] (UINT32_MAX): Likewise.
2638 [C99-based standards] (UINT64_MAX): Likewise.
2639 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2640 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2641 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2642 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2643 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2644 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2645 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2646 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2647 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2648 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2649 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2650 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2651 [C99-based standards] (INT_FAST8_MIN): Likewise.
2652 [C99-based standards] (INT_FAST8_MAX): Likewise.
2653 [C99-based standards] (INT_FAST16_MIN): Likewise.
2654 [C99-based standards] (INT_FAST16_MAX): Likewise.
2655 [C99-based standards] (INT_FAST32_MIN): Likewise.
2656 [C99-based standards] (INT_FAST32_MAX): Likewise.
2657 [C99-based standards] (INT_FAST64_MIN): Likewise.
2658 [C99-based standards] (INT_FAST64_MAX): Likewise.
2659 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2660 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2661 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2662 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2663 [C99-based standards] (INTPTR_MIN): Likewise.
2664 [C99-based standards] (INTPTR_MAX): Likewise.
2665 [C99-based standards] (UINTPTR_MAX): Likewise.
2666 [C99-based standards] (INTMAX_MIN): Likewise.
2667 [C99-based standards] (INTMAX_MAX): Likewise.
2668 [C99-based standards] (UINTMAX_MAX): Likewise.
2669 [C99-based standards] (PTRDIFF_MIN): Likewise.
2670 [C99-based standards] (PTRDIFF_MAX): Likewise.
2671 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2672 [C99-based standards] (SIZE_MAX): Likewise.
2673 [C99-based standards] (WCHAR_MAX): Likewise.
2674 [C99-based standards] (WINT_MAX): Likewise.
2675 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2676 constraint on value.
2677 [C99-based standards] (WCHAR_MIN): Likewise.
2678 [C99-based standards] (WINT_MIN): Likewise.
2679 [C99-based standards] (*_t): Allow.
2680 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2681 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2682 Include math.h-data and complex.h-data. Remove all expectations
2683 of math.h and complex.h contents.
2684 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2685 at end of line.
2686 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2687 (struct tm): Expect tag.
2688 [C99-based-standards] (wcstof): Expect function.
2689 [C99-based-standards] (wcstold): Likewise.
2690 [C99-based-standards] (wcstoll): Likewise.
2691 [C99-based-standards] (wcstoull): Likewise.
2692 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2693 macro-int-constant. Specify type.
2694 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2695 constraint on value.
2696 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2697 Specify type.
2698 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2699 Specify value.
2700 [ISO C standards]: Do not allow headers.
2701 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2702 wcs[abcdefghijklmnopqrstuvwxyz]*.
2703 [ISO C standards] (*_t): Do not allow.
2704 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2705 Expect function.
2706 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2707 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2708 Specify type.
2709 [ISO C standards]: Do not allow headers.
2710 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2711 is[abcdefghijklmnopqrstuvwxyz]*.
2712 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2713 to[abcdefghijklmnopqrstuvwxyz]*.
2714 [ISO C standards] (*_t): Do not allow.
2715 * conform/data/stdalign.h-data: New file.
2716 * conform/data/stdbool.h-data: Likewise.
2717 * conform/data/stdnoreturn.h-data: Likewise.
2718
7514feb8
RM
27192012-11-07 Roland McGrath <roland@hack.frob.com>
2720
2721 [BZ #14815]
2722 * manual/filesys.texi (Directory Entries): Typo fix.
2723 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2724
19b2ecfc
MS
27252012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2726
2727 * elf/elf.h (EM_AARCH64): New macro.
2728 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2729 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2730 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2731 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2732 (R_AARCH64_TLSDESC): Likewise.
2733 (NT_ARM_TLS): Likewise.
2734 (NT_ARM_HW_BREAK): Likewise.
2735 (NT_ARM_HW_WATCH): Likewise.
2736
60e235ee
JM
27372012-11-07 Joseph Myers <joseph@codesourcery.com>
2738
2739 [BZ #14811]
2740 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2741 (__ieee754_powl): Saturate nonzero exponents with absolute value
2742 below 0x1p-79 to +/- 0x1p-79.
2743 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2744 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2745 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2746 nonzero exponents with absolute value below 0x1p-32 to +/-
2747 0x1p-32.
2748 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2749 (__ieee754_powl): Saturate nonzero exponents with absolute value
2750 below 0x1p-79 to +/- 0x1p-79.
2751 * math/libm-test.inc (pow_test): Add more tests.
2752
0ab234b7
AK
27532012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2754
2755 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2756 _dl_s390_cap_flags with kernel. Increase string length.
2757 (_dl_s390_platforms): Add z196 and zEC12.
2758
45832f74
JM
27592012-11-07 Joseph Myers <joseph@codesourcery.com>
2760
2761 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2762 Change XOPEN21K to XOPEN2K.
2763
19218757
MK
27642012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2765
2766 * string/memmove.c: Use memcpy when possible.
2767
c5f45721
AJ
27682012-11-06 Andreas Jaeger <aj@suse.de>
2769
2770 * po/eo.po: Update from translation team.
2771
82477c28
JM
27722012-11-06 Joseph Myers <joseph@codesourcery.com>
2773
2774 [BZ #14793]
2775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2776 exponent and small x and y exponents, scale x or y up. Increase
2777 by 2 the exponent used in scaling up.
2778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2780 * math/libm-test.inc (fma_test): Add more tests.
2781 (fma_test_towardzero): Likewise.
2782 (fma_test_downward): Likewise.
2783 (fma_test_upward): Likewise.
2784
99252c8c
JM
27852012-11-05 Joseph Myers <joseph@codesourcery.com>
2786
acfa885f
JM
2787 [BZ #14805]
2788 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2789 fenv_t *.
2790
99252c8c
JM
2791 [BZ #14801]
2792 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2793 namespace for names of struct fields.
2794 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2795 fenv_t fields.
2796 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2797 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2798
d6d98dea
ST
27992012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2800
2801 [BZ #3665]
2802 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2803
e10bb107
TS
28042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2805
2806 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2807 PTR_DEMANGLE.
2808
2809 [BZ #5246]
2810 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2811 PTR_DEMANGLE.
2812
a0c2940d
JM
28132012-11-04 Joseph Myers <joseph@codesourcery.com>
2814
2815 [BZ #14797]
2816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2817 definitely overflow as x * y not x * y + z.
2818 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2819 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2820 * math/libm-test.inc (fma_test): Add more tests.
2821 (fma_test_towardzero): Likewise.
2822 (fma_test_downward): Likewise.
2823 (fma_test_upward): Likewise.
2824
b830319d
TS
28252012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2826
2827 [BZ #157]
2828
2829 * include/stub-tag.h: Remove file.
2830 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2831 '#include' of it.
2832 * manual/maint.texi (Porting): Don't reference it.
2833 * Makerules ($(objpfx)stubs): Likewise.
2834 * dirent/closedir.c: Don't include <stub-tag.h>.
2835 * dirent/dirfd.c: Likewise.
2836 * dirent/fdopendir.c: Likewise.
2837 * dirent/getdents.c: Likewise.
2838 * dirent/getdents64.c: Likewise.
2839 * dirent/opendir.c: Likewise.
2840 * dirent/readdir.c: Likewise.
2841 * dirent/readdir64.c: Likewise.
2842 * dirent/readdir64_r.c: Likewise.
2843 * dirent/readdir_r.c: Likewise.
2844 * dirent/rewinddir.c: Likewise.
2845 * dirent/seekdir.c: Likewise.
2846 * dirent/telldir.c: Likewise.
2847 * gmon/profil.c: Likewise.
2848 * grp/setgroups.c: Likewise.
2849 * inet/if_index.c: Likewise.
2850 * io/access.c: Likewise.
2851 * io/chdir.c: Likewise.
2852 * io/chmod.c: Likewise.
2853 * io/chown.c: Likewise.
2854 * io/close.c: Likewise.
2855 * io/dup.c: Likewise.
2856 * io/dup2.c: Likewise.
2857 * io/dup3.c: Likewise.
2858 * io/euidaccess.c: Likewise.
2859 * io/faccessat.c: Likewise.
2860 * io/fchdir.c: Likewise.
2861 * io/fchmod.c: Likewise.
2862 * io/fchmodat.c: Likewise.
2863 * io/fchown.c: Likewise.
2864 * io/fchownat.c: Likewise.
2865 * io/fcntl.c: Likewise.
2866 * io/flock.c: Likewise.
2867 * io/fstatfs.c: Likewise.
2868 * io/fstatfs64.c: Likewise.
2869 * io/fstatvfs.c: Likewise.
2870 * io/fstatvfs64.c: Likewise.
2871 * io/futimens.c: Likewise.
2872 * io/fxstat.c: Likewise.
2873 * io/fxstat64.c: Likewise.
2874 * io/fxstatat.c: Likewise.
2875 * io/fxstatat64.c: Likewise.
2876 * io/getcwd.c: Likewise.
2877 * io/isatty.c: Likewise.
2878 * io/lchmod.c: Likewise.
2879 * io/lchown.c: Likewise.
2880 * io/link.c: Likewise.
2881 * io/linkat.c: Likewise.
2882 * io/lseek.c: Likewise.
2883 * io/lseek64.c: Likewise.
2884 * io/lxstat64.c: Likewise.
2885 * io/mkdir.c: Likewise.
2886 * io/mkdirat.c: Likewise.
2887 * io/mkfifo.c: Likewise.
2888 * io/mkfifoat.c: Likewise.
2889 * io/open.c: Likewise.
2890 * io/open64.c: Likewise.
2891 * io/openat.c: Likewise.
2892 * io/openat64.c: Likewise.
2893 * io/pipe.c: Likewise.
2894 * io/pipe2.c: Likewise.
2895 * io/poll.c: Likewise.
2896 * io/posix_fadvise.c: Likewise.
2897 * io/posix_fadvise64.c: Likewise.
2898 * io/posix_fallocate.c: Likewise.
2899 * io/posix_fallocate64.c: Likewise.
2900 * io/read.c: Likewise.
2901 * io/readlink.c: Likewise.
2902 * io/readlinkat.c: Likewise.
2903 * io/rmdir.c: Likewise.
2904 * io/sendfile.c: Likewise.
2905 * io/sendfile64.c: Likewise.
2906 * io/statfs.c: Likewise.
2907 * io/statfs64.c: Likewise.
2908 * io/statvfs.c: Likewise.
2909 * io/statvfs64.c: Likewise.
2910 * io/symlink.c: Likewise.
2911 * io/symlinkat.c: Likewise.
2912 * io/ttyname.c: Likewise.
2913 * io/ttyname_r.c: Likewise.
2914 * io/umask.c: Likewise.
2915 * io/unlink.c: Likewise.
2916 * io/unlinkat.c: Likewise.
2917 * io/utime.c: Likewise.
2918 * io/utimensat.c: Likewise.
2919 * io/write.c: Likewise.
2920 * io/xmknod.c: Likewise.
2921 * io/xmknodat.c: Likewise.
2922 * io/xstat.c: Likewise.
2923 * io/xstat64.c: Likewise.
2924 * login/getpt.c: Likewise.
2925 * login/grantpt.c: Likewise.
2926 * login/unlockpt.c: Likewise.
2927 * math/e_acoshl.c: Likewise.
2928 * math/e_acosl.c: Likewise.
2929 * math/e_asinl.c: Likewise.
2930 * math/e_atan2l.c: Likewise.
2931 * math/e_atanhl.c: Likewise.
2932 * math/e_coshl.c: Likewise.
2933 * math/e_expl.c: Likewise.
2934 * math/e_fmodl.c: Likewise.
2935 * math/e_gammal_r.c: Likewise.
2936 * math/e_hypotl.c: Likewise.
2937 * math/e_j0l.c: Likewise.
2938 * math/e_j1l.c: Likewise.
2939 * math/e_jnl.c: Likewise.
2940 * math/e_lgammal_r.c: Likewise.
2941 * math/e_log10l.c: Likewise.
2942 * math/e_log2l.c: Likewise.
2943 * math/e_logl.c: Likewise.
2944 * math/e_powl.c: Likewise.
2945 * math/e_rem_pio2l.c: Likewise.
2946 * math/e_sinhl.c: Likewise.
2947 * math/e_sqrtl.c: Likewise.
2948 * math/fclrexcpt.c: Likewise.
2949 * math/fedisblxcpt.c: Likewise.
2950 * math/feenablxcpt.c: Likewise.
2951 * math/fegetenv.c: Likewise.
2952 * math/fegetexcept.c: Likewise.
2953 * math/fegetround.c: Likewise.
2954 * math/feholdexcpt.c: Likewise.
2955 * math/fesetenv.c: Likewise.
2956 * math/fesetround.c: Likewise.
2957 * math/feupdateenv.c: Likewise.
2958 * math/fgetexcptflg.c: Likewise.
2959 * math/fraiseexcpt.c: Likewise.
2960 * math/fsetexcptflg.c: Likewise.
2961 * math/ftestexcept.c: Likewise.
2962 * math/k_cosl.c: Likewise.
2963 * math/k_rem_pio2l.c: Likewise.
2964 * math/k_sinl.c: Likewise.
2965 * math/k_tanl.c: Likewise.
2966 * math/s_asinhl.c: Likewise.
2967 * math/s_atanl.c: Likewise.
2968 * math/s_cbrtl.c: Likewise.
2969 * math/s_erfl.c: Likewise.
2970 * math/s_expm1l.c: Likewise.
2971 * math/s_log1pl.c: Likewise.
2972 * math/s_tanhl.c: Likewise.
2973 * misc/acct.c: Likewise.
2974 * misc/brk.c: Likewise.
2975 * misc/chflags.c: Likewise.
2976 * misc/chroot.c: Likewise.
2977 * misc/fchflags.c: Likewise.
2978 * misc/fgetxattr.c: Likewise.
2979 * misc/flistxattr.c: Likewise.
2980 * misc/fremovexattr.c: Likewise.
2981 * misc/fsetxattr.c: Likewise.
2982 * misc/fsync.c: Likewise.
2983 * misc/ftruncate.c: Likewise.
2984 * misc/futimes.c: Likewise.
2985 * misc/futimesat.c: Likewise.
2986 * misc/getdomain.c: Likewise.
2987 * misc/getdtsz.c: Likewise.
2988 * misc/gethostid.c: Likewise.
2989 * misc/gethostname.c: Likewise.
2990 * misc/getloadavg.c: Likewise.
2991 * misc/getpagesize.c: Likewise.
2992 * misc/getsysstats.c: Likewise.
2993 * misc/getxattr.c: Likewise.
2994 * misc/gtty.c: Likewise.
2995 * misc/ioctl.c: Likewise.
2996 * misc/lgetxattr.c: Likewise.
2997 * misc/listxattr.c: Likewise.
2998 * misc/llistxattr.c: Likewise.
2999 * misc/lremovexattr.c: Likewise.
3000 * misc/lsetxattr.c: Likewise.
3001 * misc/lutimes.c: Likewise.
3002 * misc/madvise.c: Likewise.
3003 * misc/mincore.c: Likewise.
3004 * misc/mlock.c: Likewise.
3005 * misc/mlockall.c: Likewise.
3006 * misc/mmap.c: Likewise.
3007 * misc/mprotect.c: Likewise.
3008 * misc/msync.c: Likewise.
3009 * misc/munlock.c: Likewise.
3010 * misc/munlockall.c: Likewise.
3011 * misc/munmap.c: Likewise.
3012 * misc/preadv.c: Likewise.
3013 * misc/preadv64.c: Likewise.
3014 * misc/ptrace.c: Likewise.
3015 * misc/pwritev.c: Likewise.
3016 * misc/pwritev64.c: Likewise.
3017 * misc/readv.c: Likewise.
3018 * misc/reboot.c: Likewise.
3019 * misc/remap_file_pages.c: Likewise.
3020 * misc/removexattr.c: Likewise.
3021 * misc/revoke.c: Likewise.
3022 * misc/select.c: Likewise.
3023 * misc/setdomain.c: Likewise.
3024 * misc/setegid.c: Likewise.
3025 * misc/seteuid.c: Likewise.
3026 * misc/sethostid.c: Likewise.
3027 * misc/sethostname.c: Likewise.
3028 * misc/setregid.c: Likewise.
3029 * misc/setreuid.c: Likewise.
3030 * misc/setxattr.c: Likewise.
3031 * misc/sstk.c: Likewise.
3032 * misc/stty.c: Likewise.
3033 * misc/swapoff.c: Likewise.
3034 * misc/swapon.c: Likewise.
3035 * misc/sync.c: Likewise.
3036 * misc/syncfs.c: Likewise.
3037 * misc/syscall.c: Likewise.
3038 * misc/truncate.c: Likewise.
3039 * misc/ualarm.c: Likewise.
3040 * misc/usleep.c: Likewise.
3041 * misc/ustat.c: Likewise.
3042 * misc/utimes.c: Likewise.
3043 * misc/vhangup.c: Likewise.
3044 * misc/writev.c: Likewise.
3045 * posix/_exit.c: Likewise.
3046 * posix/alarm.c: Likewise.
3047 * posix/execve.c: Likewise.
3048 * posix/fexecve.c: Likewise.
3049 * posix/fork.c: Likewise.
3050 * posix/fpathconf.c: Likewise.
3051 * posix/getaddrinfo.c: Likewise.
3052 * posix/getegid.c: Likewise.
3053 * posix/geteuid.c: Likewise.
3054 * posix/getgid.c: Likewise.
3055 * posix/getgroups.c: Likewise.
3056 * posix/getlogin.c: Likewise.
3057 * posix/getlogin_r.c: Likewise.
3058 * posix/getpgid.c: Likewise.
3059 * posix/getpid.c: Likewise.
3060 * posix/getppid.c: Likewise.
3061 * posix/getresgid.c: Likewise.
3062 * posix/getresuid.c: Likewise.
3063 * posix/getsid.c: Likewise.
3064 * posix/getuid.c: Likewise.
3065 * posix/glob64.c: Likewise.
3066 * posix/nanosleep.c: Likewise.
3067 * posix/pathconf.c: Likewise.
3068 * posix/pause.c: Likewise.
3069 * posix/posix_madvise.c: Likewise.
3070 * posix/pread.c: Likewise.
3071 * posix/pread64.c: Likewise.
3072 * posix/pwrite.c: Likewise.
3073 * posix/pwrite64.c: Likewise.
3074 * posix/sched_getaffinity.c: Likewise.
3075 * posix/sched_getp.c: Likewise.
3076 * posix/sched_gets.c: Likewise.
3077 * posix/sched_primax.c: Likewise.
3078 * posix/sched_primin.c: Likewise.
3079 * posix/sched_rr_gi.c: Likewise.
3080 * posix/sched_setaffinity.c: Likewise.
3081 * posix/sched_setp.c: Likewise.
3082 * posix/sched_sets.c: Likewise.
3083 * posix/sched_yield.c: Likewise.
3084 * posix/setgid.c: Likewise.
3085 * posix/setlogin.c: Likewise.
3086 * posix/setpgid.c: Likewise.
3087 * posix/setresgid.c: Likewise.
3088 * posix/setresuid.c: Likewise.
3089 * posix/setsid.c: Likewise.
3090 * posix/setuid.c: Likewise.
3091 * posix/sleep.c: Likewise.
3092 * posix/spawni.c: Likewise.
3093 * posix/sysconf.c: Likewise.
3094 * posix/times.c: Likewise.
3095 * posix/wait.c: Likewise.
3096 * posix/wait3.c: Likewise.
3097 * posix/wait4.c: Likewise.
3098 * posix/waitpid.c: Likewise.
3099 * resolv/gai_sigqueue.c: Likewise.
3100 * resource/getpriority.c: Likewise.
3101 * resource/getrlimit.c: Likewise.
3102 * resource/getrusage.c: Likewise.
3103 * resource/nice.c: Likewise.
3104 * resource/setpriority.c: Likewise.
3105 * resource/setrlimit.c: Likewise.
3106 * resource/ulimit.c: Likewise.
3107 * rt/aio_cancel.c: Likewise.
3108 * rt/aio_fsync.c: Likewise.
3109 * rt/aio_read.c: Likewise.
3110 * rt/aio_sigqueue.c: Likewise.
3111 * rt/aio_suspend.c: Likewise.
3112 * rt/aio_write.c: Likewise.
3113 * rt/clock_getres.c: Likewise.
3114 * rt/clock_gettime.c: Likewise.
3115 * rt/clock_nanosleep.c: Likewise.
3116 * rt/clock_settime.c: Likewise.
3117 * rt/lio_listio.c: Likewise.
3118 * rt/mq_close.c: Likewise.
3119 * rt/mq_getattr.c: Likewise.
3120 * rt/mq_notify.c: Likewise.
3121 * rt/mq_open.c: Likewise.
3122 * rt/mq_receive.c: Likewise.
3123 * rt/mq_send.c: Likewise.
3124 * rt/mq_setattr.c: Likewise.
3125 * rt/mq_timedreceive.c: Likewise.
3126 * rt/mq_timedsend.c: Likewise.
3127 * rt/mq_unlink.c: Likewise.
3128 * rt/shm_open.c: Likewise.
3129 * rt/shm_unlink.c: Likewise.
3130 * rt/timer_create.c: Likewise.
3131 * rt/timer_delete.c: Likewise.
3132 * rt/timer_getoverr.c: Likewise.
3133 * rt/timer_gettime.c: Likewise.
3134 * rt/timer_settime.c: Likewise.
3135 * setjmp/__longjmp.c: Likewise.
3136 * setjmp/setjmp.c: Likewise.
3137 * signal/kill.c: Likewise.
3138 * signal/killpg.c: Likewise.
3139 * signal/raise.c: Likewise.
3140 * signal/sigaction.c: Likewise.
3141 * signal/sigaltstack.c: Likewise.
3142 * signal/sigblock.c: Likewise.
3143 * signal/sigignore.c: Likewise.
3144 * signal/sigintr.c: Likewise.
3145 * signal/signal.c: Likewise.
3146 * signal/sigpause.c: Likewise.
3147 * signal/sigpending.c: Likewise.
3148 * signal/sigqueue.c: Likewise.
3149 * signal/sigreturn.c: Likewise.
3150 * signal/sigset.c: Likewise.
3151 * signal/sigsetmask.c: Likewise.
3152 * signal/sigstack.c: Likewise.
3153 * signal/sigsuspend.c: Likewise.
3154 * signal/sigtimedwait.c: Likewise.
3155 * signal/sigvec.c: Likewise.
3156 * signal/sigwait.c: Likewise.
3157 * signal/sigwaitinfo.c: Likewise.
3158 * signal/sysv_signal.c: Likewise.
3159 * socket/accept.c: Likewise.
3160 * socket/accept4.c: Likewise.
3161 * socket/bind.c: Likewise.
3162 * socket/connect.c: Likewise.
3163 * socket/getpeername.c: Likewise.
3164 * socket/getsockname.c: Likewise.
3165 * socket/getsockopt.c: Likewise.
3166 * socket/isfdtype.c: Likewise.
3167 * socket/listen.c: Likewise.
3168 * socket/recv.c: Likewise.
3169 * socket/recvfrom.c: Likewise.
3170 * socket/recvmsg.c: Likewise.
3171 * socket/send.c: Likewise.
3172 * socket/sendmsg.c: Likewise.
3173 * socket/sendto.c: Likewise.
3174 * socket/setsockopt.c: Likewise.
3175 * socket/shutdown.c: Likewise.
3176 * socket/sockatmark.c: Likewise.
3177 * socket/socket.c: Likewise.
3178 * socket/socketpair.c: Likewise.
3179 * stdio-common/ctermid.c: Likewise.
3180 * stdio-common/cuserid.c: Likewise.
3181 * stdio-common/remove.c: Likewise.
3182 * stdio-common/rename.c: Likewise.
3183 * stdio-common/renameat.c: Likewise.
3184 * stdio-common/tempname.c: Likewise.
3185 * stdlib/getcontext.c: Likewise.
3186 * stdlib/makecontext.c: Likewise.
3187 * stdlib/setcontext.c: Likewise.
3188 * stdlib/swapcontext.c: Likewise.
3189 * stdlib/system.c: Likewise.
3190 * streams/fattach.c: Likewise.
3191 * streams/fdetach.c: Likewise.
3192 * streams/getmsg.c: Likewise.
3193 * streams/getpmsg.c: Likewise.
3194 * streams/putmsg.c: Likewise.
3195 * streams/putpmsg.c: Likewise.
3196 * sysdeps/unix/bsd/getpt.c: Likewise.
3197 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3198 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3199 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3201 Likewise.
3202 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3203 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3204 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3205 * sysvipc/msgctl.c: Likewise.
3206 * sysvipc/msgget.c: Likewise.
3207 * sysvipc/msgrcv.c: Likewise.
3208 * sysvipc/msgsnd.c: Likewise.
3209 * sysvipc/semctl.c: Likewise.
3210 * sysvipc/semget.c: Likewise.
3211 * sysvipc/semop.c: Likewise.
3212 * sysvipc/semtimedop.c: Likewise.
3213 * sysvipc/shmat.c: Likewise.
3214 * sysvipc/shmctl.c: Likewise.
3215 * sysvipc/shmdt.c: Likewise.
3216 * sysvipc/shmget.c: Likewise.
3217 * termios/tcdrain.c: Likewise.
3218 * termios/tcflow.c: Likewise.
3219 * termios/tcflush.c: Likewise.
3220 * termios/tcgetattr.c: Likewise.
3221 * termios/tcgetpgrp.c: Likewise.
3222 * termios/tcsendbrk.c: Likewise.
3223 * termios/tcsetattr.c: Likewise.
3224 * termios/tcsetpgrp.c: Likewise.
3225 * time/adjtime.c: Likewise.
3226 * time/clock.c: Likewise.
3227 * time/getitimer.c: Likewise.
3228 * time/gettimeofday.c: Likewise.
3229 * time/setitimer.c: Likewise.
3230 * time/settimeofday.c: Likewise.
3231 * time/stime.c: Likewise.
3232 * time/time.c: Likewise.
3233
32342012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3235
a20492cf
PT
3236 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3237 /usr/old/bin.
3238
72e182e3
PT
3239 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3240 instead of spaces.
3241 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3242
fbeafede
JM
32432012-11-03 Joseph Myers <joseph@codesourcery.com>
3244
5b5b04d6
JM
3245 [BZ #14796]
3246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3247 FE_TONEAREST before applying Dekker multiplication and Knuth
3248 addition. Clear inexact exceptions and check for exact zero
3249 results afterwards.
3250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3251 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3252 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3253 * math/libm-test.inc (fma_test): Add more tests.
3254 (fma_test_towardzero): Likewise.
3255 (fma_test_downward): Likewise.
3256 (fma_test_upward): Likewise.
3257 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3258 function.
3259 (libc_fesetround): New macro.
3260 (libc_fesetroundf): Likewise.
3261 (libc_fesetroundl): Likewise.
3262 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3263 function.
3264 (libc_fesetround_387): Likewise.
3265 (libc_fesetroundf): New macro.
3266 (libc_fesetround): Likewise.
3267 (libc_fesetroundl): Likewise.
3268 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3269 function.
3270 (libc_fesetroundf): New macro.
3271 (libc_fesetround): Likewise.
3272 (libc_fesetroundl): Likewise.
3273 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3274 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3275 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3276 libm_hidden_ver.
3277 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3278 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3279 libm_hidden_def.
3280 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3281 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3282 libm_hidden_ver.
3283 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3284 libm_hidden_def.
3285
fbeafede
JM
3286 [BZ #3439]
3287 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3288 integer constant usable in #if and use that to give value to enum
3289 constant.
3290 (FE_DIVBYZERO): Likewise.
3291 (FE_UNDERFLOW): Likewise.
3292 (FE_OVERFLOW): Likewise.
3293 (FE_INVALID): Likewise.
3294 (FE_INVALID_SNAN): Likewise.
3295 (FE_INVALID_ISI): Likewise.
3296 (FE_INVALID_IDI): Likewise.
3297 (FE_INVALID_ZDZ): Likewise.
3298 (FE_INVALID_IMZ): Likewise.
3299 (FE_INVALID_COMPARE): Likewise.
3300 (FE_INVALID_SOFTWARE): Likewise.
3301 (FE_INVALID_SQRT): Likewise.
3302 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3303 (FE_TONEAREST): Likewise.
3304 (FE_TOWARDZERO): Likewise.
3305 (FE_UPWARD): Likewise.
3306 (FE_DOWNWARD): Likewise.
3307 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3308 (FE_DIVBYZERO): Likewise.
3309 (FE_OVERFLOW): Likewise.
3310 (FE_UNDERFLOW): Likewise.
3311 (FE_INEXACT): Likewise.
3312 (FE_TONEAREST): Likewise.
3313 (FE_DOWNWARD): Likewise.
3314 (FE_UPWARD): Likewise.
3315 (FE_TOWARDZERO): Likewise.
3316 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3317 (FE_UNDERFLOW): Likewise.
3318 (FE_OVERFLOW): Likewise.
3319 (FE_DIVBYZERO): Likewise.
3320 (FE_INVALID): Likewise.
3321 (FE_TONEAREST): Likewise.
3322 (FE_TOWARDZERO): Likewise.
3323 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3324 (FE_OVERFLOW): Likewise.
3325 (FE_UNDERFLOW): Likewise.
3326 (FE_DIVBYZERO): Likewise.
3327 (FE_INEXACT): Likewise.
3328 (FE_TONEAREST): Likewise.
3329 (FE_TOWARDZERO): Likewise.
3330 (FE_UPWARD): Likewise.
3331 (FE_DOWNWARD): Likewise.
3332 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3333 (FE_DIVBYZERO): Likewise.
3334 (FE_OVERFLOW): Likewise.
3335 (FE_UNDERFLOW): Likewise.
3336 (FE_INEXACT): Likewise.
3337 (FE_TONEAREST): Likewise.
3338 (FE_DOWNWARD): Likewise.
3339 (FE_UPWARD): Likewise.
3340 (FE_TOWARDZERO): Likewise.
3341
105ca950
CM
33422012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3343
3344 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3345
a542b389
AS
33462012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3347
3348 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3349 commands. Quote $PWD.
3350 (blacklist_exports): Don't use remove_newlines. Replace "declare
3351 -x" by "export".
3352 (remove_newlines): Remove.
3353
f62c8abc
L
33542012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3355
3356 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3357 * stdlib/stdlib.h (atof): Moved to ...
3358 * include/bits/stdlib-float.h: Here. New file.
3359 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3360 * stdlib/bits/stdlib-float.h: New file.
3361 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3362 -mno-sse -mno-mmx.
3363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3364 <xmmintrin.h>.
3365
0155d5b2
JM
33662012-11-02 Joseph Myers <joseph@codesourcery.com>
3367
a68d0680
JM
3368 * conform/conformtest.pl (@headers): Add fenv.h.
3369 * conform/data/fenv.h-data: New file.
3370 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3371 include of <math/fenv.h>.
3372
caf7f573
JM
3373 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3374 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3375 && !UNIX98]. Enables tests for XOPEN2K8.
3376 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3377 POSIX2008]: Likewise.
3378
6c073ad6
JM
3379 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3380 (struct rusage): Do not expect type or its members.
3381
0155d5b2
JM
3382 [BZ #3439]
3383 * math/math.h (FP_NAN): Define macro to integer constant usable in
3384 #if and use that to give value to enum constant.
3385 (FP_INFINITE): Likewise.
3386 (FP_ZERO): Likewise.
3387 (FP_SUBNORMAL): Likewise.
3388 (FP_NORMAL): Likewise.
3389
b5dcacb4
AS
33902012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3391
3392 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3393 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3394 arguments.
3395
f7934be8
RM
33962012-11-02 Roland McGrath <roland@hack.frob.com>
3397
3398 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3399 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3400 autoconf-time if not.
3401 * configure.in: Remove AC_PREREQ.
3402
d7d08bde
TMQMF
34032012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3404
3405 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3406 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3407 of the internal implementation.
3408
dcdae19a
JM
34092012-11-02 Joseph Myers <joseph@codesourcery.com>
3410
3411 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3412 except include of <misc/sys/syslog.h>.
3413
d6cffd3e
AS
34142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3415
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3417 function returns with a NULL context exit with zero.
3418
b3563932
TMQMF
34192012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3420
3421 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3422
b288a93d
L
34232012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3424
3425 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3426 (run_program_cmd): This.
3427 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3428 (tst_langinfo): New variable. Use it.
3429
a2421a68
SAS
34302012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3431
3432 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3433 floating point opcodes.
3434
6f796e1b
TS
34352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3436
7402596b
TS
3437 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3438 variable.
3439
d0d4f868
TS
3440 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3441
6f796e1b
TS
3442 * sysdeps/mach/hurd/powerpc: Remove directory.
3443 * sysdeps/mach/powerpc: Likewise.
3444
4da224a2
AS
34452012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3446
3447 * scripts/check-local-headers.sh: Ignore c++ headers.
3448
341dd673
TS
34492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3450
3451 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3452 __libc_cleanup_region_start argument.
3453
473611b2
JM
34542012-11-01 Joseph Myers <joseph@codesourcery.com>
3455
3456 [BZ #14784]
3457 [BZ #14785]
3458 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3459 x * y using scaling, not as x * y + z.
3460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3461 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3462 * math/libm-test.inc (fma_test): Add more tests.
3463 (fma_test_towardzero): Likewise.
3464 (fma_test_downward): Likewise.
3465 (fma_test_upward): Likewise.
3466
4078da3d
TS
34672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3468
3469 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3470
903252aa
JM
34712012-10-31 Joseph Myers <joseph@codesourcery.com>
3472
3473 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3474 New variable.
3475
cbc818d0
TS
34762012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3477
3478 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3479
5a03cb1e
AS
34802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3481
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3483 Fix sort order.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3485 Likewise.
3486
90aff2ff
TMQMF
34872012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3488
3489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3490 Fix the order of the list for glibc 2.17.
3491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3492 Likewise.
3493
1818fcb7
AS
34942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3495
3496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3497
ef82f4da
JM
34982012-10-31 Joseph Myers <joseph@codesourcery.com>
3499
16a0e2ec
JM
3500 [BZ #14610]
3501 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3502 for low part of x being zero before using __atanl (y).
3503 * math/libm-test.inc (atan2_test): Add another test.
3504
0eb69512
JM
3505 * manual/install.texi (Configuring and compiling): Document
3506 general use of test-wrapper and test-wrapper-env.
3507 * INSTALL: Regenerated.
3508
ef82f4da
JM
3509 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3510 (__fma): Do not extract and scale down low bits on after-rounding
3511 systems when result rounded to normal precision would have normal
3512 exponent.
3513 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3514 (__fmal): Do not extract and scale down low bits on after-rounding
3515 systems when result rounded to normal precision would have normal
3516 exponent.
3517 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3518 (__fmal): Do not extract and scale down low bits on after-rounding
3519 systems when result rounded to normal precision would have normal
3520 exponent.
3521 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3522 macro.
3523 (fma_test): Add more tests.
3524 (fma_test_towardzero): Likewise.
3525 (fma_test_downward): Likewise.
3526 (fma_test_upward): Likewise.
3527
954ef0d9
L
35282012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3529
3530 * sysdeps/i386/tininess.h: Renamed to ...
3531 * sysdeps/x86/tininess.h: This.
3532 * sysdeps/x86_64/tininess.h: Removed.
3533
df61ffb2
JM
35342012-10-30 Joseph Myers <joseph@codesourcery.com>
3535
3536 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3537 input. Use $(build-program-cmd).
3538 ($(objpfx)tst-array1-static.out): Likewise.
3539 ($(objpfx)tst-array2.out): Likewise.
3540 ($(objpfx)tst-array3.out): Likewise.
3541 ($(objpfx)tst-array4.out): Likewise.
3542 ($(objpfx)tst-array5.out): Likewise.
3543 ($(objpfx)tst-array5-static.out): Likewise.
3544
01767843
CM
35452012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3546
47cc1490
CM
3547 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3548 if defined.
3549
01767843
CM
3550 * nss/nsswitch.h (nss_interface_function): Provide new
3551 macro for use with NSS functions.
3552 * grp/initgroups.c: Use new macro.
3553 * nss/getXXbyYY.c: Likewise.
3554 * nss/getXXbyYY_r.c: Likewise.
3555 * nss/getXXent.c: Likewise.
3556 * nss/getXXent_r.c: Likewise.
3557 * sysdeps/posix/getaddrinfo.c: Likewise.
3558
8321aa97
AJ
35592012-10-30 Andreas Jaeger <aj@suse.de>
3560
3561 * po/ru.po: Update Russion translation from translation project.
3562
2a27fd6d
JM
35632012-10-30 Joseph Myers <joseph@codesourcery.com>
3564
8627a232
JM
3565 [BZ #14152]
3566 [BZ #14783]
3567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3568 result and shift together with sticky bit instead of replicating
3569 round-to-nearest rounding.
3570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3572 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3573 missing underflow exceptions.
3574 (fma_test_towardzero): Add more tests.
3575 (fma_test_downward): Likewise.
3576 (fma_test_upward): Likewise.
3577
2a27fd6d
JM
3578 [BZ #14047]
3579 * sysdeps/generic/tininess.h: New file.
3580 * sysdeps/i386/tininess.h: Likewise.
3581 * sysdeps/sh/tininess.h: Likewise.
3582 * sysdeps/x86_64/tininess.h: Likewise.
3583 * stdlib/tst-strtod-underflow.c: Likewise.
3584 * stdlib/tst-tininess.c: Likewise.
3585 * stdlib/strtod_l.c: Include <tininess.h>.
3586 (round_and_return): Do not set errno for exact underflow cases.
3587 Force an underflow exception when setting errno for underflow.
3588 Determine underflow based on rounding to normal precision if
3589 TININESS_AFTER_ROUNDING.
3590 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3591 ERANGE for exact underflow cases.
3592 * stdlib/Makefile (tests): Add tst-tininess and
3593 tst-strtod-underflow.
3594 ($(objpfx)tst-tininess): Use $(link-libm).
3595 ($(objpfx)tst-strtod-underflow): Likewise.
3596
e7170363
AJ
35972012-10-30 Andreas Jaeger <aj@suse.de>
3598
e5088dc6
AJ
3599 [BZ#14767]
3600 * elf/Makefile (tests): Remove conditional for have-initfini-array
3601 since this is now always required and the variable does not exist
3602 anymore.
3603 (tests-static): Likewise.
3604 (modules-names): Likewise.
3605
e7170363 3606 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3607
3608 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3609 merged with constructor/destructor.
3610 (init_array): Likewise.
3611 * elf/tst-array2dep.c (fini_array): Likewise.
3612 (init_array): Likewise.
3613
60457d8a
MF
36142012-10-29 Mike Frysinger <vapier@gentoo.org>
3615
3616 * manual/message.texi: Delete @cartouche tags.
3617
8bece752
PT
36182012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3619
94ce799f
PT
3620 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3621 EOPNOTSUPP.
3622 * sysdeps/mach/hurd/fsync.c: Likewise.
3623
8bece752
PT
3624 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3625 [_POSIX_REALTIME_SIGNALS]: Change condition to
3626 [_POSIX_REALTIME_SIGNALS > 0].
3627
86ebe6b1
AJ
36282012-10-27 Andreas Jaeger <aj@suse.de>
3629
3630 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3631 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3632 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3633 [__WORDSIZE != 64]: Likewise.
3634
54399c08
L
36352012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3636
3637 * iconvdata/tst-table.sh: Remove ${SHELL}.
3638 * iconvdata/tst-tables.sh: Likewise.
3639
e2211bed
DM
36402012-10-25 David S. Miller <davem@davemloft.net>
3641
3642 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3643 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3644 of strtoull.
3645
f303f97c
DM
3646 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3647 ifunc-impl-list.c
3648 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3649 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3650 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3651 file.
3652
1e9d84cd
RM
36532012-10-25 Roland McGrath <roland@hack.frob.com>
3654
3655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3656 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3657 __getdirentries.
3658
df381762
JM
36592012-10-25 Joseph Myers <joseph@codesourcery.com>
3660 Jim Blandy <jimb@codesourcery.com>
3661
3662 * scripts/cross-test-ssh.sh: New file.
3663 * manual/install.texi (Configuring and compiling): Document use of
3664 cross-test-ssh.sh.
3665 * INSTALL: Regenerated.
3666
bff64913
PT
36672012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3668
3669 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3670 EOPNOTSUPP.
3671
25fe8932
JM
36722012-10-25 Joseph Myers <joseph@codesourcery.com>
3673
3674 * Makeconfig (run-program-prefix): Fix comment.
3675
cc1290d0
JM
36762012-10-24 Joseph Myers <joseph@codesourcery.com>
3677 Jim Blandy <jimb@codesourcery.com>
3678
3679 * Makeconfig (test-wrapper): New variable,
3680 (test-wrapper-env): Likewise.
3681 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3682 (run-built-tests): Define to yes.
3683 (run-program-prefix): Use $(test-wrapper).
3684 (built-program-cmd): Likewise.
3685 * Rules (make-test-out): Use $(test-wrapper-env) and
3686 $(host-built-program-cmd).
3687 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3688 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3689 tst-pathopt.sh.
3690 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3691 $(test-wrapper-env) to tst-rtld-load-self.sh.
3692 ($(objpfx)order2.out): Use $(test-wrapper).
3693 ($(objpfx)tst-initorder.out): Likewise.
3694 ($(objpfx)tst-initorder2.out): Likewise.
3695 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3696 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3697 (test_wrapper_env): New variable. Use it to run ld.so.
3698 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3699 Use it to run ld.so.
3700 (test_wrapper_env): Likewise.
3701 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3702 $(test-wrapper) to run-iconv-test.sh.
3703 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3704 (ICONV): Use $test_wrapper.
3705 * posix/Makefile ($(objpfx)globtest.out): Pass
3706 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3707 globtest.sh, not $(run-program-prefix).
3708 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3709 (test_wrapper): Likewise.
3710 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3711 set together with run_via_rtld_prefix.
3712 (run_program_prefix): Define in terms of test_wrapper and
3713 run_via_rtld_prefix.
3714
6e6249d0
RM
37152012-10-24 Roland McGrath <roland@hack.frob.com>
3716
3717 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3718 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3719 Targets removed.
3720
3721 [BZ #14743]
3722 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3723 Declare __clock_getres, __clock_gettime, __clock_settime,
3724 __clock_nanosleep, and __clock_getcpuclockid.
3725 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3726 Remove librt_hidden_def (clock_gettime).
3727 * sysdeps/unix/clock_gettime.c: Likewise.
3728 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3729 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3730 * rt/clock_getres.c: Define __clock_getres as an alias.
3731 * sysdeps/posix/clock_getres.c: Likewise.
3732 * rt/clock_settime.c: Define __clock_settime as an alias.
3733 * sysdeps/unix/clock_settime.c: Likewise.
3734 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3735 * sysdeps/unix/clock_nanosleep.c: Likewise.
3736 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3737 * rt/clock-compat.c: New file.
3738 * rt/Makefile (librt-routines): Add clock-compat and move
3739 $(clock-routines) to ...
3740 (routines): ... here, new variable.
3741 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3742 Don't add get_clockfreq here.
3743 * rt/Versions (libc: GLIBC_2.17): New version set.
3744 Add clock_* symbols here.
3745 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3746 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3747 (GLIBC_2.17): Add clock_* symbols.
3748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3750 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3752 Likewise.
3753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3754 Likewise.
3755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3759 * NEWS: Mention the move.
3760
3761 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3762 Use __open, __read, __close rather than their public counterparts.
3763 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3764 (__get_clockfreq_via_cpuinfo): Likewise.
3765 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3766 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3767
3768 * config.h.in (HAVE_IFUNC): New #undef.
3769 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3770 was successful.
3771 * configure: Regenerated.
3772
0cae3f4b
MF
37732012-10-24 Mike Frysinger <vapier@gentoo.org>
3774
3775 * configure.in: Move READELF check to start of file.
3776 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3777 libc_cv_asm_gnu_indirect_function in the process.
3778 * configure: Regenerated.
3779
8175a253
MF
37802012-10-24 Mike Frysinger <vapier@gentoo.org>
3781
3782 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3783 send the output to /dev/null.
3784 (libc_cv_cc_with_libunwind): Likewise.
3785 (libc_cv_as_noexecstack): Likewise.
3786 * configure: Regenerate.
3787
0708a7d1
JM
37882012-10-24 Joseph Myers <joseph@codesourcery.com>
3789
10b40d85
JM
3790 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3791
0708a7d1
JM
3792 * posix/globtest.sh (TMPDIR): Do not set.
3793 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3794 (testout): Likewise.
3795
9fddec1a
AJ
37962012-10-24 Andreas Jaeger <aj@suse.de>
3797
3a8db22f
AJ
3798 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3799 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3800 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3801 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3802 posix_fadvise64, posix_fallocate64.
3803
9fddec1a
AJ
3804 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3805 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3806 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3807 Likewise.
3808 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3809 Likewise.
3810 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3811
3812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3813 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3814 <bits/fcntl-linux.h>.
3815 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3816
3817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3818 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3819 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3820 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3821 [__WORDSIZE != 64]: Likewise.
3822
ebfd1bbd
JM
38232012-10-23 Joseph Myers <joseph@codesourcery.com>
3824
03ac099f
JM
3825 * Makeconfig (run-built-tests): New variable.
3826 * Rules [$(cross-compiling) = yes]: Change condition to
3827 [$(run-built-tests) = no].
3828 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3829 to [$(run-built-tests) = yes].
3830 * elf/Makefile [$(cross-compiling) = no]: Likewise
3831 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3832 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3833 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3834 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3835 * io/Makefile [$(cross-compiling) = no]: Likewise.
3836 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3837 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3838 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3839 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3840 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3841 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3842 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3843 * string/Makefile [$(cross-compiling) = no]: Likewise.
3844
ebfd1bbd
JM
3845 * posix/Makefile ($(objpfx)globtest.out): Pass
3846 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3847 $(rtld-installed-name).
3848 * posix/globtest.sh (elf_objpfx): Remove variable.
3849 (rtld_installed_name): Likewise.
3850 (library_path): Likewise.
3851 (run_program_prefix): New variable. Use for running globtest
3852 binary.
3853
166bca24
JB
38542012-10-23 Jim Blandy <jimb@codesourcery.com>
3855 Joseph Myers <joseph@codesourcery.com>
3856
3857 * Makeconfig (host-built-program-cmd): New variable.
3858 * elf/Makefile (tst-stackguard1-ARGS): Use
3859 $(host-built-program-cmd).
3860 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3861 (tst-spawn-ARGS): Likewise.
3862 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3863
88866099
JM
38642012-10-23 Joseph Myers <joseph@codesourcery.com>
3865 Jim Blandy <jimb@codesourcery.com>
3866
3867 * Makeconfig (run-via-rtld-prefix): New variable.
3868 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3869 (built-program-cmd): Likewise.
3870
b4b4c296
AJ
38712012-10-22 Andreas Jaeger <aj@suse.de>
3872
3873 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3874 __O_RSYNC if it exists, otherwise to O_SYNC.
3875
6fb54a22
JB
38762012-10-22 Jim Blandy <jimb@codesourcery.com>
3877 Joseph Myers <joseph@codesourcery.com>
3878
3879 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3880 /dev/null.
3881 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3882 from /dev/null
3883 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3884 /dev/null.
3885
481b90b9
AJ
38862012-10-22 Andreas Jaeger <aj@suse.de>
3887
2a0e2669
AJ
3888 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3889 Define always.
3890 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3891
76e38f9a
AJ
3892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3893 bits/fcntl-linux.h.
3894
7cd37b43
AJ
3895 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3896 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3897
481b90b9
AJ
3898 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3899 to __O_LARGEFILE.
3900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3901 to __O_LARGEFILE.
3902
aba75984
JB
39032012-10-21 Jim Blandy <jimb@codesourcery.com>
3904 Joseph Myers <joseph@codesourcery.com>
3905
3906 * config.make.in (NM): New variable.
3907
88d4247f
AJ
39082012-10-21 Andreas Jaeger <aj@suse.de>
3909
3910 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3911 definitions and declarations that are provided by
3912 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3913
f2eed205
L
39142012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3915
3916 [BZ #14683]
3917 * elf/Makefile (tests-static): Add tst-leaks1-static.
3918 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3919 ($(objpfx)tst-leaks1-static): New rule.
3920 ($(objpfx)tst-leaks1-static-mem): Likewise.
3921 (tst-leaks1-static-ENV): New macro.
3922 * elf/dl-open.c (dl_open_worker): Check the main application
3923 only if SHARED is defined.
3924 * elf/tst-leaks1-static.c: New file.
3925
335e6931
AJ
39262012-10-20 Andreas Jaeger <aj@suse.de>
3927
3928 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3929 generic values for Linux.
3930 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3931 and declarations that are provided by <bits/fcntl-linux.h> and
3932 include <bits/fcntl-linux.h>.
3933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3934 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3935
ac5c94d3
RM
39362012-10-20 Roland McGrath <roland@hack.frob.com>
3937
3938 * io/fcntl.h: Move include of <bits/types.h> to the top and
3939 include it unconditionally.
3940
de54b33a
L
39412012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3942
228cfb01
L
3943 * wcsmbs/Makefile (tests-ifunc): New variable.
3944 (tests): Add $(tests-ifunc).
3945 * wcsmbs/test-wcschr-ifunc.c: New file.
3946 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3947 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3948 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3949 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3950 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3951
69f07e5f
L
3952 * string/Makefile (tests-ifunc): New variable.
3953 (tests): Add $(tests-ifunc).
3954 * string/test-memccpy.c (TEST_NAME): New macro.
3955 * string/test-memchr.c (TEST_NAME): Likewise.
3956 * string/test-memcmp.c (TEST_NAME): Likewise.
3957 * string/test-memcpy.c (TEST_NAME): Likewise.
3958 * string/test-memmem.c (TEST_NAME): Likewise.
3959 * string/test-memmove.c (TEST_NAME): Likewise.
3960 * string/test-memset.c (TEST_NAME): Likewise.
3961 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3962 * string/test-stpcpy.c (TEST_NAME): Likewise.
3963 * string/test-stpncpy.c (TEST_NAME): Likewise.
3964 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3965 * string/test-strcasestr.c (TEST_NAME): Likewise.
3966 * string/test-strcat.c (TEST_NAME): Likewise.
3967 * string/test-strchr.c (TEST_NAME): Likewise.
3968 * string/test-strcmp.c(TEST_NAME): Likewise.
3969 * string/test-strcpy.c (TEST_NAME): Likewise.
3970 * string/test-strcspn.c (TEST_NAME): Likewise.
3971 * string/test-strlen.c (TEST_NAME): Likewise.
3972 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3973 * string/test-strncmp.c (TEST_NAME): Likewise.
3974 * string/test-strncpy.c (TEST_NAME): Likewise.
3975 * string/test-strnlen.c (TEST_NAME): Likewise.
3976 * string/test-strpbrk.c (TEST_NAME): Likewise.
3977 * string/test-strrchr.c (TEST_NAME): Likewise.
3978 * string/test-strspn.c (TEST_NAME): Likewise.
3979 * string/test-strstr.c (TEST_NAME): Likewise.
3980 * string/test-bcopy-ifunc.c: New file.
3981 * string/test-bzero-ifunc.c: Likewise.
3982 * string/test-memccpy-ifunc.c: Likewise.
3983 * string/test-memchr-ifunc.c: Likewise.
3984 * string/test-memcmp-ifunc.c: Likewise.
3985 * string/test-memcpy-ifunc.c: Likewise.
3986 * string/test-memmem-ifunc.c: Likewise.
3987 * string/test-memmove-ifunc.c: Likewise.
3988 * string/test-mempcpy-ifunc.c: Likewise.
3989 * string/test-memset-ifunc.c: Likewise.
3990 * string/test-rawmemchr-ifunc.c: Likewise.
3991 * string/test-stpcpy-ifunc.c: Likewise.
3992 * string/test-stpncpy-ifunc.c: Likewise.
3993 * string/test-strcasecmp-ifunc.c: Likewise.
3994 * string/test-strcasestr-ifunc.c: Likewise.
3995 * string/test-strcat-ifunc.c: Likewise.
3996 * string/test-strchr-ifunc.c: Likewise.
3997 * string/test-strchrnul-ifunc.c: Likewise.
3998 * string/test-strcmp-ifunc.c: Likewise.
3999 * string/test-strcpy-ifunc.c: Likewise.
4000 * string/test-strcspn-ifunc.c: Likewise.
4001 * string/test-strlen-ifunc.c: Likewise.
4002 * string/test-strncasecmp-ifunc.c: Likewise.
4003 * string/test-strncat-ifunc.c: Likewise.
4004 * string/test-strncmp-ifunc.c: Likewise.
4005 * string/test-strncpy-ifunc.c: Likewise.
4006 * string/test-strnlen-ifunc.c: Likewise.
4007 * string/test-strpbrk-ifunc.c: Likewise.
4008 * string/test-strrchr-ifunc.c: Likewise.
4009 * string/test-strspn-ifunc.c: Likewise.
4010 * string/test-strstr-ifunc.c: Likewise.
4011
de54b33a
L
4012 * debug/Makefile (tests-ifunc): New variable.
4013 (tests): Add $(tests-ifunc).
4014 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4015 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4016 * debug/test-stpcpy_chk-ifunc.c: New file.
4017 * debug/test-strcpy_chk-ifunc.c: Likewise.
4018
88481c16
SP
40192012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4020
4021 [BZ #13601]
4022 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4023 header is not read in.
4024
135948bd
JM
40252012-10-19 Joseph Myers <joseph@codesourcery.com>
4026
89f1c388
JM
4027 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4028 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4029 directly. Pass built executable to script as
4030 $(built-program-cmd).
4031 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4032 $testprogram without using LD_LIBRARY_PATH and $ldso.
4033
e40a0d21
JM
4034 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4035 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4036 $(rtld-installed-name).
4037 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4038 (rtld_installed_name): Likewise.
4039 (library_path): Likewise.
4040 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4041 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4042 $(run-program-prefix) to tst-tables.sh.
4043 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4044 it to run tst-table-from and tst-table-to.
4045 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4046 Pass it to tst-table.sh.
4047 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4048 $(run-program-prefix) to tst-gettext.sh.
4049 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4050 tst-translit.sh.
4051 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4052 tst-gettext2.sh.
4053 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4054 to run tst-gettext.
4055 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4056 to run tst-gettext2.
4057 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4058 to run tst-translit.
4059 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4060 $(run-program-prefix) to tst-mtrace.sh.
4061 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4062 to run tst-mtrace.
4063 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4064 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4065 $(rtld-installed-name).
4066 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4067 (rtld_installed_name): Likewise.
4068 (run_program_prefix): New variable. Use it to run wordexp-test.
4069
728e272a
JM
4070 * Makeconfig (ARCH): Remove all definitions.
4071 (machine): Likewise.
4072 [ARCH]: Remove conditional code.
4073 [!objdir]: Give error.
4074 [!objdir] (objpfx): Remove.
4075 [!objdir] (common-objpfx): Likewise.
4076 [!objdir] (common-objdir): Likewise.
4077 * configure.in (config_makefile): Remove. Hardcode Makefile in
4078 AC_CONFIG_FILES call.
4079 * configure: Regenerated.
4080
d528cdcf
JM
4081 [BZ #13888]
4082 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4083 or TMPDIR.
4084 (testout): Likewise.
4085
135948bd
JM
4086 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4087 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4088 $(rtld-installed-name).
4089 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4090 (rtld_installed_name): Likwise.
4091 (runit): Remove function.
4092 (run_getconf): New variable, Use it for running getconf binary.
4093
38c78296
L
40942012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4095
4096 [BZ #14716]
4097 * string/test-memmem.c (check_result): New function.
4098 (do_one_test): Use it.
4099 (check1): New function.
4100 (test_main): Use it.
4101
d077f65f
MT
41022012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4103
4104 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4105
ced52c71
JM
41062012-10-18 Joseph Myers <joseph@codesourcery.com>
4107
4108 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4109 (_G_LSEEK64): Likewise.
4110 (_G_MMAP64): Likewise.
4111 (_G_FSTAT64): Likewise.
4112 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4113 (_G_LSEEK64): Likewise.
4114 (_G_MMAP64): Likewise.
4115 (_G_FSTAT64): Likewise.
4116 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4117 unconditional. Call __mmap64 directly.
4118 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4119 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4120 __lseek64 directly.
4121 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4122 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4123 __mmap64 directly.
4124 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4125 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4126 __lseek64 directly.
4127 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4128 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4129 __lseek64 directly.
4130 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4131 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4132 __lseek64 directly.
4133 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4134 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4135 __fxstat64 directly.
4136 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4137 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4138 unconditional.
4139 (freopen64) [!_G_OPEN64]: Remove conditional code.
4140 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4141 unconditional.
4142 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4143 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4144 unconditional.
4145 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4146 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4147 unconditional.
4148 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4149 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4150 unconditional.
4151 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4152 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4153 unconditional.
4154 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4155 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4156 unconditional.
4157 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4158 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4159 unconditional.
4160 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4161
b741de23
SP
41622012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4163
4164 [BZ #12140]
4165 * manual/memory.texi (Malloc Tunable Parameters): Add note
4166 about free list pointers overwriting some perturb bytes.
4167 Wording suggested by Roland McGrath.
4168
f9b9d9c9
JM
41692012-10-17 Joseph Myers <joseph@codesourcery.com>
4170
4171 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4172 (lgamma_test): Likewise.
4173 (tgamma_test): Likewise.
4174
172a631a
FW
41752012-10-16 Florian Weimer <fweimer@redhat.com>
4176
4177 [BZ #14700]
4178 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4179 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4180
e9f37252
MK
41812012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4182
4183 * NEWS: Mention BZ #14716.
4184 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4185 when removing AVAILABLE1_USES_J macro.
4186
d394eb74
L
41872012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4188
4189 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4190 (__bswap_64): __uint64_t for unsigned 64-bit int.
4191
ca38dc17
AS
41922012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4193
4194 * include/string.h (memmem): Declare libc hidden alias.
4195 * string/memmem.c (memmem): Define libc hidden alias.
4196 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4197 __read, __close instead of open, read, close.
4198
9a387d1f
L
41992012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4200
ac49ecaf
L
4201 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4202 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4203 global and hidden.
4204 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4205 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4206 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4207 Likewise.
4208 (__rawmemchr_sse2): Likewise.
4209 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4210 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4211 (__strchr_sse2): Likewise.
4212 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4213 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4214 (__strcasecmp_sse2): Likewise.
4215 (__strncasecmp_sse2): Likewise.
4216 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4217 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4218 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4219 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4220 (__strrchr_sse2): Likewise.
4221 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4222 ifunc-impl-list.c.
4223 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4224 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4225 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4226 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4227 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4228 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4229 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4230 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4231 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4232 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4233 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4234 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4235 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4236 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4237 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4238 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4239 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4240 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4241 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4242 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4243 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4244 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4245 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4246 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4247 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4248 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4249 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4250 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4251 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4252 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4253
b090e8ea
L
4254 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4255 global and hidden.
4256 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4257 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4258 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4259 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4260 Likewise.
4261 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4262 Likewise.
4263 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4264 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4265 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4266 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4267 ifunc-impl-list.c.
4268 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4269 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4270 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4271 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4272 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4273 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4274 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4275 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4276 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4277 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4278 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4279 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4280 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4281 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4282 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4283 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4284 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4285 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4286 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4287 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4288 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4289 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4290 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4291 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4292 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4293 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4294 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4295 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4296 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4297 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4298 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4299 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4300 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4301 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4302 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4303 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4304 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4305 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4306 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4307 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4308 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4309
11dd4af6
L
4310 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4311 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4312 * include/ifunc-impl-list.h: New file.
4313 * misc/ifunc-impl-list.c: Likewise.
4314 * misc/Makefile (routines): Add ifunc-impl-list.
4315 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4316 * string/test-string.h: Include <ifunc-impl-list.h>.
4317 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4318 impl_array): New variables.
4319 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4320 are defined.
4321 (test_init): Call __libc_ifunc_impl_list to initialize
4322 func_list if TEST_IFUNC and TEST_NAME are defined.
4323
9a387d1f
L
4324 * string/Makefile (strop-tests): Add bcopy and bzero.
4325 * string/test-bcopy.c: New file.
4326 * string/test-bzero.c: Likewise.
4327 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4328 defined.
4329 * string/test-memset.c: Support bzero test if TEST_BZERO is
4330 defined.
4331 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4332 __libc_memmove.
4333 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4334 __libc_memset.
4335 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4336 of memset.
4337
472371b9
JM
43382012-10-10 Joseph Myers <joseph@codesourcery.com>
4339
1e4a9536
JM
4340 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4341 * configure: Regenerated.
4342
d173d12e
JM
4343 * Makeconfig (+link-static-before-libc): Don't include
4344 $(link-static-libc).
4345
472371b9
JM
4346 * libio/libio.h (_IO_pos_t): Remove.
4347
89a3ad0b
AO
43482012-10-10 Alexandre Oliva <aoliva@redhat.com>
4349
4350 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4351 McGrath.
4352
e7451425
AO
43532012-10-10 Alexandre Oliva <aoliva@redhat.com>
4354
4355 * crypt/crypt-entry.c: Include fips-private.h.
4356 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4357 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4358 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4359 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4360
4ba74a35
AO
43612012-10-10 Alexandre Oliva <aoliva@redhat.com>
4362
4363 * crypt/crypt-private.h: Include stdbool.h.
4364 (_ufc_setup_salt_r): Return bool.
4365 * crypt/crypt-entry.c: Include errno.h.
4366 (__crypt_r): Return NULL with EINVAL for bad salt.
4367 * crypt/crypt_util.c (bad_for_salt): New.
4368 (_ufc_setup_salt_r): Check that salt is long enough and within
4369 the specified alphabet.
4370 * crypt/badsalttest.c: New file.
4371 * crypt/Makefile (tests): Add it.
4372 ($(objpfx)badsalttest): New.
4373
f96f1242
MK
43742012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4375
4376 * NEWS: Add entry for BZ #14602.
4377
0e8e0c1c
JM
43782012-10-09 Joseph Myers <joseph@codesourcery.com>
4379
4380 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4381 type-generic.
4382 * math/libm-test.inc: Update comment listing what functions and
4383 macros are tested.
4384 (isgreater_test): New function.
4385 (isgreaterequal_test): Likewise.
4386 (isless_test): Likewise.
4387 (islessequal_test): Likewise.
4388 (islessgreater_test): Likewise.
4389 (isunordered_test): Likewise.
4390 (main): Call the new functions.
4391
273edc5e
RM
43922012-10-09 Roland McGrath <roland@hack.frob.com>
4393
b8493de0
RM
4394 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4395 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4396 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4397 * sysdeps/i386/configure: Regenerated.
4398 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4399 * sysdeps/mach/configure: Regenerated.
4400 * sysdeps/mach/hurd/configure: Regenerated.
4401 * sysdeps/powerpc/configure: Regenerated.
4402 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4403 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4404 * sysdeps/s390/s390-32/configure: Regenerated.
4405 * sysdeps/s390/s390-64/configure: Regenerated.
4406 * sysdeps/sh/configure: Regenerated.
4407 * sysdeps/sparc/configure: Regenerated.
4408 * sysdeps/unix/sysv/linux/configure: Regenerated.
4409 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4410 * sysdeps/x86_64/configure: Regenerated.
4411
273edc5e
RM
4412 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4413 defined. Don't check if MAP is NULL.
4414
c8450f70
JM
44152012-10-09 Joseph Myers <joseph@codesourcery.com>
4416
4417 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4418 (_G_stat64): Likewise.
4419 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4420 (_G_stat64): Likewise.
4421 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4422 instead of struct _G_stat64.
4423 * libio/fileops.c (mmap_remap_check): Likewise.
4424 (decide_maybe_mmap): Likewise.
4425 (_IO_new_file_seekoff): Likewise.
4426 (_IO_file_stat): Likewise.
4427 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4428 _G_off64_t.
4429 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4430 instead of struct _G_stat64.
4431 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4432
57e605ba
MK
44332012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4434
4435 [BZ #14602]
4436 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4437 Replace with ...
4438 (CHECK_EOL): New macro.
4439 (two_way_short_needle): Check beginning of haystack for EOL. Use
4440 CHECK_EOL.
4441 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4442 Replace with CHECK_EOL.
4443 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4444 Replace with CHECK_EOL.
4445
ef1bb361
JM
44462012-10-08 Joseph Myers <joseph@codesourcery.com>
4447
4448 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4449 type-generic.
4450 * math/libm-test.inc: Update comment listing what functions and
4451 macros are tested.
4452 (finite_test): New function.
4453 (isinf_test): Likewise.
4454 (isnan_test): Likewise.
4455 (fpclassify_test): Test subnormal input.
4456 (isfinite_test): Likewise.
4457 (isnormal_test): Likewise.
4458 (main): Call the new functions.
4459
55f11534
JN
44602012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4461
4462 [BZ #14660]
4463 * Makerules (%.dynsym): Force C locale when running
4464 $(OBJDUMP) --dynamic-syms.
4465
1ab29350
AS
44662012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4467
4468 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4469 <stdint.h>.
4470
f1ecb7ef
DM
44712012-10-06 David S. Miller <davem@davemloft.net>
4472
4473 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4474 upper 32-bits of the length value in %o2 since we use branch-on-register
4475 tests which consider the entire 64-bit register.
4476
5d41d91a
L
44772012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4478
4479 * string/test-strstr.c (check2): Add a test for page boundary.
4480
3baddb72
DM
44812012-10-05 David S. Miller <davem@davemloft.net>
4482
4483 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4484 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4485 file.
4486 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4487 sysdep_routines.
4488 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4489 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4490 and bzero when HWCAP_SPARC_CRYPTO is present.
4491
9cee5585
L
44922012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4493
d7e0dab9
L
4494 [BZ #14602]
4495 * string/test-strstr.c (check2): New function.
4496 (test_main): Call check2.
4497
03759f47
L
4498 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4499 and bug-strchr1.
4500 * string/bug-strcasestr1.c (do_test): Moved to ...
4501 * string/test-strcasestr.c (check1): Here. New function.
4502 (do_one_test): Break out result checking code into ...
4503 (check_result): This. New function.
4504 (do_one_test): Call check_result.
4505 (test_main): Call check1.
4506 * string/bug-strchr1.c (do_test): Moved to ...
4507 * string/test-strchr.c (check1): Here. New function.
4508 (do_one_test): Break out result checking code into ...
4509 (check_result): This. New function.
4510 (do_one_test): Call check_result.
4511 (test_main): Call check1.
4512 * string/bug-strstr1.c (main): Moved to ...
4513 * string/test-strchr.c (check1): Here. New function.
4514 (do_one_test): Break out result checking code into ...
4515 (check_result): This. New function.
4516 (do_one_test): Call check_result.
4517 (test_main): Call check1.
4518 * string/bug-strcasestr1.c: Removed.
4519 * string/bug-strchr1.c: Likewise.
4520 * string/bug-strstr1.c: Likewise.
4521
53cea63e
L
4522 * elf/Makefile (dl-routines): Add hwcaps.
4523 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4524 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4525 (_dl_important_hwcaps): Moved to ...
4526 * elf/dl-hwcaps.c: Here. New file.
4527 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4528
9cee5585 4529 [BZ #14557]
bb859b06
L
4530 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4531 if IS_IN_rtld isn't defined.
4532
9cee5585
L
4533 * elf/dl-support.c (_dl_sysinfo_map): New.
4534 Include "get-dynamic-info.h" and "setup-vdso.h".
4535 (_dl_non_dynamic_init): Call setup_vdso.
4536 * elf/dynamic-link.h: Don't include <assert.h>.
4537 (elf_get_dynamic_info): Moved to ...
4538 * elf/get-dynamic-info.h: Here. New file.
4539 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4540 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4541 * elf/setup-vdso.h: Here. New file.
4542 * elf/rtld.c: Include "setup-vdso.h".
4543 (dl_main): Call setup_vdso.
4544
23c31b76
JM
45452012-10-05 Joseph Myers <joseph@codesourcery.com>
4546
28234b07
JM
4547 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4548 creal in comment listing functions tested. List finite, isinf,
4549 isnan, isless, islessequal, isgreater, isgreaterequal,
4550 islessgreater, isunordered, lgamma_r and pow10 as functions and
4551 macros not tested. Mention which functions not tested are aliases
4552 for other functions. Fix typo. Note that signs of NaNs are not
4553 tested.
4554
23c31b76
JM
4555 * scripts/config.guess: Update from config.git.
4556 * scripts/config.sub: Likewise.
4557
9043e228
RM
45582012-10-04 Roland McGrath <roland@hack.frob.com>
4559
4560 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4561 * misc/madvise.c (madvise): Renamed to __madvise.
4562 Make madvise a weak alias.
4563 * include/sys/mman.h: Declare __madvise.
4564 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4565 * sysdeps/unix/syscalls.list
4566 (madvise): Make __madvise the strong name, and madvise a weak alias.
4567 * sysdeps/unix/sysv/linux/syscalls.list
4568 (madvise, mmap): Remove redundant entries.
4569 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4570 * malloc/malloc.c (mtrim): Likewise.
4571 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4572
f57f8055
RM
45732012-10-03 Roland McGrath <roland@hack.frob.com>
4574
4575 * sysdeps/mach/hurd/dl-cache.c: File removed.
4576 * config.h.in (USE_LDCONFIG): New #undef.
4577 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4578 * configure: Regenerated.
4579 * elf/Makefile (dl-routines): Add dl-cache only under
4580 [$(use-ldconfig) = yes].
4581 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4582 cache on [USE_LDCONFIG].
4583 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4584 [USE_LDCONFIG].
4585 * elf/rtld.c (dl_main): Likewise.
4586
5bb0c10a
PT
45872012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4588
4589 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4590 _SC_LEVEL4_CACHE_LINESIZE.
4591
010188c6
RM
45922012-10-03 Roland McGrath <roland@hack.frob.com>
4593
4594 * sysdeps/unix/bsd/confstr.h: File removed.
4595
b6c5ec07
AO
45962012-10-02 Alexandre Oliva <aoliva@redhat.com>
4597
4598 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4599 sys/sdt-config.h.
4600
408223d4
RM
46012012-10-02 Roland McGrath <roland@hack.frob.com>
4602
4603 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4604 Make 'mapoff' field ElfW(Off) rather than off_t.
4605
bb9510dc
DL
46062012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4607
fc997c6e
DL
4608 * nscd/Makefile: Remove nscd-cflags and all its users.
4609 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4610 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4611
bb9510dc
DL
4612 [BZ #10631]
4613 * malloc.c (malloc_printerr): Clarify error message.
4614
05699367
L
46152012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4616
4617 [BZ #14648]
4618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4619 Set bit_FMA_Usable if FMA is supported.
4620 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4621 macro.
4622 (bit_FMA4_Usable): Updated.
4623 (index_FMA_Usable): New macro.
4624 (CPUID_FMA): Likewise
4625 (HAS_FMA): Defined with bit_FMA_Usable.
4626
51367701
RM
46272012-10-01 Roland McGrath <roland@hack.frob.com>
4628
4629 * bits/types.h (__swblk_t): Type removed.
4630 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4631 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4632 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4633 (__SWBLK_T_TYPE): Likewise.
4634 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4635 (__SWBLK_T_TYPE): Likewise.
4636 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4637 (__SWBLK_T_TYPE): Likewise.
4638 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4639 (__SWBLK_T_TYPE): Likewise.
4640
4d57bf63 46412012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4642 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4643
4644 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4645 (xdr_mapname): Use YPMAXMAP as maxsize.
4646 (xdr_peername): Use YPMAXPEER as maxsize.
4647 (xdr_keydat): Use YPAXRECORD as maxsize.
4648 (xdr_valdat): Use YPMAXRECORD as maxsize.
4649
93c65d43
RM
46502012-10-01 Roland McGrath <roland@hack.frob.com>
4651
497a03d6
RM
4652 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4653
93c65d43
RM
4654 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4655 * csu/init-first.c: ... here.
4656 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4657 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4658 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4659 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4660 * sysdeps/i386/init-first.c: File removed.
4661 * sysdeps/sh/init-first.c: File removed.
4662
bec749fd
JM
46632012-10-01 Joseph Myers <joseph@codesourcery.com>
4664
4665 [BZ #14645]
4666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4667 if x * y might underflow to zero and z is zero.
4668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4669 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4670 * math/libm-test.inc (min_subnorm_value): New variable.
4671 (fma_test): Add more tests.
4672 (fma_test_towardzero): Likewise.
4673 (fma_test_downward): Likewise
4674 (fma_test_upward): Likewise.
4675 (initialize): Set min_subnorm_value.
4676
8ec5b013
JM
46772012-09-29 Joseph Myers <joseph@codesourcery.com>
4678
4679 [BZ #14638]
4680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4681 0 + 0.
4682 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4683 mode for addition resulting in exact zero.
4684 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4685 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4686 exact 0 + 0.
4687 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4688 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4689 * math/libm-test.inc (fma_test): Add more tests.
4690 (fma_test_towardzero): New function.
4691 (fma_test_downward): Likewise.
4692 (fma_test_upward): Likewise.
4693 (main): Call the new functions.
4694
b1fa802e
DM
46952012-09-28 David S. Miller <davem@davemloft.net>
4696
4697 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4698
d3b9fd9e
RM
46992012-09-28 Roland McGrath <roland@hack.frob.com>
4700
ea4d37b3
RM
4701 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4702 instead of SIGALRM.
4703
ac51c949
RM
4704 * sysdeps/gnu/_G_config.h: Moved to ...
4705 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4706 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4707 * sysdeps/generic/_G_config.h: ... here.
4708
28c195f7
RM
4709 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4710
848917f9
RM
4711 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4712
6bacf05b
RM
4713 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4714 Conditionalize target on [libnss_test1.so-version].
4715
91363dbb
RM
4716 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4717
cc87f7d8
RM
4718 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4719 (elfobjdir): Move out of conditionals.
4720
b1c608fe
RM
4721 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4722 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4723 (__nss_lookup_function): Conditionalize label remove_from_tree on
4724 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4725
1d9a6d96
DM
47262012-09-28 David S. Miller <davem@davemloft.net>
4727
4728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4729 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4730 file.
4731 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4732 sysdep_routines.
4733 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4735 when HWCAP_SPARC_CRYPTO is present.
4736
72581615
PT
47372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4738
4739 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4740
715a900c
JL
47412012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4742
4743 [BZ #6530]
4744 * stdio-common/vfprintf.c (process_string_arg): Revert
4745 2000-07-22 change.
4746
47472011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4748
4749 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4750 for testcase.
4751 * stdio-common/tst-sprintf.c: Include <locale.h>
4752 (main): Test sprintf's handling of incomplete multibyte
4753 characters.
4754
9bac1d86
L
47552012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4756
4757 * elf/dl-runtime.c (VERSYMIDX): Removed.
4758 * elf/dl-version.c (VERSYMIDX): Likewise.
4759 * elf/do-rel.h (VERSYMIDX): Likewise.
4760 (VALIDX): Likewise.
4761 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4762 * elf/rtld.c (VALIDX): Likewise.
4763 (ADDRIDX): Likewise.
9bac1d86
L
4764 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4765 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4766 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4767 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4768 (VALIDX): Likewise.
4769 (ADDRIDX): Likewise.
9bac1d86 4770
b31606c0
PT
47712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4772
4773 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4774
11541177
JL
47752012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4776
4777 [BZ #11438]
4778 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4779 to global scope.
4780 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4781 addresses are in the same scope as 192.0.2/24.
4782 * posix/gai.conf: Document new scope table defaults.
4783
adb26fae
SP
47842012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4785
4786 [BZ #5298]
4787 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4788 for ftell. Compute offsets from write pointers instead.
4789 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4790
4573c6b0
SP
47912012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4792
4793 [BZ #14543]
4794 * libio/Makefile (tests): New test case tst-fseek.
4795 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4796 combination works in wide mode.
4797 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4798 state when the external buffer state changes.
4799
aa9bbfe6
DM
48002012-09-27 David S. Miller <davem@davemloft.net>
4801
4802 [BZ #14376]
4803 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4804 pass reloc->r_addend in as the 'high' argument to
4805 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4806
784421e7
DM
4807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4808
c39bc8b8
PT
48092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4810
4811 * rt/tst-aio2.c: Include <pthread.h>.
4812 * rt/tst-aio3.c: Likewise.
4813
1ccc2399
SE
48142012-09-27 Steve Ellcey <sellcey@mips.com>
4815
4816 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4817
31ed4153
L
48182012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4819
25f5f885
L
4820 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4821 contents on [SHARED].
31ed4153 4822
b7bfe116
MP
48232012-09-26 Marek Polacek <polacek@redhat.com>
4824
4825 [BZ #14530]
4826 [BZ #13741]
4827 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4828 for C++ and GCC <4.3 as well as for non GCC compilers.
4829
43c4edba
MT
48302012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4831
4832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4833
6a1bf82f
RM
48342012-09-25 Roland McGrath <roland@hack.frob.com>
4835
4836 * Makefile.in (all, install): Declare with .PHONY.
4837 Reported by Michael Hope <michael.hope@linaro.org>.
4838
8ad11b9a
TMQMF
48392012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4840
4841 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4842 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4843 system header.
4844 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4845 Likewise.
4846 (sydep_routines): Add the new and the internal functions.
4847 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4848 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4850 (GLIBC_2.17): Add the new function.
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4852 (GLIBC_2.17): Likewise.
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4854 (GLIBC_2.17): Likewise.
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4856 (GLIBC_2.17): Likewise.
4857 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4858
7e2fca8d
AM
48592012-09-25 Alan Modra <amodra@gmail.com>
4860
4861 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4862 Add release barrier before setting once_control to say
4863 initialisation is done. Add hints on lwarx. Use macro in
4864 place of isync.
4865 (clear_once_control): Add release barrier.
4866
b87c4b24
JM
48672012-09-25 Joseph Myers <joseph@codesourcery.com>
4868
d032e0d2
JM
4869 [BZ #13629]
4870 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4871 specially.
4872 * math/s_clog10.c (__clog10): Likewise.
4873 * math/s_clog10f.c (__clog10f): Likewise.
4874 * math/s_clog10l.c (__clog10l): Likewise.
4875 * math/s_clogf.c (__clogf): Likewise.
4876 * math/s_clogl.c (__clogl): Likewise.
4877 * math/Makefile (libm-calls): Add x2y2m1.
4878 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4879 (__x2y2m1): Likewise.
4880 (__x2y2m1l): Likewise.
4881 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4882 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4883 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4884 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4885 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4886 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4887 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4888 * sysdeps/i386/fpu/libm-test-ulps: Update.
4889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4890
b87c4b24
JM
4891 [BZ #14621]
4892 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4893 int as type of variable DEPTH.
4894 (glob): Use size_t instead of int as type of variables NEWCOUNT
4895 and OLD_PATHC.
4896
6d3bf199
LD
48972012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4898
22bf5c17
LD
4899 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4900 Add s_sincosf-sse2.
4901 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4902 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4903 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4904 macros for using routine as __sincosf_ia32.
4905 Use macro for function declaration and weak_alias.
4906 * sysdeps/i386/fpu/libm-test-ulps: Update.
4907
4908 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4910
4911 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4912 subnormal argument.
4913 * math/s_cexpf.c (__cexpf): Likewise.
4914 * math/s_csinf.c (__csinf): Likewise.
4915 * math/s_csinhf.c (__csinhf): Likewise.
4916 * math/s_ctanf.c (__ctanf): Likewise.
4917 * math/s_ctanhf.c (__ctanhf): Likewise.
4918 * math/s_ccosh.c (__ccoshf): Likewise.
4919 * math/s_cexp.c (__cexpl): Likewise.
4920 * math/s_csin.c (__csin): Likewise.
4921 * math/s_csinh.c (__csinh): Likewise.
4922 * math/s_ctan.c (__ctan): Likewise.
4923 * math/s_ctanh.c (ctanh): Likewise.
4924 * math/s_ccoshl.c (__ccoshl): Likewise.
4925 * math/s_cexpl.c (__cexpl): Likewise.
4926 * math/s_csinl.c (__csinl): Likewise.
4927 * math/s_csinhl.c (__csinhl): Likewise.
4928 * math/s_ctanl.c (__ctanl): Likewise.
4929 * math/s_ctanhl.c (__ctanhl): Likewise.
4930
203e5603
JM
49312012-09-25 Joseph Myers <joseph@codesourcery.com>
4932
4933 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4934 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4935 (_IO_off_t): Define to __off_t, not _G_off_t.
4936 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4937 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4938 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4939 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4940 type of __dummy and __dummy2 fields.
4941 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4942 (_G_ssize_t): Likewise.
4943 (_G_off_t): Likewise.
4944 (_G_pid_t): Likewise.
4945 (_G_uid_t): Likewise.
4946 (_G_wchar_t): Likewise.
4947 (_G_wint_t): Likewise.
4948 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4949 (_G_ssize_t): Likewise.
4950 (_G_off_t): Likewise.
4951 (_G_pid_t): Likewise.
4952 (_G_uid_t): Likewise.
4953 (_G_wchar_t): Likewise.
4954 (_G_wint_t): Likewise.
4955 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4956 (_G_ssize_t): Likewise.
4957 (_G_off_t): Likewise.
4958 (_G_pid_t): Likewise.
4959 (_G_uid_t): Likewise.
4960 (_G_wchar_t): Likewise.
4961 (_G_wint_t): Likewise.
4962
9fab36eb
SP
49632012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4964
4965 * malloc/arena.c: Include malloc-sysdep.h.
4966 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4967 is sufficient to shrink the heap or an unmap is needed.
4968 * sysdeps/generic/malloc-sysdep.h: New file. Define
4969 new function check_may_shrink_heap.
4970 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4971 new function check_may_shrink_heap.
4972
2b4f00d1
SP
49732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4974
4975 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4976 comments.
4977
9a9028b1
DL
49782012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4979
57c69bef
DL
4980 * catgets/test-gencat.sh: Add "set -e".
4981 * elf/tst-pathopt.sh: Likewise.
4982 * grp/tst_fgetgrent.sh: Likewise.
4983 * iconvdata/run-iconv-test.sh: Likewise.
4984 * intl/tst-gettext.sh: Likewise.
4985 * intl/tst-gettext2.sh: Likewise.
4986 * intl/tst-gettext4.sh: Likewise.
4987 * intl/tst-gettext6.sh: Likewise.
4988 * intl/tst-translit.sh: Likewise.
4989 * io/ftwtest-sh: Likewise.
4990 * libio/test-freopen.sh: Likewise.
4991 * malloc/tst-mtrace.sh: Likewise.
4992 * posix/globtest.sh: Likewise.
4993 * posix/tst-getconf.sh: Likewise.
4994 * posix/wordexp-tst.sh: Likewise.
4995 * stdio-common/tst-printf.sh: Likewise.
4996 * stdio-common/tst-unbputc.sh: Likewise.
4997 * stdlib/tst-fmtmsg.sh: Likewise.
4998 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4999 * catgets/Makefile: Do not specify -e option when running
5000 testsuite shell scripts.
5001 * elf/Makefile: Likewise.
5002 * grp/Makefile: Likewise.
5003 * iconvdata/Makefile: Likewise.
5004 * intl/Makefile: Likewise.
5005 * io/Makefile: Likewise.
5006 * libio/Makefile: Likewise.
5007 * malloc/Makefile: Likewise.
5008 * posix/Makefile: Likewise.
5009 * stdio-common/Makefile: Likewise.
5010 * stdlib/Makefile: Likewise.
5011 * sysdeps/x86_64/Makefile: Likewise.
5012
9a9028b1
DL
5013 * io/ftwtest-sh: Add copyright header.
5014 * posix/globtest.sh: Likewise.
5015 * posix/tst-getconf.sh: Likewise.
5016 * posix/wordexp-tst.sh: Likewise.
5017 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5018
ced6f16e
L
50192012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5020
94b32c39
L
5021 [BZ #13679]
5022 * Makeconfig (+link): Defined as $(+link-static) if
5023 $(build-shared) isn't yes.
5024 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5025 isn't yes.
5026 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5027
189e935b
L
5028 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5029
ced6f16e
L
5030 [BZ #14562]
5031 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5032 new chunk size with MALLOC_ALIGN_MASK.
5033
a9f8e53a
JM
50342012-09-24 Joseph Myers <joseph@codesourcery.com>
5035
5036 [BZ #5044]
5037 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5038 <rounding-mode.h>.
5039 (__printf_fphex): Determine rounding using get_rounding_mode and
5040 round_away.
5041 * stdio-common/tst-printf-round.c (struct hex_test): New
5042 structure.
5043 (hex_tests): New variable.
5044 (test_hex_in_one_mode): New function.
5045 (do_test): Also run tests for hex float output.
5046
43153109
JM
50472012-09-21 Joseph Myers <joseph@codesourcery.com>
5048
5049 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5050 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5051 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5052 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5053 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5054 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5055 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5056 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5057
8a26625d
JM
50582012-09-20 Joseph Myers <joseph@codesourcery.com>
5059
5060 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5061 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5062 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5063 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5064
f3fd569c
DL
50652012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5066
5067 [BZ #14579]
5068 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5069 mode only.
5070 * elf/tst-rtld-load-self.sh: New test.
5071 * elf/Makefile: Run it.
5072
63bbedd4
JM
50732012-09-18 Joseph Myers <joseph@codesourcery.com>
5074
5075 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5076 (tst-writev-ENV): Remove.
5077 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5078
626f8b6a
CM
50792012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5080
5081 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5082
b7aaa4d6
JM
50832012-09-17 Joseph Myers <joseph@codesourcery.com>
5084
5085 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5086 unconditional.
5087 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5088 Likewise.
5089 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5090 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5091 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5092 Likewise.
5093
65513990
L
50942012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5095
5096 [BZ #14587]
5097 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5098 * config.make.in (have-cpp-asm-debuginfo): Removed.
5099 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5100 * configure: Regenerated.
5101
784761be
JM
51022012-09-14 Joseph Myers <joseph@codesourcery.com>
5103
5104 [BZ #5044]
5105 * stdio-common/printf_fp.c: Include <stdbool.h> and
5106 <rounding-mode.h>.
5107 (___printf_fp): Determine rounding using get_rounding_mode and
5108 round_away.
5109 * stdio-common/tst-printf-round.c: New file.
5110 * stdio-common/Makefile (tests): Add tst-printf-round.
5111 (link-libm): New variable.
5112 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5113
9503345f
L
51142012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5115
5116 [BZ #14576]
5117 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5118 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5119 Likewise.
5120 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5121 Likewise.
5122
ad35fc00
JM
51232012-09-13 Joseph Myers <joseph@codesourcery.com>
5124
5125 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5126 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5127 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5128 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5129
6c9b0f68
JM
51302012-09-12 Joseph Myers <joseph@codesourcery.com>
5131
5132 [BZ #14518]
5133 * include/rounding-mode.h: New file.
5134 * sysdeps/generic/get-rounding-mode.h: Likewise.
5135 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5136 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5137 (MAX_VALUE): New macro.
5138 (MIN_VALUE): Likewise.
5139 (overflow_value): New function.
5140 (underflow_value): Likewise.
5141 (round_and_return): Use overflow_value and underflow_value to
5142 determine return values in overflow and underflow cases. Use
5143 round_away to determine rounding depending on rounding mode.
5144 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5145 determine return values in overflow and underflow cases.
5146 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5147 (struct test_results): New structure.
5148 (struct test): Use struct test_results to store expected results
5149 for all rounding modes.
5150 (TEST): Include expected results for all rounding modes.
5151 (test_in_one_mode): New function.
5152 (do_test): Use test_in_one_mode to compute and check results.
5153 Check results for all rounding modes.
5154 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5155 $(link-libm).
5156
19fcedd5
AM
51572012-12-09 Allan McRae <allan@archlinux.org>
5158
1e9d84cd 5159 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5160
8bbfd2f1
JM
51612012-09-11 Joseph Myers <joseph@codesourcery.com>
5162
5163 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5164 (_G_int32_t): Likewise.
5165 (_G_uint16_t): Likewise.
5166 (_G_uint32_t): Likewise.
5167 (_G_HAVE_BOOL): Likewise.
5168 (_G_HAVE_ATEXIT): Likewise.
5169 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5170 (_G_HAVE_IO_FILE_OPEN): Likewise.
5171 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5172 (_G_int32_t): Likewise.
5173 (_G_uint16_t): Likewise.
5174 (_G_uint32_t): Likewise.
5175 (_G_HAVE_BOOL): Likewise.
5176 (_G_HAVE_ATEXIT): Likewise.
5177 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5178 (_G_HAVE_IO_FILE_OPEN): Likewise.
5179 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5180 (_G_int32_t): Likewise.
5181 (_G_uint16_t): Likewise.
5182 (_G_uint32_t): Likewise.
5183 (_G_HAVE_BOOL): Likewise.
5184 (_G_HAVE_ATEXIT): Likewise.
5185 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5186 (_G_HAVE_IO_FILE_OPEN): Likewise.
5187
b1dc5912
L
51882012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5189
5190 * csu/libc-tls.c: Update copyright years.
5191
0e886ef9
JM
51922012-09-10 Joseph Myers <joseph@codesourcery.com>
5193
28361c5e
JM
5194 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5195 [!_G_USING_THUNKS]: Remove conditional code.
5196 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5197 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5198
0e886ef9
JM
5199 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5200 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5201 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5202 (_G_VTABLE_LABEL_PREFIX): Likewise.
5203 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5204 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5205 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5206 (_G_VTABLE_LABEL_PREFIX): Likewise.
5207 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5208 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5209 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5210 (_G_VTABLE_LABEL_PREFIX): Likewise.
5211 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5212
bcba7aa2
L
52132012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5214
5215 * libio/Makefile: Include ../Makeconfig before tests.
5216 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5217 only if $(build-shared) is yes.
5218
06585ee8
L
5219 * iconv/gconv_db.c: Update copyright years.
5220
80ccd52c
LD
52212012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5222
5223 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5224 unwind info if defined PIC. Fix special cases description.
5225 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5226
5227 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5228 DP_HI_MASK entry.
5229 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5230
691bc9c1
L
52312012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5232
3d9b46b3
L
5233 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5234
de2139a9
L
5235 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5236 is NULL.
5237
5ca78dd0
L
5238 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5239 (LDLIBS-tst-chk4): This.
5240 (LDFLAGS-tst-chk5): Renamed to ...
5241 (LDLIBS-tst-chk5): This.
5242 (LDFLAGS-tst-chk6): Renamed to ...
5243 (LDLIBS-tst-chk6): This.
5244 (LDFLAGS-tst-lfschk4): Renamed to ...
5245 (LDLIBS-tst-lfschk4): This.
5246 (LDFLAGS-tst-lfschk5): Renamed to ...
5247 (LDLIBS-tst-lfschk5): This.
5248 (LDFLAGS-tst-lfschk6): Renamed to ...
5249 (LDLIBS-tst-lfschk6): This.
5250
691bc9c1
L
5251 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5252 on $(common-objpfx)soversions.mk.
5253
65cafb1c
JM
52542012-09-07 Joseph Myers <joseph@codesourcery.com>
5255
5256 [BZ #10014]
5257 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5258 example host name.
5259
c78ab094
SP
52602012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5261
5262 * malloc/arena.c (arena_get_retry): New function that gets
5263 another arena for the caller to try its request on.
5264 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5265 current arena cannot fulfill the request.
5266 (__libc_memalign): Likewise.
5267 (__libc_memalign): Likewise.
5268 (__libc_pvalloc): Likewise.
5269 (__libc_calloc): Likewise.
5270
01f49f59
JT
52712012-09-05 John Tobey <john.tobey@gmail.com>
5272
5273 [BZ #13542]
5274 * manual/arith.texi (Operations on Complex): Fix description
5275 of carg branch cut.
5276
4c23fed5
JM
52772012-09-06 Joseph Myers <joseph@codesourcery.com>
5278
1d3c8572
JM
5279 [BZ #10014]
5280 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5281 host name.
5282
4c23fed5
JM
5283 [BZ #10038]
5284 * manual/memory.texi (Memory): Make order of menu items match
5285 order of sections.
5286
04570aaa
L
52872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5288
5289 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5290 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5291 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5292
b80af2f4
L
52932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5294
5295 * csu/libc-tls.c (static_dtv): Renamed to ...
5296 (_dl_static_dtv): This. Make it global.
5297 (_dl_initial_dtv): Removed.
5298 (__libc_setup_tls): Updated.
5299 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5300 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5301 DL_INITIAL_DTV.
5302
2abe9f15
PM
53032012-09-06 Petr Machata <pmachata@redhat.com>
5304
5305 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5306 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5307 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5308 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5309
0948c3af
L
53102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5311
5312 [BZ #14545]
5313 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5314 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5315 freeing dtv[-1].
5316
a5055ad1
L
53172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5318
5319 [BZ #14544]
5320 * Makeconfig (link-static-before-libc): Replace $(+prector)
5321 with $(+prectorT).
5322 (link-static-after-libc): Replace $(+postctor) with
5323 $(+postctorT).
5324 (link-bounded): Replace $(+prector)/$(+postctor) with
5325 $(+prectorT)/$(+postctorT).
5326 (+prectorT): New macro.
5327 (+postctorT): Likewise.
5328
ed8c2ecd
JM
53292012-09-06 Joseph Myers <joseph@codesourcery.com>
5330
5331 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5332 (round_str): Handle values above the maximum for IBM long double
5333 as inexact.
5334 * stdlib/tst-strtod-round.c (tests): Regenerated.
5335
14c996c8
AK
53362012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5337
5338 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5339 assembler flag.
5340 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5341 zarch_nohighgprs around the zarch optimized routines.
5342 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5343 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5344 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5345 for zarch.
5346
430d6ce6
DM
53472012-09-05 David S. Miller <davem@davemloft.net>
5348
5349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5350
ff04dda4
DM
5351 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5352 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5353 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5354 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5355 entries.
5356
24d4e01b
AO
53572012-09-05 Alexandre Oliva <aoliva@redhat.com>
5358
5359 * malloc/arena.c: Fold copyright years.
5360 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5361
61d58174
AO
53622012-09-05 Alexandre Oliva <aoliva@redhat.com>
5363
5364 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5365
20196a5e
AO
53662012-09-05 Alexandre Oliva <aoliva@redhat.com>
5367
5368 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5369
5c447383
AO
53702012-09-05 Alexandre Oliva <aoliva@redhat.com>
5371
5372 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5373 change internal state upon failure.
5374
fad64255
AO
53752012-09-05 Alexandre Oliva <aoliva@redhat.com>
5376
5377 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5378 * malloc/memusage.c (mmap): Likewise.
5379 (mmap64, mremap): Likewise. Adjust name in comment.
5380
1ffb8c90
SP
53812012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5382
5383 * libio/fileops.c: Fix typos in comments.
5384 * libio/oldfileops.c: Likewise.
5385 * libio/wfileops.c: Likewise.
5386
6ef9cc37
SP
53872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5388
5389 [BZ #1349]
5390 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5391 (tst-malloc-usable-ENV): Set environment for test case.
5392 * malloc/hooks.c (malloc_check_get_size): New function to get
5393 requested size.
5394 * malloc/malloc.c (musable): Use malloc_check_get_size.
5395 * malloc/tst-malloc-usable.c: New test case.
5396
4d038ae3
AS
53972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5398
5399 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5400
c4e85184
AM
54012012-09-05 Allan McRae <allan@archlinux.org>
5402
b9dafc56 5403 [BZ #13966]
c4e85184
AM
5404 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5405 determine header location.
5406 * configure: Regenerated.
5407
e1343020
AS
54082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5409
5410 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5411 float format.
5412 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5413 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5414 format.
e1343020
AS
5415 (test): Regenerate.
5416
0a9f1987
DM
54172012-09-04 David S. Miller <davem@davemloft.net>
5418
5419 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5420 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5421 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5422
29237804
FW
54232012-09-04 Florian Weimer <fweimer@redhat.com>
5424
5425 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5426 failures.
5427
edb3cb88
FW
5428 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5429
60160d83
JM
54302012-09-04 Joseph Myers <joseph@codesourcery.com>
5431
5432 [BZ #9914]
5433 * libio/iogetdelim.c: Include <limits.h>.
5434 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5435 + len + 1 would overflow.
5436
bcd6c8dc
AJ
54372012-09-03 Andreas Jaeger <aj@suse.de>
5438
5439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5440 * sysdeps/i386/fpu/libm-test-ulps: Update.
5441
4ffffbd2
LD
54422012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5443
5444 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5445 Add s_sinf-sse2, s_conf-sse2.
5446
5447 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5448 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5449 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5450 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5451
5452 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5453 for using routine as __sinf_ia32.
5454 Use macro for function declaration and weak_alias.
5455 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5456 for using routine as __cosf_ia32.
5457 Use macro for function declaration and weak_alias.
5458
5459 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5460 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5461
5462 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5463 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5465
5466 * math/libm-test.inc (cos_test): Add more test cases.
5467 (sin_test): Likewise.
5468 (sincos_test): Likewise.
5469
511fa286
AK
54702012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5471
5472 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5473 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5474 hidden.
5475 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5476
5f30cfec
L
54772012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5478
5479 [BZ #14538]
5480 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5481 first element of the GOT.
5482 (elf_machine_load_address): Return the difference between
5483 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5484
0786794f
AM
54852012-09-01 Allan McRae <allan@archlinux.org>
5486
5f30cfec
L
5487 [BZ #13412]
5488 * configure.in (AWK): Require gawk version 3.0 or later.
5489 * configure: Regenerated.
0786794f 5490
26889eac
JM
54912012-09-01 Joseph Myers <joseph@codesourcery.com>
5492
5493 * sysdeps/unix/sysv/linux/kernel-features.h
5494 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5495 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5496 [__NR_clock_getres]: Make code unconditional.
5497 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5498 (clock_getcpuclockid): Remove code left unreachable by removal of
5499 conditionals.
5500 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5501 code unconditional.
5502 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5503 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5504 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5505 Make code unconditional.
5506 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5507 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5508 * sysdeps/unix/sysv/linux/clock_settime.c
5509 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5510 conditional code.
5511 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5512 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5513
d22e28b0
L
55142012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5515
5516 [BZ #14476]
5517 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5518 scripts/test-installation.pl.
5519
5520 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5521 and $ld_so_version if it is set.
5522
050af9c4
SP
55232012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5524
5525 [BZ #14516]
5526 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5527 failure if reading from procfs failed.
5528 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5529
ad845c0b
JM
55302012-08-27 Joseph Myers <joseph@codesourcery.com>
5531
5532 * sysdeps/unix/sysv/linux/kernel-features.h
5533 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5534 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5535 Remove conditional code.
5536 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5537 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5538 Remove conditional code.
5539 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5540 * sysdeps/unix/sysv/linux/i386/fxstat.c
5541 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5542 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5543 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5544 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5545 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5546 * sysdeps/unix/sysv/linux/i386/lxstat.c
5547 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5548 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5549 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5550 Remove conditional code.
5551 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5552 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5553 Remove conditional code.
5554 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5555 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5556 <kernel-features.h>.
5557 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5558 Remove.
5559 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5560 Remove conditional code.
5561 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5562 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5563 Remove conditional.
5564
5dbf56af
MF
55652012-08-27 Mike Frysinger <vapier@gentoo.org>
5566
5567 [BZ #5400]
5568 * NEWS: Add fixed bug number.
5569
d6e70f43
JM
55702012-08-27 Joseph Myers <joseph@codesourcery.com>
5571
7efb4737
JM
5572 [BZ #14519]
5573 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5574 underflowing exponent in case of negative sign.
5575 * stdlib/tst-strtod-round-data: Add more tests.
5576 * stdlib/tst-strtod-round.c (tests): Regenerated.
5577
af92131a
JM
5578 [BZ #3479]
5579 * stdlib/strtod_l.c (NDIG): Remove.
5580 (HEXNDIG): Likewise.
5581 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5582 smallest representable value.
5583 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5584 lie within an exact representation of 1/2 ulp of the result.
5585 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5586 unconditionally.
5587 (TENS_P9_IDX): Define unconditionally.
5588 (TENS_P9_SIZE): Likewise.
5589 (TENS_P10_IDX): Likewise.
5590 (TENS_P10_SIZE): Likewise.
5591 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5592 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5593 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5594 entries for 10^2^13 and 10^2^14.
5595 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5596 (TENS_P13_IDX): Define.
5597 (TENS_P13_SIZE): Likewise.
5598 (TENS_P14_IDX): Likewise.
5599 (TENS_P14_SIZE): Likewise.
5600 (_fpioconst_pow10): Change array size to
5601 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5602 unconditional.
5603 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5604 1024]: Add entries for 10^2^13 and 10^2^14.
5605 [LAST_POW10 > _LAST_POW10]: Remove #error.
5606 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5607 (_fpioconst_pow10): Change array size to
5608 FPIOCONST_POW10_ARRAY_SIZE.
5609 * stdlib/gen-fpioconst.c: New file.
5610 * stdlib/gen-tst-strtod-round.c: Likewise.
5611 * stdlib/tst-strtod-round-data: Likewise.
5612 * stdlib/tst-strtod-round.c: Likewise.
5613 * stdlib/Makefile (tests): Add tst-strtod-round.
5614
d6e70f43
JM
5615 [BZ #14459]
5616 * stdlib/strtod_l.c: Include <stdint.h>.
5617 (NDEBUG): Do not define.
5618 (round_and_return): Change EXPONENT parameter to type intmax_t.
5619 Rearrange calculations to avoid internal overflow possibilities.
5620 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5621 Rearrange calculations to avoid internal overflow possibilities.
5622 Assert that number fits inside MPNSIZE limbs.
5623 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5624 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5625 calculations and add assertions to avoid internal overflow
5626 possibilities. Add casts to avoid signed/unsigned operations.
5627 * stdlib/tst-strtod-overflow.c: New file.
5628 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5629
1f529f7d
MP
56302012-08-25 Marek Polacek <polacek@redhat.com>
5631
5632 * time/time.h: Fix some typos in comments.
5633
59a629f1
RM
56342012-08-23 Roland McGrath <roland@hack.frob.com>
5635
5636 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5637 * posix/tst-rfc3484-2.c: Likewise.
5638 * posix/tst-rfc3484-3.c: Likewise.
5639
d3bafbc9
SM
56402012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5641
5642 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5643 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5644
4efcc022
JM
56452012-08-23 Joseph Myers <joseph@codesourcery.com>
5646
5647 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5648 #include of fxstatat64.c.
5649
3cc3ef96
RM
56502012-08-22 Roland McGrath <roland@hack.frob.com>
5651
f04e2132
RM
5652 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5653 * shadow/getspent_r.c: Likewise.
5654 * shadow/getspnam.c: Likewise.
5655 * shadow/getspnam_r.c: Likewise.
5656 * gshadow/getsgent.c: Likewise.
5657 * gshadow/getsgent_r.c: Likewise.
5658 * gshadow/getsgnam.c: Likewise.
5659 * gshadow/getsgnam_r.c: Likewise.
5660 * inet/getnetbyad.c: Likewise.
5661 * inet/getnetbyad_r.c: Likewise.
5662 * inet/getnetbynm.c: Likewise.
5663 * inet/getnetbynm_r.c: Likewise.
5664 * inet/getnetent.c: Likewise.
5665 * inet/getnetent_r.c: Likewise.
5666 * inet/getproto.c: Likewise.
5667 * inet/getproto_r.c: Likewise.
5668 * inet/getprtent.c: Likewise.
5669 * inet/getprtent_r.c: Likewise.
5670 * inet/getprtname.c: Likewise.
5671 * inet/getprtname_r.c: Likewise.
5672 * inet/getrpcbyname.c: Likewise.
5673 * inet/getrpcbyname_r.c: Likewise.
5674 * inet/getrpcbynumber.c: Likewise.
5675 * inet/getrpcbynumber_r.c: Likewise.
5676 * inet/getrpcent.c: Likewise.
5677 * inet/getrpcent_r.c: Likewise.
5678 * inet/getaliasent.c: Likewise.
5679 * inet/getaliasent_r.c: Likewise.
5680 * inet/getaliasname.c: Likewise.
5681 * inet/getaliasname_r.c: Likewise.
5682 * nscd/getgrgid_r.c: Likewise.
5683 * nscd/getgrnam_r.c: Likewise.
5684 * nscd/gethstbyad_r.c: Likewise.
5685 * nscd/gethstbynm3_r.c: Likewise.
5686 * nscd/getpwnam_r.c: Likewise.
5687 * nscd/getpwuid_r.c: Likewise.
5688 * nscd/getsrvbynm_r.c: Likewise.
5689 * nscd/getsrvbypt_r.c: Likewise.
5690 * nscd/gai.c: Likewise.
5691
c53d909c
RM
5692 * configure.in (build_nscd): New substituted variable, set
5693 by --disable-build-nscd and defaults to $use_nscd.
5694 * configure: Regenerated.
5695 * config.make.in (build-nscd): New substituted variable.
5696 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5697 Change conditional to require [$(build-nscd) = yes] as well.
5698 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5699
3cc3ef96
RM
5700 [BZ# 13696]
5701 * configure.in (use_nscd): New substituted variable, set by
5702 --disable-nscd. If enabled, define USE_NSCD.
5703 * configure: Regenerated.
5704 * config.h.in: Add USE_NSCD.
5705 * config.make.in (use-nscd): New substituted variable.
5706 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5707 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5708 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5709 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5710 (CFLAGS-getgrnam_r.c): Likewise.
5711 (CFLAGS-initgroups.c): Likewise.
5712 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5713 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5714 Variables removed.
5715 * inet/getnetgrent_r.c
5716 (nscd_setnetgrent): New function, broken out of ...
5717 (setnetgrent): ... here. Call it.
5718 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5719 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5720 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5721 * nscd/Makefile (routines, aux): Move definitions after include of
5722 Makeconfig. Conditionalize on [$(use-nscd) != no].
5723 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5724 Conditionalize on [USE_NSCD].
5725 (is_nscd, nscd_init_cb): Likewise.
5726 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5727 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5728 * nss/nss_db/db-init.c: Likewise.
5729 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5730 [USE_NSCD].
5731 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5732 (make_request): Use it.
5733 (cache_valid_p): New function.
5734 (__check_pf): Use it.
5735 * NEWS: Add item for --disable-nscd.
5736
07e51550
DL
57372012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5738
5739 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5740 to support sed >= 4.2.1-20-ga9bf076.
5741 * configure: Regenerated.
5742
35a5b08b
RM
57432012-08-22 Roland McGrath <roland@hack.frob.com>
5744
5745 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5746 Conditionalize whole body on [IREL].
5747
8479f23a
JL
57482012-08-22 Jeff Law <law@redhat.com>
5749
5750 [BZ #14505]
5751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5752 if the family is PF_UNSPEC.
5753
48da0b21
MF
57542012-08-22 Mike Frysinger <vapier@gentoo.org>
5755
5756 * Makerules (lib-version): Rename from V.
5757 (install-lib-nosubdir): Change V to lib-version.
5758
15d0da8c
WS
57592012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5760
5761 [BZ #14252]
5762 * powerpc32/power6/wcschr.c: New file.
5763 * powerpc32/power6/wcscpy.c: New file.
5764 * powerpc32/power6/wcsrchr.c: New file.
5765 * powerpc64/power6/wcschr.c: New file.
5766 * powerpc64/power6/wcscpy.c: New file.
5767 * powerpc64/power6/wcsrchr.c: New file.
5768
bcca0895
MK
57692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5770
5771 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5772 (two_way_short_needle): Use it.
5a4aaa33
RM
5773 * string/strstr.c (AVAILABLE1_USES_J): Define.
5774 * string/strcasestr.c: Likewise.
99677e57
MK
5775
5776 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5777 array references.
5778 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5779
400726de
MK
5780 [BZ #11607]
5781 * NEWS: Add an entry.
5782 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5783 define their defaults.
5784 (two_way_short_needle): Detect end-of-string on-the-fly.
5785 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5786 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5787 * string/bug-strcasestr1.c: New test.
5788 * string/Makefile: Run it.
5789
20a71f2c
MK
57902012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5791
5792 [BZ #11607]
5793 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5794 the first character.
5795
21ad0558
RM
57962012-08-21 Roland McGrath <roland@hack.frob.com>
5797
5798 * csu/elf-init.c (__libc_csu_irel): Function removed.
5799 * csu/libc-start.c (apply_irel): New function.
5800 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5801
0e1d9911
JM
58022012-08-21 Joseph Myers <joseph@codesourcery.com>
5803
5804 * sysdeps/unix/sysv/linux/kernel-features.h
5805 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5806 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5807 <kernel-features.h>.
5808 [__NR_fadvise64_64]: Make code unconditional.
5809 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5810 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5811 !__NR_fadvise64_64)]: Likewise.
5812 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5813 !__NR_fadvise64_64))]: Likewise.
5814 [__NR_fadvise64]: Make code unconditional.
5815 [!__NR_fadvise64]: Remove conditional code.
5816 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5817 <kernel-features.h>.
5818 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5819 unconditional.
5820 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5821 conditional code.
5822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5823 not include <kernel-features.h>.
5824 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5825 unconditional.
5826 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5827 conditional code.
5828 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5829 include <kernel-features.h>.
5830 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5831 unconditional.
5832 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5833 conditional code.
5834
14a50c9d
WS
58352012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5836
5837 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5838 slight instruction rearrangements per scrollpipe analysis.
5839 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5840
c0f4faf0
RM
58412012-08-20 Roland McGrath <roland@hack.frob.com>
5842
696da859
RM
5843 * manual/syslog.texi (syslog; vsyslog, closelog):
5844 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5845 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5846
c0f4faf0
RM
5847 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5848 DSOCAPS to match condition on defining it.
5849
348363b2
JM
58502012-08-20 Joseph Myers <joseph@codesourcery.com>
5851
a35cbf28
JM
5852 * sysdeps/unix/sysv/linux/kernel-features.h
5853 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5855 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5856 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5858 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5859 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5861 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5862 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5863
445f7ecd
JM
5864 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5865 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5866
348363b2
JM
5867 * sysdeps/unix/sysv/linux/kernel-features.h
5868 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5869 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5870 unconditional.
5871 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5872 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5873 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5874 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5875 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5876 Make code unconditional.
5877 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5878 (__mmap64) [!__NR_mmap2]: Likewise.
5879 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5880 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5881 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5882 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5883 [__NR_mmap2]: Make code unconditional.
5884 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5885 (__mmap64) [!__NR_mmap2]: Likewise.
5886
bc5bc0e5
AK
58872012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5888
5889 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5890
88d506de
AJ
58912012-08-18 Andreas Jaeger <aj@suse.de>
5892
5893 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5894
493387d2
MF
58952012-08-18 Mike Frysinger <vapier@gentoo.org>
5896
5897 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5898 * include/unistd.h (__have_sock_cloexec): Likewise.
5899 (__have_pipe2): Likewise.
5900 (__have_dup3): Likewise.
5901
a277af22
MF
59022012-08-18 Mike Frysinger <vapier@gentoo.org>
5903
5904 [BZ #9685]
5905 * include/unistd.h (__have_pipe2): Change define into an extern int.
5906 (__have_dup3): Likewise.
5907 * socket/have_sock_cloexec.c: Include fcntl.h.
5908 (__have_pipe2): New variable.
5909 (__have_dup3): Likewise.
5910
fdab8fd3
MF
59112012-08-17 Mike Frysinger <vapier@gentoo.org>
5912
5913 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5914
31035e80
MP
59152012-08-17 Marek Polacek <polacek@redhat.com>
5916
5917 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5918 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5919
3bd9e993
RM
59202012-08-17 Roland McGrath <roland@hack.frob.com>
5921
c91c505f
RM
5922 * configure.in: Add AC_SUBST for sysheaders.
5923 * configure: Regenerated.
5924 * config.make.in (sysheaders): New substituted variable.
5925
7c6f9d53
RM
5926 * sysdeps/unix/mkfifo.c: Moved ...
5927 * sysdeps/posix/mkfifo.c: ... here.
5928 * sysdeps/unix/mkfifoat.c: Moved ...
5929 * sysdeps/posix/mkfifoat.c: ... here.
5930
5931 * sysdeps/unix/utime.c: Moved ...
5932 * sysdeps/posix/utime.c: ... here.
5933
5934 * sysdeps/unix/time.c: Moved ...
5935 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5936 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5937 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5938
5939 * sysdeps/unix/nice.c: Moved ...
5940 * sysdeps/posix/nice.c: ... here.
5941
5942 * sysdeps/unix/alarm.c: Moved ...
5943 * sysdeps/posix/alarm.c: ... here.
5944
3bd9e993
RM
5945 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5946
d1f09384
JL
59472012-08-17 Jeff Law <law@redhat.com>
5948
5949 * intl/Makefile (codeset_mo): New variable.
5950 ($(codeset_mo)): New target.
5951 (tst-codeset.out): Depend on that. Remove explicit rule.
5952 (tst-gettext3.out, tst-gettext5.out): Likewise.
5953 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5954 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5955 * intl/tst-codeset.sh: Remove.
5956 * intl/tst-gettext3.sh: Likewise.
5957 * intl/tst-gettext5.sh: Likewise.
5958
2ae1ae5c
RM
59592012-08-17 Roland McGrath <roland@hack.frob.com>
5960
c31fdb83
RM
5961 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5962 * sysdeps/unix/syscalls.list: ... here.
5963
a0844057
RM
5964 * sysdeps/posix/getaddrinfo.c
5965 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5966 (gaiconf_init, gaiconf_reload): Use them.
5967 [!_STATBUF_ST_NSEC]
5968 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5969 Define using time_t rather than struct timespec.
5970
750c1f2a
RM
5971 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5972 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5973 Macros removed.
5974 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5975 [!NO_THREADS].
5976 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5977 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5978 Likewise.
5979
2ae1ae5c
RM
5980 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5981 __libc_cleanup_push argument.
5982
e66a42f5
RM
5983 * bits/param.h: New file.
5984 * misc/sys/param.h: New file.
5985 * include/sys/param.h: New file.
5986 * misc/Makefile (headers): Add bits/param.h.
5987 * sysdeps/generic/sys/param.h: File removed.
5988 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5989 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5990 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5991 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5992
b7c08a66
RM
5993 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5994 last change.
5995
b2e1c562
RM
5996 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5997 [_IO_MTSAFE_IO].
5998 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5999 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6000 New macros.
6001
c75ccd4c
RM
6002 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6003 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6004 rather than -D_IO_MTSAFE_IO conditionally.
6005 * stdio-common/Makefile (CPPFLAGS): Likewise.
6006 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6007 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6008 Use $(libio-mtsafe).
6009 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6010 of -D_IO_MTSAFE_IO.
6011 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6012 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6013 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6014 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6015 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6016 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6017 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6018 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6019 (CFLAGS-fread_u_chk.c): Likewise.
6020 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6021 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6022 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6023 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6024 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6025 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6026 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6027 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6028 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6029
6030 * libio/Makefile: Test [$(libc-reentrant) = yes]
6031 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6032
6033 * Makeconfig
6034 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6035 * sysdeps/pthread/configure: File removed.
6036 * sysdeps/pthread/Makeconfig: New file.
6037 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6038 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6039
d9195db8
GB
60402012-08-16 Gary Benson <gbenson@redhat.com>
6041
6042 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6043 unmapping the first object in a namespace.
6044
86466cd9
RM
60452012-08-16 Roland McGrath <roland@hack.frob.com>
6046
6047 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6048 (__internal_setnetgrent): ... this. Add internal_function to
6049 definition. Add libc_hidden_def.
6050 (setnetgrent): Update caller.
6051 (internal_endnetgrent): Renamed to ...
6052 (__internal_endnetgrent): ... this. Add internal_function to
6053 definition. Add libc_hidden_def.
6054 (endnetgrent): Update caller.
6055 (internal_getnetgrent_r): Renamed to ...
6056 (__internal_getnetgrent_r): ... this. Add internal_function to
6057 definition. Add libc_hidden_def.
6058 (__getnetgrent_r): Update caller.
6059 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6060
c3c8283c
JM
60612012-08-16 Joseph Myers <joseph@codesourcery.com>
6062
6063 * stdlib/longlong.h: Update from GCC.
6064
db1ee0a8
RM
60652012-08-16 Roland McGrath <roland@hack.frob.com>
6066
6067 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6068 on _QL, which is set by umul_ppmm but never used.
6069 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6070 variables, which are set by GMP macros but never used.
6071 * stdio-common/_itowa.c (_itowa): Likewise.
6072 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6073 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6074
30f69637
CD
60752012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6076
6077 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6078 struct La_sh_regs is not constant.
6079 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6080 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6081 and struct La_sparc64_regs are not constant.
6082
93a78ac4
JM
60832012-08-16 Joseph Myers <joseph@codesourcery.com>
6084
6085 * sysdeps/unix/sysv/linux/kernel-features.h
6086 (__ASSUME_POSIX_TIMERS): Remove.
6087 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6088 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6089 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6090 Make code unconditional.
6091 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6092 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6093 Make code unconditional.
6094 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6095 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6096 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6097 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6098 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6099 Make code unconditional.
6100 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6101 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6102 (__libc_missing_posix_timers): Remove.
6103
dd924cd7
RM
61042012-08-15 Roland McGrath <roland@hack.frob.com>
6105
4b4f2771
RM
6106 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6107 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6108
601c888b
RM
6109 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6110
176790a7
RM
6111 * elf/dl-sym.c: Include <stdlib.h>.
6112
329bc018
RM
6113 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6114 constants, which avoids warnings in 32-bit builds.
6115
e04e272d
RM
6116 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6117 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6118
952bf94a
RM
6119 * misc/lseek.c: File moved to ...
6120 * io/lseek.c: ... here.
6121
7c99b50a
RM
6122 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6123
dd924cd7
RM
6124 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6125 shifting LEN more than 31 bits at once.
6126
b3f479a8
LD
61272012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6128
6129 [BZ #14195]
8c4ae0d4
RM
6130 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6131 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6132 * string/test-strncasecmp.c (check1): Renamed to...
6133 (bz12205): ...this.
6134 (bz14195): Add new testcase for two empty input strings and N > 0.
6135 (test_main): Call new testcase, adapt for renamed function.
6136
9c55864e
AJ
61372012-08-15 Andreas Jaeger <aj@suse.de>
6138
6139 [BZ #14090]
6140 * crypt/md5test2.c: New test, based on test supplied by Serge
6141 Belyshev <belyshev@depni.sinp.msu.ru>.
6142 * crypt/Makefile (xtests): Add md5test-giant..
6143 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6144
02dcb6c5
PE
61452012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6146
6147 [BZ #14090]
6148 * crypt/md5.c (md5_process_block): Don't assume the buffer
6149 length is less than 2**32.
6150 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6151 length is less than 2**64.
6152
a3f95dcc
RM
61532012-08-15 Roland McGrath <roland@hack.frob.com>
6154
be75d758
RM
6155 * string/str-two-way.h: Include <sys/param.h>.
6156 (MAX): Macro removed.
6157
7312ca90
RM
6158 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6159 Move #define and #undef of memmove to just before and after
6160 including <string.h>.
6161
9a0a5486
RM
6162 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6163 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6164 and after including <string.h>. Move declarations of
6165 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6166 to before #include "string/memmove.c".
6167
67cc348d
RM
6168 * include/dirent.h: Declare __getdirentries.
6169
a3f95dcc
RM
6170 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6171 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6172
ca98e171
MF
61732012-08-14 Mike Frysinger <vapier@gentoo.org>
6174
6175 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6176 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6177 * sysdeps/i386/configure: Regenerated.
6178 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6179 STABS_CURRENT_FILE, and STABS_FUN.
6180 (END): Remove call to STABS_FUN_END.
6181 (STABS_CURRENT_FILE1): Delete.
6182 (STABS_CURRENT_FILE): Likewise.
6183 (STABS_FUN): Likewise.
6184 (STABS_FUN_END): Likewise.
6185 (STABS_FUN2): Likewise.
6186 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6187 * sysdeps/x86_64/configure: Regenerated.
6188
5908bf46
RM
61892012-08-14 Roland McGrath <roland@hack.frob.com>
6190
6191 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6192 * elf/dl-lookup.c: Likewise.
5908bf46 6193
f2c05b9e
JM
61942012-08-14 Joseph Myers <joseph@codesourcery.com>
6195
6196 * sysdeps/unix/sysv/linux/kernel-features.h
6197 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6198 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6199 unconditionally.
6200 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6201 unconditionally.
6202 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6203 condition on __ASSUME_CLONE_THREAD_FLAGS.
6204
e11f5155
AJ
62052012-08-14 Andreas Jaeger <aj@suse.de>
6206
6207 * sysdeps/i386/fpu/libm-test-ulps: Update.
6208
51a9ba86
MK
62092012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6210
2fdd4f78
AJ
6211 * include/atomic.h (atomic_exchange_and_add): Split into ...
6212 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6213 New atomic macros.
51a9ba86 6214
ba6cba9e
MT
62152012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6216
6217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6218
42443a47
JL
62192012-08-13 Jeff Law <law@redhat.com>
6220
6221 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6222 null byte in the output string.
6223
121dce05
JM
62242012-08-10 Joseph Myers <joseph@codesourcery.com>
6225
6226 * sysdeps/unix/sysv/linux/kernel-features.h
6227 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6228 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6229 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6230 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6231 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6232 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6233 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6234
bf51f568
JL
62352012-08-09 Jeff Law <law@redhat.com>
6236
6237 [BZ #13939]
6238 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6239 When avoid_arena is set, don't retry in the that arena. Pick the
6240 next one, whatever it might be.
6241 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6242 (arena_lock): Pass in new parameter to arena_get2.
6243 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6244 arena_get2.
6245 (__libc_malloc): Unify retrying after main arena failure with
6246 __libc_memalign version.
6247 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6248
f85fa270
L
62492012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6250
6251 [BZ #14166]
6252 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6253 to __redirect_strstr.
6254 (__strstr_sse42): Use typeof __redirect_strstr.
6255 (__strstr_ia32): Likewise.
6256 (__libc_strstr): New prototype.
6257 (strstr): Renamed to ...
6258 (__libc_strstr): This.
6259 (strstr): New strong alias of __libc_strstr.
6260 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6261 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6262 __redirect_time.
6263 Include <time.h>.
6264 (__libc_time): New prototype.
6265 (time_ifunc): Replace time with __libc_time.
6266 (time): New strong alias and hidden definition of __libc_time.
6267 (__GI_time): Remove strong alias.
6268 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6269 Include <stddef.h>.
6270 (memmove): Redefined to __redirect_memmove.
6271 (__memmove_sse2): Use typeof __redirect_memmove.
6272 (__memmove_ssse3): Likewise.
6273 (__memmove_ssse3_back): Likewise.
6274 (__libc_memmove): New prototype.
6275 (memmove): Renamed to ...
6276 (__libc_memmove): This.
6277 (memmove): New strong alias of __libc_memmove.
6278
33b4a91e
MS
62792012-08-08 Mark Salter <msalter@redhat.com>
6280
6281 * elf/elf.h
6282 (R_MN10300_TLS_GD): Define.
6283 (R_MN10300_TLS_LD): Likewise.
6284 (R_MN10300_TLS_LDO): Likewise.
6285 (R_MN10300_TLS_GOTIE): Likewise.
6286 (R_MN10300_TLS_IE): Likewise.
6287 (R_MN10300_TLS_LE): Likewise.
6288 (R_MN10300_TLS_DTPMOD): Likewise.
6289 (R_MN10300_TLS_DTPOFF): Likewise.
6290 (R_MN10300_TLS_TPOFF): Likewise.
6291 (R_MN10300_SYM_DIFF): Likewise.
6292 (R_MN10300_ALIGN): Likewise.
6293 (R_MN10300_NUM): Update.
6294
b36137f1
JM
62952012-08-08 Joseph Myers <joseph@codesourcery.com>
6296
6297 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6298 Remove.
6299
cdd915fd
RM
63002012-08-08 Roland McGrath <roland@hack.frob.com>
6301
a2433aac
RM
6302 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6303
cdd915fd
RM
6304 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6305 sysdeps/unix -> sysdeps/posix move.
6306 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6307
bf9b740a
AM
63082012-08-07 Allan McRae <allan@archlinux.org>
6309
6310 [BZ #14303]
6311 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6312 (SUNOS_CPP): Likewise.
6313 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6314 not found.
6315 (open_input): Call CPP using execvp.
6316
93df14ee
JM
63172012-08-07 Joseph Myers <joseph@codesourcery.com>
6318
6319 * sysdeps/unix/sysv/linux/kernel-features.h
6320 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6321 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6322 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6323 (__ASSUME_WAITID_SYSCALL): Likewise.
6324 * sysdeps/unix/sysv/linux/dl-execstack.c
6325 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6326 code unconditional.
6327 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6328 conditional code.
6329 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6330 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6331 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6332 code.
6333 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6334 unconditional.
6335 [__ASSUME_WAITID_SYSCALL]: Likewise.
6336 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6337
d34689de
RM
63382012-08-07 Roland McGrath <roland@hack.frob.com>
6339
a281decc
RM
6340 * sysdeps/unix/closedir.c: Renamed to ...
6341 * sysdeps/posix/closedir.c: ... here.
6342 * sysdeps/unix/dirfd.c: Renamed to ...
6343 * sysdeps/posix/dirfd.c: ... here.
6344 * sysdeps/unix/dirstream.h: Renamed to ...
6345 * sysdeps/posix/dirstream.h: ... here.
6346 * sysdeps/unix/fdopendir.c: Renamed to ...
6347 * sysdeps/posix/fdopendir.c: ... here.
6348 * sysdeps/unix/opendir.c: Renamed to ...
6349 * sysdeps/posix/opendir.c: ... here.
6350 * sysdeps/unix/readdir.c: Renamed to ...
6351 * sysdeps/posix/readdir.c: ... here.
6352 * sysdeps/unix/readdir_r.c: Renamed to ...
6353 * sysdeps/posix/readdir_r.c: ... here.
6354 * sysdeps/unix/rewinddir.c: Renamed to ...
6355 * sysdeps/posix/rewinddir.c: ... here.
6356 * sysdeps/unix/seekdir.c: Renamed to ...
6357 * sysdeps/posix/seekdir.c: ... here.
6358 * sysdeps/unix/telldir.c: Renamed to ...
6359 * sysdeps/posix/telldir.c: ... here.
6360 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6361 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6362 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6363 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6364
22895b47
RM
6365 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6366 * bits/fcntl.h: ... here.
6367
707a53b6
RM
6368 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6369 not 0.
6370 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6371 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6372 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6373 (struct flock): Move l_start, l_len to the beginning.
6374 Use __pid_t for l_pid.
6375 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6376 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6377 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6378 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6379 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6380 [__USE_LARGEFILE64] (struct flock64): New type.
6381 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6382
f0bd3e25
RM
6383 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6384 * bits/dirent.h: ... here.
6385
d34689de
RM
6386 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6387 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6388
6dad2c06
JM
63892012-08-07 Joseph Myers <joseph@codesourcery.com>
6390
6391 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6392 Change from 2.6.0 to 2.6.16.
6393 * sysdeps/unix/sysv/linux/configure: Regenerated.
6394 * sysdeps/unix/sysv/linux/kernel-features.h
6395 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6396 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6397 version.
6398 (__ASSUME_UTIMES): Likewise.
6399 (__ASSUME_CLONE_STOPPED): Remove.
6400 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6401 architectures, not kernel version.
6402 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6403 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6404 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6405 (__ASSUME_WAITID_SYSCALL): Likewise.
6406 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6407 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6408 * README: State 2.6.16 as minimum Linux kernel version. Do not
6409 refer to older versions.
6410
03af9520
RM
64112012-08-06 Roland McGrath <roland@hack.frob.com>
6412
8e49df1d
RM
6413 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6414 Define alphasort64 as an alias.
6415 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6416 Define versionsort64 as an alias.
6417 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6418 Define scandir64 as an alias.
6419 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6420 Define scandirat64 as an alias.
6421 * dirent/alphasort64.c (alphasort64):
6422 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6423 * dirent/versionsort64.c: Likewise.
6424 * dirent/scandir64.c: Likewise.
6425 * dirent/scandirat64.c: Likewise.
6426 * sysdeps/wordsize-64/alphasort.c: File removed.
6427 * sysdeps/wordsize-64/alphasort64.c: File removed.
6428 * sysdeps/wordsize-64/scandir.c: File removed.
6429 * sysdeps/wordsize-64/scandir64.c: File removed.
6430 * sysdeps/wordsize-64/scandirat.c: File removed.
6431 * sysdeps/wordsize-64/scandirat64.c: File removed.
6432 * sysdeps/wordsize-64/versionsort.c: File removed.
6433 * sysdeps/wordsize-64/versionsort64.c: File removed.
6434 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6435 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6436 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6437 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6438 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6439 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6440 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6441 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6442
6443 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6445 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6446 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6447 [defined __arch64__ || defined __sparcv9]
6448 (__INO_T_MATCHES_INO64_T): New macro.
6449 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6450 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6451 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6452 * sysdeps/unix/sysv/linux/bits/dirent.h
6453 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6454 (_DIRENT_MATCHES_DIRENT64): New macro.
6455
03af9520
RM
6456 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6457 Define lockf64 as an alias.
6458 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6459 Define fseeko64 as an alias.
6460 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6461 Define ftello64 as an alias.
6462 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6463 Define _IO_fgetpos64 and fgetpos64 as aliases.
6464 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6465 Define _IO_fsetpos64 and fsetpos64 as aliases.
6466 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6467 Conditionalize body on this.
6468 * libio/fseeko64.c: Likewise.
6469 * libio/ftello64.c: Likewise.
6470 * libio/iofgetpos64.c: Likewise.
6471 * libio/iofsetpos64.c: Likewise.
6472 * sysdeps/wordsize-64/lockf.c: File removed.
6473 * sysdeps/wordsize-64/lockf64.c: File removed.
6474 * sysdeps/wordsize-64/fseeko.c: File removed.
6475 * sysdeps/wordsize-64/fseeko64.c: File removed.
6476 * sysdeps/wordsize-64/ftello.c: File removed.
6477 * sysdeps/wordsize-64/ftello64.c: File removed.
6478 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6479 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6480 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6481 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6482 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6483 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6484 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6485 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6486 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6487 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6488 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6489 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6490 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6491 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6492
6493 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6494 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6495 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6496 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6497 [defined __arch64__ || defined __sparcv9]
6498 (__OFF_T_MATCHES_OFF64_T): New macro.
6499 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6500 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6502 (__OFF_T_MATCHES_OFF64_T): New macro.
6503
c5757acd
L
65042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6505
6506 * stdlib/secure-getenv.c (__secure_getenv): Replace
6507 GLIBC_2_16 with GLIBC_2_17.
6508
3a31811e
L
65092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6510
6511 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6512 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6513
faa2bccb
DM
65142012-08-03 David S. Miller <davem@davemloft.net>
6515
6516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6517
85fe1997
JM
65182012-08-03 Joseph Myers <joseph@codesourcery.com>
6519
6520 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6521 Remove.
6522 (__ASSUME_CORRECT_SI_PID): Likewise.
6523 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6524 (__ASSUME_TMPFS_NAME): Likewise.
6525 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6526 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6527 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6528 (HAVE_AUX_SECURE): Make definition unconditional.
6529 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6530 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6531
4f75b7a0
RM
65322012-08-03 Roland McGrath <roland@hack.frob.com>
6533
6534 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6535 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6536 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6537 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6538 __eloop_threshold instead of SYMLOOP_MAX.
6539
6540 * sysdeps/generic/eloop-threshold.h: New file.
6541 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6542 of MAXSYMLINKS.
6543 * elf/chroot_canon.c (chroot_canon): Likewise.
6544
7aab07e4
JM
65452012-08-03 Joseph Myers <joseph@codesourcery.com>
6546
6547 [BZ #13717]
6548 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6549 Change to 2.6.0 everywhere.
6550 * sysdeps/unix/sysv/linux/configure: Regenerated.
6551 * sysdeps/unix/sysv/linux/kernel-features.h
6552 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6553 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6554 kernel versions.
6555 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6556 (__ASSUME_FUTEX_REQUEUE): Remove.
6557 (__ASSUME_STATFS64): Define unconditionally.
6558 (__ASSUME_AT_SECURE): Likewise.
6559 (__ASSUME_CORRECT_SI_PID): Likewise.
6560 (__ASSUME_TGKILL): Define without depending on kernel version for
6561 i386.
6562 (__ASSUME_UTIMES): Likewise.
6563 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6564 kernel version.
6565 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6566 (__ASSUME_TMPFS_NAME): Likewise.
6567 * README: Update reference to Linux kernel versions.
6568
b67e9372
MP
65692012-08-02 Marek Polacek <polacek@redhat.com>
6570
1f529f7d 6571 [BZ# 14150]
b67e9372
MP
6572 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6573 libc_cv_asm_type_prefix with %.
6574 * configure: Regenerated.
d2441631
RM
6575 * include/libc-symbols.h: Remove comment about
6576 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6577 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6578 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6579 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6580 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6581 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6582 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6583 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6584 * elf/tst-unique2mod1.c: Likewise.
6585 * elf/tst-unique1mod2.c: Likewise.
6586 * elf/tst-unique1mod1.c: Likewise.
6587 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6588 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6589 Replace ASM_TYPE_DIRECTIVE with .type.
6590 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6591 * sysdeps/i386/sysdep.h: Likewise.
6592 * sysdeps/x86_64/sysdep.h: Likewise.
6593 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6595 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6596 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6597 * sysdeps/powerpc/powerpc32/sysdep.h:
6598 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6599 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6600 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6601 * sysdeps/i386/fpu/e_powf.S: Likewise.
6602 * sysdeps/i386/fpu/e_expl.S: Likewise.
6603 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6604 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6605 * sysdeps/i386/fpu/e_pow.S: Likewise.
6606 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6607 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6608 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6609 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6610 * sysdeps/i386/fpu/e_log2.S: Likewise.
6611 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6612 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6613 * sysdeps/i386/fpu/e_powl.S: Likewise.
6614 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6615 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6616 * sysdeps/i386/fpu/e_logl.S: Likewise.
6617 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6618 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6619 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6620 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6621 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6622 * sysdeps/i386/fpu/e_log.S: Likewise.
6623 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6624 * sysdeps/i386/fpu/e_logf.S: Likewise.
6625 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6626 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6627 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6628 * sysdeps/i386/fpu/e_log10.S: Likewise.
6629 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6630 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6631 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6632 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6633 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6634 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6635 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6636 * sysdeps/i386/i686/strtok.S: Likewise.
6637 * sysdeps/i386/i386-mcount.S: Likewise.
6638 * sysdeps/i386/strtok.S: Likewise.
6639 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6640 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6641 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6642 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6643 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6644 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6645 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6646 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6647 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6648 * sysdeps/x86_64/_mcount.S: Likewise.
6649 * sysdeps/x86_64/strtok.S: Likewise.
6650 * sysdeps/sh/_mcount.S: Likewise.
6651
2747bf9a
RM
66522012-08-01 Roland McGrath <roland@hack.frob.com>
6653
6654 * libio/iofopen.c: Include <fcntl.h>.
6655 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6656 (_IO_fopen64, fopen64): Define as aliases.
6657 * libio/iofopen64.c: Include <fcntl.h>.
6658 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6659 Conditionalize body on this.
6660 * sysdeps/wordsize-64/iofopen.c: File removed.
6661 * sysdeps/wordsize-64/iofopen64.c: File removed.
6662
3fb791b8
MP
66632012-08-01 Marek Polacek <polacek@redhat.com>
6664
6665 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6666 Use dlfcn directly instead of a variable.
6667 (binfmt-subdir): Do not define.
6668 (dlfcn): Likewise.
6669
a9f1039f
JM
66702012-08-01 Joseph Myers <joseph@codesourcery.com>
6671
23bddc06
JM
6672 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6673 Remove all definitions.
6674 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6675 <kernel-features.h>.
6676 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6677 (miss_F_GETOWN_EX): Remove all definitions.
6678 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6679 macro definition.
6680 [!__ASSUME_FCNTL64]: Remove conditional code.
6681 [__ASSUME_FCNTL64]: Make code unconditional.
6682 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6683 <kernel-features.h>.
6684 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6685 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6686 (lockf64) [__NR_fcntl64]: Make code unconditional.
6687 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6688
a9f1039f
JM
6689 * sysdeps/unix/sysv/linux/kernel-features.h
6690 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6691 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6692 Make code unconditional.
6693 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6694 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6696 [__NR_vfork]: Make code unconditional.
6697 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6698 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6700 [__NR_vfork]: Make code unconditional.
6701 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6702 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6703
09c0ee5f
RM
67042012-08-01 Roland McGrath <roland@hack.frob.com>
6705
48aec5b9
RM
6706 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6707 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6708
cd97c966
RM
6709 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6710 Define mkstemp64 as an alias.
3f55550c
RM
6711 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6712 Define mkstemps64 as an alias.
cd97c966
RM
6713 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6714 Define mkostemp64 as an alias.
b8625cfc
RM
6715 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6716 Define mkostemps64 as an alias.
cd97c966
RM
6717 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6718 Conditionalize body on this.
6719 * misc/mkostemp64.c: Likewise.
b8625cfc 6720 * misc/mkostemps64.c: Likewise.
3f55550c 6721 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6722 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6723 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6724 * sysdeps/wordsize-64/mkostemp.c: File removed.
6725 * sysdeps/wordsize-64/mkstemp.c: File removed.
6726 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6727 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6728 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6729 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6730
09c0ee5f
RM
6731 [BZ #14138]
6732 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6733 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6734 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6735 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6736
6737 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6738 compat_symbol macros from <shlib-compat.h> rather than the underlying
6739 default_symbol_version and symbol_version macros, so that DEFAULT
6740 lines in shlib-versions are respected.
6741 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6742
7e66ee51
FW
67432012-08-01 Florian Weimer <fweimer@redhat.com>
6744
6745 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6746 Declare with warn_unused_result.
6747 (setgid, setregid, setegid, setresgid): Likewise.
6748 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6749 Likewise.
6750 * WUR-REPORT: Remove set*id functions.
6751
d2a54255
PT
67522012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6753
6754 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6755
7ecdb005
RM
67562012-07-31 Roland McGrath <roland@hack.frob.com>
6757
789bd351
RM
6758 * include/sys/socket.h (__libc_accept, __libc_accept4):
6759 Add attribute_hidden.
6760 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6761
40ce302d
RM
6762 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6763 use of PTR_MANGLE.
6764 * inet/getnetgrent_r.c (setup): Likewise.
6765
7ecdb005
RM
6766 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6767
e2eabb2c
DM
67682012-07-31 David S. Miller <davem@davemloft.net>
6769
6770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6771
d0419dbf
JM
67722012-07-31 Joseph Myers <joseph@codesourcery.com>
6773
6774 [BZ #13629]
6775 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6776 value between 1.0 and 2.0 and smaller part has absolute value less
6777 than 1.0.
6778 * math/s_clog10.c (__clog10): Likewise.
6779 * math/s_clog10f.c (__clog10f): Likewise.
6780 * math/s_clog10l.c (__clog10l): Likewise.
6781 * math/s_clogf.c (__clogf): Likewise.
6782 * math/s_clogl.c (__clogl): Likewise.
6783 * math/libm-test.inc (clog_test): Add more tests.
6784 (clog10_test): Likewise.
6785 * sysdeps/i386/fpu/libm-test-ulps: Update.
6786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6787
2bc13872
FW
67882012-07-31 Florian Weimer <fweimer@redhat.com>
6789
6790 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6791 Exit with zero in case no suitable GID is found, and write a
6792 message to standard error.
6793
bea9b193
RM
67942012-07-30 Roland McGrath <roland@hack.frob.com>
6795
6796 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6797 rather than to 1.
6798 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6799 (MAXPATHLEN): Removed.
6800 (NOGROUP, NODEV): New macros.
6801 (setbit, clrbit, isset, isclr): New macros.
6802 (howmany, roundup, powerof2): New macros.
6803 (DEV_BSIZE): New macro.
6804
6805 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6806 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6807
6808 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6809 definition on [!__NO_LONG_DOUBLE_MATH].
6810
6811 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6812 PTR_MANGLE and PTR_DEMANGLE.
6813
6814 * socket/accept4.c (accept4): Rename to __libc_accept4.
6815 Define accept4 as a weak alias.
6816
6817 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6818 on [_DIRENT_HAVE_D_TYPE].
6819 * io/ftw.c (ftw_dir): Likewise.
6820
6821 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6822
6823 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6824
6825 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6826 Use the BSD numbers rather than the arbitrary ones we had.
6827 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6828 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6829 (SIGXCPU, SIGXFSZ): New macros.
6830 (_NSIG): Now 32.
6831
6832 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6833 initializer on [_LIBC_REENTRANT].
6834
6835 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6836 definitions inside [_POSIX_MAPPED_FILES].
6837
6838 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6839
6840 * dirent/opendir.c: Include <fcntl.h>.
6841
6842 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6843 (__libc_getspecific): Likewise.
6844 (__libc_key_create): Likewise.
6845
6846 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6847 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6848 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6849 (tmpfile64): Define as alias.
6850 * sysdeps/wordsize-64/tmpfile.c: File removed.
6851 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6852 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6853 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6854
6855 * stdio-common/vfscanf.c: Include <stdbool.h>.
6856 * nss/makedb.c: Likewise.
6857 * stdio-common/_i18n_number.h: Likewise.
6858 * argp/argp-help.c: Likewise.
6859 * posix/wordexp.c: Likewise.
6860 * sysdeps/posix/spawni.c: Likewise.
6861 * nss/nss_files/files-initgroups.c: Likewise.
6862 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6863 * nss/nss_files/files-initgroups.c: Likewise.
6864 * nss/nss_db/db-netgrp.c: Likewise.
6865 * nss/nss_db/db-initgroups.c: Likewise.
6866 * io/fchmodat.c: Include <sys/stat.h>.
6867
6868 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6869 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6870
6871 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6872 [HAVE_MMAP].
6873
6874 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6875 Add multiple inclusion protection.
6876
e5abc686
DM
68772012-07-27 David S. Miller <davem@davemloft.net>
6878
6879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6880
815e6fa3
GB
68812012-07-27 Gary Benson <gbenson@redhat.com>
6882
6883 [BZ #14298]
6884 * elf/rtld.c: Include <stap-probe.h>.
6885 (dl_main): Added static probes "init_start" and "init_complete".
6886 * elf/dl-load.c: Include <stap-probe.h>.
6887 (lose): Take new parameter "nsid".
6888 Added static probe "map_failed".
6889 (_dl_map_object_from_fd): Pass namespace id to lose.
6890 Added static probe "map_start".
6891 (open_verify): Pass namespace id to lose.
6892 * elf/dl-open.c: Include <stap-probe.h>.
6893 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6894 and "reloc_complete".
6895 * elf/dl-close.c: Include <stap-probe.h>.
6896 (_dl_close_worker): Added static probes "unmap_start" and
6897 "unmap_complete".
6898 * elf/rtld-debugger-interface.txt: New file documenting the above.
6899
9f98c16c
RM
69002012-07-26 Roland McGrath <roland@hack.frob.com>
6901
6902 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6903 rather than a string variable.
6904 * sunrpc/rpc_main.c (h_output): Likewise.
6905 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6906
f3c22df3
PT
69072012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6908
6909 * inet/check_native.c: New file.
6910
3129cfc6
JM
69112012-07-26 Joseph Myers <joseph@codesourcery.com>
6912
da865e95
JM
6913 [BZ #13629]
6914 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6915 if larger part has absolute value 1.0.
6916 * math/s_clog10.c (__clog10): Likewise.
6917 * math/s_clog10f.c (__clog10f): Likewise.
6918 * math/s_clog10l.c (__clog10l): Likewise.
6919 * math/s_clogf.c (__clogf): Likewise.
6920 * math/s_clogl.c (__clogl): Likewise.
6921 * math/libm-test.inc (clog_test): Add more tests.
6922 (clog10_test): Likewise.
6923 * sysdeps/i386/fpu/libm-test-ulps: Update.
6924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6925
3129cfc6
JM
6926 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6927 (pltexit): Likewise.
6928 (La_regs): Likewise.
6929 (La_retval): Likewise.
6930 (int_retval): Likewise.
6931 Update #error for removed macros to refer only to definitions in
6932 tst-audit.h.
6933 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6934 macro.
6935 (pltexit): Likewise.
6936 (La_regs): Likewise.
6937 (La_retval): Likewise.
6938 (int_retval): Likewise.
6939 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6940 macro.
6941 (pltexit): Likewise.
6942 (La_regs): Likewise.
6943 (La_retval): Likewise.
6944 (int_retval): Likewise.
6945 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6946 macro.
6947 (pltexit): Likewise.
6948 (La_regs): Likewise.
6949 (La_retval): Likewise.
6950 (int_retval): Likewise.
6951 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6952 macro.
6953 (pltexit): Likewise.
6954 (La_regs): Likewise.
6955 (La_retval): Likewise.
6956 (int_retval): Likewise.
6957 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6958 macro.
6959 (pltexit): Likewise.
6960 (La_regs): Likewise.
6961 (La_retval): Likewise.
6962 (int_retval): Likewise.
6963 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6964 macro.
6965 (pltexit): Likewise.
6966 (La_regs): Likewise.
6967 (La_retval): Likewise.
6968 (int_retval): Likewise.
6969 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6970 macro definitions in tst-audit.h.
6971 * sysdeps/i386/tst-audit.h: New file.
6972 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6973 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6974 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6975 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6976 * sysdeps/sh/tst-audit.h: Likewise.
6977 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6978 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6979 * sysdeps/x86_64/tst-audit.h: Likewise.
6980
bfc07087
AJ
69812012-07-26 Andreas Jaeger <aj@suse.de>
6982
b1b2aaf8
AJ
6983 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6984 ptrace.
6985
6986 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6987 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6988 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6989 PTRACE_O_MASK.
6990 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6991 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6992 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6993
bfc07087
AJ
6994 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6995 value.
6996
6997 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6998 _sigsys.
6999 (si_call_addr, si_syscall, si_arch): Define new macro.
7000 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7001 _sigsys.
7002 (si_call_addr, si_syscall, si_arch): Define new marcro.
7003 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7004 _sigsys.
7005 (si_call_addr, si_syscall, si_arch): Define new macro.
7006 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7007 _sigsys.
7008 (si_call_addr, si_syscall, si_arch): Define new macro.
7009
89b4b02f
JM
70102012-07-25 Joseph Myers <joseph@codesourcery.com>
7011
7012 [BZ #13717]
7013 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7014 Change to 2.4.21 where previously 2.4.1.
7015 * sysdeps/unix/sysv/linux/configure: Regenerated.
7016 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7017 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7018 Linux kernel version.
7019 (__ASSUME_STD_AUXV): Remove.
7020 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7021 kernel version.
7022 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7023 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7024 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7025 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7026 (__ASSUME_NETLINK_SUPPORT): Likewise.
7027 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7028 (__no_netlink_support): Remove conditional definition.
7029 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7030 Remove.
7031 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7032 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7033 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7034 (if_nameindex_ioctl): Remove.
7035 (if_nameindex_netlink): Do not handle __no_netlink_support.
7036 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7037 code.
7038 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7039 Remove conditional code.
7040 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7041 code.
7042 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7043 unconditional.
7044 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7045 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7046 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7047 Remove.
7048 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7049 [!__ASSUME_STD_AUXV]: Remove conditional code.
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7051 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7052 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7054 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7055 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7056 code.
7057 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7059 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7060 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7061 conditional code.
7062 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7064 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7065 code.
7066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7067 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7068 conditional code.
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7070 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7071 code unconditional.
7072 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7073 conditional code.
7074 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7075 unconditional.
7076 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7077 conditional code.
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7079 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7080 unconditional.
7081 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7082 conditional code.
7083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7084 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7085 code unconditional.
7086 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7087 conditional code.
7088 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7089 unconditional.
7090 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7091 conditional code.
7092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7093 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7094 code unconditional.
7095 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7096 conditional code.
7097 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7098 unconditional.
7099 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7100 conditional code.
7101
842a39cd
AS
71022012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7103
7104 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7105 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7106 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7107 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7108 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7109 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7110 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7111 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7112 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7113 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7114 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7115 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7116 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7117 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7118 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7119 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7120 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7121 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7122 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7124 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7125 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7126 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7127
84b3fd84
FW
71282012-07-25 Florian Weimer <fweimer@redhat.com>
7129
7130 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7131 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7132 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7133 Introduce __libc_secure_getenv.
0c7936d5
FW
7134 * stdlib/Versions (2.17): Add secure_getenv
7135 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7136 * stdlib/secure-getenv.c: Rename __secure_getenv to
7137 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7138 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7139 * stdlib/tst-secure-getenv.c: New.
7140 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7141 * manual/startup.texi (Environment Access): Document
7142 secure_getenv.
84b3fd84
FW
7143 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7144 __libc_secure_getenv.
7145 * inet/ruserpass.c (ruserpass): Likewise.
7146 * malloc/mtrace.c (mtrace): Likewise.
7147 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7148 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7149 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7150 * sysdeps/posix/tempname.c: Likewise. Evaluate
7151 HAVE_SECURE_GETENV.
7152 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7153 __secure_getenv to __libc_secure_getenv.
84b3fd84 7154 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7156 Likewise.
7157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7158 Likewise.
7159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7161 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7166
56e49b71
JM
71672012-07-25 Joseph Myers <joseph@codesourcery.com>
7168
7169 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7170 (struct La_i86_retval): Likewise.
7171 (struct La_x86_64_regs): Likewise.
7172 (struct La_x86_64_retval): Likewise.
7173 (struct La_x32_regs): Likewise.
7174 (struct La_x32_retval): Likewise.
7175 (struct La_ppc32_regs): Likewise.
7176 (struct La_ppc32_retval): Likewise.
7177 (struct La_ppc64_regs): Likewise.
7178 (struct La_ppc64_retval): Likewise.
7179 (struct La_sh_regs): Likewise.
7180 (struct La_sh_retval): Likewise.
7181 (struct La_s390_32_regs): Likewise.
7182 (struct La_s390_32_retval): Likewise.
7183 (struct La_s390_64_regs): Likewise.
7184 (struct La_s390_64_retval): Likewise.
7185 (struct La_sparc32_regs): Likewise.
7186 (struct La_sparc32_retval): Likewise.
7187 (struct La_sparc64_regs): Likewise.
7188 (struct La_sparc64_retval): Likewise.
7189 (struct audit_ifaces): Remove architecture-specific pltenter and
7190 pltexit members.
7191 * sysdeps/i386/ldsodefs.h: New file.
7192 * sysdeps/powerpc/ldsodefs.h: Likewise.
7193 * sysdeps/s390/ldsodefs.h: Likewise.
7194 * sysdeps/sh/ldsodefs.h: Likewise.
7195 * sysdeps/sparc/ldsodefs.h: Likewise.
7196 * sysdeps/x86_64/ldsodefs.h: Likewise.
7197
354691b7
MP
71982012-07-25 Marek Polacek <polacek@redhat.com>
7199
7200 [BZ #6808]
7201 * math/libm-test.inc (yn_test): Add another test.
7202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7203 to ERANGE when the result is +-Inf.
7204 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7205 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7206 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7207 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7208
bf9e2071
JM
72092012-07-24 Joseph Myers <joseph@codesourcery.com>
7210
7211 * conform/data/time.h-data (NULL): Use macro-constant. Require
7212 equal to 0.
7213 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7214 clock_t.
7215 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7216
57633811
TS
72172012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7218
7219 * configure.in <sysdeps resolving>: Correct printing
7220 Implies_before.
7221 * configure: Regenerate.
7222
c23c33b0
TS
72232012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7224
7225 * math/w_ilogb.c: Include <limits.h>.
7226 * math/w_ilogbl.c: Likewise.
7227
b5982523
JM
72282012-07-20 Joseph Myers <joseph@codesourcery.com>
7229
7230 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7231 va_copy. Document allowing for unavailable va_copy only as
7232 pre-C99 compatibility.
7233 * manual/string.texi (Copying and Concatenation): Use va_copy
7234 instead of __va_copy in concat example.
7235
ac4ea442
PT
72362012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7237
7238 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7239 (__sendto): Use create_address_port. Initialize APORT and deallocate
7240 it if not null.
7241
f98eafbd
PT
7242 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7243 with O_NOLINK passed to __file_name_lookup.
7244
898c7aab
PT
7245 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7246 with O_NOLINK passed to __file_name_lookup.
7247
0ced335a
PT
7248 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7249 negative N or less than NGIDS.
7250
b3404dbd
PT
7251 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7252 type to string_t. Set ERANGE as errno and return it if NAME is not big
7253 enough. Use memcpy instead of strncpy.
7254
0f48659e
JM
72552012-07-20 Joseph Myers <joseph@codesourcery.com>
7256
7257 * elf/Makefile (check-data): Remove.
7258 (localplt.data): New vpath directive.
7259 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7260 instead of $(check-data).
7261 * scripts/data/localplt-generic.data: Move to ...
7262 * sysdeps/generic/localplt.data: ... here.
7263 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7264 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7265 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7267 ... here.
7268 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7270 ... here.
7271 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7273 ... here.
7274 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7276 ... here.
7277 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7279 ... here.
7280 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7282 ... here.
7283
d37cbdaa
AZ
72842012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7285
7286 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7287 PPC32 and PPC64 files.
7288 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7289 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7290
46f85fc2
AK
72912012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7292
7293 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7294 __makecontext_ret to ...
7295 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7296 ... here and call exit if uc_link is NULL. New file.
7297 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7298 __makecontext_ret.S.
7299 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7300 __makecontext_ret to ...
7301 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7302 ... here and call exit if uc_link is NULL. New file.
7303 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7304 __makecontext_ret.S.
7305
08f43f9b
AK
73062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7307
7308 * elf/elf.h (R_390_IRELATIVE): New definition.
7309 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7310 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7311 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7312 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7313 (elf_machine_lazy_rel): Likewise.
7314 * sysdeps/s390/dl-irel.h: New file.
7315 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7316 * sysdeps/s390/s390-64/memset.S: New asm code.
7317 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7318 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7319 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7320 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7321 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7322 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7323 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7324 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7325 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7326 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7327 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7328 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7329 * sysdeps/s390/s390-32/memset.S: New asm code.
7330 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7331
3b05db33
MP
73322012-07-17 Marek Polacek <polacek@redhat.com>
7333
7334 [BZ #14349]
7335 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7336 * sysdeps/s390/s390-64/configure.in: Likewise.
7337 * sysdeps/sparc/configure.in: Likewise.
7338 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7339 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7340 * sysdeps/i386/configure.in: Likewise.
7341 * sysdeps/x86_64/configure.in: Likewise.
7342 * sysdeps/sh/configure.in: Likewise.
7343 * sysdeps/s390/s390-32/configure: Regenerated.
7344 * sysdeps/s390/s390-64/configure: Likewise.
7345 * sysdeps/x86_64/configure: Likewise.
7346 * sysdeps/sh/configure: Likewise.
7347 * sysdeps/powerpc/powerpc64/configure: Likewise.
7348 * sysdeps/powerpc/powerpc32/configure: Likewise.
7349 * sysdeps/sparc/configure: Likwise.
7350 * sysdeps/i386/configure: Likewise.
7351
a66877c6
MP
7352 * elf/dl-open.c: Comment fixes.
7353
cfc82fd8
JM
73542012-07-17 Joseph Myers <joseph@codesourcery.com>
7355
bd29910a
JM
7356 * Makefile [CXX] (check-data): Remove.
7357 [CXX] (c++-types.data): New vpath directive.
7358 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7359 vpath. Do not allow for C++ type data being missing.
7360 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7361 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7362 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7363 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7364 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7365 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7366 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7368 ... here.
7369 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7371 ... here.
7372 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7374 ... here.
7375 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7377 ... here.
7378 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7380 ... here.
7381 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7383 ... here.
7384 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7386 ... here.
7387 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7389
cfc82fd8
JM
7390 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7391 definitions to architecture-specific files.
7392 (TLS_IE): Likewise.
7393 (TLS_LD): Likewise.
7394 (TLS_GD): Likewise.
7395 * sysdeps/i386/tls-macros.h: New file.
7396 * sysdeps/powerpc/tls-macros.h: Likewise.
7397 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7398 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7399 * sysdeps/sh/tls-macros.h: Likewise.
7400 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7401 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7402 * sysdeps/x86_64/tls-macros.h: Likewise.
7403
f7db3170
TS
74042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7405
07cbfc23
TS
7406 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7407 zero value for regular exit case.
7408
f7db3170
TS
7409 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7410 (__start_context): Preserve zero value for regular exit case.
7411
dc97c227
TS
74122012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7413 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7414
7415 * manual/setjmp.texi (setcontext): Clarify normal process
7416 termination when uc_link is the null pointer.
7417 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7418 exit call.
7419
d0cd7d02
AS
74202012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7421
7422 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7423 preprocessor. Test for each exception mask separately.
7424
dd318934
AJ
74252012-07-16 Andreas Jaeger <aj@suse.de>
7426
7427 * po/ru.po: Update from translation team.
7428
8048311a
JM
74292012-07-15 Joseph Myers <joseph@codesourcery.com>
7430
7431 * conform/data/string.h-data (NULL): Use macro-constant. Require
7432 equal to 0.
7433 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7434 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7435 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7436 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7437 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7438
b637d46e
AJ
74392012-07-13 Andreas Jaeger <aj@suse.de>
7440
7441 * po/fr.po: Update from translation team.
7442
541428fe
MP
74432012-07-12 Marek Polacek <polacek@redhat.com>
7444
7445 [BZ #14173]
7446 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7447 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7448 loop condition.
7449
ec332e94
JM
74502012-07-12 Joseph Myers <joseph@codesourcery.com>
7451
7452 [BZ #13717]
7453 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7454 Change to 2.4.1 where previously 2.4.0.
7455 * sysdeps/unix/sysv/linux/configure: Regenerated.
7456 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7457 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7458 version.
7459 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7460 (__ASSUME_AT_CLKTCK): Remove.
7461 (__ASSUME_AT_PAGESIZE): Likewise.
7462 (__ASSUME_AT_XID): Likewise.
7463 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7464 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7465 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7466 unconditionally.
7467 (HAVE_AUX_PAGESIZE): Likewise.
7468 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7469 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7470 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7471
7b6e99be
JB
74722012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7473
7474 [BZ #14307]
7475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7476 the temporary buffer used to invoke __gethostbyname2_r,
7477 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7478 host_data / struct gaih_addrtuple.
7479 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7480 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7481 header file nss/nsswitch.h.
7482 * nss/nsswitch.h (global scope): Add definition of implementation
7483 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7484 resolv/nss_dns/dns-host.c).
7485
608404eb
AJ
74862012-07-11 Andreas Jaeger <aj@suse.de>
7487
7488 * po/fr.po: Update from translation team.
7489
71220aca
AJ
7490 * po/sv.po: Update from translation team
7491 * po/fr.po: Another update from translation team.
7492
28cfe843
AZ
74932012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7494
7495 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7496 for subnormals or multiply small sinh result by itself.
7497 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7499
6b90f981
DM
75002012-07-11 David S. Miller <davem@davemloft.net>
7501
7502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7503
c6825772
AS
75042012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7505
7506 [BZ #14347]
7507 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7508 (INTERNAL_MARK): Shift it here.
7509
7b8e0d49
MP
75102012-07-10 Marek Polacek <polacek@redhat.com>
7511
7512 [BZ #14151]
7513 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7514 libc_cv_asm_global_directive with .globl.
7515 * configure: Regenerated.
7516 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7517 with .globl.
7518 * sysdeps/i386/configure: Regenerated.
7519 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7520 with .globl.
7521 * sysdeps/x86_64/configure: Regenerated.
7522 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7523 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7524 * elf/tst-unique2mod2.c: Likewise.
7525 * elf/tst-unique2mod1.c: Likewise.
7526 * elf/tst-unique1mod2.c: Likewise.
7527 * elf/tst-unique1mod1.c: Likewise.
7528 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7529 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7530 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7531 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7532 * sysdeps/mach/sysdep.h: Likewise.
7533 * sysdeps/i386/sysdep.h: Likewise.
7534 * sysdeps/i386/i386-mcount.S: Likewise.
7535 * sysdeps/x86_64/_mcount.S: Likewise.
7536 * sysdeps/x86_64/sysdep.h: Likewise.
7537 * sysdeps/sh/_mcount.S: Likewise.
7538 * sysdeps/sh/sysdep.h: Likewise.
7539 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7540 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7541 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7542 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7543 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7544 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7545 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7546 * locale/localeinfo.h: Likewise.
7547 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7548 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7549
6c55cda3
RM
75502012-07-09 Roland McGrath <roland@hack.frob.com>
7551
7552 [BZ #14336]
7553 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7554 system".
7555 * manual/message.texi (The Uniforum approach): Likewise.
7556 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7557 (glibc iconv Implementation): Likewise.
7558
638a572e
JM
75592012-07-09 Joseph Myers <joseph@codesourcery.com>
7560
7561 [BZ #14337]
7562 * math/s_clog.c (__clog): Avoid scaling a value down where that
7563 could result in underflow.
7564 * math/s_clog10.c (__clog10): Likewise.
7565 * math/s_clog10f.c (__clog10f): Likewise.
7566 * math/s_clog10l.c (__clog10l): Likewise.
7567 * math/s_clogf.c (__clogf): Likewise.
7568 * math/s_clogl.c (__clogl): Likewise.
7569 * math/libm-test.inc (clog_test): Add more tests.
7570 (clog10_test): Likewise.
7571 * sysdeps/i386/fpu/libm-test-ulps: Update.
7572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7573
261f4859
AS
75742012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7575
0abaf3e4
AS
7576 [BZ #14283]
7577 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7578 by 7 not 8 to examine high bit of fractional part.
7579
261f4859
AS
7580 [BZ #14042]
7581 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7582 for call to __mcount_internal.
7583 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7584 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7585 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7586
f17ac40d
JM
75872012-07-06 Joseph Myers <joseph@codesourcery.com>
7588
9ad63c23
JM
7589 [BZ #14154]
7590 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7591 approximation for values within 0x1p-13f of an odd multiple of
7592 pi/4.
7593 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7594 exception. Add more tests.
7595 * sysdeps/i386/fpu/libm-test-ulps: Update.
7596
f17ac40d
JM
7597 [BZ #6778]
7598 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7599 inputs and return -1 for them. Do not check for +Inf in case not
7600 reachable for +Inf.
7601 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7602 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7603 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7604 and return -1 for them. Do not check for +Inf in case not
7605 reachable for +Inf.
7606 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7607 define.
7608 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7609 and return -1 for them. Do not check for +Inf in case not
7610 reachable for +Inf.
7611 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7612 spurious underflow.
7613 * sysdeps/i386/fpu/libm-test-ulps: Update.
7614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7615
fb21f89b
MF
76162012-07-06 Mike Frysinger <vapier@gentoo.org>
7617
7618 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7619
cdfe2c5e
JM
76202012-07-05 Joseph Myers <joseph@codesourcery.com>
7621
7622 [BZ #14157]
7623 [BZ #14331]
7624 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7625 could result in spurious underflow. Scale down values above
7626 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7627 * math/s_csqrtf.c (__csqrtf): Likewise.
7628 * math/s_csqrtl.c (__csqrtl): Likewise.
7629 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7630 spurious underflow.
7631 * sysdeps/i386/fpu/libm-test-ulps: Update.
7632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7633
70d35b67
AS
76342012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7635
704bc459
AS
7636 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7637 xopen-msg.sed.
7638 * catgets/xopen-msg.awk: New file.
7639 * catgets/xopen-msg.sed: Removed.
7640
70d35b67
AS
7641 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7642 po2text.sed.
7643 * intl/po2test.awk: New file.
7644 * intl/po2test.sed: Removed.
7645
ca61cf32
JM
76462012-07-04 Joseph Myers <joseph@codesourcery.com>
7647
7648 [BZ #14328]
7649 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7650 or multiply small sinh result by itself.
7651 * math/s_ctanf.c (__ctanf): Likewise.
7652 * math/s_ctanh.c (__ctanh): Likewise.
7653 * math/s_ctanhf.c (__ctanhf): Likewise.
7654 * math/s_ctanhl.c (__ctanhl): Likewise.
7655 * math/s_ctanl.c (__ctanl): Likewise.
7656 * math/libm-test.inc (ctan_test_tonearest): New function.
7657 (ctan_test_towardzero): Likewise.
7658 (ctan_test_downward): Likewise.
7659 (ctan_test_upward): Likewise.
7660 (ctanh_test_tonearest): Likewise.
7661 (ctanh_test_towardzero): Likewise.
7662 (ctanh_test_downward): Likewise.
7663 (ctanh_test_upward): Likewise.
7664 (main): Call these new functions.
7665 * sysdeps/i386/fpu/libm-test-ulps: Update.
7666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7667
ca48a46a
MF
76682012-07-03 Mike Frysinger <vapier@gentoo.org>
7669
7670 * .gitignore: Delete /ports entry.
7671
9d63d37d
AJ
76722012-07-03 Andreas Jaeger <aj@suse.de>
7673
7674 * po/bg.po: Update from translation team.
7675 * po/cs.po: Likewise.
7676 * po/de.po: Likewise.
7677 * po/hr.po: Likewise.
7678 * po/nl.pl: Likewise.
7679 * po/pl.po: Likewise.
7680 * po/vi.po: Likewise.
7681
370ca3d2
JM
76822012-07-03 Joseph Myers <joseph@codesourcery.com>
7683
95f5a9a8
JM
7684 * Makeconfig [!+link] (+link-before-libc): New variable.
7685 [!+link] (+link-after-libc): Likewise.
7686 [!+link] (+link-tests): Likewise.
7687 [!+link] (+link): Define in terms of $(+link-before-libc) and
7688 $(+link-after-libc).
7689 [!+link-static] (+link-static-before-libc): New variable.
7690 [!+link-static] (+link-static-after-libc): Likewise.
7691 [!+link-static] (+link-static-tests): Likewise.
7692 [!+link-static] (+link-static): Define in terms of
7693 $(+link-static-before-libc) and $(+link-static-after-libc).
7694 [build-shared] (link-libc-before-gnulib): New variable.
7695 [build-shared] (link-libc-tests): Likewise.
7696 [build-shared] (link-libc): Define in terms of
7697 $(link-libc-before-gnulib).
7698 [!build-shared] (link-libc-tests): New variable.
7699 (link-libc-static-tests): New variable.
7700 [!gnulib] (gnulib-arch): New variable.
7701 [!gnulib] (gnulib-tests): Likewise.
7702 [!gnulib] (static-gnulib-arch): Likewise.
7703 [!gnulib] (static-gnulib-tests): Likewise.
7704 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7705 Define with "=" instead of ":=".
7706 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7707 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7708 * Rules (binaries-all-notests): New variable.
7709 (binaries-all-tests): Likewise.
7710 (binaries-static-notests): Likewise.
7711 (binaries-static-tests): Likewise.
7712 (binaries-all): Define using $(binaries-all-notests) and
7713 $(binaries-all-tests).
7714 (binaries-static): Define using $(binaries-static-notests) and
7715 $(binaries-static-tests).
7716 (binaries-shared-tests): New variable.
7717 (binaries-shared-notests): Likewise.
7718 (binaries-shared): Remove variable.
7719 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7720 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7721 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7722 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7723 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7724 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7725 * elf/Makefile (sln-modules): New variable.
7726 (extra-objs): Add $(sln-modules:=.o).
7727 (ldconfig-modules): Add static-stubs.
7728 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7729 * elf/static-stubs.c: New file.
7730
7a845b2c
JM
7731 [BZ #14283]
7732 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7733 by 7 not 8 to examine high bit of fractional part. Use volatile
7734 variables when splitting into final array of floats if
7735 __FLT_EVAL_METHOD__ != 0.
7736 * math/libm-test.inc (cos_test): Add another test.
7737 (sin_test): Likewise.
7738 * sysdeps/i386/fpu/libm-test-ulps: Update.
7739
e2283f38
JM
7740 [BZ #14273]
7741 * math/libm-test.inc (cosh_test): Add more tests.
7742
370ca3d2
JM
7743 * version.h (RELEASE): Set to "development".
7744 (VERSION): Set to "2.16.90".
7745
ee9247c3
CD
77462012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7747
7748 * NEWS: Update copyright. Remove last-updated date.
7749 Mention math library bug fixes and timezone data changes.
7750 * README: Mention GNU/Hurd, x32, and HPPA support status.
7751
4648c381
TS
77522012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7753
7754 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7755
aac78a43
AJ
77562012-06-27 Andreas Jaeger <aj@suse.de>
7757
7758 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7759
ed3dbfad
AJ
77602012-06-25 Andreas Jaeger <aj@suse.de>
7761
7762 * sysdeps/s390/fpu/libm-test-ulps: Update.
7763
4d0ee855
AS
77642012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7765 Thomas Schwinge <thomas@codesourcery.com>
7766
7767 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7768 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7769 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7770 fanotify_mark.
7771
af1bce34
TS
77722012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7773
a9fa33ba
TS
7774 * sysdeps/mach/start.c: Remove file.
7775 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7776 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7777 * sysdeps/sh/init-first.c: Likewise.
7778
58f902b8
TS
7779 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7780 registers for frame unwinding purposes, add CFI directives.
7781 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7782 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7783 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7784 Likewise.
7785
1518f58b
TS
7786 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7787 __fortify_fail returning.
7788 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7789
db9b5059
TS
7790 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7791 sysdeps/sh/____longjmp_chk.S.
7792 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7793 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7794 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7795 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7796
967705fe
TS
7797 * sysdeps/sh/abort-instr.h: New file.
7798 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7799 process in case exit returns.
7800
a9def8c4
TS
7801 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7802 initialize the GOT register before use.
7803
2a649725
TS
7804 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7805 calculation of ARGC > 4.
7806
af1bce34
TS
7807 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7808 meaningful names to some local labels.
7809
d230f50a
KK
78102012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7811 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7812
7813 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7814 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7815 (__arch_compare_and_exchange_val_16_acq): Likewise.
7816 (__arch_compare_and_exchange_val_32_acq): Likewise.
7817 (atomic_exchange_and_add): Fix gUSA sequence.
7818 (atomic_add): Likewise.
7819 (atomic_add_negative): Likewise.
7820 (atomic_add_zero): Likewise.
7821 (atomic_bit_test_set): Likewise.
7822
0479b305
AS
78232012-06-22 Andreas Schwab <schwab@redhat.com>
7824
7825 [BZ #13579]
7826 * include/link.h (struct link_map): Add l_free_initfini.
7827 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7828 l_initfini.
7829 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7830 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7831 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7832 set.
7833
0e3933b9
CD
78342012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7835
7836 * configure.in: Use AC_LANG_SOURCE.
7837 * configure: Regenerate.
7838
4248b1b1
RM
78392012-06-22 Roland McGrath <roland@hack.frob.com>
7840
7841 * configure.in (libc_cv_localstatedir): New substituted variable.
7842 * configure: Regenerated.
7843 * config.make.in (localstatedir): New variable, substituted from
7844 libc_cv_localstatedir.
7845 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7846 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7847 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7848 * sysdeps/gnu/configure: Regenerated.
7849
006dd861
JL
78502012-06-21 Jeff Law <law@redhat.com>
7851
7852 [BZ #14277]
7853 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7854 free. Simplify list management for _LIBC case.
7855
79662d42
JM
78562012-06-21 Joseph Myers <joseph@codesourcery.com>
7857
b7abb4bf
JM
7858 [BZ #14273]
7859 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7860 Clear sign bit of 64-bit integer value before comparing against
7861 overflow value.
7862
79662d42
JM
7863 * sysdeps/mach/configure: Regenerated.
7864
1f150908
L
78652012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7866
7867 [BZ #14278]
7868 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7869
28363bbf
JL
78702012-06-21 Jeff Law <law@redhat.com>
7871
7872 [BZ #13882]
7873 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7874 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7875 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7876 * elf/dl-open.c (dl_open_worker): Likewise.
7877
09615db4
CD
78782012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7879
7880 * scripts/list-sources.sh: Scan PORTS for translations.
7881 * po/libc.pot: Regenerated.
7882
2174c6dd
AJ
78832012-06-21 Andreas Jaeger <aj@suse.de>
7884
7885 [BZ #12194]
7886 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7887 warning.
7888 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7889 * bits/byteswap-16.h (__bswap_16): Likewise.
7890 * bits/byteswap.h (__bswap_constant_16): Likewise.
7891
3ee947b1
L
78922012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7893
7894 [BZ #14117]
a2f34833
L
7895 * sysdeps/i386/fpu_control.h: Removed.
7896 * sysdeps/x86_64/fpu_control.h: Moved to ...
7897 * sysdeps/x86/fpu_control.h: Here.
7898
3ee947b1
L
7899 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7900 (_FPU_SETCW): Likewise.
7901
ed1825f8
L
79022012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7903
25f1282a
L
7904 [BZ #14117]
7905 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7906 * sysdeps/x86/fpu/bits/mathinline.h: This.
7907 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7908
ed1825f8
L
7909 [BZ #14050]
7910 [BZ #14117]
7911 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7912 functions if __x86_64__ is defined.
7913
36d54b74
CLT
79142012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7915
7916 * string/endian.h: Add !__ASSEMBLER__ condition for including
7917 conversion interfaces.
7918
10285c21
JM
79192012-06-15 Joseph Myers <joseph@codesourcery.com>
7920
7921 [BZ #14241]
7922 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7923 of ABS(x) in calculating zero to negative powers other than odd
7924 integers.
7925 * math/libm-test.inc (pow_test): Add more tests.
7926
06c5abbd
AJ
79272012-06-15 Andreas Jaeger <aj@suse.de>
7928
7929 * manual/contrib.texi (Contributors): Update entry of Liubov
7930 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7931 Machado Filho.
7932
a3aeac40
CH
79332012-06-15 Cyril Hrubis <metan@ucw.cz>
7934
7935 * string/string.h: Add __wur to GNU version of strerror_r.
7936
49bdf4c1
L
79372012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7938
7939 [BZ #14229]
7940 * string/Makefile (tests): Add tst-strtok_r.
7941 * string/tst-strtok_r.c: New file.
7942 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7943 RAX_LP/RDX_LP on SAVE_PTR.
7944
834f9b8d
RM
79452012-06-14 Roland McGrath <roland@hack.frob.com>
7946
7947 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7948
75fa1921
JM
79492012-06-14 Joseph Myers <joseph@codesourcery.com>
7950
7951 * libm_test.inc (csqrt_test): Allow more spurious underflow
7952 exceptions.
7953 (j0_test): Likewise.
7954 (j1_test): Likewise.
7955 (y0_test): Likewise.
7956 (y1_test): Likewise.
7957
771766df
CD
79582012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7959
7960 * po/Makefile (libc.pot): Use UTF-8 charset.
7961
ceb9e56b
PP
79622012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7963
7964 [BZ #14210]
7965 Suppress sign-conversion warning from FD_SET.
7966 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7967 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7968 not unsigned long int.
7969 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7970
ddb28975
L
79712012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7972
7973 [BZ #14050]
7974 [BZ #14117]
7975 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7976 __extern_always_inline instead of __extern_inline.
7977 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7978 (__signbit): Likewise.
7979 (__signbitl): Support C++ namespace.
7980 (lrintf): New inline function.
7981 (lrint): Likewise.
7982 (llrintf): Likewise.
7983 (llrint): Likewise.
7984 (fmaxf): Likewise.
7985 (fmax): Likewise.
7986 (fminf): Likewise.
7987 (fmin): Likewise.
7988 (rint): Likewise.
7989 (rintf): Likewise.
7990 (ceil): Likewise.
7991 (ceilf): Likewise.
7992 (floor): Likewise.
7993 (floorf): Likewise.
7994 (nearbyint): Likewise.
7995 (nearbyintf): Likewise.
7996
d7b4fb26
TS
79972012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7998
7999 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8000 non-default versions.
8001
eb55f5c2
RM
80022012-06-11 Roland McGrath <roland@hack.frob.com>
8003
8004 [BZ #14218]
8005 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8006
366af02c
TS
80072012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8008
99ff6e5c
TS
8009 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8010 (FE_UPWARD, FE_DOWNWARD): Don't define.
8011 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8012 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8013
366af02c
TS
8014 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8015 reading it.
8016 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8017 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8018
793ea851
KK
80192012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8020
8021 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8023 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8024 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8025
a728a38f
L
80262012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8027
8028 [BZ #14117]
c08010c7
L
8029 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8030 * sysdeps/i386/fpu/Implies: New file.
8031 * sysdeps/x86_64/fpu/Implies: Likewise.
8032 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8033 * sysdeps/x86/fpu/bits/fenv.h: This.
8034
a728a38f
L
8035 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8036 __SSE_MATH__.
8037
6e230d11
SP
80382012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8039
8040 [BZ #14134]
8041 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8042 character 0xffff that matches the last element of the
8043 conversion table.
8044
1b671feb
AZ
80452012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8046
8047 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8048 fmodl commit.
8049
6043738b
AZ
80502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8051
8052 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8053 values higher than 25.6283.
8054
34ae0b32
AZ
80552012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8056
8057 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8058 subnormal exponent extraction and add some __builtin_expect.
8059 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8060 Fix for subnormal mantissa calculation.
8061
1214ec8f
MF
80622012-06-04 Mike Frysinger <vapier@gentoo.org>
8063
8064 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8065 cpu2 is -1 and errno is not ENOSYS.
8066
f3d1f93c
L
80672012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8068
8069 [BZ #14117]
0e4a3cd7
L
8070 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8071 * sysdeps/x86/bits/string.h: This.
8072 * sysdeps/x86_64/bits/string.h: Removed.
8073
6704c645
L
8074 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8075 if not compiling for x86-64, but compiling for >= i486.
8076
48495318
L
8077 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8078 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8079
14adcbfc
L
8080 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8081 New macro from Linux kernel 3.4.0.
8082 (FP_XSTATE_MAGIC2): Likewise.
8083 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8084 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8085 (struct _fpx_sw_bytes): New struct.
8086 (struct _xsave_hdr): Likewise.
8087 (struct _ymmh_state): Likewise.
8088 (struct _xstate): Likewise.
8089
68e408ab
L
8090 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8091 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8092 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8093 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8094 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8095 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8096
f3d1f93c
L
8097 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8098 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8099 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8100 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8101 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8102 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8103
d9dc34cd
TMQMF
81042012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8105
8106 [BZ #13743]
8107 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8108 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8109 (sysdep_headers): Include sys/platform/ppc.h.
8110 * sysdeps/powerpc/test-gettimebase.c: Test for
8111 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8112 * manual/Makefile (appendices): Include platform.texi.
8113 * manual/contrib.texi (Contributors): Update @node pointers.
8114 * manual/maint.texi (Maintenance): Likewise.
8115 (Platform): New node.
8116 * manual/platform.texi: New file. Document the new features.
8117
4af3879c
SP
81182012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8119 Jakub Jelinek <jakub@redhat.com>
8120
8121 [BZ #14188]
8122 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8123 where __builtin_expect is unavailable.
8124
2fd6ff13
DM
81252012-06-03 David S. Miller <davem@davemloft.net>
8126
8127 * stdlib/longlong.h: Updated from GCC.
8128
173f7220
AS
81292012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8130
8131 [BZ #14042]
8132 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8133 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8134 __mcount_internal.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8136 (GLIBC_2.16): Likewise.
8137
f34a1c6f
L
81382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8139
8140 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8141
88a4576f
JM
81422012-06-01 Joseph Myers <joseph@codesourcery.com>
8143
ea32bcdd
JM
8144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8145 (default-abi): New variable.
8146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8147 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8148 variable.
8149 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8150 Likewise.
8151 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8152 Likewise.
8153 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8154 Likewise.
8155
88a4576f
JM
8156 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8157 definition. Document in comment.
8158
402fe938
DM
81592012-06-01 David S. Miller <davem@davemloft.net>
8160
8161 * stdlib/longlong.h: Updated from GCC.
8162
3553723f
L
81632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8164
8165 [BZ #14117]
3bd872c4
L
8166 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8167 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8168 sys/debugreg.h sys/io.h here.
8169 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8170 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8171 sys/io.h.
8172 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8173 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8174 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8175 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8176 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8177 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8178
3553723f
L
8179 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8180 Define only if __x86_64__ is defined.
8181
4842e4fe
JM
81822012-06-01 Joseph Myers <joseph@codesourcery.com>
8183
c5bfe3d5
JM
8184 [BZ #14048]
8185 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8186 Use int64_t for variable i.
8187 * math/libm-test.inc (fmod_test): Add more tests.
8188
4842e4fe
JM
8189 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8190 z computation is not scheduled after fetestexcept.
8191 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8192 Use math_force_eval instead of asm to ensure calculation scheduled
8193 before exception test.
8194 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8195 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8196
efb73488
AJ
81972012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8198
8199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8200 computation is not scheduled after fetestexcept.
8201
29bcce7c
L
82022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8203
8204 [BZ #14117]
8205 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8206 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8207
73a68f94
AZ
82082012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8209
8210 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8211 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8212
67b6df78
L
82132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8214
edf2933a 8215 [BZ #14117]
ebc64a18
L
8216 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8217 <bits/wordsize.h>.
8218 (__WCHAR_MIN): Support __WORDSIZE == 64.
8219 (__WCHAR_MAX): Likewise.
8220
edf2933a
L
8221 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8222 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8223
57c6cf40
L
8224 [BZ #14183]
8225 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8226 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8227
67b6df78 8228 [BZ #14117]
8eb6281e
L
8229 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8230 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8231
aac639f4
L
8232 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8233 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8234
67b6df78
L
8235 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8236 Defined to 1 if __x86_64__ isn't defined.
8237 (_STAT_VER_LINUX_OLD): New.
8238 (st_atime): Remove duplicate.
8239 (st_mtime): Likewise.
8240 (st_ctime): Likewise.
8241
1c2cfe81
DM
82422012-05-31 David S. Miller <davem@davemloft.net>
8243
8244 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8245 entries.
8246
5be8418c
AS
82472012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8248
e7725326
AS
8249 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8250 gen-libm-test.pl.
8251
5be8418c
AS
8252 [BZ #14132]
8253 * elf/dl-reloc.c: Include <_itoa.h>.
8254 (_dl_reloc_bad_type): Remove use of INTUSE.
8255 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8256 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8257 * stdio-common/psiginfo.c (psiginfo): Likewise.
8258 * stdio-common/psignal.c (psignal): Likewise.
8259 * string/strsignal.c (strsignal): Likewise.
8260 * include/signal.h (_sys_siglist): Declare hidden proto.
8261 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8262 INTVARDEF with libc_hidden_data_def.
8263 * stdio-common/itoa-udigits.c: Likewise.
8264 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8265 (_itoa_lower_digits_internal): Remove declaration.
8266 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8267 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8268 (_sys_sigabbrev_internal): Remove aliases.
8269 (_sys_siglist): Define hidden alias.
8270
507352f1
MT
82712012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8272
8273 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8274 bits/sysctl.h.
8275
42bbb1c3
L
82762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8277
8278 [BZ #14117]
6bd784b6
L
8279 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8280 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8281
8bca20f0
L
8282 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8283 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8284 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8285 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8286 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8287 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8288
f9e890a9
L
8289 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8290 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8291 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8292
471101a1
L
8293 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8294 with __addr.
8295 (insw): Likewise.
8296 (insl): Likewise.
8297 (outsb): Likewise.
8298 (outsw): Likewise.
8299 (outsl): Likewise.
8300
6451c862
L
8301 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8302 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8303 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8304
a254b8c9
L
8305 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8306 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8307 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8308 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8309 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8310 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8311
b8dfdd92
L
8312 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8313 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8314
578cd270
L
8315 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8316 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8317
de662f5f
L
8318 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8319 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8320 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8321
25653439
L
8322 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8323 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8324 to ...
8325 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8326
6bad24a0
L
8327 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8328 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8329 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8330
42bbb1c3
L
8331 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8332 for x86-64.
8333 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8334
2d10d547
JM
83352012-05-31 Joseph Myers <joseph@codesourcery.com>
8336
8337 * math/math.h (M_El): Use two more decimal places.
8338 (M_LOG2El): Likewise.
8339 (M_LOG10El): Likewise.
8340 (M_LN2l): Likewise.
8341 (M_LN10l): Likewise.
8342 (M_PIl): Likewise.
8343 (M_PI_2l): Likewise.
8344 (M_PI_4l): Likewise.
8345 (M_1_PIl): Likewise.
8346 (M_2_PIl): Likewise.
8347 (M_2_SQRTPIl): Likewise.
8348 (M_SQRT2l): Likewise.
8349 (M_SQRT1_2l): Likewise.
8350
f230c29b
DM
83512012-05-31 David S. Miller <davem@davemloft.net>
8352
8353 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8354 values between float registers.
8355 * sysdeps/sparc/sparc64/memset.S: Likewise.
8356 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8357
fed806c3
MF
83582012-05-31 Mike Frysinger <vapier@gentoo.org>
8359
8360 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8361 -D_FORTIFY_SOURCE=1.
8362 (CPPFLAGS-tst-longjmp_chk.c): Define.
8363 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8364 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8365 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8366 CFLAGS-tst-wchar-h.c.
8367
30917259
MP
83682012-05-31 Marek Polacek <polacek@redhat.com>
8369
8370 [BZ #14132]
8371 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8372 __endmntent_internal): Remove declaration.
8373 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8374 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8375 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8376
1c58d5dc
DM
83772012-05-30 David S. Miller <davem@davemloft.net>
8378
8379 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8380 (___Q_simulate_exceptions): Use real FP ops rather than writing
8381 into the %fsr.
8382 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8383 Likewise.
8384
7dc00e0d
L
83852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8386
8387 [BZ #14117]
0bd53985
L
8388 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8389 * sysdeps/x86/bits/xtitypes.h: This.
8390
3a257e66
L
8391 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8392 * sysdeps/x86/bits/wordsize.h: This.
8393
62f62904
L
8394 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8395 * sysdeps/x86/bits/huge_vall.h: This.
8396
404fe9d9
L
8397 * sysdeps/i386/bits/select.h: Removed.
8398 * sysdeps/x86_64/bits/select.h: Renamed to ...
8399 * sysdeps/x86/bits/select.h: This.
8400
d48d0446
L
8401 * sysdeps/i386/bits/setjmp.h: Removed.
8402 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8403 * sysdeps/x86/bits/setjmp.h: This.
8404
7dc00e0d
L
8405 * sysdeps/i386/bits/mathdef.h: Removed.
8406 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8407 * sysdeps/x86/bits/mathdef.h: This.
8408
03277f8f
AS
84092012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8410
8411 [BZ #14132]
8412 * include/sys/socket.h (__connect_internal)
8413 (__libc_sa_len_internal): Remove declaration.
8414 (__connect, __libc_sa_len): Declare hidden_proto.
8415 (SA_LEN): Remove use of INTUSE.
8416 * socket/connect.c: Add libc_hidden_def.
8417 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8418 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8419 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8420 alias.
8421 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8422 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8423 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8424 of adding _internal alias.
8425
13764867
L
84262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8427
8428 [BZ #14117]
6bd97696
L
8429 * sysdeps/i386/bits/link.h: Removed.
8430 * sysdeps/i386/bits/linkmap.h: Likewise.
8431 * sysdeps/x86_64/bits/link.h: Renamed to ...
8432 * sysdeps/x86/bits/link.h: This.
8433 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8434 * sysdeps/x86/bits/linkmap.h: This.
8435
f726f0bb
L
8436 * sysdeps/i386/bits/endian.h: Removed.
8437 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8438 * sysdeps/x86/bits/endian.h: This.
8439
13764867
L
8440 * sysdeps/i386/bits/byteswap.h: Removed.
8441 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8442 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8443 * sysdeps/x86/bits/byteswap.h: This.
8444 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8445 * sysdeps/x86/bits/byteswap-16.h: This.
8446 * sysdeps/i386/Implies: Add x86.
8447 * sysdeps/x86_64/Implies: Likewise.
8448
ae251b0b
DM
84492012-05-30 David S. Miller <davem@davemloft.net>
8450
8451 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8452 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8453 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8454 (FP_TRAPPING_EXCEPTIONS): Define.
8455 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8456 (FP_TRAPPING_EXCEPTIONS): Define.
8457 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8458 subnormals only when inexact has been signalled or underflow
8459 exceptions are enabled.
8460 (_FP_PACK_CANONICAL): Likewise.
8461
d5c90867
L
84622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8463
8464 [BZ #14183]
8465 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8466 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8467
63f1549e
RH
84682012-05-30 Richard Henderson <rth@twiddle.net>
8469
8d8f2279
RH
8470 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8471 with #ifndef NOT_IN_libc.
8472
63f1549e
RH
8473 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8474 marked to avoid plt entry.
8475
0ab0291b
L
84762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8477
8478 [BZ #14112]
8479 * Makeconfig (default-abi): New macro.
8480 (abi-includes): Likewise.
8481 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8482 $(abi-$(default-abi)-lib-soname) for soname if defined.
8483 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8484 abi-variants.
8485 * Makefile (installed-stubs): Likewise.
8486 * include/stubs-biarch.h: Removed.
8487 * scripts/lib-names.awk: Only handle one library at a time.
8488 * scripts/soversions.awk: Remove WORDSIZE support.
8489 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8490 entries.
8491 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8492 Removed.
8493 (syscall-list-default-condition): Likewise.
8494 (syscall-list-default-condition): Likewise.
8495 (syscall-list-includes): Likewise.
8496 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8497 syscall-list-* with abi-*. Handle undefined abi-variants.
8498 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8499 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8500 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8501 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8502 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8503 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8504 Removed.
8505 (syscall-list-32-options): Likewise.
8506 (syscall-list-32-condition): Likewise.
8507 (syscall-list-64-options): Likewise.
8508 (syscall-list-64-condition): Likewise.
8509 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8510 macro.
8511 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8512 Renamed to ...
8513 (abi-*): This.
8514 (abi-64-ld-soname): New macro.
8515 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8516 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8517 Renamed to ...
8518 (abi-*): This.
8519 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8520 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8521
4da0431d
JM
85222012-05-30 Joseph Myers <joseph@codesourcery.com>
8523
3a85279c
JM
8524 * sysdeps/unix/sysv/linux/kernel-features.h
8525 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8526 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8527 include <kernel-features.h>.
8528 [!__NR_ftruncate64]: Remove conditional code.
8529 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8530 [__NR_ftruncate64]: Make code unconditional.
8531 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8532 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8533 include <kernel-features.h>.
8534 [!__NR_ftruncate64]: Remove conditional code.
8535 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8536 [__NR_ftruncate64]: Make code unconditional.
8537 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8539 include <kernel-features.h>.
8540 [!__NR_ftruncate64]: Remove conditional code.
8541 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8542 [__NR_ftruncate64]: Make code unconditional.
8543 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8545 include <kernel-features.h>.
8546 [!__NR_ftruncate64]: Remove conditional code.
8547 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8548 [__NR_ftruncate64]: Make code unconditional.
8549 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8550
4da0431d
JM
8551 * configure.in (libc_cv_fpie): Weaken to a compile test using
8552 LIBC_TRY_CC_OPTION.
8553 * configure: Regenerated.
8554
11ef492c
AK
85552012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8556
8557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8561 Refreshed.
8562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8568 Refreshed.
8569
d66ef399
DM
85702012-05-27 David S. Miller <davem@davemloft.net>
8571
8572 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8573 (___Q_zero): New.
8574 (__Q_simulate_exceptions): Return void. Change to simulate
8575 exceptions by writing into the %fsr.
8576 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8577 (__Qp_handle_exceptions): Likewise.
8578 (numbers): Delete.
8579 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8580 __Qp_handle_exceptions.
8581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8582 __Qp_handle_exceptions.
8583 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8584 as unused and give dummy FP_RND_NEAREST initializer.
8585 (FP_INHIBIT_RESULTS): Define.
8586 (___Q_simulate_exceptions): Update declaration.
8587 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8588 formatting.
8589 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8590 as unused and give dummy FP_RND_NEAREST initializer.
8591 (__Qp_handle_exceptions): Update declaration.
8592 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8593 formatting.
8594
04fb54b5
TS
85952012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8596
8597 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8598 the temporary FPU control word.
8599 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8600 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8601 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8602 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8603 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8604 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8605 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8606 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8607 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8608 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8609 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8610
3f99608f
KK
86112012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8612
8613 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8614 fields.
8615
65a4de4e
CLT
86162012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8617
8618 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8619 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8620 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8621 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8622 Likewise.
8623 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8624 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8625 Likewise.
8626
15749d40
UD
86272012-05-27 Ulrich Drepper <drepper@gmail.com>
8628
8629 * po/h.po: Update from translation team.
8630
25dbcb27
AS
86312012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8632
3d3f8e55
AS
8633 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8634
25dbcb27
AS
8635 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8636 handling of denormals.
8637 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8638 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8639 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8640 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8641 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8642 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8643 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8644 Likewise.
8645
7ad47a80 86462012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8647
8648 [BZ #14152]
8649 * math/libm-test.inc (fma_test): Don't always expect underflow
8650 exception.
8651
9c6ea9fa
SP
86522012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8653
8654 [BZ #12416]
8655 * elf/tst-execstack.c: Include stackinfo.h.
8656 (do_test): Adjust test case to ensure that pthread_getattr_np
8657 behaviour remains the same after marking stack executable.
8658
a8239222
JM
86592012-05-25 Joseph Myers <joseph@codesourcery.com>
8660
8661 * sysdeps/unix/sysv/linux/kernel-features.h
8662 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8663 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8664 kernel-features.h.
8665 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8666 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8667 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8668 kernel-features.h.
8669 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8670 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8671
918b5606
L
86722012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8673
8674 * configure.in: Define the default includes to being none.
8675 * configure: Regenerated.
8676
3a097cc7
RM
86772012-05-25 Roland McGrath <roland@hack.frob.com>
8678
8422c9a5
RM
8679 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8680 * sysdeps/x86_64/setjmp.S: Likewise.
8681 * sysdeps/i386/bsd-setjmp.S: Likewise.
8682 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8683 * sysdeps/i386/setjmp.S: Likewise.
8684 * sysdeps/i386/__longjmp.S: Likewise.
8685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8686 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8687
3a097cc7
RM
8688 * include/stap-probe.h: New file.
8689 * configure.in: Handle --enable-systemtap.
8690 * configure: Regenerated.
8691 * config.h.in (USE_STAP_PROBE): New #undef.
8692 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8693 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8694 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8695
21708942
JM
86962012-05-25 Joseph Myers <joseph@codesourcery.com>
8697
8698 [BZ #13717]
8699 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8700 to 2.4.0 where earlier.
8701 * sysdeps/unix/sysv/linux/configure: Regenerated.
8702 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8703 <kernel-features.h>.
8704 [__ASSUME_32BITUIDS]: Make code unconditional.
8705 [!__ASSUME_32BITUIDS]: Remove conditional code.
8706 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8707 <kernel-features.h>.
8708 [__ASSUME_32BITUIDS]: Make code unconditional.
8709 [!__ASSUME_32BITUIDS]: Remove conditional code.
8710 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8711 [__ASSUME_32BITUIDS]: Make code unconditional.
8712 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8713 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8714 <kernel-features.h>.
8715 [__ASSUME_32BITUIDS]: Make code unconditional.
8716 [!__ASSUME_32BITUIDS]: Remove conditional code.
8717 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8718 <kernel-features.h>.
8719 [__ASSUME_32BITUIDS]: Make code unconditional.
8720 [!__ASSUME_32BITUIDS]: Remove conditional code.
8721 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8722 <kernel-features.h>.
8723 [__ASSUME_32BITUIDS]: Make code unconditional.
8724 [!__ASSUME_32BITUIDS]: Remove conditional code.
8725 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8726 <kernel-features.h>.
8727 [__ASSUME_32BITUIDS]: Make code unconditional.
8728 [!__ASSUME_32BITUIDS]: Remove conditional code.
8729 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8730 <kernel-features.h>.
8731 [__ASSUME_32BITUIDS]: Make code unconditional.
8732 [!__ASSUME_32BITUIDS]: Remove conditional code.
8733 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8734 <kernel-features.h>.
8735 [__ASSUME_32BITUIDS]: Make code unconditional.
8736 [!__ASSUME_32BITUIDS]: Remove conditional code.
8737 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8738 <kernel-features.h>.
8739 [__ASSUME_32BITUIDS]: Make code unconditional.
8740 [!__ASSUME_32BITUIDS]: Remove conditional code.
8741 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8742 <kernel-features.h>.
8743 [__ASSUME_32BITUIDS]: Make code unconditional.
8744 [!__ASSUME_32BITUIDS]: Remove conditional code.
8745 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8746 <kernel-features.h>.
8747 [__ASSUME_32BITUIDS]: Make code unconditional.
8748 [!__ASSUME_32BITUIDS]: Remove conditional code.
8749 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8750 <kernel-features.h>.
8751 [__ASSUME_32BITUIDS]: Make code unconditional.
8752 [!__ASSUME_32BITUIDS]: Remove conditional code.
8753 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8754 <kernel-features.h>.
8755 [__NR_setresgid] (__setresgid): Do not declare.
8756 [__ASSUME_32BITUIDS]: Make code unconditional.
8757 [!__ASSUME_32BITUIDS]: Remove conditional code.
8758 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8759 <kernel-features.h>.
8760 [__NR_setresuid] (__setresuid): Do not declare.
8761 [__ASSUME_32BITUIDS]: Make code unconditional.
8762 [!__ASSUME_32BITUIDS]: Remove conditional code.
8763 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8764 <kernel-features.h>.
8765 [__ASSUME_32BITUIDS]: Make code unconditional.
8766 [!__ASSUME_32BITUIDS]: Remove conditional code.
8767 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8768 <kernel-features.h>.
8769 [__ASSUME_32BITUIDS]: Make code unconditional.
8770 [!__ASSUME_32BITUIDS]: Remove conditional code.
8771 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8772 <kernel-features.h>.
8773 [__ASSUME_32BITUIDS]: Make code unconditional.
8774 [!__ASSUME_32BITUIDS]: Remove conditional code.
8775 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8776 <kernel-features.h>.
8777 [__ASSUME_32BITUIDS]: Make code unconditional.
8778 [!__ASSUME_32BITUIDS]: Remove conditional code.
8779 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8780 <kernel-features.h>.
8781 [__ASSUME_32BITUIDS]: Make code unconditional.
8782 [!__ASSUME_32BITUIDS]: Remove conditional code.
8783 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8784 <kernel-features.h>.
8785 [__ASSUME_32BITUIDS]: Make code unconditional.
8786 [!__ASSUME_32BITUIDS]: Remove conditional code.
8787 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8788 <kernel-features.h>.
8789 [__ASSUME_32BITUIDS]: Make code unconditional.
8790 [!__ASSUME_32BITUIDS]: Remove conditional code.
8791 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8792 <kernel-features.h>.
8793 [__ASSUME_32BITUIDS]: Make code unconditional.
8794 [!__ASSUME_32BITUIDS]: Remove conditional code.
8795 * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
8804 (__ASSUME_SETRESUID_SYSCALL): Remove.
8805 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8806 (__ASSUME_32BITUIDS): Likewise.
8807 (__ASSUME_LDT_WORKS): Likewise.
8808 (__ASSUME_O_DIRECTORY): Likewise.
8809 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8810 architecture but not kernel version.
8811 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8812 (__ASSUME_MMAP2_SYSCALL): Likewise.
8813 (__ASSUME_STAT64_SYSCALL): Likewise.
8814 (__ASSUME_IPC64): Likewise.
8815 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8816 <kernel-features.h>.
8817 [__ASSUME_32BITUIDS]: Make code unconditional.
8818 [!__ASSUME_32BITUIDS]: Remove conditional code.
8819 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8820 <kernel-features.h>.
8821 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8822 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8823 132096]: Remove conditional code.
8824 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8825 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8826 <kernel-features.h>.
8827 [__ASSUME_32BITUIDS]: Make code unconditional.
8828 [!__ASSUME_32BITUIDS]: Remove conditional code.
8829 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8830 <kernel-features.h>.
8831 [__ASSUME_32BITUIDS]: Make code unconditional.
8832 [!__ASSUME_32BITUIDS]: Remove conditional code.
8833 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8834 <kernel-features.h>.
8835 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8836 unconditional.
8837 (__setresgid): Do not declare.
8838 [__ASSUME_32BITUIDS]: Make code unconditional.
8839 [!__ASSUME_32BITUIDS]: Remove conditional code.
8840 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8841 <kernel-features.h>.
8842 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8843 unconditional.
8844 (__setresuid): Do not declare.
8845 [__ASSUME_32BITUIDS]: Make code unconditional.
8846 [!__ASSUME_32BITUIDS]: Remove conditional code.
8847 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8848 <kernel-features.h>.
8849 [__ASSUME_32BITUIDS]: Make code unconditional.
8850 [!__ASSUME_32BITUIDS]: Remove conditional code.
8851 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8852 <kernel-features.h>.
8853 [__ASSUME_32BITUIDS]: Make code unconditional.
8854 [!__ASSUME_32BITUIDS]: Remove conditional code.
8855
a386f1cc
RH
88562012-05-25 Richard Henderson <rth@twiddle.net>
8857
8858 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8859 dl_hwcap to ifunc resolver.
8860 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8861 elf_ifunc_invoke.
8862 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8863 dl_hwcap to ifunc resolver.
8864 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8865
b6550497
JM
88662012-05-24 Joseph Myers <joseph@codesourcery.com>
8867
8868 [BZ #14153]
8869 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8870 for |x| <= 2**-26, not 2**-57.
8871 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8872 exception.
8873
b0bc23a1
JL
88742012-05-24 Jeff Law <law@redhat.com>
8875
8876 * stdio-common/Makefile (tests): Add bug25.
8877 * stdio-common/bug25.c: New test.
8878
347c92e9
L
88792012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8880
8881 [BZ #13576]
8882 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8883 multiple of MALLOC_ALIGNMENT in size.
8884 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8885
6bcc8b3f
JM
88862012-05-24 Joseph Myers <joseph@codesourcery.com>
8887
8888 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8889 Require >= 256.
8890 (FILENAME_MAX): Use macro-int-constant.
8891 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8892 (_IOFBF): Use macro-int-constant.
8893 (_IOLBF): Likewise.
8894 (_IONBF): Likewise.
8895 (SEEK_CUR): Likewise.
8896 (SEEK_END): Likewise.
8897 (SEEK_SET): Likewise.
8898 (TMP_MAX): Likewise.
8899 (EOF): Use macro-int-constant. Require < 0.
8900 (NULL): Use macro-constant. Require == 0.
8901 (stdin): Require type to be FILE *.
8902 (stdout): Likewise.
8903 (stderr): Likewise.
8904 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8905 macro-int-constant.
8906 (EXIT_SUCCESS): Likewise.
8907 (NULL): Use macro-constant. Require == 0.
8908 (RAND_MAX): Use macro-int-constant.
8909 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8910 [C99-based standards] (strtof): Require function.
8911 [C99-based standards] (strtold): Likewise.
8912 [C99-based standards] (strtoll): Likewise.
8913 [C99-based standards] (strtoull): Likewise.
8914 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8915 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8916 [ISO || ISO99 || ISO11] (math.h): Likewise.
8917 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8918 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8919 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8920
d18ea0c5
AS
89212012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8922
8923 [BZ #14132]
56d25bb8
AS
8924 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8925 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8926 * intl/dgettext.c (DCGETTEXT): Likewise.
8927 * intl/gettext.c (DCGETTEXT): Likewise.
8928 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8929 * posix/regex_internal.h (gettext): Likewise.
8930 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8931 Remove declaration.
8932 * include/argz.h (__argz_count_internal)
8933 (__argz_stringify_internal): Remove declaration.
8934 (__argz_count, __argz_stringify): Declare hidden proto.
8935 * intl/dcgettext.c: Remove use of INTDEF.
8936 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8937 * string/argz-stringify.c: Likewise.
8938 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8939 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8940 Declare hidden proto.
d18ea0c5
AS
8941 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8942 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8943 Declare hidden proto.
8944 * include/stdio.h (__asprintf_internal): Don't declare.
8945 (__asprintf): Don't define as macro. Declare hidden proto.
8946 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8947 (__fsetlocking): Declare hidden proto.
8948 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8949 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8950 hidden proto.
8951 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8952 (_IO_setlinebuf): Remove use of INTUSE.
8953 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8954 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8955 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8956 Remove declaration.
8957 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8958 (_IO_do_flush): Remove use of INTUSE.
8959 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8960 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8961 (_IO_adjust_column, _IO_least_wmarker)
8962 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8963 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8964 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8965 (_IO_default_doallocate, _IO_wdefault_doallocate)
8966 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8967 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8968 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8969 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8970 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8971 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8972 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8973 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8974 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8975 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8976 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8977 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8978 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8979 proto.
8980 (_IO_flush_all_internal, _IO_adjust_column_internal)
8981 (_IO_default_uflow_internal, _IO_default_finish_internal)
8982 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8983 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8984 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8985 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8986 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8987 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8988 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8989 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8990 (_IO_file_close_internal, _IO_file_close_it_internal)
8991 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8992 (_IO_file_init_internal, _IO_file_attach_internal)
8993 (_IO_file_fopen_internal, _IO_file_read_internal)
8994 (_IO_file_sync_internal, _IO_file_seek_internal)
8995 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8996 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8997 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8998 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8999 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9000 (_IO_list_all_internal, _IO_link_in_internal)
9001 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9002 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9003 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9004 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9005 (_IO_do_write_internal, _IO_padn_internal)
9006 (_IO_getline_info_internal, _IO_getline_internal)
9007 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9008 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9009 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9010 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9011 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9012 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9013 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9014 with libc_hidden_ver, remove use of INTUSE.
9015 * libio/genops.c: Likewise.
9016 * libio/freopen.c: Likewise.
9017 * libio/freopen64.c: Likewise.
9018 * libio/iofclose.c: Likewise.
9019 * libio/iofdopen.c: Likewise.
9020 * libio/iofflush.c: Likewise.
9021 * libio/iofflush_u.c: Likewise.
9022 * libio/iofgets.c: Likewise.
9023 * libio/iofgets_u.c: Likewise.
9024 * libio/iofopen.c: Likewise.
9025 * libio/iofopncook.c: Likewise.
9026 * libio/iofread.c: Likewise.
9027 * libio/iofread_u.c: Likewise.
9028 * libio/ioftell.c: Likewise.
9029 * libio/iofwrite.c: Likewise.
9030 * libio/iogetline.c: Likewise.
9031 * libio/iogets.c: Likewise.
9032 * libio/iogetwline.c: Likewise.
9033 * libio/iopadn.c: Likewise.
9034 * libio/iopopen.c: Likewise.
9035 * libio/ioseekoff.c: Likewise.
9036 * libio/ioseekpos.c: Likewise.
9037 * libio/iosetbuffer.c: Likewise.
9038 * libio/iosetvbuf.c: Likewise.
9039 * libio/ioungetc.c: Likewise.
9040 * libio/ioungetwc.c: Likewise.
9041 * libio/iovdprintf.c: Likewise.
9042 * libio/iovsprintf.c: Likewise.
9043 * libio/iovsscanf.c: Likewise.
9044 * libio/memstream.c: Likewise.
9045 * libio/obprintf.c: Likewise.
9046 * libio/oldfileops.c: Likewise.
9047 * libio/oldiofclose.c: Likewise.
9048 * libio/oldiofdopen.c: Likewise.
9049 * libio/oldiofopen.c: Likewise.
9050 * libio/oldiopopen.c: Likewise.
9051 * libio/oldstdfiles.c: Likewise.
9052 * libio/putc.c: Likewise.
9053 * libio/setbuf.c: Likewise.
9054 * libio/setlinebuf.c: Likewise.
9055 * libio/stdfiles.c: Likewise.
9056 * libio/strops.c: Likewise.
9057 * libio/vasprintf.c: Likewise.
9058 * libio/vscanf.c: Likewise.
9059 * libio/vsnprintf.c: Likewise.
9060 * libio/vswprintf.c: Likewise.
9061 * libio/wfiledoalloc.c: Likewise.
9062 * libio/wfileops.c: Likewise.
9063 * libio/wgenops.c: Likewise.
9064 * libio/wmemstream.c: Likewise.
9065 * libio/wstrops.c: Likewise.
9066 * libio/__fpurge.c: Likewise.
9067 * libio/__fsetlocking.c: Likewise.
9068 * assert/assert.c: Likewise.
9069 * debug/fgets_chk.c: Likewise.
9070 * debug/fgets_u_chk.c: Likewise.
9071 * debug/fread_chk.c: Likewise.
9072 * debug/fread_u_chk.c: Likewise.
9073 * debug/gets_chk.c: Likewise.
9074 * debug/obprintf_chk.c: Likewise.
9075 * debug/vasprintf_chk.c: Likewise.
9076 * debug/vdprintf_chk.c: Likewise.
9077 * debug/vsnprintf_chk.c: Likewise.
9078 * debug/vsprintf_chk.c: Likewise.
9079 * malloc/mtrace.c: Likewise.
9080 * misc/error.c: Likewise.
9081 * misc/syslog.c: Likewise.
9082 * stdio-common/asprintf.c: Likewise.
9083 * stdio-common/fxprintf.c: Likewise.
9084 * stdio-common/getw.c: Likewise.
9085 * stdio-common/isoc99_fscanf.c: Likewise.
9086 * stdio-common/isoc99_scanf.c: Likewise.
9087 * stdio-common/isoc99_vfscanf.c: Likewise.
9088 * stdio-common/isoc99_vscanf.c: Likewise.
9089 * stdio-common/isoc99_vsscanf.c: Likewise.
9090 * stdio-common/printf-prs.c: Likewise.
9091 * stdio-common/printf_fp.c: Likewise.
9092 * stdio-common/printf_fphex.c: Likewise.
9093 * stdio-common/printf_size.c: Likewise.
9094 * stdio-common/putw.c: Likewise.
9095 * stdio-common/scanf.c: Likewise.
9096 * stdio-common/sprintf.c: Likewise.
9097 * stdio-common/tmpfile.c: Likewise.
9098 * stdio-common/vfprintf.c: Likewise.
9099 * stdio-common/vfscanf.c: Likewise.
9100 * stdlib/strfmon_l.c: Likewise.
9101 * sunrpc/openchild.c: Likewise.
9102 * sunrpc/xdr_stdio.c: Likewise.
9103 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9104 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9105
d6c33fda
RM
91062012-05-24 Roland McGrath <roland@hack.frob.com>
9107
c1487492
RM
9108 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9109
9110 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9111 in the third column, to generate for the shared library an IFUNC
9112 that uses _dl_vdso_vsym.
9113 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9114 * Makeconfig (object-suffixes-noshared): New variable.
9115
9116 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9117 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9118 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9119 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9120
d6c33fda
RM
9121 [BZ #14132]
9122 * include/sys/time.h (__gettimeofday): Remove macro.
9123 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9124 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9125 Remove INTDEF.
9126 (__gettimeofday): Add libc_hidden_def.
9127 (gettimeofday): Add libc_hidden_weak.
9128 * sysdeps/mach/gettimeofday.c: Likewise.
9129 * sysdeps/posix/gettimeofday.c: Likewise.
9130 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9131 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9133 (__gettimeofday_internal): Remove strong_alias.
9134 (__gettimeofday): Add libc_hidden_def.
9135 (gettimeofday): Add libc_hidden_weak.
9136 * sysdeps/unix/syscalls.list (gettimeofday):
9137 Remove __gettimeofday_internal alias.
9138
b5a2bbe6
L
91392012-05-24 Daniel Jacobowitz <drow@false.org>
9140 H.J. Lu <hongjiu.lu@intel.com>
9141
9142 [BZ #12495]
9143 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9144 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9145 (largebin_index_32_big): New.
9146 (largebin_index): Use it for 16-byte alignment.
9147 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9148 correction with front_misalign.
9149
cfba4fda
L
91502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9151
7f907421
L
9152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9154 Likewise.
9155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9156 Likewise.
9157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9158 Likewise.
9159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9160 Likewise.
9161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9162 Likewise.
9163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9164 Likewise.
9165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9166 Likewise.
9167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9168 Likewise.
9169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9170 Likewise.
9171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9172 Likewise.
9173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9174 Likewise.
9175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9176 Likewise.
9177
cfba4fda
L
9178 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9179 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9180
80bad0cc
JM
91812012-05-24 Joseph Myers <joseph@codesourcery.com>
9182
7a25eb06
JM
9183 [BZ #10846]
9184 [BZ #14036]
9185 * math/libm-test.inc (exp_test): Add test from bug 14036.
9186 (pow_test): Add test from bug 10846.
9187
795405f9
JM
9188 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9189 and other flags.
9190 (special_function): Do not include flags in test name.
9191 (parse_args): Likewise.
9192 * sysdeps/i386/fpu/libm-test-ulps: Update.
9193 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9194 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9195 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9197
80bad0cc
JM
9198 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9199 exceptions.
9200 * math/libm-test.inc ("Philosophy"): Update comment about
9201 exception testing.
9202 (UNDERFLOW_EXCEPTION): New macro.
9203 (UNDERFLOW_EXCEPTION_OK): Likewise.
9204 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9205 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9206 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9207 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9208 (INVALID_EXCEPTION_OK): Update value.
9209 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9210 (OVERFLOW_EXCEPTION_OK): Likewise.
9211 (IGNORE_ZERO_INF_SIGN): Likewise.
9212 (test_exceptions): Handle underflow exceptions.
9213 (acos_test): Update for underflow exception expectations.
9214 (cexp_test): Likewise.
9215 (clog_test): Likewise.
9216 (clog10_test): Likewise.
9217 (csqrt_test): Likewise.
9218 (ctan_test): Likewise.
9219 (ctanh_test): Likewise.
9220 (exp_test): Likewise.
9221 (exp10_test): Likewise.
9222 (exp2_test): Likewise.
9223 (expm1_test): Likewise.
9224 (fma_test): Likewise.
9225 (j0_test): Likewise.
9226 (jn_test): Likewise.
9227 (nexttoward_test): Likewise.
9228 (pow_test): Likewise.
9229 (scalbn_test): Likewise.
9230 (scalbln_test): Likewise.
9231 (tan_test): Likewise.
9232 (y1_test): Likewise.
9233 * sysdeps/i386/fpu/libm-test-ulps: Update.
9234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9235
9e0e3d0b
DM
92362012-05-23 David S. Miller <davem@davemloft.net>
9237
9238 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9239 (__libc_sigaction): Remove unused local variables.
9240
ccd0a08f
L
92412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9242
9243 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9244
62bdf9a6
PE
92452012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9246
f8591f80
PE
9247 mktime: avoid signed integer overflow
9248 * time/mktime.c (__mktime_internal): Do not mishandle the case
9249 where diff == INT_MIN.
9250
94c7d826
PE
9251 mktime: simplify computation of average
9252 * time/mktime.c (ranged_convert): Use new time_t_avg function
9253 instead of rolling our own (probably-slower) code.
9254
ce73d683
PE
9255 mktime: do not assume signed right shift propagates sign bit
9256 * time/mktime.c (isdst_differ): New static function.
9257 (__mktime_internal): No need to normalize tm_isdst now.
9258 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9259 tm_isdst values.
9260
72a22e59
PE
9261 mktime: merge another wrapv change from gnulib
9262 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9263 from some compilers.
9264
68605433
PE
9265 mktime: remove incorrect attempt at unusual arithmetics
9266 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9267 The code didn't really work on such machines anyway.
9268 (TYPE_MINIMUM): Assume two's complement.
9269 (twos_complement_arithmetic): Verify that long_int and time_t
9270 are two's complement (or unsigned, in the latter case).
9271
03cf7fe3
PE
9272 mktime: check signed shifts on long_int and time_t, too
9273 * time/mktime.c (SHR): Check that shifts work as desired
9274 on the types long_int and time_t too, as SHR is used on
9275 such types.
9276
f04dfbc2
PE
9277 mktime: do not assume 'long' is wide enough
9278 * time/mktime.c (verify): Move decl up.
9279 (long_int): New type.
9280 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9281 to remove assumption in the code that 'long' is wide enough to
9282 store year values. This assumption is not true on x32 and on
9283 some non-glibc platforms.
9284
62bdf9a6
PE
9285 mktime: merge wrapv change from gnulib
9286 * time/mktime.c (WRAPV): New macro.
9287 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9288 (guess_time_tm, __mktime_internal): Do not assume that signed
9289 integer overflow wraps around; modern compilers generate code
9290 where this assumption is no longer valid.
9291
5e292e4f
L
92922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9293
9294 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9295 Replace "jmp L(pseudo_end)" with "ret".
9296 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9297 Likewise.
9298
8caf8c87
AJ
92992012-05-23 Andreas Jaeger <aj@suse.de>
9300
9301 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9302 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9303
1a09dc56
AJ
93042012-05-23 Andreas Jaeger <aj@suse.de>
9305 Maximilian Attems <max@stro.at>
9306
9307 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9308 New macros.
9309
1c87aba0
L
93102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9311
9312 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9313 code so that pseudo_end is just ret and the stack pointer is
9314 correct also for static library in error case.
9315
40e45bd5
JM
93162012-05-23 Joseph Myers <joseph@codesourcery.com>
9317
c2670533
JM
9318 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9319 move to syscalls.list.
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9324
40e45bd5
JM
9325 * manual/install.texi (Running make install): Do not mention Linux
9326 kernel version for which pt_chown is not needed.
9327 (Linux): Do not mention problems with nscd with 2.0 kernels.
9328 * INSTALL: Regenerated.
9329
be08eda5
AJ
93302012-05-23 Andreas Jaeger <aj@suse.de>
9331
9332 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9333 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9334 macro.
9335 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9336 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9337 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9338 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9339 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9340 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9341 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9342 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9343 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9344 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9345 * sysdeps/unix/sysv/linux/bits/in.h
9346 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9347
a6a056bb
RM
93482012-05-22 Roland McGrath <roland@hack.frob.com>
9349
9350 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9351 (PREPARE_VERSION): Just use assert instead, it will be elided
9352 under [NDEBUG] anyway.
9353
c9009328
L
93542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9355
9356 * sysdeps/unix/sysv/linux/Makefile: Include
9357 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9358 (sysdep_routines): Remove sysctl.
c9009328
L
9359 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9360 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9361 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9362 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9363 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9364
73338355
AJ
93652012-05-22 Andreas Jaeger <aj@suse.de>
9366
9367 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9368 that pseudo_end is just ret and the stack pointer is correct also
9369 for static library in error case.
9370
d44638b0
PP
93712012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9372
9373 [BZ #14122]
9374 * nss/nsswitch.c (defconfig_entries): New variable.
9375 (__nss_database_lookup): Don't leak defconfig entries.
9376 (nss_parse_service_list): Don't leak on error paths.
9377 (free_database_entries): New function.
9378 (free_defconfig): New function.
9379 (free_mem): Move common code to free_database_entries.
9380
31a39bd8
L
93812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9382
da0331a8
L
9383 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9384 Add arch_prctl.
9385 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9386
31a39bd8
L
9387 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9388 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9390 New macro.
9391 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9392 (INTERNAL_SYSCALL_TYPES): Likewise.
9393 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9394 (LOAD_REGS_TYPES_[1-6]): Likewise.
9395 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9396 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9397
45470df3
AZ
93982012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9399
9400 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9401 copysignl for GLIBC_2_0.
9402 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9403 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9404 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9405 logbl for GLIBC_2_0.
9406 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9407 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9408
98a61bcb
L
94092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9410
a4f6e481
L
9411 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9412 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9413
f63d5db6
L
9414 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9415 Use "neg %eax".
9416
98a61bcb
L
9417 * time/mktime.c: Update copyright years.
9418
95770f14
PE
94192012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9420
6226efbd
PE
9421 mktime: merge comment-quoting-style change from gnulib
9422 * time/mktime.c: Quote 'like this' in comments.
9423 The GNU coding standards suggest that we no longer quote `like this',
9424 as "`" and "'" are typically rendered asymmetrically nowadays.
9425 The typical gnulib style is to quote 'like this' when quoting
9426 code, and "like this" when quoting English.
9427
b99e4f78
PE
9428 * time/mktime.c (compile-command): Add "-I.".
9429
643e01e6
PE
9430 mktime: merge mktime-internal.h change from gnulib
9431 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9432
2554247d
PE
9433 mktime: merge time_r change from gnulib
9434 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9435
826dd0ab
PE
9436 mktime: merge DEBUG change from gnulib
9437 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9438 case system <time.h> has a #define.
9439
bd83aabe
PE
9440 mktime: merge <sys/types.h> change from gnulib
9441 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9442 since <time.t> is now guaranteed to define time_t.
9443
95770f14
PE
9444 mktime: merge HAVE_CONFIG_H change from gnulib
9445 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9446
5e1a27a9
L
94472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9448
0e44a77e
L
9449 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9450 Use "neg %eax".
9451
5e1a27a9
L
9452 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9453 __rlim_t cast.
9454 (struct rusage): Use anonymous union to pad each field to
9455 __syscall_slong_t.
9456
46259bec
DM
94572012-05-21 David S. Miller <davem@davemloft.net>
9458
9459 * Makefules (o-iterator): Remove .s cases.
9460 (compile-command.s): Delete.
9461 (COMPILE.s): Delete.
9462 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9463
59f0c22e
JM
94642012-05-21 Joseph Myers <joseph@codesourcery.com>
9465
9466 * configure.in (libc_cv_predef_stack_protector): Only consider
9467 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9468 * configure: Regenerated.
9469
20c07380
L
94702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9471
bbb3154b
L
9472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9473 New macro. Use R*LP on int and pointer.
9474 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9475 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9476 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9477 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9478
20c07380
L
9479 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9480 [__WORDSIZE_TIME64_COMPAT32] instead of
9481 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9482 (struct utmp): Likewise.
9483 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9484 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9485 Renamed to ...
9486 (__WORDSIZE_TIME64_COMPAT32): This.
9487 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9488 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9489 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9490 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9491 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9492 (__WORDSIZE_TIME64_COMPAT32): New macro.
9493
d8d1017e
AJ
94942012-05-21 Andreas Jaeger <aj@suse.de>
9495
9496 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9497 only if [SHARED]. Add prototype for __wcschr_ia32.
9498
6c7fb145
RM
94992012-05-21 Roland McGrath <roland@hack.frob.com>
9500
9501 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9502 of %rbp unmolested in the jmp_buf while mangling the low bits.
9503 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9504 unmolested high bits of %rbp while demangling the low bits.
9505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9506
66274218
AJ
95072012-05-21 Andreas Jaeger <aj@suse.de>
9508
07c58f8f
AJ
9509 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9510 * sunrpc/svc_simple.c: Use it for registerrpc.
9511 * sunrpc/xcrypt.c: Use it for passwd2des.
9512
66274218
AJ
9513 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9514
61f65140
L
95152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9516
9517 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9518 Don't define if [__SYSCALL_WORDSIZE != 32].
9519 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9520 New macro.
9521
5fefb436
AJ
95222012-05-21 Bruno Haible <bruno@clisp.org>
9523 Andreas Jaeger <aj@suse.de>
9524
9525 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9526 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9527 inptr and inend for must_buffer_ch.
9528 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9529 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9530 * stdio-common/Makefile (tests): Remove bug15.
9531 (bug15-ENV): Remove macro.
9532 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9533 anymore.
9534
d8e272ab
AJ
95352012-05-19 Andreas Jaeger <aj@suse.de>
9536 Roland McGrath <roland@hack.frob.com>
9537
9538 * manual/contrib.texi: Completely rewritten. It contains now an
9539 alphabetical list of contributors and their contributions.
9540
4a56a162
RH
95412012-05-21 Richard Henderson <rth@twiddle.net>
9542
9543 * misc/getauxval.c (__getauxval): Use unsigned long int.
9544 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9545 (getauxval): Use unsigned long int.
9546
d024d23c
L
95472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9548
9549 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9550
cbc00a03
RM
95512012-05-21 Roland McGrath <roland@hack.frob.com>
9552
9553 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9554 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9555 __alignof__ (long double).
9556
478143fa
AZ
95572012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9558
9559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9560
c7683a6d
RH
95612012-05-20 Richard Henderson <rth@twiddle.net>
9562
9563 * misc/getauxval.c: New file.
9564 * misc/sys/auxv.h: New file.
9565 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9566 (routines): Add getauxval.
9567 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9568 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9569 * elf/dl-sysdep.c (_dl_auxv): Remove.
9570 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9571 * elf/dl-support.c (_dl_auxv): New variable.
9572 (_dl_aux_init): Initialize it.
9573 * manual/startup.texi (Auxiliary Vector): New node.
9574 * sysdeps/generic/bits/hwcap.h: New file.
9575 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9576 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9577 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9578 * sysdeps/sparc/sysdep.h: ... here. Include it.
9579 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9580 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9582 Update.
c7683a6d
RH
9583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9586 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9591
a6f1845d
AZ
95922012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9593
9594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9595
cbcbe830
DM
95962012-05-19 David S. Miller <davem@davemloft.net>
9597
9598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9599
e0b16cc2
JM
96002012-05-19 Joseph Myers <joseph@codesourcery.com>
9601
9602 [BZ #14123]
9603 * math/s_ccosh.c: Include <float.h>
9604 (__ccosh): Avoid internal overflow calculating sinh and cosh
9605 values before multiplying by sin and cos values.
9606 * math/s_ccoshf.c: Likewise.
9607 * math/s_ccoshl.c: Likewise.
9608 * math/s_csin.c: Likewise.
9609 * math/s_csinf.c: Likewise.
9610 * math/s_csinl.c: Likewise.
9611 * math/s_csinh.c: Likewise.
9612 * math/s_csinhf.c: Likewise.
9613 * math/s_csinhl.c: Likewise.
9614 * math/libm-test.inc (ccos_test): Add more tests.
9615 (ccosh_test): Likewise.
9616 (csin_test): Likewise.
9617 (csinh_test): Likewise.
9618 * sysdeps/i386/fpu/libm-test-ulps: Update.
9619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9620
6ad13e08
L
96212012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9622
f66f0ce8
L
9623 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9624 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9625
6ad13e08
L
9626 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9627
b1d072a7
JM
96282012-05-19 Joseph Myers <joseph@codesourcery.com>
9629
9630 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9631 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9632 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9633 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9634 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9635 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9636 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9637 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9638 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9639 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9640 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9641 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9642 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9643 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9644 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9645 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9646 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9647 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9648 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9649 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9650 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9651 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9652 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9653 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9654 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9655 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9656 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9657 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9658 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9659 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9660 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9661
9eae47cb
AJ
96622012-05-18 Andreas Jaeger <aj@suse.de>
9663
9664 * csu/.gitignore: Delete.
9665
bb07f69f
L
96662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9667
9668 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9669 (timex): Use __syscall_slong_t.
9670
e6bdb741
AJ
96712012-05-18 Andreas Jaeger <aj@suse.de>
9672 Carlos O'Donell <carlos_odonell@mentor.com>
9673
9674 * manual/install.texi (Configuring and compiling): Update
9675 description about files modified in the source directory.
d6c33fda 9676 * INSTALL: Regenerated.
e6bdb741 9677
1b74487e
L
96782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9679
9680 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9681 value. Use "or" to set return value to -1.
9682 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9683 negate return value.
9684
a88b64b9
TMQMF
96852012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9686
9687 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9688 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9689 failure if the compiler has Graphite support disabled.
9690 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9691 Likewise.
9692 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9693 CFLAGS-memmove.c): Likewise.
9694 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9695 Likewise.
9696
3707636e
L
96972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9698
610b8622
L
9699 * sysdeps/x86_64/x32/_itoa.h: New file.
9700
7cd195df
L
9701 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9702 getdents system call only if kernel and user dirents have the
9703 same d_ino and d_off.
9704
94b07d20
L
9705 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9706 LLONG_MAX != LONG_MAX.
9707 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9708 (_fitoa_word): Likewise.
9709
18298070
L
9710 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9711 years.
9712 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9713 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9714 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9715
553c7ea4
L
9716 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9717 include <bits/wordsize.h>. Check __x86_64__ instead of
9718 __WORDSIZE.
9719 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9720 if __x86_64__ is defined. Use anonymous union on fpstate.
9721
3707636e
L
9722 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9723 anonymous union.
9724
b53ef01a
AS
97252012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9726
37fb1dc0
AS
9727 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9728 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9729 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9730 Refer to _rtld_local_ro instead of _rtld_global_ro.
9731 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9732 Likewise.
9733 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9734 Likewise.
9735 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9736 Likewise.
9737 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9738 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9739 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9740
b53ef01a
AS
9741 * sysdeps/powerpc/powerpc32/dl-machine.c
9742 (__elf_machine_runtime_setup) [PROF]: Don't reference
9743 _dl_prof_resolve.
9744
7a185db2
AJ
97452012-05-18 Andreas Jaeger <aj@suse.de>
9746
9747 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9748 function only available for GCCs before 3.4 since GCC 3.4
9749 introduced a builtin.
9750 (lrint): Likewise.
9751 (llrintf): Likewise.
9752 (llrint): Likewise.
9753 (fmaxf): Likewise.
9754 (fmax): Likewise.
9755 (fminf): Likewise.
9756 (fmin): Likewise.
9757 (rint): Likewise.
9758 (rintf): Likewise.
9759 (nearbyint): Likewise.
9760 (nearbyintf): Likewise.
9761 (ceil): Likewise.
9762 (ceilf): Likewise.
9763 (floor): Likewise.
9764 (floorf): Likewise.
9765
3e5aef87
L
97662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9767
428bd707
L
9768 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9769 on both fields and cast pointer to __syscall_ulong_t.
9770
3e5aef87
L
9771 * bits/types.h (__fsword_t): New type.
9772 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9773 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9774 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9775 (__FSWORD_T_TYPE): Likewise.
9776 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9777 (__FSWORD_T_TYPE): Likewise.
9778 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9779 (__FSWORD_T_TYPE): Likewise.
9780 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9781 (__FSWORD_T_TYPE): Likewise.
9782 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9783 __SWORD_TYPE with __fsword_t.
9784 (statfs64): Likewise.
9785
1ba7c3dc
DM
97862012-05-17 David S. Miller <davem@davemloft.net>
9787
9788 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9789
59910343
AJ
97902012-05-17 Andreas Jaeger <aj@suse.de>
9791
9792 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9793 warning.
9794
2e4c1e9e
L
97952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9796
9797 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9798
de7f5ce7
AJ
97992012-05-17 Andreas Jaeger <aj@suse.de>
9800
9801 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9802 when it is used.
9803
286abc3d
CM
98042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9805
9806 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9807
477cc68e
L
98082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9809
9810 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9811 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9812
1a0994f5
CD
98132012-05-17 Andreas Jaeger <aj@suse.de>
9814 Carlos O'Donell <carlos_odonell@mentor.com>
9815
9816 [BZ #14059]
9817 * sysdeps/x86_64/multiarch/init-arch.h
9818 (bit_YMM_Usable): Rename to...
9819 (bit_AVX_Usable): ... this.
9820 (bit_FMA4_Usable): New macro.
9821 (bit_XMM_state): New macro.
9822 (bit_YMM_state): New macro.
9823 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9824 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9825 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9826 (CPUID_OSXSAVE): New macro.
9827 (CPUID_AVX): New macro.
9828 (CPUID_FMA4): New macro.
9829 (index_YMM_Usable): Rename to...
9830 (index_AVX_Usable): ... this.
9831 (HAS_AVX): Use HAS_ARCH_FEATURE.
9832 (HAS_FMA4): Likewise.
9833 (HAS_YMM_USABLE): Remove.
9834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9835 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9836 are present.
9837 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9838 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9839 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9840 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9841 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9842
0af797de
CM
98432012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9844
9845 * math/libm-test.c: Support platforms without multiple rounding modes.
9846 * math/bug-nextafter.c: Support platforms without FP exceptions.
9847 * math/bug-nexttoward.c: Likewise.
9848 * math/test-fenv.c: Likewise.
9849 * math/test-misc.c: Likewise.
9850 * stdlib/bug-getcontext.c: Likewise.
9851
e39745ff
AJ
98522012-05-17 Andreas Jaeger <aj@suse.de>
9853
9854 * manual/examples/search.c (critter_cmp): Change signature to
9855 avoid warnings.
9856 * manual/string.texi (Collation Functions): Likewise.
9857
48970aba
L
98582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9859
9860 * bits/types.h: Fold copyright years.
9861 * bits/typesizes.h: Likewise.
9862 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9863 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9865 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9866 * time/time.h: Likewise.
9867
bedee953
PP
98682012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9869
9870 [BZ #208]
9871 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9872 in instead of returning them. Return void.
9873 (__libc_mallinfo): Accumulate over all arenas.
9874 (__malloc_stats): Adjust for change in int_mallinfo interface.
9875
61653dfb
RM
98762012-05-16 Roland McGrath <roland@hack.frob.com>
9877
30b99d79
RM
9878 [BZ #10375]
9879 * configure.in (NM): Add AC_CHECK_TOOL for it.
9880 (libc_extra_cflags): New substituted variable.
9881 Check for -fstack-protector being used implicitly.
9882 * configure: Regenerated.
9883 * config.make.in (config-extra-cflags): New variable,
9884 gets @libc_extra_cflags@.
9885 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9886
61653dfb
RM
9887 [BZ #10375]
9888 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9889 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9890 * configure: Regenerated.
9891 * config.make.in (CPPUNDEFS): New substituted variable.
9892 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9893 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9894 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9895
661768bb
L
98962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9897
9898 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9899 (mq_attr): Use __syscall_slong_t.
9900
d4261567
L
99012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9902
9903 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9904 Check __x86_64__ instead of __WORDSIZE.
9905 (_STAT_VER_LINUX): Likewise.
9906 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9907 __syscall_ulong_t and __syscall_slong_t.
9908 (stat64): Likewise.
9909
cf3ff365
L
99102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9911
9912 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9913
76cf3e4d
L
99142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9915
9916 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9917
a637753a
L
99182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9919
9920 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9921 __syscall_ulong_t.
9922
d5e05119
L
9923 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9924 include <bits/wordsize.h>. Check __x86_64__ instead of
9925 __WORDSIZE.
9926 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9927 defined.
9928 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9929
f62ee380
L
9930 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9931 include <bits/wordsize.h>. Check __x86_64__ instead of
9932 __WORDSIZE.
9933 (user_regs_struct): Use "__extension__ unsigned long long"
9934 instead of "unsigned long" if __x86_64__ is defined.
9935 (user): Likewise. Pad after pointer field if __ILP32__ is
9936 defined.
9937
4e124ced
JM
99382012-05-16 Joseph Myers <joseph@codesourcery.com>
9939
6a3951a0
JM
9940 * configure.in (makeinfo): Require version 4.5 or later. Allow
9941 versions 5 to 9.
9942 * configure: Regenerated.
9943 * manual/install.texi (texinfo): Increase version requirement to
9944 4.5 or later.
9945 * INSTALL: Regenerated.
9946
4e124ced
JM
9947 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9948
953ca31a
L
99492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9950
9951 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9952
617aca05
L
9953 * sysdeps/x86_64/x32/ffs.c: New file.
9954
5762f7ae
L
9955 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9956 __syscall_ulong_t.
9957 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9958 defined. Use __syscall_ulong_t.
9959 (shminfo): Use __syscall_ulong_t.
9960 (shm_info): Likewise.
9961
a26b6856
L
9962 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9963 __syscall_ulong_t.
9964
cb2b9ef7
L
9965 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9966 <bits/wordsize.h>.
9967 (msgqnum_t): Use __syscall_ulong_t.
9968 (msglen_t): Likewise.
9969 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9970 __syscall_ulong_t.
9971
34683bb0
L
9972 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9973 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9974
84a68786
L
9975 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9976
48baa5f1
L
9977 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9978 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9979
180be88b
L
9980 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9981 __syscall_slong_t.
9982
5e90c8ad
L
9983 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9984 include <bits/wordsize.h>. Check __x86_64__ instead of
9985 __WORDSIZE.
9986
23dfb58b
L
9987 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9988 "unsigned long long int" if __x86_64__ is defined.
9989 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9990
ce5d54b0
L
9991 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9992 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9993 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9994
13dc9eac
L
9995 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9996 <stdint.h>.
9997 (GET_PC): Cast to uintptr_t first.
9998 (GET_FRAME): Likewise.
9999 (GET_STACK): Likewise.
10000
a7895d15
L
10001 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10002 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10003 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10004 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10005 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10006 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10007 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10008 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10009 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10010 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10011 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10012 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10013 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10014 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10015 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10016 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10017 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10018 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10019 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10020 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10021 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10022 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10023 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10024 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10025 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10026 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10027 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10028 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10029 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10030
656416c9
AS
100312012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10032
5bd66283
AS
10033 * Makerules (+depfiles): Also collect depfiles from .oS in
10034 $(extra-objs).
10035 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10036 .oS, $(libnldbl-routines)).
10037
656416c9
AS
10038 * Makerules (native-compile-mkdep-flags): Define.
10039 * sunrpc/Makefile (extra-objs): Add $(addprefix
10040 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10041 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10042 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10043 calling $(make-target-directory).
10044
a46f2169
L
100452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10046
10047 * bits/types.h (__snseconds_t): Removed.
10048 * time/time.h (struct timespec): Replace __snseconds_t with
10049 __syscall_slong_t.
10050 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10051 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10052 Likewise.
10053 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10054 (__SNSECONDS_T_TYPE): Likewise.
10055 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10056 (__SNSECONDS_T_TYPE): Likewise.
10057 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10058 (__SNSECONDS_T_TYPE): Likewise.
10059
6af6528b
L
100602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10061
10062 * sysdeps/mach/hurd/bits/typesizes.h
10063 (__SYSCALL_SLONG_TYPE): New macro.
10064 (__SYSCALL_ULONG_TYPE): Likewise.
10065
de986b56
L
100662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10067
10068 * bits/types.h (__syscall_slong_t): New type.
10069 (__syscall_ulong_t): Likewise.
10070
10071 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10072 (__SYSCALL_ULONG_TYPE): Likewise.
10073 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10074 (__SYSCALL_SLONG_TYPE): Likewise.
10075 (__SYSCALL_ULONG_TYPE): Likewise.
10076 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10077 (__SYSCALL_SLONG_TYPE): Likewise.
10078 (__SYSCALL_ULONG_TYPE): Likewise.
10079 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10080 (__SYSCALL_SLONG_TYPE): Likewise.
10081 (__SYSCALL_ULONG_TYPE): Likewise.
10082
85736dc7
L
100832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10084
10085 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10086 Add sigaltstack-offsets.sym.
10087 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10088 <sigaltstack-offsets.h>.
10089 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10090 longjmp_msg pointer.
10091 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10092 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10093 signal stack.
10094 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10095
cc03b296
JM
100962012-05-15 Joseph Myers <joseph@codesourcery.com>
10097
a9538892
JM
10098 * elf/stackguard-macros.h: Remove file.
10099 * sysdeps/generic/stackguard-macros.h: New file.
10100 * sysdeps/i386/stackguard-macros.h: Likewise.
10101 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10102 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10103 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10104 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10105 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10106 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10107 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10108 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10109 <elf/stackguard-macros.h>.
10110
cc03b296
JM
10111 [BZ #14109]
10112 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10113 __aligned__ in attribute.
10114 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10115 (gregset_t): Likewise.
10116
93171016
L
101172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10118
10119 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10120 * sysdeps/x86_64/64/Implies-after: Here. New file.
10121 * sysdeps/x86_64/x32/Implies-after: New file.
10122
d86813a0
L
101232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10124
10125 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10126 and access return value for _dl_profile_fixup. Use R10_LP to
10127 load frame size.
10128
2953ec75
L
101292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10130
10131 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10132
3b550e9e
L
101332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10134
10135 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10136 * sysdeps/x86_64/x32/sysdep.h: New file.
10137
eda41706
L
101382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10139
10140 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10141 * sysdeps/x86_64/setjmp.S: Likewise.
10142
9ea01d93
AZ
101432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10144
10145 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10146 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10147 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10148 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10149 remove unused global constant.
10150
02a91938
CM
101512012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10152
10153 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10154 include of <not-cancel.h>.
10155
6540185f
RM
101562012-05-15 Roland McGrath <roland@hack.frob.com>
10157
10158 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10159
509072a0
AJ
101602012-05-15 Jeff Law <law@redhat.com>
10161 Andreas Jaeger <aj@suse.de>
10162
10163 [BZ #13594]
10164 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10165 out from...
10166 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10167 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10168 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10169 code changing __hst_map_handle.map.
10170
ba75122d
RM
101712012-05-15 Roland McGrath <roland@hack.frob.com>
10172
10173 * configure.in (sysnames): Look for Implies-before and Implies-after
10174 files.
10175 * configure: Regenerated.
10176
890d8bd8
L
101772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10178
10179 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10180 8-byte data alignment with LP_SIZE alignment.
10181
f6ee6623
L
101822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10183
10184 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10185 into R10_LP.
10186
ea2626f6
L
101872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10188
10189 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10190
085f715e
L
101912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10192
10193 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10194 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10195 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10196 Likewise.
10197 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10198
be8498fc
L
101992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10200
10201 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10202 (stackinfo_sub_sp): Likewise.
10203
70bc83b9
L
102042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10205
10206 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10207 RAX_LP.
10208
9bc0b730
L
102092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10210
10211 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10212 into R*_LP.
10213
6d2850e7
L
102142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10215
10216 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10217 sizes into R*_LP.
10218
3cb84561
L
102192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10220
10221 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10222
54e2ed81
L
102232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10224
10225 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10226 into R11_LP and load __x86_64_shared_cache_size_half into
10227 R8_LP.
10228
8a17f349
L
102292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10230
10231 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10232 R8_LP.
10233
777b1eea
AZ
102342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10235
10236 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10237 logb for POWER7.
10238 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10239 logbf for POWER7.
10240 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10241 logbl for POWER7.
10242 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10243 powerpc32/power7/fpu/s_logb.c via #include.
10244 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10245 powerpc32/power7/fpu/s_logbf.c via #include.
10246 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10247 powerpc32/power7/fpu/s_logbl.c via #include.
10248
d20d4ac2
JM
102492012-05-15 Joseph Myers <joseph@codesourcery.com>
10250
10251 * README.libm: Remove file.
10252
6cdef1ab
L
102532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10254
10255 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10256 count for x32. Use R*_LP and omit operand-size suffix.
10257
0b254d8f
L
102582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10259
10260 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10261 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10262 * sysdeps/x86_64/x32/shlib-versions: New file.
10263
ceb809dc
RM
102642012-05-14 Roland McGrath <roland@hack.frob.com>
10265
10266 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10267 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10268 Use _dl_fatal_printf instead.
10269
37f1abd4
JM
102702012-05-14 Joseph Myers <joseph@codesourcery.com>
10271
10272 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10273 set if not set by the user. Do not allow for being unset.
10274 * sysdeps/unix/sysv/linux/configure: Regenerated.
10275
11de3a33
L
102762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10277
10278 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10279 the `q' suffix from lea and replace .quad with ASM_ADDR.
10280
e02f153a
L
102812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10282
10283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10284 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10285 instead of $17.
10286 (PTR_DEMANGLE): Likewise.
10287
520ae0fd
L
102882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10289
10290 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10291 (LP_OP): Likewise.
10292 (ASM_ADDR): Likewise.
10293 (RAX_LP): Likewise.
10294 (RBP_LP): Likewise.
10295 (RBX_LP): Likewise.
10296 (RCX_LP): Likewise.
10297 (RDI_LP): Likewise.
10298 (RSI_LP): Likewise.
10299 (RSP_LP): Likewise.
10300 (R8_LP): Likewise.
10301 (R9_LP): Likewise.
10302 (R10_LP): Likewise.
10303 (R10_LP): Likewise.
10304 (R11_LP): Likewise.
10305 (R12_LP): Likewise.
10306 (R13_LP): Likewise.
10307 (R14_LP): Likewise.
10308 (R15_LP): Likewise.
10309
b985be81
L
103102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10311
10312 * sysdeps/x86_64/x32/dl-machine.h: New file.
10313
6a4888ff
AJ
103142012-05-14 Andreas Jaeger <aj@suse.de>
10315
10316 * manual/Makefile (subdir): Remove export of subdir.
10317 (all): Remove target.
10318 (.PHONY): Remove all from list.
10319 (mkinstalldirs): Remove.
10320 (.PHONY): Remove installdirs from list.
10321 ($(inst_infodir)/libc.info): Use make-target-directory.
10322 (installdirs): Remove.
10323 (subdir_%): Remove.
10324 (glibc-targets): Remove.
10325 (lib): Remove.
10326 (stubs): Remove.
10327 ($(objpfx)stubs ../po/manual.pot): Remove.
10328 ($(objpfx)stamp%): Remove.
10329 (make-target-directory): Remove.
10330 (subdir_install): Remove.
10331 (routines): Remove.
10332 (aux): Remove.
10333 (sources): Remove.
10334 (objects): Remove.
10335 (headers): Remove.
10336
10337 [BZ #13750]
10338 * manual/.gitignore: Remove, it's not needed anymore.
10339 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10340 all files in it.
10341 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10342 directory.
10343 (texis): Renamed to $(objpfx)texis.
10344 (texis-path): New, contains path to generated files.
10345 (chapters.%): Use texis-path for complete path, add extra argument
10346 libc-texinfo.sh.
10347 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10348 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10349 (summary,texi, stamp-summary): Use complete path of
10350 files. Generate files in build dir.
10351 (dir-add.texi): Build in build dir.
10352 (libm-err.texi,stamp-libm-err): Likewise.
10353 (version.texi, stamp-version): Likewise.
10354 (.%c.texi): Likewise.
10355 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10356 (mostlyclean): Remove target.
10357 (realclean): Remove target.
10358 (generated): Add new variable with contents from mostlyclean and
10359 realclean, remove entries duplicated in common-mostlyclean, add
10360 stamp-libm-err and stamp-version.
10361 (generated-dirs): Add libc directory.
10362 ($(inst_infodir)/libc.info): Install files from build dir.
10363
10364 * manual/install.texi (Configuring and compiling): Adjust since
10365 the info files are not part of the tar ball anymore.
10366
7ac77294
AJ
103672012-05-14 Andreas Jaeger <aj@suse.de>
10368
10369 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10370 variable.
10371
ffb7875d
JM
103722012-05-14 Joseph Myers <joseph@codesourcery.com>
10373
10374 [BZ #13717]
10375 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10376 to 2.2.0 where earlier.
10377 * sysdeps/unix/sysv/linux/configure: Regenerated.
10378 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10379 Remove conditional code.
10380 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10381 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10382 Remove conditional code.
10383 [!__NR_lchown]: Likewise.
10384 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10385 [__NR_lchown]: Likewise.
10386 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10387 comment referencing __ASSUME_LCHOWN_SYSCALL.
10388 * sysdeps/unix/sysv/linux/i386/sigaction.c
10389 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10390 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10391 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10392 Remove conditional code.
10393 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10394 (__protocol_available): Remove #if 0 code.
10395 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10396 conditional code.
10397 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10398 * sysdeps/unix/sysv/linux/kernel-features.h
10399 (__ASSUME_GETCWD_SYSCALL): Don't define.
10400 (__ASSUME_REALTIME_SIGNALS): Likewise.
10401 (__ASSUME_PREAD_SYSCALL): Likewise.
10402 (__ASSUME_PWRITE_SYSCALL): Likewise.
10403 (__ASSUME_POLL_SYSCALL): Likewise.
10404 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10405 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10406 non-SPARC.
10407 (__ASSUME_SIOCGIFNAME): Don't define.
10408 (__ASSUME_MSG_NOSIGNAL): Likewise.
10409 (__ASSUME_SENDFILE): Define unconditionally.
10410 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10411 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10412 conditional code.
10413 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10414 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10415 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10416 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10417 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10418 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10419 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10421 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10422 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10424 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10427 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10428 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10430 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10431 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10433 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10434 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10436 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10437 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10439 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10440 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10442 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10443 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10444 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10445 Remove conditional code.
10446 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10447 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10448 Remove conditional code.
10449 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10450 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10451 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10452 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10453 Remove conditional code.
10454 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10455 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10456 Remove conditional code.
10457 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10458 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10459 Remove conditional code.
10460 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10461 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10462 Remove conditional code.
10463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10464 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10465 Remove conditional code.
10466 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10467 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10468 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10470 * sysdeps/unix/sysv/linux/sigaction.c
10471 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10472 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10473 * sysdeps/unix/sysv/linux/sigpending.c
10474 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10475 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10476 * sysdeps/unix/sysv/linux/sigprocmask.c
10477 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10478 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10479 * sysdeps/unix/sysv/linux/sigsuspend.c
10480 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10481 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10482 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10483 (__libc_missing_rt_sigs): Remove.
10484 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10485 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10486 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10487 Remove conditional code.
10488 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10489 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10490 return 1.
10491 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10492 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10493 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10494 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10495
1bfb7291
AJ
104962012-05-14 Andreas Jaeger <aj@suse.de>
10497
caae5a81
AJ
10498 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10499 it's not used in glibc.
10500 (__coshm1): Likewise.
10501 (__acosh1p): Likewise.
10502 (__sgn): Likewise.
10503
1bfb7291
AJ
10504 * manual/string.texi (Copying and Concatenation): Add missing
10505 variable in concat example.
10506 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10507
c044d724
L
105082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10509
144c5467 10510 [BZ #14103]
c044d724
L
10511 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10512 __builtin_clzl with __builtin_clzll.
10513
2523c62b
L
105142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10515
10516 [BZ #14104]
10517 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10518 libc_freeres_ptr.
10519
d7bb4c42
LD
105202012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10521
10522 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10523 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10524 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10525 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10526
9dc4e1fb
MF
105272012-05-14 Mike Frysinger <vapier@gentoo.org>
10528
10529 * NEWS: Update ia64 info.
10530
c7df0112
AS
105312012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10532
10533 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10534 used as bcopy.
10535
dc70356c
TS
105362012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10537
10538 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10539 * sysdeps/unix/syscalls.list (dup3): Likewise.
10540 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10541 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10542
9fb1a21f
L
105432012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10544
10545 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10546 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10547
4822a2a5
L
105482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10549
10550 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10551 thread pointer.
10552 (TLS_IE): Use mov/add instead of movq/addq to load thread
10553 pointer.
10554 (TLS_GD_PREFIX): New.
10555 (TLS_GD): Use it.
10556
842b81d6
DM
105572012-05-11 David S. Miller <davem@davemloft.net>
10558
10559 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10560 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10561 (_FPU_SETCW): Likewise.
10562
1cf463cd
L
105632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10564
10565 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10566 is 32-byte aligned.
10567
60cc4a18
AS
105682012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10569
10570 [BZ #11837]
10571 * iconvdata/gb18030.c: Update tables.
10572 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10573 characters specially.
10574 (BODY for TO_LOOP): Add encoding of missing ranges.
10575
febb44a4
TS
105762012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10577
10578 [BZ #13673]
10579 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10580 * sysdeps/mach/hurd/dup3.c: Likewise.
10581 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10582 * sysdeps/powerpc/memmove.c:: Likewise.
10583
0a10fb9e
L
105842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10585
10586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10587 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10588
df8a552f
L
105892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10590
10591 * elf/elf.h (R_X86_64_RELATIVE64): New.
10592 (R_X86_64_NUM): Updated.
10593 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10594 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10595 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10596 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10597 tst-quad1pie tst-quad2pie
10598 (modules-names): Add tst-quadmod1 tst-quadmod2.
10599 ($(objpfx)tst-quad1): New dependency.
10600 ($(objpfx)tst-quad2): Likewise.
10601 ($(objpfx)tst-quad1pie): Likewise.
10602 ($(objpfx)tst-quad2pie): Likewise.
10603 * sysdeps/x86_64/tst-quad1.c: New file.
10604 * sysdeps/x86_64/tst-quad1pie.c: New file.
10605 * sysdeps/x86_64/tst-quad2.c: Likewise.
10606 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10607 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10608 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10609 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10610 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10611
f34d6f84
ST
106122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10613
f42d41d1
ST
10614 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10615 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10616 * streams/stropts.h (t_scalar_t): Define type.
10617
3c3571fc
ST
10618 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10619 (_PATH_PRESERVE): Set to "/var/lib".
10620 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10621
61f06bd3
ST
10622 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10623 instead of int.
10624
918d4d71
ST
10625 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10626 if __dir_mkfile succeeded.
10627
f34d6f84
ST
10628 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10629 checking for _hurd_dtablesize. Unlock it right after having
10630 finished _hurd_dtable allocation.
10631
10589b4a
TS
106322012-05-10 Thomas Schwinge <thomas@schwinge.name>
10633
674cdbc7
TS
10634 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10635 * sysdeps/mach/hurd/configure: Regenerated.
10636 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10637 special-casing to...
10638 * sysdeps/gnu/configure.in: ... this new file.
10639 * sysdeps/unix/sysv/linux/configure: Regenerated.
10640 * sysdeps/gnu/configure: New generated file.
10641
8e41b99f
TS
10642 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10643 for Linux: use nsec instead of usec, as well as:
10644 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10645 members of type struct timespec.
10646 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10647 New macros.
10648 (struct stat64): Likewise.
10649 (_STATBUF_ST_NSEC): New macro.
10650 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10651
10589b4a
TS
10652 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10653 __strtoul_internal rather than strtoul.
10654
63643c85
PT
106552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10656
10657 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10658 and reject them.
10659
3faebe6a
ST
106602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10661
10662 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10663 which preserves existing values.
10664 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10665
c6474b07
PT
106662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10667
10668 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10669 TIMEOUT values. Return EINVAL for NFDS values either negative or
10670 greater than FD_SETSIZE.
10671
1043890b
ST
106722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10673
10674 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10675 allocated, call __vm_protect to finish enabling the existing space, and
10676 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10677 allocate the remainder.
10678
37ed8b9b
PT
106792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10680
10681 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10682 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10683
db653660
ST
106842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10685
37ed8b9b
PT
10686 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10687 sysdeps/mach/hurd/readlink.c.
b29d4053 10688
db653660
ST
10689 * posix/tst-sysconf.c (posix_options): Only use
10690 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10691 _POSIX_SYNCHRONIZED_IO when they are defined
10692 * sysdeps/mach/hurd/bits/posix_opt.h:
10693 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10694 (_XOPEN_REALTIME): Undefine macro.
10695 (_XOPEN_REALTIME_THREADS): Undefine macro.
10696 (_XOPEN_SHM): Undefine macro.
10697 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10698 macro to -1.
10699 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10700 macro to -1.
10701 (_POSIX_ASYNC_IO): Undefine macro.
10702 (_POSIX_PRIORITIZED_IO): Undefine macro.
10703 (_POSIX_SPIN_LOCKS): Define macro to -1.
10704
ee16e894
ST
10705 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10706 SA_NODEFER, SA_RESETHAND.
10707 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10708 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10709 F_DUPFD_CLOEXEC.
10710
6103ae3b
TS
107112012-05-10 Thomas Schwinge <thomas@schwinge.name>
10712
10713 * elf/Makefile (pldd-modules): Define unconditionally.
10714
80b4e5f3
TS
107152012-05-10 Thomas Schwinge <thomas@schwinge.name>
10716
10717 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10718
edadcbd6
ST
107192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10720
10721 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10722 Return ENOENT when name is empty.
10723 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10724
80694780
TS
107252012-05-10 Thomas Schwinge <thomas@schwinge.name>
10726
1792c087
TS
10727 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10728
80694780
TS
10729 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10730
6b645f0d
ST
107312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10732
80694780
TS
10733 Fix mlock in all cases except non-readable pages.
10734 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10735 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10736
6b645f0d
ST
10737 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10738 (__mkdir): When path is `/', just fail with EEXIST.
10739 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10740
e468f8a3
TS
107412012-05-10 Thomas Schwinge <thomas@schwinge.name>
10742
10743 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10744 <sys/uio.h> (for writev).
10745 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10746 and <sys/param.h> (for MIN).
10747
a4186cff
PT
107482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10749
10750 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10751 REQUESTED_TIME. Properly set the remaining time and return EINTR
10752 if interrupted.
10753
510bbf14
TS
107542012-05-10 Thomas Schwinge <thomas@schwinge.name>
10755
10756 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10757 Depend on against $(link-rpcuserlibs).
10758
5d5722e8
ST
107592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10760
a4186cff
PT
10761 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10762 (__libc_stack_end): Do not use attribute_relro.
10763 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10764 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10765 to libthread-provided value.
a4186cff
PT
10766 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10767 attribute_relro.
5d5722e8 10768
37233df9
TS
107692012-05-10 Thomas Schwinge <thomas@schwinge.name>
10770
be971a2b
TS
10771 [BZ #3748]
10772 * bits/libc-lock.h (__libc_once_get): New macro.
10773 * sysdeps/mach/bits/libc-lock.h: Likewise.
10774 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10775 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10776 instead of using implementation details.
10777
37233df9
TS
10778 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10779 * libio/freopen.c: Likewise.
10780 * libio/freopen64.c: Likewise.
10781 * misc/syslog.c: Likewise.
10782 * nscd/connections.c: Likewise.
10783 * nscd/netgroupcache.c: Likewise.
10784 * sysdeps/posix/getcwd.c: Likewise.
10785
38de94a5
RM
107862012-05-10 Roland McGrath <roland@hack.frob.com>
10787
10788 * math/w_ilogbf.c: Add #include <limits.h>.
10789
67530489
ST
107902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10791
a4186cff 10792 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10793 path instead of returning without unlocking.
10794
67530489
ST
10795 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10796 immediate-write ioctls.
10797 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10798
5aa3a74a
TS
107992012-05-10 Thomas Schwinge <thomas@schwinge.name>
10800
18bad2ae
TS
10801 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10802 __builtin_frame_address instead of making assumptions about the
10803 location of the return address relative to DATA. Force early load of
10804 the return address.
10805 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10806 __builtin_frame_address.
10807
5aa3a74a
TS
10808 dup3 for GNU Hurd.
10809 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10810 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10811 implement dup3 and do some further code clean-ups.
10812 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10813 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10814
ecd0de9a
ST
108152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10816
cd9fa985
ST
10817 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10818
a4186cff
PT
10819 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10820 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10821 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10822 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10823 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10824 d->port.lock.
802ca5a5 10825
a4186cff
PT
10826 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10827 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10828 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10829
bcf55240
TS
108302012-05-10 Thomas Schwinge <thomas@schwinge.name>
10831
6960eb42
TS
10832 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10833 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10834 definitions.
10835
eb43375f
TS
10836 accept4 for GNU Hurd.
10837 * include/sys/socket.h (__libc_accept4): New prototype.
10838 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10839 to implement __libc_accept4.
10840 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10841 __libc_accept4.
10842 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10843
bcf55240
TS
10844 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10845 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10846 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10847 signal-defines.sym.
10848
6178c55b
ST
108492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10850
a4186cff 10851 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10852
6f080c2f
TS
108532012-05-10 Thomas Schwinge <thomas@schwinge.name>
10854
10855 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10856 assertion on O_CLOEXEC flag.
10857 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10858 * hurd/intern-fd.c: Likewise.
10859 * hurd/port2fd.c: Likewise.
10860
bcfe3a54
ST
108612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10862
10863 [BZ #3906]
10864 * bits/in.h (IPV6_PKTINFO): Define new macro.
10865 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10866
89c9aa49
AZ
108672012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10868
10869 [BZ #13954]
10870 [BZ #13955]
10871 [BZ #13956]
10872 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10873 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10874 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10875 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10876 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10877 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10878 * math/libm-test.inc (logb_test) : Additional logb tests.
10879
021db4be
AJ
108802012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10881 Andreas Jaeger <aj@suse.de>
10882
10883 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10884 * configure: Regenerated.
10885 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10886 * config.make.in (link-obsolete-rpc): New substituted variable.
10887 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10888 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10889 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10890 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10891 so that libc.a contains the symbols.
10892 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10893 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10894 * sunrpc/auth_none.c: Likewise.
10895 * sunrpc/auth_unix.c: Likewise.
10896 * sunrpc/authdes_prot.c: Likewise.
10897 * sunrpc/authuxprot.c: Likewise.
10898 * sunrpc/clnt_gen.c: Likewise.
10899 * sunrpc/clnt_perr.c: Likewise.
10900 * sunrpc/clnt_raw.c: Likewise.
10901 * sunrpc/clnt_simp.c: Likewise.
10902 * sunrpc/clnt_tcp.c: Likewise.
10903 * sunrpc/clnt_udp.c: Likewise.
10904 * sunrpc/clnt_unix.c: Likewise.
10905 * sunrpc/des_crypt.c: Likewise.
10906 * sunrpc/des_soft.c: Likewise.
10907 * sunrpc/get_myaddr.c: Likewise.
10908 * sunrpc/key_call.c: Likewise.
10909 * sunrpc/key_prot.c: Likewise.
10910 * sunrpc/netname.c: Likewise.
10911 * sunrpc/pm_getmaps.c: Likewise.
10912 * sunrpc/pm_getport.c: Likewise.
10913 * sunrpc/pmap_clnt.c: Likewise.
10914 * sunrpc/pmap_prot.c: Likewise.
10915 * sunrpc/pmap_prot2.c: Likewise.
10916 * sunrpc/pmap_rmt.c: Likewise.
10917 * sunrpc/publickey.c: Likewise.
10918 * sunrpc/rpc_cmsg.c: Likewise.
10919 * sunrpc/rpc_common.c: Likewise.
10920 * sunrpc/rpc_dtable.c: Likewise.
10921 * sunrpc/rpc_prot.c: Likewise.
10922 * sunrpc/rpc_thread.c: Likewise.
10923 * sunrpc/rtime.c: Likewise.
10924 * sunrpc/svc.c: Likewise.
10925 * sunrpc/svc_auth.c: Likewise.
10926 * sunrpc/svc_raw.c: Likewise.
10927 * sunrpc/svc_run.c: Likewise.
10928 * sunrpc/svc_tcp.c: Likewise.
10929 * sunrpc/svc_udp.c: Likewise.
10930 * sunrpc/svc_unix.c: Likewise.
10931 * sunrpc/svcauth_des.c: Likewise.
10932 * sunrpc/xcrypt.c: Likewise.
10933 * sunrpc/xdr.c: Likewise.
10934 * sunrpc/xdr_array.c: Likewise.
10935 * sunrpc/xdr_float.c: Likewise.
10936 * sunrpc/xdr_intXX_t.c: Likewise.
10937 * sunrpc/xdr_mem.c: Likewise.
10938 * sunrpc/xdr_rec.c: Likewise.
10939 * sunrpc/xdr_ref.c: Likewise.
10940 * sunrpc/xdr_sizeof.c: Likewise.
10941 * sunrpc/xdr_stdio.c: Likewise.
10942
b5c086a2
RM
109432012-05-10 Roland McGrath <roland@hack.frob.com>
10944
10945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10946 change. Update copyright years.
10947
6d74dd09
JM
109482012-05-10 Joseph Myers <joseph@codesourcery.com>
10949
10950 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10951
28e72501
MK
109522012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10953 Joseph Myers <joseph@codesourcery.com>
10954 Paul Pluzhnikov <ppluzhnikov@google.com>
10955
10956 [BZ #14012]
10957 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10958 requiring rpcgen.
10959 [cross-compiling] (extra-libs): Likewise.
10960 [cross-compiling] (extra-libs-others): Likewise.
10961 [cross-compiling] (librpcsvc-routines): Likewise.
10962 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10963 [cross-compiling] (omit-deps): Likewise.
10964 (sunrpc-CPPFLAGS): New variable.
10965 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10966 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10967 (cross-rpcgen-objs): New variable.
10968 (extra-objs): Append $(cross-rpcgen-objs).
10969 ($(cross-rpcgen-objs)): New rule.
10970 ($(objpfx)cross-rpcgen): Likewise.
10971 (rpcgen-cmd): Define to use $(built-program-file). Expand
10972 comment.
10973 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10974 ($(objpfx)x%.stmp): Likewise.
10975 * sunrpc/proto.h [IS_IN_build] (_): Define.
10976 [IS_IN_build] (_libc_intl_domainname): Likewise.
10977
c8c59454
L
109782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10979
10980 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10981 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10982 and R_X86_64_TPOFF64.
10983
6f27cd16
JM
109842012-05-10 Joseph Myers <joseph@codesourcery.com>
10985
10986 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10987 sysdeps/unix/sysv/syscalls.list.
10988 (stime): Likewise.
10989 (utime): Likewise.
10990 * sysdeps/unix/sysv/syscalls.list: Remove file.
10991
02467e1c
PE
109922012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10993
10994 [BZ #3440]
10995 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10996 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10997 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10998 (__LC_IDENTIFICATION): Make these macros useful in #if
10999 expressions, as required by C99.
11000
da392631
AS
110012012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11002
11003 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11004 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11005 after this.
11006
8115f29b
L
110072012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11008
11009 * stdlib/longlong.h: Updated from GCC.
11010
bdd74070
AJ
110112012-05-09 Andreas Jaeger <aj@suse.de>
11012
edfe0dbe
AJ
11013 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11014 default is first entry.
11015 (run_mode): Set type.
11016 (main): Remove informal message about syslog.
11017 (options): Fix typo.
11018
bcfe3a54
ST
11019 [BZ #14053]
11020 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11021 to asm.
bcfe3a54
ST
11022 (lrint): Likewise.
11023 (llrintf): Likewise.
11024 (llrint): Likewise.
11025 (rint): Likewise.
11026 (rintf): Likewise.
11027 (nearbyint): Likewise.
11028 (nearbyintf): Likewise.
bdd74070 11029
91d8d69e
AJ
110302012-05-09 Andreas Jaeger <aj@suse.de>
11031 Pedro Alves <palves@redhat.com>
11032
11033 * nscd/nscd.c (run_mode): Use enum.
11034 (main): Cleanup coding style issue.
11035
bb90b80b
AJ
110362012-05-09 Alexandre Oliva <aoliva@redhat.com>
11037 Andreas Jaeger <aj@suse.de>
11038
bcfe3a54
ST
11039 * nscd/nscd.c (go_background): Replaced with...
11040 (run_mode): ... this.
bb90b80b 11041 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11042 (options): Add -F --foreground.
11043 (main): Implement it.
11044 (parse_opt): Parse it.
bb90b80b 11045
1a4b75a1
AJ
110462012-05-09 Andreas Jaeger <aj@suse.de>
11047
11048 [BZ #14083]
11049 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11050 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11051 -Wconversion warning.
11052 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11053 Likewise.
11054
b1cc2472
JM
110552012-05-09 Joseph Myers <joseph@codesourcery.com>
11056
11057 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11058 == 0.
11059 (LC_ALL): Use macro-int-constant.
11060 (LC_COLLATE): Likewise.
11061 (LC_CTYPE): Likewise.
11062 (LC_MESSAGES): Likewise.
11063 (LC_MONETARY): Likewise.
11064 (LC_NUMERIC): Likewise.
11065 (LC_TIME): Likewise.
11066 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11067 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11068 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11069 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11070 Specify type.
11071 [C99-based standards] (float_t): Expect type.
11072 [C99-based standards] (double_t): Expect type.
11073 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11074 type.
11075 [C99-based standards] (HUGE_VALL): Likewise.
11076 [C99-based standards] (INFINITY): Likewise.
11077 [C99-based standards] (NAN): Likewise.
11078 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11079 [C99-based standards] (FP_NAN): Likewise.
11080 [C99-based standards] (FP_NORMAL): Likewise.
11081 [C99-based standards] (FP_SUBNORMAL): Likewise.
11082 [C99-based standards] (FP_ZERO): Likewise.
11083 [C99-based standards] (FP_FAST_FMA): Use
11084 optional-macro-int-constant. Specify type. Require == 1.
11085 [C99-based standards] (FP_FAST_FMAF): Likewise.
11086 [C99-based standards] (FP_FAST_FMAL): Likewise.
11087 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11088 [C99-based standards] (FP_ILOGBNAN): Likewise.
11089 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11090 Specify type.
11091 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11092 [C99-based standards] (math_errhandling): Specify type.
11093 [ISO99 || ISO11] (signgam): Do not allow.
11094 [non-C99-based standards] (copysignf): Do not allow.
11095 [non-C99-based standards] (exp2f): Likewise.
11096 [non-C99-based standards] (log2f): Likewise.
11097 [non-C99-based standards] (modff): Allow.
11098 [non-C99-based standards] (erff): Do not allow.
11099 [non-C99-based standards] (erfcf): Likewise.
11100 [non-C99-based standards] (gammaf): Likewise.
11101 [non-C99-based standards] (hypotf): Likewise.
11102 [non-C99-based standards] (j0f): Likewise.
11103 [non-C99-based standards] (j1f): Likewise.
11104 [non-C99-based standards] (jnf): Likewise.
11105 [non-C99-based standards] (lgammaf): Likewise.
11106 [non-C99-based standards] (tgammaf): Likewise.
11107 [non-C99-based standards] (y0f): Likewise.
11108 [non-C99-based standards] (y1f): Likewise.
11109 [non-C99-based standards] (ynf): Likewise.
11110 [non-C99-based standards] (isnanf): Likewise.
11111 [non-C99-based standards] (acoshf): Likewise.
11112 [non-C99-based standards] (asinhf): Likewise.
11113 [non-C99-based standards] (atanhf): Likewise.
11114 [non-C99-based standards] (cbrtf): Likewise.
11115 [non-C99-based standards] (expm1f): Likewise.
11116 [non-C99-based standards] (ilogbf): Likewise.
11117 [non-C99-based standards] (log1pf): Likewise.
11118 [non-C99-based standards] (logbf): Likewise.
11119 [non-C99-based standards] (nextafterf): Likewise.
11120 [non-C99-based standards] (remainderf): Likewise.
11121 [non-C99-based standards] (rintf): Likewise.
11122 [non-C99-based standards] (scalbf): Likewise.
11123 [non-C99-based standards] (copysignl): Likewise.
11124 [non-C99-based standards] (exp2l): Likewise.
11125 [non-C99-based standards] (log2l): Likewise.
11126 [non-C99-based standards] (modfl): Allow.
11127 [non-C99-based standards] (erfl): Do not allow.
11128 [non-C99-based standards] (erfcl): Likewise.
11129 [non-C99-based standards] (gammal): Likewise.
11130 [non-C99-based standards] (hypotl): Likewise.
11131 [non-C99-based standards] (j0l): Likewise.
11132 [non-C99-based standards] (j1l): Likewise.
11133 [non-C99-based standards] (jnl): Likewise.
11134 [non-C99-based standards] (lgammal): Likewise.
11135 [non-C99-based standards] (tgammal): Likewise.
11136 [non-C99-based standards] (y0l): Likewise.
11137 [non-C99-based standards] (y1l): Likewise.
11138 [non-C99-based standards] (ynl): Likewise.
11139 [non-C99-based standards] (isnanl): Likewise.
11140 [non-C99-based standards] (acoshl): Likewise.
11141 [non-C99-based standards] (asinhl): Likewise.
11142 [non-C99-based standards] (atanhl): Likewise.
11143 [non-C99-based standards] (cbrtl): Likewise.
11144 [non-C99-based standards] (expm1l): Likewise.
11145 [non-C99-based standards] (ilogbl): Likewise.
11146 [non-C99-based standards] (log1pl): Likewise.
11147 [non-C99-based standards] (logbl): Likewise.
11148 [non-C99-based standards] (nextafterl): Likewise.
11149 [non-C99-based standards] (remainderl): Likewise.
11150 [non-C99-based standards] (rintl): Likewise.
11151 [non-C99-based standards] (scalbl): Likewise.
11152 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11153 [non-C99-based standards] (FP_*): Do not allow.
11154 [C99-based standards] (FP_*): Change to
11155 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11156 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11157 allow.
11158 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11159 (SIG_ERR): Likewise.
11160 [X/Open-based standards] (SIG_HOLD): Likewise.
11161 (SIG_IGN): Likewise.
11162 (SIGABRT): Use macro-int-constant. Specify type. Require
11163 positive value.
11164 (SIGFPE): Likewise.
11165 (SIGILL): Likewise.
11166 (SIGINT): Likewise.
11167 (SIGSEGV): Likewise.
11168 (SIGTER): Likewise.
11169 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11170 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11171 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11172 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11173 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11174 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11175 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11176 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11177 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11178 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11179 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11180 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11181 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11182 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11183 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11184 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11185 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11186 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11187 [X/Open-based standards] (SIGTRAP): Likewise.
11188 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11189 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11190 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11191 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11192 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11193 allow.
11194
b9f1922d
IW
111952012-05-08 Ian Wienand <ianw@vmware.com>
11196
11197 [BZ #14080]
11198 * time/tzset.c (__tzset_parse_tz): Update default rules for
11199 daylight time changes in the Energy Policy Act of 2005.
11200
1db86e88
AJ
112012012-05-09 Andreas Jaeger <aj@suse.de>
11202
11203 [BZ #13983]
11204 * elf/ldconfig.c (parse_conf): Change string to make clear that
11205 ldconfig only issued a warning if ld.so.conf does not exist.
11206
dee4a4e3
DM
112072012-05-08 David S. Miller <davem@davemloft.net>
11208
ee0db190
DM
11209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11210 movxtod instead of popping the value on the stack.
11211
dee4a4e3
DM
11212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11213
6a43ec98
CD
112142012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11215
11216 * config.h.in: Add HAVE_ARM_PCS_VFP.
11217
05c2c961
RMG
112182012-05-08 Roland Mc Grath <roland@hack.frob.com>
11219
bcfe3a54
ST
11220 [BZ #13979]
11221 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11222 checking but the checks are disabled for any reason.
05c2c961 11223
4b30f61a
L
112242012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11225
11226 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11227 and ELF64_R_TYPE with ELFW(R_TYPE).
11228
eee2bc67
JM
112292012-05-08 Joseph Myers <joseph@codesourcery.com>
11230
7ea5391a
JM
11231 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11232 (ulimit): Likewise.
11233
eee2bc67
JM
11234 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11235 (settimeofday): Likewise.
11236
abb66a67
MF
112372012-05-08 Mike Frysinger <vapier@gentoo.org>
11238
11239 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11240 a struct th_u2 inside the union, and move tu_block/tu_code into
11241 a new th_u3 union of tu_block/tu_code inside of that. Move
11242 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11243 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11244 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11245 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11246 (th_stuff): Change to th_u1.tu_stuff.
11247 (th_data): Define.
11248 (th_msg): Change to th_u1.th_u2.tu_data.
11249
7f18b530
DM
112502012-05-07 David S. Miller <davem@davemloft.net>
11251
05760585
DM
11252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11253
7f18b530
DM
11254 [BZ #14074]
11255 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11256 (SETUP_PIC_REG): Use it.
11257 (SETUP_PIC_REG_LEAF): Use it.
11258
495fd99f
JM
112592012-05-07 Joseph Myers <joseph@codesourcery.com>
11260
11261 [BZ #13885]
11262 [BZ #13923]
11263 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11264 USE_AS_EXPM1L.
11265 (EXPL_FINITE): Likewise.
11266 (FLDLOG): Likewise.
11267 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11268 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11269 e_expl.S.
11270 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11271 USE_AS_EXPM1L.
11272 (EXPL_FINITE): Likewise.
11273 (FLDLOG): Likewise.
11274 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11275 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11276 e_expl.S.
11277 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11278 test of -max_value argument for long double.
11279 * sysdeps/i386/fpu/libm-test-ulps: Update.
11280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11281
6693d694
DM
112822012-05-06 David S. Miller <davem@davemloft.net>
11283
11284 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11285 quad soft-float symbols whose references which are compiler
11286 generated.
11287 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11288
6c23e11c
JM
112892012-05-06 Joseph Myers <joseph@codesourcery.com>
11290
d8b82cad
JM
11291 [BZ #13884]
11292 [BZ #13914]
11293 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11294 USE_AS_EXP10L.
11295 (EXPL_FINITE): Likewise.
11296 (FLDLOG): Likewise.
11297 (c0): Likewise.
11298 (c1): Likewise.
11299 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11300 Adjust comments for base varying.
11301 (__expl_finite): Change alias to EXPL_FINITE.
11302 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11303 e_expl.S.
11304 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11305 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11306 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11307 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11308 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11309 USE_AS_EXP10L.
11310 (EXPL_FINITE): Likewise.
11311 (FLDLOG): Likewise.
11312 (c0): Likewise.
11313 (c1): Likewise.
11314 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11315 Adjust comments for base varying.
11316 (__expl_finite): Change alias to EXPL_FINITE.
11317 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11318 tests for bugs.
11319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11320
6c23e11c
JM
11321 [BZ #14064]
11322 * math/libm-test.inc (check_float_internal): Correct ulp
11323 calculation for subnormal expected results.
11324
29ba805c
AJ
113252012-05-06 Andreas Jaeger <aj@suse.de>
11326
11327 * Makeconfig (+math-flags): New, set to -frounding-math.
11328 (+cflags): Add +math-flags so that all of glibc gets compiled with
11329 it.
11330
11331 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11332
7b17aeda
JM
113332012-05-05 Joseph Myers <joseph@codesourcery.com>
11334
5779f134
JM
11335 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11336 Disable one test.
11337
41498f4d
JM
11338 [BZ #13787]
11339 [BZ #13922]
11340 [BZ #14036]
11341 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11342 (__ieee754_expl): Allow for and saturate large arguments.
11343 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11344 (u_threshold): Likewise.
11345 (__exp): Call __ieee754_exp before checking for overflow and
11346 underflow.
11347 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11348 (u_threshold): Likewise.
11349 (__expf): Call __ieee754_expf before checking for overflow and
11350 underflow.
11351 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11352 (u_threshold): Likewise.
11353 (__expl): Call __ieee754_expl before checking for overflow and
11354 underflow.
11355 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11356 (__ieee754_expl): Allow for and saturate large arguments.
11357 * math/libm-test.inc (exp_test): Add another test. Do not allow
11358 missing overflow exception on overflow.
11359 (expm1_test): Do not allow missing overflow exception on overflow.
11360
6698b8bf
JM
11361 * sysdeps/i386/fpu/e_expl.c: Move to ...
11362 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11363 rather than using inline asm.
11364 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11365 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11366 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11367
7b17aeda
JM
11368 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11369 (nice): Likewise.
11370 (poll): Likewise.
11371 (signal): Likewise.
11372 (time): Likewise.
11373 (times): Likewise.
11374
f7c85819
JM
113752012-05-04 Joseph Myers <joseph@codesourcery.com>
11376
11377 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11378 sysdeps/unix/common/syscalls.list.
11379 (fchmod): Likewise.
11380 (fchown): Likewise.
11381 (ftruncate): Likewise.
11382 (getrusage): Likewise.
11383 (gettimeofday): Likewise.
11384 (setpgid): Likewise.
11385 (setregid): Likewise.
11386 (setreuid): Likewise.
11387 (sigaction): Likewise.
11388 (truncate): Likewise.
11389 (vhangup): Likewise.
11390 * sysdeps/unix/common/syscalls.list: Remove file.
11391 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11392 * sysdeps/unix/sysv/linux/Implies: Likewise.
11393
336270d0
L
113942012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11395
11396 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11398 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11399 Moved to ...
11400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11401 Here.
11402 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11403 to ...
11404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11405 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11406 to ...
11407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11408 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11409 to ...
11410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11411 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11412 to ...
11413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11414 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11415 to ...
11416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11417 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11418 to ...
11419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11420 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11421 to ...
11422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11423 Here.
11424 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11425 to ...
11426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11427 Here.
11428 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11429 to ...
11430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11431 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11432 Moved to ...
11433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11434 Here.
11435 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11436 to ...
11437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11438
d128e450
JM
114392012-05-04 Joseph Myers <joseph@codesourcery.com>
11440
fa8ee516
JM
11441 * sysdeps/unix/common/bits/dirent.h: Remove file.
11442 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11443
d128e450
JM
11444 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11445 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11446 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11447 * sysdeps/unix/bsd/isatty.c: Likewise.
11448 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11449 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11450 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11451
ff8faaf0 114522012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11453
62881be4 11454 [BZ #13563]
31dc8730
AZ
11455 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11456 long double comparison inaccuracies.
11457 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11459
6fef930c
AS
114602012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11461
11462 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11463 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11464
8f203e6c
JM
114652012-05-04 Joseph Myers <joseph@codesourcery.com>
11466
11467 [BZ #14049]
11468 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11469 nonzero digits before rounding a hex value.
11470 * stdlib/tst-strtod.c (tests): Add another test.
11471
5197d9c2
AK
114722012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11473
11474 * sysdeps/s390/fpu/libm-test-ulps: Update.
11475
f0c1dedf
AJ
114762012-05-03 Andreas Jaeger <aj@suse.de>
11477
11478 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11479 does not get optimized out.
11480 (malloc_opt_barrier): New.
11481
a65ef2ae 114822012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11483 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11484
2b942cb7 11485 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11486 intermediate file deletion.
2b942cb7 11487 (generated): Add .symlist files.
a65ef2ae 11488
54b71e02
JM
114892012-05-03 Joseph Myers <joseph@codesourcery.com>
11490
11491 [BZ #13775]
11492 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11493 Redirect under this condition.
11494 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11495 [__USE_GNU] (__dprintf_chk): Not under this condition.
11496 [__USE_GNU] (__vdprintf_chk): Likewise.
11497 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11498 under this condition.
11499 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11500 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11501 [__USE_XOPEN2K8] (vdprintf): Likewise.
11502 [__USE_GNU] (__dprintf_chk): Not under this condition.
11503 [__USE_GNU] (__vdprintf_chk): Likewise.
11504 [__USE_GNU] (dprintf): Likewise.
11505 [__USE_GNU] (vdprintf): Likewise.
11506
d3dfcc41
RM
115072012-05-03 Roland McGrath <roland@hack.frob.com>
11508
11509 * elf/Makefile (common-generated): Set this instead of generated for
11510 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11511 $(all-built-dso)-derived lists.
11512
7ac30cc5
AJ
115132012-05-03 Andreas Jaeger <aj@suse.de>
11514
0c51e550
AJ
11515 * sysdeps/i386/fpu/libm-test-ulps: Update.
11516
7ac30cc5
AJ
11517 * FAQ: Removed.
11518 * FAQ.in: Likewise.
11519 * scripts/gen-FAQ.pl: Likewise.
11520 * manual/install.texi (Installation): Point to online location of
11521 FAQ.
11522 * Makefile (files-for-dist): Remove FAQ.
11523 (FAQ): Remove.
11524
d4c2917f
AM
115252012-05-02 Allan McRae <allan@archlinux.org>
11526
11527 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11528 (LDFLAGS-reldepmod5.so): Likewise.
11529 (LDFLAGS-reldep6mod1.so): Likewise.
11530 (LDFLAGS-reldep6mod4.so): Likewise.
11531 (LDFLAGS-reldep8mod3.so): Likewise.
11532 (LDFLAGS-unload4mod1.so): Likewise.
11533 (LDFLAGS-unload4mod2.so): Likewise.
11534 (LDFLAGS-tst-initorder): Likewise.
11535 (LDFLAGS-tst-initordera2.so): Likewise.
11536 (LDFLAGS-tst-initordera3.so): Likewise.
11537 (LDFLAGS-tst-initordera4.so): Likewise.
11538 (LDFLAGS-tst-initorderb2.so): Likewise.
11539 (LDFLAGS-noload): Likewise.
11540 (LDFLAGS-next): Likewise.
11541 (LDFLAGS-order2mod1.so): Likewise.
11542 (LDFLAGS-order2mod2.so): Likewise.
11543 (LDFLAGS-tst-initorder2): Likewise.
11544 (LDFLAGS-tst-initorder2a.so): Likewise.
11545 (LDFLAGS-tst-initorder2b.so): Likewise.
11546 (LDFLAGS-tst-initorder2c.so): Likewise.
11547 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11548
d77f993f
DM
115492012-05-02 David S. Miller <davem@davemloft.net>
11550
11551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11552
171a70b4
PP
115532012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11554
11555 [BZ #14055]
11556 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11557
0be196ad
AJ
115582012-05-02 Andreas Jaeger <aj@suse.de>
11559
11560 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11561 since we manipulate rounding mode.
11562 (CPPFLAGS-test-idouble.c): Likewise.
11563 (CPPFLAGS-test-ifloat.c): Likewise.
11564 (CFLAGS-test-ldouble.c): Likewise.
11565 (CFLAGS-test-double.c): Likewise.
11566 (CFLAGS-test-float.c): Likewise.
11567 (CFLAGS-test-misc.c): Likewise.
11568 (CFLAGS-test-test-fenv.c): Likewise.
11569
4f9d04aa
AZ
115702012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11571
2b942cb7
RM
11572 [BZ #2550]
11573 [BZ #2570]
11574 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11575 comparisons to determine direction to adjust input.
4f9d04aa 11576
82a79e7d
RM
115772012-05-01 Roland McGrath <roland@hack.frob.com>
11578
f5a01ca9
RM
11579 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11580 output to the target.
11581
90fe4186
RM
11582 * scripts/localplt.awk: New file.
11583 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11584 (check-localplt-CFLAGS): Variable removed.
11585 ($(all-built-dso:=.jmprel)): New static pattern rule.
11586 (generated): Add those targets.
11587 (localplt-built-dso): New variable.
11588 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11589
11590 * elf/check-localplt.c: File removed.
11591
82397ed6
RM
11592 * scripts/check-execstack.awk: New file.
11593 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11594 (check-execstack-CFLAGS): Variable removed.
11595 ($(objpfx)check-execstack.h): Target removed.
11596 ($(objpfx)execstack-default): New target.
11597 (generated): Add that instead of check-execstack.h.
11598 ($(all-built-dso:=.phdr)): New static pattern rule.
11599 (generated): Add those targets.
11600 * elf/check-execstack.c: File removed.
11601
82a79e7d
RM
11602 * scripts/check-textrel.awk: New file.
11603 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11604 (check-textrel-CFLAGS): Variable removed.
11605 (all-built-dso): Use := to define.o
11606 ($(all-built-dso:=.dyn)): New static pattern rule.
11607 (generated): Add those targets.
11608 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11609 * config.make.in (READELF): New substituted variable.
11610 * elf/check-textrel.c: File removed.
11611
62fde54f 116122012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11613
615605c9
JM
11614 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11615 allow.
11616 * conform/data/ctype.h-data [C99-based standards] (isblank):
11617 Expect function.
11618 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11619 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11620 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11621 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11622 Specify type. Require positive value.
11623 (EILSEQ): Likewise.
11624 (ERANGE): Likewise.
11625 [ISO || POSIX] (EILSEQ): Do not expect.
11626 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11627 Specify type. Require positive value.
11628 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11629 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11630 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11631 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11632 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11633 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11634 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11635 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11636 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11637 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11638 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11639 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11640 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11641 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11642 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11643 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11644 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11645 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11646 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11647 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11648 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11649 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11650 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11651 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11652 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11653 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11654 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11655 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11656 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11657 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11658 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11659 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11660 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11661 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11662 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11663 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11664 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11665 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11666 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11667 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11668 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11669 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11670 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11671 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11672 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11673 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11674 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11675 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11676 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11677 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11678 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11679 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11680 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11681 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11682 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11683 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11684 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11685 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11686 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11687 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11688 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11689 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11690 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11691 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11692 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11693 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11694 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11695 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11696 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11697 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11698 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11699 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11700 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11701 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11702 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11703 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11704 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11705 Require >= 2.
11706 (FLT_ROUNDS): Expect as macro, not constant.
11707 (FLT_MANT_DIG): Use macro-int-constant.
11708 (DBL_MANT_DIG): Likewise.
11709 (LDBL_MANT_DIG): Likewise.
11710 (FLT_DIG): Likewise.
11711 (DBL_DIG): Likewise.
11712 (LDBL_DIG): Likewise.
11713 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11714 (DBL_MIN_EXP): Likewise.
11715 (LDBL_MIN_EXP): Likewise.
11716 (FLT_MAX_EXP): Use macro-int-constant.
11717 (DBL_MAX_EXP): Likewise.
11718 (LDBL_MAX_EXP): Likewise.
11719 (FLT_MAX_10_EXP): Likewise.
11720 (DBL_MAX_10_EXP): Likewise.
11721 (LDBL_MAX_10_EXP): Likewise.
11722 (FLT_MAX): Use macro-constant.
11723 (DBL_MAX): Likewise.
11724 (LDBL_MAX): Likewise.
11725 (FLT_EPSILON): Use macro-constant. Give upper bound.
11726 (DBL_EPSILON): Likewise.
11727 (LDBL_EPSILON): Likewise.
11728 (FLT_MIN): Likewise.
11729 (DBL_MIN): Likewise.
11730 (LDBL_MIN): Likewise.
11731 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11732 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11733 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11734 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11735 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11736 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11737 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11738 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11739 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11740 [ISO11] (FLT_TRUE_MIN): Likewise.
11741 [ISO11] (LDBL_TRUE_MIN): Likewise.
11742 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11743 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11744 (SCHAR_MIN): Use macro-int-constant. Specify type.
11745 (SCHAR_MAX): Likewise.
11746 (UCHAR_MAX): Likewise.
11747 (CHAR_MIN): Likewise.
11748 (CHAR_MAX): Likewise.
11749 (MB_LEN_MAX): Use macro-int-constant.
11750 (SHRT_MIN): Use macro-int-constant. Specify type.
11751 (SHRT_MAX): Likewise.
11752 (USHRT_MAX): Likewise.
11753 (INT_MAX): Likewise.
11754 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11755 bound negative.
11756 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11757 bound with "U".
11758 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11759 bound with "L".
11760 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11761 bound negative. Suffix upper bound with "L".
11762 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11763 bound with "UL".
11764 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11765 Specify type.
11766 [C99-based standards] (LLONG_MAX): Likewise.
11767 [C99-based standards] (ULLONG_MAX): Likewise.
11768 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11769 == 0.
11770 [ISO11] (max_align_t): Require type.
11771 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11772
c9140a62
JM
11773 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11774 from $CFLAGS, without defining away __attribute__ calls.
11775 (checknamespace): Use $CFLAGS_namespace.
11776
9af0bf29
JM
11777 * conform/conformtest.pl (@keywords): Only include C99 keywords
11778 for standards based on C99 or C11.
11779
343222a2
JM
11780 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11781 Disable tests.
11782 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11783 UNIX98]: Likewise.
11784
661f8cf0
JM
11785 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11786 usability of symbols in #if.
11787
ee74b9cb
JM
11788 * conform/conformtest.pl: If macro or constant types start
11789 "promoted:", expect the symbol to be of the following type
11790 promoted by the integer promotions.
62fde54f 11791
aafc49b3
JM
11792 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11793 in one place. Also handle "macro-constant".
11794
fefdf574
JM
11795 * conform/conformtest.pl: Only accept expected macro values with
11796 "==". Parse all "macro" lines in one place.
11797 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11798
f2d922fe
JM
11799 * conform/conformtest.pl: Handle braced types on "constant" lines
11800 instead of handling "typed-constant".
11801 * conform/data/signal.h-data: Use "constant" instead of
11802 "typed-constant".
11803
d22956c9
JM
11804 * conform/conformtest.pl: Handle "optional-" at start of lines in
11805 one place rather than duplicating several cases. Handle each
11806 format of "macro" line with initial "optional-".
11807
028e2e38
JM
11808 * conform/conformtest.pl: Only accept expected constant or
11809 optional-constant values with "==". Parse all "constant" lines in
11810 one place. Parse all "optional-constant" lines in one place.
11811 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11812 * conform/data/fmtmsg.h-data: Likewise.
11813 * conform/data/netinet/in.h-data: Likewise.
11814 * conform/data/tar.h-data: Likewise.
11815 * conform/data/limits.h-data: Use "==" form on "constant" and
11816 "optional-constant" lines.
11817
1b8f2850
JM
11818 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11819 Use -std=c99 for XOPEN2K.
11820 (@knownproblems): Remove.
11821 (newtoken): Don't check %isknown.
11822
a05a144b
JM
11823 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11824 Do not expect macro.
11825 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11826 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11827 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11828 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11829 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11830 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11831 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11832 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11833 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11834 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11835 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11836 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11837 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11838 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11839 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11840 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11841 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11842 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11843 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11844 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11845 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11846 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11847 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11848 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11849 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11850 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11851 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11852 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11853 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11854 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11855 [XPG3] (acosh): Likewise.
11856 [XPG3] (asinh): Likewise.
11857 [XPG3] (atanh): Likewise.
11858 [XPG3] (cbrt): Likewise.
11859 [XPG3] (expm1): Likewise.
11860 [XPG3] (ilogb): Likewise.
11861 [XPG3] (log1p): Likewise.
11862 [XPG3] (logb): Likewise.
11863 [XPG3] (nextafter): Likewise.
11864 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11865 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11866 [XPG3] (remainder): Likewise.
11867 [XPG3] (rint): Likewise.
11868 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11869 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11870 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11871 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11872 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11873 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11874 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11875 [UNIX98 || XOPEN2K] (scalb): Expect.
11876 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11877 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11878 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11879 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11880 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11881 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11882 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11883 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11884 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11885 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11886 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11887 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11888 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11889 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11890 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11891 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11892 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11893 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11894 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11895 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11896 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11897 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11898 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11899 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11900 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11901 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11902 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11903 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11904 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11905 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11906 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11907 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11908 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11909 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11910 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11911 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11912 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11913 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11914 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11915 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11916 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11917 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11918 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11919 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11920 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11921 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11922 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11923 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11924 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11925 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11926 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11927 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11928 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11929 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11930 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11931 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11932 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11933 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11934 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11935 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11936 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11937 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11938 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11939 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11940 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11941 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11942 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11943 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11944 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11945 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11946 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11947 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11948 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11949 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11950 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11951 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11952 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11953 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11954 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11955 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11956 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11957 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11958 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11959 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11960 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11961 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11962 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11963 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11964 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11965 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11966 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11967 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11968 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11969 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11970 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11971 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11972 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11973 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11974 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11975 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11976 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11977 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11978 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11979 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11980 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11981 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11982 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11983 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11984 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11985 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11986 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11987 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11988 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11989 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11990 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11991 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11992 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11993 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11994 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11995 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11996 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11997 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11998 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11999 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12000 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12001 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12002 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12003 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12004 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12005 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12006 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12007 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12008 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12009 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12010 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12011 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12012 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12013
73c5ebe3
JM
12014 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12015 _XOPEN_SOURCE_EXTENDED for XPG4.
12016
39c33b6c
JM
12017 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12018
62fde54f
JM
12019 * Makeconfig (localtime): Remove variable.
12020 (inst_localtime-file): Likewise.
12021
0741d64c
AS
120222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12023
12024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12025 Update.
12026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12027 Update.
12028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12029 Update.
12030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12031 Update.
12032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12033 Update.
12034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12035 Update.
12036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12037 Update.
12038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12039 Update.
12040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12041 Update.
12042
7cb029ee
JM
120432012-05-01 Joseph Myers <joseph@codesourcery.com>
12044
12045 [BZ #2550]
12046 [BZ #2570]
12047 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12048 comparisons to determine direction to adjust input.
12049 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12050 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12052 Likewise.
12053 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12054 Likewise.
12055 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12056 Likewise.
12057 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12058 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12059 Likewise.
12060 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12061 Likewise.
12062 * math/libm-test.inc (nexttoward_test): Add more tests.
12063
412bd966
AS
120642012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12065
12066 [BZ #14040]
12067 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12068 in version GLIBC_2.1, not GLIBC_2.0.
12069 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12070 Likewise.
12071
9568c0c2
JM
120722012-04-30 Joseph Myers <joseph@codesourcery.com>
12073
adfbc8ac
JM
12074 [BZ #13942]
12075 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12076 (1 - x) * (1 + x).
12077 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12078 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12079 * math/libm-test.inc (acos_test): Add more tests.
12080 (asin_test): Likewise.
12081 * sysdeps/i386/fpu/libm-test-ulps: Update.
12082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12083
5ba3cc69
JM
12084 [BZ #14034]
12085 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12086 of square root.
12087 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12088 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12089 * math/libm-test.inc (acos_test_tonearest): New function.
12090 (acos_test_towardzero): Likewise.
12091 (acos_test_downward): Likewise.
12092 (acos_test_upward): Likewise.
12093 (asin_test_tonearest): Likewise.
12094 (asin_test_towardzero): Likewise.
12095 (asin_test_downward): Likewise.
12096 (asin_test_upward): Likewise.
12097 (main): Call the new functions.
12098 * sysdeps/i386/fpu/libm-test-ulps: Update.
12099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12100
9568c0c2
JM
12101 [BZ #13884]
12102 [BZ #13924]
12103 * math/e_exp10.c: Include <float.h>.
12104 (__ieee754_exp10): Handle underflow here rather than multiplying
12105 large negative argument by M_LN10.
12106 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12107 of __ieee754_expf.
12108 * math/e_exp10l.c: Include <float.h>.
12109 (__ieee754_exp10l): Handle underflow here rather than multiplying
12110 large negative argument by M_LN10l.
12111 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12112 spurious overflow exception on underflow.
12113
5ac3ea17
MP
121142012-04-29 Marek Polacek <polacek@redhat.com>
12115
12116 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12117 (__fortify_function): New macro.
12118 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12119 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12120 __extern_always_inline.
12121 * libio/bits/stdio2.h: Likewise.
12122 * libio/bits/stdio.h: Likewise.
12123 * string/string.h: Likewise.
12124 * string/bits/string3.h: Likewise.
12125 * include/stdio.h: Likewise.
12126 * stdlib/bits/stdlib.h: Likewise.
12127 * stdlib/stdlib.h: Likewise.
12128 * rt/bits/mqueue2.h: Likewise.
12129 * rt/mqueue.h: Likewise.
12130 * posix/bits/unistd.h: Likewise.
12131 * posix/unistd.h: Likewise.
12132 * io/bits/poll2.h: Likewise.
12133 * io/bits/fcntl2.h: Likewise.
12134 * io/fcntl.h: Likewise.
12135 * io/sys/poll.h: Likewise.
12136 * misc/bits/syslog.h: Likewise.
12137 * misc/bits/syslog-ldbl.h: Likewise.
12138 * misc/sys/syslog.h: Likewise.
12139 * socket/bits/socket2.h: Likewise.
12140 * socket/sys/socket.h: Likewise.
12141 * debug/tst-chk1.c: Likewise.
12142 * wcsmbs/bits/wchar2.h: Likewise.
12143 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12144 * wcsmbs/wchar.h: Likewise.
12145
ecf0ebfb
AJ
121462012-04-29 Andreas Jaeger <aj@suse.de>
12147
12148 * Makerules (tests): Remove enable-check-abi protection.
12149 (check-abi-warn): Remove.
12150 (check-abi-%): Remove check-abi-warn usage.
12151
12152 * configure.in: Remove check-abi configure option.
12153 * configure: Regenerated.
12154 * config.make.in (enable-check-abi): Remove.
12155
6d5c57fa
AS
121562012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12157
24c5d07e 12158 [BZ #14033]
ded5180a
AS
12159 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12160 double functions to double *_finite functions.
12161
7e0d315d
AS
12162 [BZ #13941]
12163 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12164 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12165 LDBL_MIN_EXP.
12166 * stdio-common/Makefile (tests): Add tst-sprintf3.
12167 * stdio-common/tst-sprintf3.c: New file.
12168
6d5c57fa
AS
12169 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12170 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12171
0749ff8b
JM
121722012-04-28 Joseph Myers <joseph@codesourcery.com>
12173
12174 * conform/conformtest.pl: Remove duplicate typed-constant
12175 handling.
12176
8dbd5d7b
DM
121772012-04-28 David S. Miller <davem@davemloft.net>
12178
12179 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12180 (check-abi-%): Remove AWK script prerequisite and explicit
12181 abilist directory.
12182 (check-abi): Rewrite to just diff the symlist with the abilist.
12183 (config-tls, config-abi-config): Delete, no longer used.
12184 (update-abi-%): Remove AWK script and explicit abilist directory.
12185 (update-abi): Rewrite to simply compare and conditionally copy the
12186 symlist and the sysdep abilist file. Remove update-abi-config
12187 checks.
12188 * abilist/ld.abilist: Remove.
12189 * abilist/libBrokenLocale.abilist: Remove.
12190 * abilist/libanl.abilist: Remove.
12191 * abilist/libcrypt.abilist: Remove.
12192 * abilist/libdl.abilist: Remove.
12193 * abilist/librt.abilist: Remove.
12194 * abilist/libthread_db.abilist: Remove.
12195 * abilist/libutil.abilist: Remove.
12196 * scripts/extract-abilist.awk: Remove.
12197 * scripts/merge-abilist.awk: Remove.
12198 * sysdeps/generic/libcidn.abilist: New file.
12199 * sysdeps/generic/libnss_compat.abilist: New file.
12200 * sysdeps/generic/libnss_db.abilist: New file.
12201 * sysdeps/generic/libnss_dns.abilist: New file.
12202 * sysdeps/generic/libnss_files.abilist: New file.
12203 * sysdeps/generic/libnss_hesiod.abilist: New file.
12204 * sysdeps/generic/libnss_nis.abilist: New file.
12205 * sysdeps/generic/libnss_nisplus.abilist: New file.
12206 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12207 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12208 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12209 file.
12210 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12211 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12212 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12213 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12214 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12215 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12216 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12217 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12218 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12219 file.
12220 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12221 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12222 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12223 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12224 file.
12225 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12226 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12227 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12228 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12229 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12230 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12231 file.
12232 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12233 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12234 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12235 file.
12236 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12238 New file.
12239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12240 New file.
12241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12242 New file.
12243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12244 New file.
12245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12246 New file.
12247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12248 New file.
12249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12250 New file.
12251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12252 New file.
12253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12254 New file.
12255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12256 New file.
12257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12258 New file.
12259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12260 New file.
12261 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12262 New file.
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12264 file.
12265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12266 New file.
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12268 New file.
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12270 file.
12271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12272 New file.
12273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12274 New file.
12275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12276 file.
12277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12278 New file.
12279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12280 New file.
12281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12282 New file.
12283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12284 New file.
12285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12286 New file.
12287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12288 New file.
12289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12291 file.
12292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12293 New file.
12294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12295 file.
12296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12297 file.
12298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12299 file.
12300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12301 file.
12302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12303 file.
12304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12305 New file.
12306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12307 file.
12308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12309 file.
12310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12311 New file.
12312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12313 file.
12314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12316 file.
12317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12318 New file.
12319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12320 file.
12321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12322 file.
12323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12324 file.
12325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12326 file.
12327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12328 file.
12329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12330 New file.
12331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12332 file.
12333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12334 file.
12335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12336 New file.
12337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12338 file.
12339 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12340 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12341 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12342 file.
12343 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12344 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12345 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12346 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12347 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12348 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12349 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12350 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12351 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12352 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12355 file.
12356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12357 New file.
12358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12359 file.
12360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12361 file.
12362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12363 file.
12364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12365 file.
12366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12367 file.
12368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12369 New file.
12370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12371 New file.
12372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12373 file.
12374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12375 New file.
12376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12377 file.
12378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12380 file.
12381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12382 New file.
12383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12384 file.
12385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12386 file.
12387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12388 file.
12389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12390 file.
12391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12392 file.
12393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12394 New file.
12395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12396 New file.
12397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12398 file.
12399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12400 New file.
12401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12402 file.
12403
41d73a1b
JM
124042012-04-28 Joseph Myers <joseph@codesourcery.com>
12405
12406 * conform/conformtest.pl: Fix typo in handling typed-constant from
12407 allow-header.
12408
28aeeda4
JM
124092012-04-27 Joseph Myers <joseph@codesourcery.com>
12410
adae8f5e
JM
12411 * README: Cut down references to pre-2.6 Linux kernels and
12412 Linuxthreads. Update lists of configurations in libc and ports
12413 and sort alphabetically. Say "or newer" with Linux kernel version
12414 requirements.
12415
28aeeda4
JM
12416 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12417
a462cb63
RA
124182012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12419
12420 [BZ #887]
12421 * math/libm-test.inc (logb_test_downward): New test to expose
12422 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12423 rounding mode.
12424
6ad3493e
JM
124252012-04-27 Joseph Myers <joseph@codesourcery.com>
12426
12427 [BZ #14027]
12428 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12429 to be done.
12430 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12431 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12432
2ce4f015
JM
124332012-04-26 Joseph Myers <joseph@codesourcery.com>
12434
5aeb141a
JM
12435 * sysdeps/unix/i386/brk.S: Remove file.
12436 * sysdeps/unix/i386/dl-brk.S: Likewise.
12437 * sysdeps/unix/i386/pipe.S: Likewise.
12438 * sysdeps/unix/i386/sigreturn.S: Likewise.
12439 * sysdeps/unix/i386/syscall.S: Likewise.
12440 * sysdeps/unix/i386/vfork.S: Likewise.
12441 * sysdeps/unix/i386/wait.S: Likewise.
12442
7143acae
JM
12443 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12444 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12445
2ce4f015
JM
12446 * configure.in (arm*-none*): Do not allow without
12447 --enable-hacker-mode.
12448 (netbsd*): Remove case setting base_os.
12449 (386bsd*): Likewise.
12450 (freebsd*): Likewise.
12451 (bsdi*): Likewise.
12452 (osf*): Likewise.
12453 (sunos*): Likewise.
12454 (ultrix*): Likewise.
12455 (newsos*): Likewise.
12456 (dynix*): Likewise.
12457 (*bsd*): Likewise.
12458 (sysv*): Likewise.
12459 (isc*): Likewise.
12460 (esix*): Likewise.
12461 (sco*): Likewise.
12462 (minix*): Likewise.
12463 (irix4*): Likewise.
12464 (irix6*): Likewise.
12465 (solaris[2-9]*): Likewise.
12466 (none): Likewise.
12467 * configure: Regenerated.
12468
0ac229c8
AZ
124692012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12470
12471 [BZ #11521]
12472 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12473 overflow or cancellation in calculating denominator.
12474 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12475 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12476 down expression to avoid unexpected rounding in newer GCCs.
12477 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12478
33f244f4
DM
124792012-04-26 David S. Miller <davem@davemloft.net>
12480
12481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12482 long-double compat symbols.
12483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12496
cfa1f3e8
DM
124972012-04-25 David S. Miller <davem@davemloft.net>
12498
12499 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12500 HWCAP_* values only after the memory barriers have been defined.
12501 (atomic_full_barrier): Define.
12502 (atomic_read_barrier): Define.
12503 (atomic_write_barrier): Define.
12504
6e236b92
SP
125052012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12506
12507 * shlib-versions: Add libgcc_s version information.
12508 * sysdeps/generic/libgcc_s.h: Remove.
12509 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12510 libgcc_s.h.
12511 * sysdeps/gnu/unwind-resume.c: Likewise.
12512 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12513
aab39a09
DM
125142012-04-25 David S. Miller <davem@davemloft.net>
12515
12516 * sysdeps/unix/sparc/brk.S: Delete.
12517 * sysdeps/unix/sparc/dl-brk.S: Delete.
12518 * sysdeps/unix/sparc/pipe.S: Delete.
12519 * sysdeps/unix/sparc/sysdep.S: Delete.
12520 * sysdeps/unix/sparc/sysdep.h: Delete.
12521 * sysdeps/unix/sparc/vfork.S: Delete.
12522 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12523 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12525 ret_ERRVAL, r0, r1, MOVE): Define.
12526 (JUMPTARGET): Remove.
12527 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12528 sysdeps/unix/sparc/sysdep.h
12529 (ENTRY, END): Remove.
12530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12531
a3cc4f48
JM
125322012-04-25 Joseph Myers <joseph@codesourcery.com>
12533
2ed8cda2
JM
12534 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12535 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12536 -DIS_IN_build.
12537
35d76d59
JM
12538 * timezone/README: Update upstream location and email address for
12539 tzcode and tzdata.
12540 * timezone/zdump.c: Update from tzcode 2012b.
12541 * timezone/zic.c: Likewise.
12542
a3cc4f48
JM
12543 * configure.in (libc_cv_as_needed): Remove test.
12544 * configure: Regenerated.
12545 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12546 conditional definition.
12547 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12548 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12549 * config.make.in (have-as-needed): Remove variable.
12550
ceab42c3
SP
125512012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12552 Paul Pluzhnikov <ppluzhnikov@google.com>
12553
12554 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12555 strings correctly.
12556
3ce2865f
CLT
125572012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12558
12559 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12560 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12561 * sysdeps/sh/strlen.S: Likewise.
12562
f37e0d68
JM
125632012-04-24 Joseph Myers <joseph@codesourcery.com>
12564
ae186e9a
JM
12565 * sysdeps/unix/fork.S: Remove file.
12566 * sysdeps/unix/i386/fork.S: Likewise.
12567 * sysdeps/unix/sparc/fork.S: Likewise.
12568
b96914af
JM
12569 * sysdeps/unix/system.c: Remove file.
12570 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12571
f37e0d68
JM
12572 * sysdeps/unix/getegid.S: Remove file.
12573 * sysdeps/unix/geteuid.S: Likewise.
12574
87ef29ca
RM
125752012-04-24 Roland McGrath <roland@hack.frob.com>
12576
83bcd236
RM
12577 * scripts/check-localplt.awk: New file.
12578 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12579 of diff.
12580 * scripts/data/localplt-generic.data: Add a comment.
12581
87ef29ca
RM
12582 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12583 NODE when __dir_mkfile failed.
12584 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12585 Reported by Ludovic Courtès <ludo@gnu.org>.
12586
e5a6e567
AJ
125872012-04-24 Andreas Jaeger <aj@suse.de>
12588
12589 * Makerules (common-clean): Also remove gen-as-const-headers
12590 files.
12591
c1820385
JM
125922012-04-24 Joseph Myers <joseph@codesourcery.com>
12593
12594 * Makerules (native-compile): Do not change working directory for
12595 build. Use $(OUTPUT_OPTION) in command.
12596 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12597
94e02fc4
AZ
125982012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12599
12600 [BZ #13886]
12601 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12602 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12603 * math/libm-test.inc (floor_test): Add more tests.
12604 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12605
3a533ca3
JM
126062012-04-24 Joseph Myers <joseph@codesourcery.com>
12607
940ab4b3
JM
12608 * sysdeps/unix/getdents.c: Remove file.
12609 * sysdeps/unix/sysv/getdents.c: Likewise.
12610 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12611
90e037bd
JM
12612 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12613 sysdeps/unix/mman/syscalls.list.
12614 (mmap): Likewise.
12615 (mprotect): Likewise.
12616 (msync): Likewise.
12617 (munmap): Likewise.
12618 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12619 * sysdeps/unix/mman/syscalls.list: Remove.
12620 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12621
3a533ca3
JM
12622 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12623 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12624 * configure: Regenerated.
12625 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12626 $(libgcc_s_suffix).
12627 * config.make.in (libgcc_s_suffix): Remove variable.
12628
1ad743de
JM
126292012-04-23 Joseph Myers <joseph@codesourcery.com>
12630
4ad451e2
JM
12631 * sysdeps/unix/sysv/gethostname.c: Move to ...
12632 * sysdeps/posix/gethostname.c: ... here.
12633
5e37ce39
JM
12634 * sysdeps/unix/execve.S: Remove file.
12635
1ad743de
JM
12636 * sysdeps/unix/_exit.S: Remove file.
12637
4e681b5b
AJ
126382012-04-23 Andreas Jaeger <aj@suse.de>
12639
12640 [BZ #13739]
12641 * manual/Makefile: Remove make dist support, there's no
12642 need for a stand-alone documentation tar ball.
12643 (TEXI2DVI): Define always, it's not in Makeconfig.
12644 (dist): Removed.
12645 (tar-it): Removed.
12646 (edition): Removed.
12647 (glibc-doc-$(edition).tar): Removed
12648 (%.Z): Removed.
12649 (%.gz): Removed.
12650 (%.uu): Removed.
12651 (ETAGS): Remove, it's in Makeconfig.
12652 (move-if-change): Remove, it's in Makeconfig.
12653
38686a03 126542012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12655
12656 [BZ #13970]
12657 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12658 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12659 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12660 (strtod_l, strtof_l, strtold_l): Remove __wur.
12661 It is not necessarily an error to ignore strtol's return value.
12662 One can reliably look at the stored endptr to decide whether
12663 the number had valid syntax.
12664
7c0616fa
AJ
126652012-04-21 Andreas Jaeger <aj@suse.de>
12666
803cb6b7 12667 [BZ #13739]
7c0616fa
AJ
12668 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12669
b0fe253f
JM
126702012-04-21 Joseph Myers <joseph@codesourcery.com>
12671
12672 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12673 * sysdeps/unix/sysv/Versions: Remove file.
12674
8280f22d
MT
126752012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12676
12677 [BZ #13927]
12678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12679
75ce411f 126802012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12681
12682 [BZ #7064]
12683 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12684 version from __vm86.
12685
097d59fa
JM
126862012-04-20 Joseph Myers <joseph@codesourcery.com>
12687
a90f3bcb
JM
12688 * sysdeps/unix/common/lxstat.c: Remove file.
12689 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12690
edc7ea78
JM
12691 * sysdeps/unix/sysv/Makefile: Remove file.
12692
cb78c221
JM
12693 * sysdeps/unix/sysv/direct.h: Remove file.
12694
efa6a45f
JM
12695 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12696 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12697 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12698 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12699 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12700 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12701 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12702
9c9f2d0c
JM
12703 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12704
4541c83b
JM
12705 * sysdeps/unix/xmknod.c: Remove file.
12706 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12707
f5d153a0
JM
12708 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12709
aa746595
JM
12710 * sysdeps/unix/sysv/i386/time.S: Remove file.
12711
cce5905e
JM
12712 * sysdeps/unix/fxstat.c: Remove file.
12713 * sysdeps/unix/xstat.c: Likewise.
12714 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12715
37fa3841
JM
12716 * sysdeps/unix/sysv/sigaction.c: Remove file.
12717
ff1962a3
JM
12718 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12719 (sysdep_headers): Remove variable.
12720 [termio.h not in sysdep_headers] (generated): Likewise.
12721 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12722 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12723 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12724 * sysdeps/unix/sysv/tcflow.c: Likewise.
12725 * sysdeps/unix/sysv/tcflush.c: Likewise.
12726 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12727 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12728 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12729 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12730 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12731
e7740d31
JM
12732 * sysdeps/unix/siglist.c: Remove file.
12733
ee06f18b
JM
12734 * sysdeps/unix/getppid.S: Remove file.
12735
097d59fa
JM
12736 * sysdeps/unix/mkdir.c: Remove file.
12737 * sysdeps/unix/rmdir.c: Likewise.
12738
ff3d51ec
AS
127392012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12740
12741 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12742 ERR_MAX value.
12743 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12744 errlist-compat value.
12745
50f81fd7
DM
127462012-04-18 David S. Miller <davem@davemloft.net>
12747
12748 * sysdeps/generic/memcopy.h (reg_char): Delete.
12749 * debug/strcat_chk.c: Use char, not reg_char.
12750 * debug/strcpy_chk.c: Likewise.
12751 * debug/strncat_chk.c: Likewise.
12752 * debug/strncpy_chk.c: Likewise.
12753 * string/memchr.c: Likewise.
12754 * string/memrchr.c: Likewise.
12755 * string/rawmemchr.c: Likewise.
12756 * string/strcat.c: Likewise.
12757 * string/strchr.c: Likewise.
12758 * string/strchrnul.c: Likewise.
12759 * string/strcmp.c: Likewise.
12760 * string/strcpy.c: Likewise.
12761 * string/strncat.c: Likewise.
12762 * string/strncmp.c: Likewise.
12763 * string/strncpy.c: Likewise.
12764
8ff41c46
WS
127652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12766
12767 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12768 __builtin_memcopy is called when src and dest ranges are known to not
12769 overlap.
12770
6b652f46
WS
127712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12772
12773 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12774 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12775 fwd_align_merge macro call.
12776 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12777 bwd_align_merge macro call.
12778 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12779
b282631e
WS
127802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12781
12782 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12783 bwd_align_merge macros.
12784 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12785 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12786 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12787
95aa737c
DM
127882012-04-18 David S. Miller <davem@davemloft.net>
12789
12790 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12791
7a99a614
AJ
127922012-04-18 Andreas Jaeger <aj@suse.de>
12793
12794 [BZ# 6794]
12795 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12796 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12797 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12798
12799 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12800 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12801 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12802
12803 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12804 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12805 Adjust for changed ldbl-128 files.
12806
12807 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12808 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12809 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12810
e5270c23
DM
128112012-04-17 David S. Miller <davem@davemloft.net>
12812
12813 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12814
fb5e92c9
AS
128152012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12816
12817 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12818 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12819 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12820 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12821 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12822 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12823
76da7265
AZ
128242012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12825
12826 [BZ #6794]
12827 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12828 * math/libm-test.inc: Add ilogb errno and exception tests.
12829 * math/w_ilogb.c: New file: ilogb wrapper.
12830 * math/w_ilogbf.c: New file: ilogbf wrapper.
12831 * math/w_ilogbl.c: New file: ilogbl wrapper.
12832 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12833 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12834 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12835 exception being thrown with 0.0 as argument.
12836 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12837 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12838 exception being thrown with 0.0 as argument.
12839 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12840 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12841 exception being thrown with 0.0 as argument.
12842 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12843 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12844 exception being thrown with 0.0 as argument.
12845 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12846 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12847 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12848 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12849 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12850 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12851 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12852 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12853 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12854
0396e69d
PB
128552012-04-17 Petr Baudis <pasky@ucw.cz>
12856
12857 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12858 with altivec.
12859
750b5926
MP
128602012-04-16 Marek Polacek <polacek@redhat.com>
12861
12862 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12863
751728a1
MP
128642012-04-16 Marek Polacek <polacek@redhat.com>
12865
12866 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12867 operands of fdivp instruction.
12868
34a27407
L
128692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12870
12871 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12872 * elf/tst-auditmod3b.c: Likewise.
12873 * elf/tst-auditmod4b.c: Likewise.
12874 * elf/tst-auditmod5b.c: Likewise.
12875 * elf/tst-auditmod6b.c: Likewise.
12876 * elf/tst-auditmod6c.c: Likewise.
12877 * elf/tst-auditmod7b.c: Likewise.
12878 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12879 * sysdeps/x86_64/preconfigure.in: Likewise.
12880 * sysdeps/x86_64/preconfigure: Regenerated.
12881
7e73e17d
L
128822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12883
12884 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12885 __ILP32__.
12886
c7a6ab72
AB
128872012-04-13 Antoine Balestrat <merkil33@gmail.com>
12888
12889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12890 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12891
a9e8e0e0
CL
128922012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12893
12894 [BZ #13973]
12895 * locale/iso-639.def: Fix gl language name. Spotted by
12896 Yaron Shahrabani.
12897
ec98af7d
RM
128982012-04-12 Roland McGrath <roland@hack.frob.com>
12899
12900 [BZ #2074]
12901 * libio/libio.h (__io_write_fn): Update comment.
12902
247c3ede
PB
129032012-04-12 Petr Baudis <pasky@ucw.cz>
12904
12905 [BZ #2074]
12906 * stdio.texi (Hook Functions): The user provided writer function
12907 is not allowed to return -1.
12908
55939d6d
DM
129092012-04-11 David S. Miller <davem@davemloft.net>
12910
12911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12912
90020f5a
MF
129132012-04-11 Mike Frysinger <vapier@gentoo.org>
12914
12915 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12916 Add a leading slash to rtkaio.
12917
288f9098
JM
129182012-04-11 Jim Meyering <meyering@redhat.com>
12919
90020f5a
MF
12920 [BZ #11959]
12921 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12922 It is not necessarily an error to ignore fwrite's return
12923 value. One can reliably use ferror to test for errors after
12924 the fact.
288f9098 12925
4be2b570
L
129262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12927
12928 * bits/types.h (__snseconds_t): New type.
12929 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12930
12931 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12933 (__SNSECONDS_T_TYPE): Likewise.
12934 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12935 (__SNSECONDS_T_TYPE): Likewise.
12936 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12937 (__SNSECONDS_T_TYPE): Likewise.
12938
288f9098 129392012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12940
12941 [BZ #2636]
12942 * manual/time.texi (Processor Time): Return type of times is
12943 elapsed real time since an arbitrary point in the past.
12944 (CPU Time): Move CLK_TCK from here...
12945 (Processor Time): ...to here. Correct description.
12946 * manual/conf.texi (Constants for Sysconf): Correct description of
12947 _SC_CLK_TCK.
12948
d7dd4413
DM
129492012-04-10 David S. Miller <davem@davemloft.net>
12950
12951 [BZ #13967]
12952 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12953 where the is a gap between DT_REL(A) and DT_JMPREL.
12954
b46068fc
L
129552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12956
12957 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12958 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12959 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12960
73d65cc3
SP
129612012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12962
12963 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12964 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12965 (dl_main): Handle --inhibit-cache.
12966 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12967 _dl_inhibit_cache.
12968 * elf/dl-load.c (_dl_map_object): Use it.
12969 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12970
bcc8d661
JM
129712012-04-09 Joseph Myers <joseph@codesourcery.com>
12972
8f9a2fae
JM
12973 [BZ #13872]
12974 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12975 (__ieee754_powl): Saturate large exponents rather than testing for
12976 overflow of y*log2(x).
12977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12978 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12979 exceptions.
12980
bcc8d661
JM
12981 [BZ #11521]
12982 * math/s_ctan.c: Include <float.h>.
12983 (__ctan): Avoid internal overflow or cancellation in calculating
12984 denominator.
12985 * math/s_ctanf.c: Likewise.
12986 * math/s_ctanl.c: Likewise.
12987 * math/s_ctanh.c: Likewise.
12988 * math/s_ctanhf.c: Likewise.
12989 * math/s_ctanhl.c: Likewise.
12990 * math/libm-test.inc (ctan_test): Add more tests.
12991 (ctanh_test): Likewise.
12992 * sysdeps/i386/fpu/libm-test-ulps: Update.
12993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12994
823fbbb4
AJ
129952012-04-09 Andreas Jaeger <aj@suse.de>
12996
03879793
AJ
12997 [BZ #6894]
12998 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12999 is an optional BSD extension.
13000
823fbbb4
AJ
13001 [BZ #10254]
13002 * manual/stdio.texi (Opening Streams): Document additional fopen
13003 parameters.
13004
8de131cb
RM
130052012-04-09 Roland McGrath <roland@hack.frob.com>
13006
13007 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13008 %eax without telling the compiler.
13009
c0ed9d7d
CD
130102012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13011
13012 [BZ # 13963]
13013 * manual/install.texi: Use sourceware.org.
13014
c483f6b4
JM
130152012-04-09 Joseph Myers <joseph@codesourcery.com>
13016
d7dd9453
JM
13017 [BZ #13873]
13018 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13019 (__ieee754_pow): Generate overflow and underflow using huge*huge
13020 and tiny*tiny rather than just returning constant infinity or zero
13021 for large exponents.
13022 * math/libm-test.inc (pow_test): Require overflow exceptions for
13023 applicable cases of large exponents.
13024
c483f6b4
JM
13025 [BZ #706]
13026 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13027 (__ieee754_pow): Use iterative multiplication algorithm only for
13028 integer exponents with absolute value below 1024. Check for odd
13029 integer exponents when using algorithm for real exponents.
13030 * math/libm-test.inc (pow_test): Add more tests.
13031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13032
d2de7579
JM
130332012-04-08 Joseph Myers <joseph@codesourcery.com>
13034
13035 [BZ #13705]
13036 * math/libm-test.inc (exp_test): Do not allow overflow exception
13037 on underflow test.
13038
f77f1232
AJ
130392012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13040
13041 [BZ #13705]
13042 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13043 instead of __kernel_standard_f.
13044
3884932b
MF
130452012-04-08 Mike Frysinger <vapier@gentoo.org>
13046
13047 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13048 * sysdeps/x86_64/memset_chk.S: Likewise.
13049
54472e9c
AJ
130502012-04-08 Andreas Jaeger <aj@suse.de>
13051
6ab0fbfc
AJ
13052 [BZ #10153]
13053 * manual/startup.texi (Environment Access): Describe return value
13054 for putenv and setenv.
13055
61efba8c
AJ
13056 [BZ #6895]
13057 * manual/filesys.texi (Directory Entries): Add description for
13058 DT_LNK.
13059
95c3f29a
AJ
13060 [BZ #6890]
13061 * manual/filesys.texi (Directory Entries): Clarify that it's file
13062 system not operating system in the description of DT_UNKNOWN.
13063
54472e9c
AJ
13064 [BZ #6578]
13065 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13066
624254b1
SC
130672012-04-08 Stephen Compall <s11@member.fsf.org>
13068
13069 [BZ #6649]
13070 * manual/llio.texi (Opening and Closing Files): Add cross
13071 reference to explain mode argument.
13072
1e4920e0
MF
130732012-04-07 Mike Frysinger <vapier@gentoo.org>
13074
13075 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13076 * sysdeps/x86_64/memset_chk.S: Likewise.
13077
5ed848f3
DM
130782012-04-07 David S. Miller <davem@davemloft.net>
13079
13080 * elf/elf.h (R_SPARC_WDISP10): Define.
13081 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13082 R_SPARC_SIZE32.
13083 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13084 R_SPARC_SIZE64 and R_SPARC_H34.
13085
96154cd8
CD
130862012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13087
13088 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13089 conditions and remove no longer applicable assertion.
13090
9904dc47
L
130912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13092
13093 * bits/byteswap.h: Include <features.h>.
13094 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13095 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13096
f8887d0a
L
130972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13098
13099 * bits/byteswap.h (__bswap_16): Removed.
13100 Include <bits/byteswap-16.h> to get __bswap_16.
13101 * sysdeps/i386/bits/byteswap.h: Likewise.
13102 * sysdeps/s390/bits/byteswap.h: Likewise.
13103 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13104 * bits/byteswap-16.h: New file.
13105 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13106 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13107 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13108 * string/Makefile (headers): Add bits/byteswap-16.h.
13109
62470f60
PP
131102012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13111
13112 [BZ #13895]
13113 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13114 extra indirection.
13115 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13116 * nss/tst-nss-static.c: New.
13117
4dad7bab
RM
131182012-04-06 Robert Millan <rmh@gnu.org>
13119
13120 [BZ #6486]
13121 * manual/llio.texi (File Position Primitive): lseek
13122 refers to WHENCE when it really means OFFSET.
13123
e9142a17
AJ
131242012-04-06 Andreas Jaeger <aj@suse.de>
13125
2c040eff
AJ
13126 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13127 strncmp declarations.
13128
e9142a17
AJ
13129 * abilist/libc.abilist: Add __poll and __ppoll.
13130
ff9f1c5f
DM
131312012-04-05 David S. Miller <davem@davemloft.net>
13132
dcd2ae90
DM
13133 * scripts/check-local-headers.sh: Accept a host triplet in the
13134 path matched by the exclude regexp.
13135
993eb054
DM
13136 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13137 definition.
13138 * sysdeps/powerpc/powerpc32/dl-machine.h
13139 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13140 * sysdeps/s390/s390-32/dl-machine.h
13141 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13142 * sysdeps/sparc/sparc32/dl-machine.h
13143 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13144 * sysdeps/sparc/sparc64/dl-machine.h
13145 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13146
ff9f1c5f
DM
13147 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13148 lazy binding.
48e2e132 13149 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13150 undefined symbol errors.
13151
48e2e132 13152 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13153 DT_NEEDED entries.
13154
e80d6f94
MM
131552012-04-05 Michael Matz <matz@suse.de>
13156
13157 [BZ #13592]
13158 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13159
349fa79f
AJ
131602012-04-05 Andreas Jaeger <aj@suse.de>
13161
13162 [BZ #13908]
13163 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13164 comment.
13165
f402708f
KK
131662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13167
13168 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13169 which ROUND is no valid rounding mode.
13170
2ecccfc9
KK
131712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13172
13173 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13174 read again.
13175 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13176
8a53f50f
KK
131772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13178
13179 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13180 an exception using FPU order intentionally.
13181
131822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13183
13184 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13185 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13186 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13187 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13188
d653abb7
SJ
131892012-04-05 Simon Josefsson <simon@josefsson.org>
13190
13191 [BZ #12340]
13192 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13193 EINVAL when BUFLEN is too smal.
13194
c3b1bf7d
TS
131952012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13196
13197 [BZ #13553]
13198 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13199 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13200
b1aa60f3
AJ
132012012-04-03 Andreas Jaeger <aj@suse.de>
13202
c3b1bf7d 13203 [BZ #13938]
67f60a26
AJ
13204 * manual/setjmp.texi (System V contexts): Fix sentence.
13205
b1aa60f3
AJ
13206 [BZ #13926]
13207 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13208 New macro for this case.
13209 [!__GNUC__] (__bswap_64): New inline function for this case.
13210 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13211 * bits/byteswap.h: Likewise.
13212 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13213 ull, guard with __GLIBC_HAVE_LONG_LONG.
13214
13215 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13216 __GLIBC_HAVE_LONG_LONG.
13217
13218 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13219 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13220
39c59c35
TMQMF
132212012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13222
13223 [BZ #13691]
13224 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13225 inptr and inend, rather than using last_ch.
13226
135ffda8
DM
132272012-04-02 David S. Miller <davem@davemloft.net>
13228
13229 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13230 * stdio-common/printf-parse.h (read_int): Change return type to
13231 'int', return -1 on INT_MAX overflow.
13232 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13233 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13234 overflows INT_MAX. Check for overflow of in-format-string precision
13235 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13236 SIZE_MAX not INT_MAX for integer overflow test.
13237 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13238 skip the construct in the format string but do not record anything.
13239 * stdio-common/bug22.c: Adjust to test both width/prevision
13240 INT_MAX overflow as well as total length INT_MAX overflow. Check
13241 explicitly for proper errno values.
13242
228c019e
TS
132432012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13244
302cadd3
TS
13245 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13246 CHAR_MAX.
13247 * string/test-strcmp.c [! WIDE]: Likewise.
13248 * time/tst-mktime2.c: Likewise for INT_MAX.
13249 * string/test-string.h: #include <sys/param.h> for MIN.
13250
228c019e
TS
13251 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13252 * sysdeps/i386/init-first.c (init): Likewise.
13253 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13254 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13255 * sysdeps/sh/init-first.c (init): Likewise.
13256
cfa633f5
UD
132572012-04-01 Ulrich Drepper <drepper@gmail.com>
13258
13259 * po/ru.po: Update from translation team.
d1635ef8 13260 * po/vi.po: Likewise.
cfa633f5 13261
6cd0a5ea
SP
132622012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13263
13264 * resolv/nss_dns/dns-host.c: Merge copyright years.
13265
4b43400f
LD
132662012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13267
13268 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13269 Optimize memcpy with prefetch if
13270 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13271 src, dst pointers have unequal 16 byte alignments.
13272
48c41d04
SP
132732012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13274
13275 [BZ #13928]
13276 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13277 from a CNAME entry and return the minimum ttl for the query.
13278 (gaih_getanswer_slice): Likewise.
13279
b8dc394d
JL
132802012-03-30 Jeff Law <law@redhat.com>
13281
13282 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13283 due to long keys.
13284 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13285 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13286
2f5a5ed0
JL
13287 * resolv/nss_dns/dns-host.c: Update copyright year.
13288
1d39e359
UD
132892012-03-30 Ulrich Drepper <drepper@gmail.com>
13290
c030f70c 13291 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13292 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13293
1d39e359
UD
13294 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13295 comments for sendmmsg.
13296
132972012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13298
13299 [BZ #13691]
13300 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13301 with only 1 character between 0x0041 and 0x01b0.
13302 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13303 * wcsmbs/tst-mbsnrtowcs.c: New file.
13304
20fde227
DM
133052012-03-29 David S. Miller <davem@davemloft.net>
13306
13307 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13308 small copies by hand.
13309
984a4237
JL
133102012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13311
13312 [BZ #13761]
13313 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13314 _nss_compat_initgroups_dyn): Fall back to malloc/free
13315 for large group memberships.
13316
18c9d62b
DM
133172012-03-28 David S. Miller <davem@davemloft.net>
13318
88d85d4f
DM
13319 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13320 that branches into memcpy.
13321 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13322 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13323 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13324 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13326 bits.
13327 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13328 implementation too.
13329 * sysdeps/sparc/mempcpy.S: New file.
13330
e5aa83e1
DM
13331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13332 the IFUNC routine in the libc case.
13333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13334
88570753
DM
13335 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13336 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13337 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13338 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13339 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13340 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13341 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13342 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13343
249d7567
DM
13344 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13345 loop to 256 bytes instead of 64 bytes and fix test signedness.
13346
18c9d62b
DM
13347 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13348 * sysdeps/sparc/sparc32/Makefile: rather than here...
13349 * sysdeps/sparc/sparc64/Makefile: and here.
13350
05f3d1f6
UD
133512012-03-28 Ulrich Drepper <drepper@gmail.com>
13352
13353 * malloc/mallocbug.c: Avoid warnings about unused variables.
13354
86ae07a8
JL
133552012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13356
13357 [BZ #13760]
13358 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13359 in the right place. Discard and retry query if response is
13360 larger than input buffer size.
13361
41bf21a1
JM
133622012-03-28 Joseph Myers <joseph@codesourcery.com>
13363
d6270972
JM
13364 [BZ #369]
13365 [BZ #2678]
13366 [BZ #3866]
13367 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13368 x for large integer exponent.
13369 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13370 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13371 sign of result as needed afterwards.
13372 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13373 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13374 result for underflowing pow the same as for overflow.
13375 (__kernel_standard_l): Handle powl overflow and underflow here
13376 rather than calling __kernel_standard.
13377 * math/libm-test.inc (pow_test): Add more tests.
13378
414fca03 13379 [BZ #3868]
41bf21a1
JM
13380 [BZ #13879]
13381 [BZ #13910]
13382 [BZ #13911]
13383 [BZ #13912]
13384 [BZ #13913]
13385 [BZ #13915]
13386 [BZ #13916]
13387 [BZ #13917]
13388 [BZ #13918]
13389 [BZ #13919]
13390 [BZ #13920]
13391 [BZ #13921]
13392 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13393 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13394 (__kernel_standard_l): New function.
13395 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13396 __kernel_standard.
13397 * math/w_acosl.c (__acosl): Likewise.
13398 * math/w_asinl.c (__asinl): Likewise.
13399 * math/w_atan2l.c (__atan2l): Likewise.
13400 * math/w_atanhl.c (__atanhl): Likewise.
13401 * math/w_coshl.c (__coshl): Likewise.
13402 * math/w_exp10l.c (__exp10l): Likewise.
13403 * math/w_exp2l.c (__exp2l): Likewise.
13404 * math/w_fmodl.c (__fmodl): Likewise.
13405 * math/w_hypotl.c (__hypotl): Likewise.
13406 * math/w_j0l.c (__j0l, __y0l): Likewise.
13407 * math/w_j1l.c (__j1l, __y1l): Likewise.
13408 * math/w_jnl.c (__jnl, __ynl): Likewise.
13409 * math/w_lgammal.c (__lgammal): Likewise.
13410 * math/w_log10l.c (__log10l): Likewise.
13411 * math/w_log2l.c (__log2l): Likewise.
13412 * math/w_logl.c (__logl): Likewise.
13413 * math/w_powl.c (__powl): Likewise.
13414 * math/w_remainderl.c (__remainderl): Likewise.
13415 * math/w_scalbl.c (sysv_scalbl): Likewise.
13416 * math/w_sinhl.c (__sinhl): Likewise.
13417 * math/w_sqrtl.c (__sqrtl): Likewise.
13418 * math/w_tgammal.c (__tgammal): Likewise.
13419 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13420 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13421 * math/libm-test.inc (acos_test): Add more tests.
13422 (acosh_test): Likewise.
13423 (asin_test): Likewise.
13424 (atanh_test): Likewise.
13425 (exp_test): Likewise.
13426 (exp10_test): Likewise.
13427 (exp2_test): Likewise.
13428 (expm1_test): Likewise.
13429 (lgamma_test): Likewise.
13430 (log_test): Likewise.
13431 (log10_test): Likewise.
13432 (log1p_test): Likewise.
13433 (log2_test): Likewise.
13434 (pow_test): Do not allow some spurious overflow exceptions.
13435 (sqrt_test): Add more tests.
13436 (tgamma_test): Likewise.
13437 (y0_test): Likewise.
13438 (y1_test): Likewise.
13439 (yn_test): Likewise.
13440
dd62fda6
AB
134412012-03-27 Anton Blanchard <anton@samba.org>
13442
13443 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13444 MAP_HUGETLB.
13445 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13446 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13447 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13448
1e3cdfda
AJ
134492012-03-27 David S. Miller <davem@davemloft.net>
13450
b855ab85
DM
13451 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13452
1e3cdfda
AJ
13453 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13454 have-as-vis3 check.
13455
134562012-03-27 Andreas Jaeger <aj@suse.de>
13457
13458 * sysdeps/x86_64/elf/configure.in: Moved to ...
13459 * sysdeps/x86_64/configure.in: ... here.
13460 * sysdeps/x86_64/elf/start.S: Moved to ...
13461 * sysdeps/x86_64/start.S: ... here.
13462 * sysdeps/x86_64/elf/configure: Delete.
13463
13464 * sysdeps/x86_64/configure.in: Merge contents from
13465 sysdeps/i386/configure.in (without i686 check).
13466
13467 * sysdeps/i386/elf/Versions: Merge into ...
13468 * sysdeps/i386/Versions: ... this.
13469 * sysdeps/i386/elf/Versions: Delete file.
13470 * sysdeps/i386/elf/start.S: Moved to ...
13471 * sysdeps/i386/start.S: ...here.
13472 * sysdeps/i386/elf/configure.in: Merge into...
13473 * sysdeps/i386/configure.in: ...here.
13474 * sysdeps/i386/elf/configure.in: Delete file.
13475 * sysdeps/i386/elf/configure: Delete file.
13476
13477 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13478 * debug/backtracesyms.c: ... here.
13479 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13480 * debug/backtracesymsfd.c: ... here.
13481 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13482 * sysdeps/generic/ifunc-sel.h: ... here.
13483
13484 * sysdeps/unix/i386/start.c: Delete file.
13485 * sysdeps/unix/sparc/start.c: Delete file.
13486 * sysdeps/unix/start.c: Delete file.
13487
13488 * sysdeps/sh/elf/configure.in: Moved to ...
13489 * sysdeps/sh/configure.in: ... here.
13490 * sysdeps/sh/elf/start.S: Moved to ...
13491 * sysdeps/sh/start.S: ... here.
13492 * sysdeps/sh/elf/configure: Delete file.
13493
13494 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13495 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13496 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13497 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13498 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13499 * sysdeps/powerpc/powerpc64/start.S: here.
13500 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13501 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13502 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13503 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13504 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13505
13506 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13507 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13508 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13509 * sysdeps/powerpc/powerpc32/start.S: ... here.
13510 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13511 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13512 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13513
13514 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13515 * sysdeps/powerpc/ifunc-sel.h: ... here.
13516 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13517 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13518
13519 * sysdeps/sparc/elf/configure.in: Moved to ...
13520 * sysdeps/sparc/configure.in: ... here.
13521 * sysdeps/sparc/elf/configure: Delete file.
13522 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13523 * sysdeps/sparc/sparc32/start.S: ... here.
13524 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13525 * sysdeps/sparc/sparc64/start.S: ... here.
13526 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13527 * sysdeps/sparc/sparc32/Makefile: ... this.
13528 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13529 * sysdeps/sparc/sparc64/Makefile: ... this.
13530
13531 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13532 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13533 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13534 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13535 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13536 * sysdeps/s390/s390-32/setjmp.S: ... here.
13537 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13538 * sysdeps/s390/s390-32/configure.in: ... here.
13539 * sysdeps/s390/s390-32/elf/configure: Delete file.
13540 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13541 * sysdeps/s390/s390-32/start.S: ... here.
13542
13543 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13544 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13545 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13546 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13547 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13548 * sysdeps/s390/s390-64/setjmp.S: ... here.
13549 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13550 * sysdeps/s390/s390-64/configure.in: ... here
13551 * sysdeps/s390/s390-64/elf/configure: Delete file.
13552 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13553 * sysdeps/s390/s390-64/start.S: ... here.
13554 * sysdeps/s390/s390-64/elf/configure: Delete.
13555
13556 * configure.in: Remove support for elf directories in sysdeps.
13557
13558 * configure: Regenerated.
13559 * sysdeps/i386/configure: Regenerated.
13560 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13561 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13562 * sysdeps/s390/s390-32/configure: Regenerated.
13563 * sysdeps/s390/s390-64/configure: Regenerated.
13564 * sysdeps/sh/configure: Regenerated.
13565 * sysdeps/sparc/configure: Regenerated.
13566 * sysdeps/x86_64/configure: Regenerated.
13567
a3f61311
AS
135682012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13569
c876e002
AS
13570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13571
a3f61311
AS
13572 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13573 denormal result into account.
13574
ac4c54f0
RM
135752012-03-25 Roland McGrath <roland@hack.frob.com>
13576
13577 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13578 Reported by Allan McRae <allan@archlinux.org>.
13579
6a9b9c02
JL
135802012-03-23 Jeff Law <law@redhat.com>
13581
13582 * nss/getnssent.c (__nss_getent): Fix typo.
13583
4c42a0c1
DM
135842012-03-23 David S. Miller <davem@davemloft.net>
13585
13586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13587
1532c7ac
L
135882012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13589
13590 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13591 to pad to uint64_t for each field.
13592 (dl_tls_index): Replace unsigned long with uint64_t.
13593
3ff42526
PP
135942012-03-23 Daniel Jacobowitz <dmj@google.com>
13595 Paul Pluzhnikov <ppluzhnikov@google.com>
13596
13597 [BZ #6528]
13598 * grp/Makefile (otherlibs): Don't set it.
13599 * inet/Makefile (otherlibs): Likewise.
13600 * login/Makefile (otherlibs): Likewise.
13601 * nscd/Makefile (otherlibs): Likewise.
13602 * posix/Makefile (otherlibs): Likewise.
13603 * pwd/Makefile (otherlibs): Likewise.
13604 * rt/Makefile (otherlibs): Likewise.
13605 * sunrpc/Makefile (otherlibs): Likewise.
13606 * nss/Makefile (otherlibs): Likewise.
13607 Add libnss_files to routines and static-only-routines.
13608 ($(objpfx)getent): Remove rule.
13609 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13610 static-only-routines.
13611
7c69cd14
JM
136122012-03-22 Joseph Myers <joseph@codesourcery.com>
13613
13614 [BZ #13892]
13615 * math/s_cexp.c: Include <float.h>.
13616 (__cexp): Handle exp result overflowing not necessarily
13617 overflowing both real and imaginary parts of result.
13618 * math/s_cexpf.c: Likewise.
13619 * math/s_cexpl.c: Likewise.
13620 * math/libm-test.inc (cexp_test): Add more tests.
13621 * sysdeps/i386/fpu/libm-test-ulps: Update.
13622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13623
81b035fe
L
136242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13625
13626 * include/link.h (ELFW): New macro.
13627 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13628 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13629
1da7940c
L
136302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13631
13632 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13633 with uint64_t.
13634
b749dbb9
L
136352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13636
13637 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13638 declaration.
13639 (struct La_x32_retval): Likewise.
13640
2ff87f3f
L
136412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13642
13643 * sysdeps/x86_64/preconfigure.in: New file.
13644 * sysdeps/x86_64/preconfigure: New generated file.
13645
c0df8e69
JM
136462012-03-22 Joseph Myers <joseph@codesourcery.com>
13647
48e44791
JM
13648 [BZ #13824]
13649 * math/e_exp2l.c: Include <float.h>.
13650 (__ieee754_exp2l): Handle overflow and underflow cases
13651 separately. Only pass fractional part of argument to
13652 __ieee754_expl.
13653 * math/libm-test.inc (exp2_test): Add more tests.
13654
c0df8e69
JM
13655 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13656 negating x to take absolute value.
13657 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13658 Likewise.
13659 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13660 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13661 Likewise.
13662 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13663 computing low part if x was negated.
13664 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13665
c8e43ba7
L
136662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13667
13668 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13669 la_x32_gnu_pltexit.
13670 (pltexit): Cast int_retval to ptrdiff_t.
13671 * elf/tst-auditmod3b.c: Likewise.
13672 * elf/tst-auditmod4b.c: Likewise.
13673 * elf/tst-auditmod5b.c: Likewise.
13674 * elf/tst-auditmod6b.c: Likewise.
13675 * elf/tst-auditmod6c.c: Likewise.
13676 * elf/tst-auditmod7b.c: Likewise.
13677
13678 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13679 and x32_gnu_pltexit.
13680
13681 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13682 __ELF_NATIVE_CLASS.
13683 (La_x32_regs): New macro.
13684 (La_x32_retval): Likewise.
13685 (la_x32_gnu_pltenter): New function prototype.
13686 (la_x32_gnu_pltexit): Likewise.
13687
7998fa78
AS
136882012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13689
dcb33988
AS
13690 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13691 exponent.
13692
233fc563
AS
13693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13694
7998fa78
AS
13695 * configure.in (libc_cv_cc_nofma): Check for option to disable
13696 generation of FMA instructions.
13697 * configure: Regenerate.
13698 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13699 * sysdeps/ieee754/dbl-64/Makefile: New file.
13700 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13701 Remove brandred-fma4.
13702 (CFLAGS-brandred-fma4.c): Remove.
13703 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13704 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13705 define.
13706 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13707 define.
13708
8e95c99a
L
137092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13710
13711 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13712 LLONG_MAX != LONG_MAX.
13713 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13714 (_fitoa_word): Likewise.
13715 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13716 LLONG_MAX != LONG_MAX.
13717 * stdio-common/_itowa.h: Include <_itoa.h>.
13718 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13719 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13720 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13721 only if not defined.
13722 (_ITOA_WORD_TYPE): Likewise.
13723 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13724 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13725
6f4db457
DM
137262012-03-21 David S. Miller <davem@davemloft.net>
13727
13728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13729
7785fe5a
L
137302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13731
13732 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13733 of x86_64 when setting libc_cv_slibdir, libdir and
13734 libc_cv_localedir.
13735 * sysdeps/unix/sysv/linux/configure: Regenerated.
13736
4535cd55
JM
137372012-03-21 Joseph Myers <joseph@codesourcery.com>
13738
13739 * manual/lang.texi (Old Varargs): Remove section.
13740 (How Variadic): Update menu.
13741 (va_start): Do not mention varargs.h.
13742
17228132
TS
137432012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13744 Joseph Myers <joseph@codesourcery.com>
13745
13746 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13747 link test.
13748 * configure: Regenerated.
13749
8149f976
TS
137502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13751
05f3d1f6
UD
13752 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13753 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13754 conformtest.pl
8149f976 13755
1a4ac776
JM
137562012-03-21 Joseph Myers <joseph@codesourcery.com>
13757
be22ce65
JM
13758 * NOTES: Remove.
13759 * Makefile (files-for-dist): Remove NOTES.
13760 (NOTES): Remove rule.
13761 * README: Don't refer to NOTES.
13762 * manual/creature.texi: Don't include macros.texi.
13763 * manual/intro.texi (creature.texi): Remove comment referring to
13764 NOTES.
13765
40b601fb
JM
13766 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13767 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13768 * configure: Regenerated.
13769 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13770 LIBC_TRY_CC_OPTION.
13771 (libc_cv_as_i686): Likewise.
13772 (libc_cv_cc_avx): Likewise.
13773 (libc_cv_cc_sse2avx): Likewise.
13774 (libc_cv_cc_fma4): Likewise.
13775 (libc_cv_cc_novzeroupper): Likewise.
13776 * sysdeps/i386/configure: Regenerated.
13777
1a4ac776
JM
13778 [BZ #13883]
13779 * sysdeps/i386/fpu/s_cexp.S: Remove.
13780 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13781 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13782 * math/libm-test.inc (cexp_test): Add more tests.
13783 * sysdeps/i386/fpu/libm-test-ulps: Update.
13784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13785
a458e7fe
AM
137862012-03-21 Allan McRae <allan@archlinux.org>
13787
13788 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13789
0cb7efc5
JM
137902012-03-21 Joseph Myers <joseph@codesourcery.com>
13791
13792 [BZ #13871]
13793 * math/w_exp2.c: Do not include <float.h>.
13794 (o_threshold, u_threshold): Remove.
13795 (__exp2): Calculate result before checking finiteness and calling
13796 __kernel_standard.
13797 * math/w_exp2f.c: Likewise.
13798 * math/w_exp2l.c: Likewise.
13799 * math/libm-test.inc (exp2_test): Require overflow exception for
13800 1e6 input.
2460d3aa
JM
13801
13802 [BZ #3866]
13803 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13804 range of signed 64-bit integers before using fistpll. Remove
13805 checks for whether integers fit in mantissa bits.
13806 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13807 the range of signed 32-bit integers before using fistpl. Remove
13808 checks for whether integers fit in mantissa bits.
13809 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13810 (__ieee754_powl): Test for y outside the range of signed 64-bit
13811 integers before using fistpll. Reduce 64-bit values to 63-bit
13812 ones as needed.
13813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13814 divide-by-zero is raised for zero to large negative powers.
13815 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13816 (__ieee754_powl): Test for y outside the range of signed 64-bit
13817 integers before using fistpll. Reduce 64-bit values to 63-bit
13818 ones as needed.
13819 * math/libm-test.inc (pow_test): Add more tests.
13820
eb96ffb0
L
138212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13822
13823 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13824 <stdio-common/_itoa.h>.
13825 * debug/segfault.c: Likewise.
13826 * elf/dl-cache.c: Likewise.
13827 * elf/dl-minimal.c: Likewise.
13828 * elf/dl-misc.c: Likewise.
13829 * elf/dl-sysdep.c: Likewise.
13830 * elf/dl-version.c: Likewise.
13831 * elf/rtld.c: Likewise.
13832 * hurd/hurdsock.c: Likewise.
13833 * hurd/lookup-retry.c: Likewise.
13834 * malloc/malloc.c: Likewise.
13835 * malloc/mtrace.c: Likewise.
13836 * nscd/nscd_getgr_r.c: Likewise.
13837 * nscd/nscd_getpw_r.c: Likewise.
13838 * nscd/nscd_getserv_r.c: Likewise.
13839 * posix/getopt_init.c: Likewise.
13840 * posix/wordexp.c: Likewise.
13841 * stdio-common/_itoa.c: Likewise.
13842 * stdio-common/printf_fphex.c: Likewise.
13843 * stdio-common/vfprintf.c: Likewise.
13844 * string/_strerror.c: Likewise.
13845 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13846 * sysdeps/i386/i686/hp-timing.h: Likewise.
13847 * sysdeps/mach/_strerror.c: Likewise.
13848 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13849 * sysdeps/mach/hurd/sethostid.c: Likewise.
13850 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13851 * sysdeps/mach/xpg-strerror.c: Likewise.
13852 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13853 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13854 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13855 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13856 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13857 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13858 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13859 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13860 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13861 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13862 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13863 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13864 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13865 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13866 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13867 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13868 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13869 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13870 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13871 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13872 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13873
13874 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13875
13876 * stdio-common/_itoa.h: Moved to ...
13877 * sysdeps/generic/_itoa.h: Here.
13878
13879 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13880
13881 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13882 instead of "_itoa.h" and "_itowa.h".
13883 * stdio-common/vfprintf.: Likewise.
13884
d1af992d
L
138852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13886
13887 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13888 <bits/wordsize.h>.
13889 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13890 (__signbit): Likwise.
13891 (llrintf): Likwise.
13892 (llrint): Likwise.
13893
114883e0
L
138942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13895
13896 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13897 __WORDSIZE != 64.
13898
c135cc1b
JM
138992012-03-20 Joseph Myers <joseph@codesourcery.com>
13900
13901 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13902 OVERFLOW_EXCEPTION_OK.
13903 * math/libm-test.inc ("Philosophy"): Update comment about
13904 exception testing.
13905 (OVERFLOW_EXCEPTION): Define.
13906 (OVERFLOW_EXCEPTION_OK): Likewise.
13907 (INVALID_EXCEPTION_OK): Renumber.
13908 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13909 (IGNORE_ZERO_INF_SIGN): Likewise.
13910 (test_exceptions): Handle FE_OVERFLOW.
13911 (exp10_test): Expect overflow exceptions.
13912 (exp2_test): Likewise.
13913 (expm1_test): Likewise.
13914 (nextafter_test): Likewise.
13915 (pow_test): Likewise.
13916 (scalbn_test): Likewise.
13917 (scalbln_test): Likewise.
13918
95443d88
L
139192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13920
13921 * sysdeps/x86_64/bits/atomic.h
13922 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13923 64bit integer.
13924 (atomic_exchange_acq): Likewise.
13925 (__arch_exchange_and_add_body): Likewise.
13926 (__arch_add_body): Likewise.
13927 (atomic_add_negative): Likewise.
13928 (atomic_add_zero): Likewise.
13929
490df6c4
L
139302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13931
c2722551 13932 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13933 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13934
5e52b189
L
139352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13936
13937 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13938 Check __x86_64__ instead of __WORDSIZE.
13939
a9879d4c
L
139402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13941
13942 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13943
5df98260
DM
139442012-03-19 David S. Miller <davem@davemloft.net>
13945
e1497744
DM
13946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13947
5df98260
DM
13948 * sysdeps/sparc/fpu/fenv_private.h: New file.
13949 * sysdeps/sparc/fpu/math_private.h: Use it.
13950 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13951 Remove.
13952 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13953 (libc_feholdexcept_setroundl): Remove.
13954 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13955 Remove.
13956 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13957 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13958
b4c35121
L
139592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13960
13961 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13962 int64_t instead of long int.
13963 (INSERT_WORDS64): Likwise.
13964
56965fd7
L
139652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13966
13967 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13968 _Unwind_GetCFA return to _Unwind_Ptr first.
13969
83d1aec8
JM
139702012-03-19 Joseph Myers <joseph@codesourcery.com>
13971
1897ad44
JM
13972 [BZ #13629]
13973 * math/s_clog.c: Include <float.h>.
13974 (__clog): Scale large or subnormal inputs.
13975 * math/s_clogf.c: Likewise.
13976 * math/s_clogl.c: Likewise.
13977 * math/s_clog10.c: Include <float.h>.
13978 (M_LOG10_2): Define.
13979 (__clog10): Scale large or subnormal inputs.
13980 * math/s_clog10f.c: Likewise.
13981 * math/s_clog10l.c: Likewise.
13982 * math/libm-test.inc (clog_test): Add more tests.
13983 (clog10_test): Likewise.
13984 * sysdeps/i386/fpu/libm-test-ulps: Update.
13985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13986
7726d6a9
JM
13987 [BZ #11451]
13988 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13989 x and y.
13990 * math/libm-test.inc (atan2_test): Add another test.
13991
83d1aec8
JM
13992 * Makerules (common-objdir-compile): Remove.
13993 * sysdeps/unix/Makefile (config-generated): Do not add
13994 $(unix-generated) to variable.
13995 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13996 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13997 Remove rule.
13998 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13999 Likewise.
14000 [generic bits/local_lim.h] (before-compile): Do not append to
14001 variable.
14002 [generic bits/local_lim.h] (common-generated): Likewise.
14003 [generic sys/param.h] (before-compile): Do not append to variable.
14004 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14005 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14006 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14007 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14008 include.
14009 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14010 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14011 [generic sys/param.h] ($(addprefix
14012 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14013 [generic sys/param.h] (common-generated): Do not append to
14014 variable.
14015 [generic sys/param.h] (sysdep_headers): Likewise.
14016 [generic bits/errno.h] (before-compile): Do not append to
14017 variable.
14018 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14019 rule.
14020 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14021 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14022 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14023 [generic bits/errno.h] (common-generated): Do not append to
14024 variable.
14025 [generic bits/ioctls.h] (before-compile): Do not append to
14026 variable.
14027 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14028 rule.
14029 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14030 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14031 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14032 rule.
14033 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14034 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14035 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14036 [generic bits/ioctls.h] (common-generated): Do not append to
14037 variable.
14038 [generic sys/syscall.h] (syscall.h): Remove variable.
14039 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14040 rule.
14041 [generic sys/syscall.h] (before-compile): Do not append to
14042 variable.
14043 [generic sys/syscall.h] (common-generated): Likewise.
14044 * sysdeps/unix/errnos-tmpl.c: Remove file.
14045 * sysdeps/unix/errnos.awk: Likewise.
14046 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14047 * sysdeps/unix/ioctls.awk: Likewise.
14048 * sysdeps/unix/mk-local_lim.c: Likewise.
14049 * sysdeps/unix/snarf-ioctls: Likewise.
14050
4851a949
RH
140512012-03-19 Richard Henderson <rth@twiddle.net>
14052
bd37f2ee
RH
14053 * sysdeps/i386/fpu/fenv_private.h: New file.
14054 * sysdeps/i386/fpu/math_private.h: Use it.
14055 (math_opt_barrier, math_force_eval): Remove.
14056 (libc_feholdexcept_setround_53bit): Remove.
14057 (libc_feupdateenv_53bit): Remove.
14058 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14059 (math_opt_barrier, math_force_eval): Remove.
14060 (libc_feholdexcept): Remove.
14061 (libc_feholdexcept_setround): Remove.
14062 (libc_fetestexcept, libc_fesetenv): Remove.
14063 (libc_feupdateenv_test): Remove.
14064 (libc_feupdateenv, libc_feholdsetround): Remove.
14065 (libc_feresetround): Remove.
14066
d0adc922
RH
14067 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14068 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14069
0fe0f1f8
RH
14070 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14071 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14072 (libc_feupdateenv_testl): New.
14073 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14074 (libc_feupdateenv_testf): New.
14075 (libc_feupdateenv): Use libc_feupdateenv_test.
14076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14077 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14078
eb92c487
RH
14079 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14080 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14081 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14082 (libc_feresetround_noex): New.
14083 (libc_feresetround_noexf): New.
14084 (libc_feresetround_noexl): New.
14085 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14086 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14087 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14088 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14089 SET_RESTORE_ROUND.
14090 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14092 (__cos): Likewise.
14093 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14094 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14095 SET_RESTORE_ROUND_NOEX.
14096 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14097 SET_RESTORE_ROUND_NOEXF.
14098 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14099 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14100 (libc_feholdsetroundf): New.
14101 (libc_feresetround, libc_feresetroundf): New.
14102
7d2e8012
RH
14103 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14104 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14105 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14106
b4dabbb4
RH
14107 * sysdeps/generic/math_private.h: Include <fenv.h>.
14108 (default_libc_feholdexcept): New.
14109 (default_libc_feholdexcept_setround): New.
14110 (default_libc_fesetenv, default_libc_feupdateenv): New.
14111 (libc_feholdexcept): Only define if undefined.
14112 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14113 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14114 (libc_feholdexcept_setroundl): Likewise.
14115 (libc_feholdexcept_setround_53bit): Likewise.
14116 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14117 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14118 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14119 (libc_feupdateenv_53bit): Likewise.
14120 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14121 (libc_feholdexcept): Convert from macro to inline function.
14122 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14123 (libc_fesetenv, libc_feupdateenv): Likewise.
14124
4851a949
RH
14125 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14126 not previously defined.
14127 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14128 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14129 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14130 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14131 * sysdeps/ieee754/flt-32/math_private.h: New file.
14132 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14133 math_private.h below SET_FLOAT_WORD.
14134 (__isnan, __isinf_ns, __finite): Remove.
14135 (__isnanf, __isinf_nsf, __finitef): Remove.
14136
e79d442e
AS
141372012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14138
14139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14140
90b80344
DM
141412012-03-17 David S. Miller <davem@davemloft.net>
14142
14143 [BZ #6471]
14144 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14145 for 2.16.
14146
edc21804
DM
141472012-03-16 David S. Miller <davem@davemloft.net>
14148
77e927af
DM
14149 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14150 warnings.
14151
374976dd
DM
14152 [BZ #6471]
14153 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14154 properly.
14155 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14156 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14157 sysdep_routines when subdir is sysvipc.
14158 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14159 __getshmlba helper.
14160
edc21804
DM
14161 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14162
473c3ef3
L
141632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14164
14165 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14166 [__LP64__].
14167
eb0f39b6
L
141682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14169
14170 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14171 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14172 (__lround): Renamed to ...
14173 (__llround): This. Replace long int with long long int.
14174 Define lround functions as aliases of llround functions.
14175 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14176
6b6cd74b
L
141772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14178
14179 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14180 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14181 adresses to uintptr_t. Replace "long int" and "unsigned long
14182 int" with "greg_t" on va_arg.
14183
f1a77b01
L
141842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14185
14186 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14187 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14188
14189 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14190 Move e_machine check before EI_CLASS check. Handle x32
14191 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14192 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14193 SKIP_EM_IA_64 and include
14194 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14195
14196 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14197 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14198 (add_system_dir): New macro.
14199
14200 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14201 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14202
11b90b9f
JM
142032012-03-16 Joseph Myers <joseph@codesourcery.com>
14204
c36e1d23
JM
14205 [BZ #2551]
14206 [BZ #2552]
14207 [BZ #2553]
14208 [BZ #2554]
14209 [BZ #2562]
14210 [BZ #2563]
14211 [BZ #2565]
14212 [BZ #2566]
14213 [BZ #2576]
14214 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14215 (y0): Likewise.
14216 * math/w_j0f.c (j0f): Likewise.
14217 (y0f): Likewise.
14218 * math/w_j0l.c (__j0l): Likewise.
14219 (__y0l): Likewise.
14220 * math/w_j1.c (j1): Likewise.
14221 (y1): Likewise.
14222 * math/w_j1f.c (j1f): Likewise.
14223 (y1f): Likewise.
14224 * math/w_j1l.c (__j1l): Likewise.
14225 (__y1l): Likewise.
14226 * math/w_jn.c (jn): Likewise.
14227 (yn): Likewise.
14228 * math/w_jnf.c (jnf): Likewise.
14229 (ynf): Likewise.
14230 * math/w_jnl.c (__jnl): Likewise.
14231 (__ynl): Likewise.
14232 * math/libm-test.inc (j0_test): Add more tests.
14233 (j1_test): Likewise.
14234 (jn_test): Likewise. Add trailing semicolon to existing test.
14235 (y0_test): Likewise.
14236 (y1_test): Likewise.
14237 * sysdeps/i386/fpu/libm-test-ulps: Update.
14238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14239
11b90b9f
JM
14240 [BZ #13851]
14241 [BZ #13854]
14242 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14243 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14244 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14245 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14246 (__tanl): Set errno for infinite argument.
14247 * sysdeps/i386/fpu/mptan.c: Remove.
14248 * sysdeps/i386/fpu/s_tan.S: Likewise.
14249 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14250 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14251 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14252 * math/libm-test.inc (tan_test): Add more tests and enable more
14253 tests for double and long double.
14254 * sysdeps/i386/fpu/libm-test-ulps: Update.
14255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14256
6a1bd2a1
JK
142572012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14258
14259 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14260 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14261
10a803e0
RM
142622012-03-16 Roland McGrath <roland@hack.frob.com>
14263
14264 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14265 * configure.in: Use it for both main tree and add-ons.
14266 * configure: Regenerated.
14267
f196c7f7
L
142682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14269
14270 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14271
8848d99d
JM
142722012-03-16 Joseph Myers <joseph@codesourcery.com>
14273
96cbe7f4
JM
14274 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14275 in comment.
14276
8848d99d
JM
14277 [BZ #13851]
14278 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14279 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14280 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14282 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14283 infinite argument.
14284 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14285 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14286 != 0 for prec == 2.
14287 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14288 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14289 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14290 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14291 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14292 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14293 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14294 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14295 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14296 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14297 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14298 * math/libm-test.inc (cos_test): Add more tests and enable more
14299 tests for long double.
14300 (sin_test): Likewise.
14301 (sincos_test): Likewise.
14302 * sysdeps/i386/fpu/libm-test-ulps: Update.
14303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14304
dd7f4703
DM
143052012-03-16 David S. Miller <davem@davemloft.net>
14306
14307 * sysdeps/sparc/fpu/math_private.h: New file.
14308
006f1daa
DM
143092012-03-15 David S. Miller <davem@davemloft.net>
14310
c0c83bc8
DM
14311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14312 file.
e6a62e18 14313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14315 file.
e6a62e18
DM
14316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14321 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14322 sysdep routines.
14323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14324
88cb87d9
DM
14325 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14326 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14327
006f1daa 14328 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14330 sparc-ifunc.h
006f1daa 14331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14333 Likewise.
14334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14335 Likewise.
006f1daa
DM
14336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14340 Likewise.
006f1daa
DM
14341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14346 Likewise.
14347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14348 Likewise.
006f1daa
DM
14349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14355 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14356 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14367 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14368 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14373
11e0098e
AS
143742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14375
14376 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14377 scaling.
14378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14379
e85b09d0
AJ
143802012-03-15 Andreas Jaeger <aj@suse.de>
14381
14382 [BZ #13852]
14383 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14384 ieee754/flt-32 implementation for sin, cos and sincos.
14385 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14386 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14387 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14388 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14389 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14390 ieee754/flt-32 implementation for tan.
14391
14392 * math/libm-test.inc (cos_test): Enable some large input tests for
14393 float as well
14394 (sin_test): Likewise.
14395 (sincos_test): Likewise.
14396 (tan_test): Add tests for large input.
14397
14398 * sysdeps/i386/fpu/libm-test-ulps: Update.
14399
81c64153
AJ
144002012-03-15 Andreas Jaeger <aj@suse.de>
14401
14402 [BZ #13658]
14403 * math/libm-test.inc (cos_test): Add more test cases.
14404 (sin_test): Likewise.
14405 (sincos_test): Likewise.
14406
7bbfa5c6
AJ
144072012-03-15 Andreas Jaeger <aj@suse.de>
14408
14409 [BZ #13837]
14410 * math/libm-test.inc (cos_test): Add a test case for large input
14411 value.
14412 (sin_test): Likewise.
14413 (sincos_test): Likewise.
14414
144152012-03-15 Andreas Jaeger <aj@suse.de>,
14416 Joseph Myers <joseph@codesourcery.com>
14417
14418 [BZ #13658]
0671f479 14419 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14420 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14421 * sysdeps/i386/fpu/branred.c: Likewise.
14422 * sysdeps/i386/fpu/dosincos.c: Likewise.
14423 * sysdeps/i386/fpu/mpa.c: Likewise.
14424 * sysdeps/i386/fpu/s_cos.S: Likewise.
14425 * sysdeps/i386/fpu/s_sin.S: Likewise.
14426 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14427 * sysdeps/i386/fpu/sincos32.c: Likewise.
14428
14429 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14430 Define.
14431 (libc_feupdateenv_53bit): Define.
14432 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14433 Define.
14434 (libc_feupdateenv_53bit): Define.
14435
14436 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14437 53 bit (without extend i386 double precision).
14438
14439 * math/libm-test.inc (sincos_test): Add tests for large input.
14440 (sin): Likewise.
14441 (cos): Likewise.
14442
14443 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14444
9cad04ea
AS
144452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14446
14447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14448
f7062b9a
DM
144492012-03-15 David S. Miller <davem@davemloft.net>
14450
14451 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14452 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14453 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14454 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14467 file.
f7062b9a 14468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14470 file.
f7062b9a 14471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14473 file.
f7062b9a 14474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14476 file.
f7062b9a
DM
14477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14478 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14479 fmin/fmax sysdep routines.
14480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14481
7bd951ff
DM
144822012-03-14 David S. Miller <davem@davemloft.net>
14483
559398ab
DM
14484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14488 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14489 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14490 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14491 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14504 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14505 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14506 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14507 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14508 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14509 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14510 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14511 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14513 routines.
14514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14515 file.
559398ab 14516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14518 file.
559398ab 14519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14521 file.
559398ab 14522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14524 file.
559398ab 14525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14527 file.
559398ab 14528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14530 file.
14531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14532 file.
14533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14534 file.
14535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14536 file.
14537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14538 New file.
14539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14540 file.
14541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14542 file.
559398ab 14543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14545 file.
559398ab 14546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14548 file.
559398ab 14549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14551 file.
559398ab 14552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14554 VIS3 routines.
559398ab
DM
14555
14556 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14557 New file.
14558
5a1c1e32
DM
14559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14560
eae47a36
DM
14561 * sysdeps/sparc/configure.in: New file.
14562 * sysdeps/sparc/configure: Generate.
14563 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14564 * configure: Regenerate.
14565 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14566 * config.make.in (have-as-vis3): New.
14567 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14568 available use -Av9d instead of -Av9a.
14569 * sysdeps/sparc/sparc64/Makefile: Likewise.
14570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14572 New file.
14573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14574 file.
14575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14576 New file.
14577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14578 file.
eae47a36
DM
14579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14580 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14581 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14582 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14583 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14584
c0c83bc8
DM
14585 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14586 fzeros/fnegs to load 0x80000000 into a float register instead of
14587 using the stack.
7bd951ff
DM
14588 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14589
bd951ccb
JM
145902012-03-14 Joseph Myers <joseph@codesourcery.com>
14591
14592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14593 bits/syscall.h.
14594 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14595 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14596 ($(inst_includedir)/bits/syscall.h): Remove rule.
14597 ($(objpfx)bits/syscall.d): Include instead of
14598 $(objpfx)syscall-list.d.
14599 (generated): Change syscall-list.h and syscall-list.d to
14600 bits/syscall.h and bits/syscall.d.
14601
bb4e6db2
RM
146022012-03-14 Roland McGrath <roland@hack.frob.com>
14603
14604 [BZ #13846]
14605 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14606
aa4a2ae1
JM
146072012-03-14 Joseph Myers <joseph@codesourcery.com>
14608
e456826d
JM
14609 [BZ #13841]
14610 * math/s_csqrt.c: Include <float.h>.
14611 (__csqrt): Scale large or subnormal inputs.
14612 * math/s_csqrtf.c: Likewise.
14613 * math/s_csqrtl.c: Likewise.
14614 * math/libm-test.inc (csqrt_test): Add more tests.
14615 * sysdeps/i386/fpu/libm-test-ulps: Update.
14616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14617
aa4a2ae1
JM
14618 [BZ #13840]
14619 * math/libm-test.inc (hypot_test): Add more tests.
14620
7c10fd35
DM
146212012-03-13 David S. Miller <davem@davemloft.net>
14622
14623 [BZ #13840]
14624 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14625 double-precision for the calculation instead of scaling.
14626
f453b98b
JM
146272012-03-13 Joseph Myers <joseph@codesourcery.com>
14628
14629 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14630 manipulate bits before adding and subtracting TWO52[sx].
14631 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14632 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14633 Likewise.
14634 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14635
09a3453f
DM
146362012-03-13 David S. Miller <davem@davemloft.net>
14637
8e59da90
DM
14638 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14639 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14641 rtld-global-offsets.h
14642 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14643
2a8ab7f2
DM
14644 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14645 large parameters.
14646
10f62770
DM
14647 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14648
5f0bdb18
DM
14649 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14650 'err' in the ifdef scope in which it is actually used.
14651
09a3453f
DM
14652 * nss/nss_db/db-init.c: Include string.h
14653
b4b2eb5e
DM
146542012-03-12 David S. Miller <davem@davemloft.net>
14655
98bb2f1c
DM
14656 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14657 masking out of the most significant byte of random value used.
14658 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14659 Fix coding style in previous change.
14660
b4b2eb5e
DM
14661 * sysdeps/unix/sysv/linux/kernel-features.h
14662 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14663 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14664 expression.
14665 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14666 later.
14667
6e226b09
DM
146682012-03-11 David S. Miller <davem@davemloft.net>
14669
a1bcbd40
DM
14670 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14671 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14672 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14673 for 'resultvar' otherwise things get truncated on 64-bit.
14674
cb9d6174
DM
14675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14676 Fix masking out of the most significant byte of random value used.
14677
6e226b09
DM
14678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14679
058c132d
AS
146802012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14681
14682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14683
2d2cd515
DM
146842012-03-09 David S. Miller <davem@davemloft.net>
14685
14686 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14687 variables with appropriate CPP guards.
14688 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14689 frame pointer, not the stack pointer. Correct layout comments. Fix test
14690 on resulting framesize and the management of the outregs buffer for pltexit.
14691 Preserve floating point return values across _dl_call_pltexit call.
14692 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14693 framesize and the management of the outregs buffer for pltexit.
14694 Preserve floating point return values across _dl_call_pltexit
14695 call.
14696 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14697 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14698 (print_exit): Fix format string for return register value.
14699
9a07f9d0
JM
147002012-03-10 Joseph Myers <joseph@codesourcery.com>
14701
14702 * sunrpc/Makefile (others): Add rpcgen.
14703 ($(objpfx)rpcgen): Remove special build rule and dependency on
14704 libc.
14705 * sunrpc/rpcgen.c: New file.
14706
547b5e30
PE
147072012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14708
c524201a
PE
14709 [BZ #13673]
14710 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14711 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14712 * sysdeps/i386/crti.S: Likewise.
14713 * sysdeps/i386/crtn.S: Likewise.
14714 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14715 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14716 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14717 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14718 * sysdeps/sh/crti.S: Likewise.
14719 * sysdeps/sh/crtn.S: Likewise.
14720 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14721
7b6235f2
PE
14722 [BZ #13673]
14723 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14724 with URL.
14725 * locale/programs/locfile-kw.gperf: Likewise.
14726 * locale/programs/charmap-kw.h: Regenerated.
14727 * locale/programs/locfile-kw.h: Likewise.
14728
547b5e30
PE
14729 [BZ #13673]
14730 * intl/plural.y: Replace FSF snail mail address with URL.
14731 * intl/plural.c: Regenerated.
14732
5f0a5dae
RH
147332012-03-09 Richard Henderson <rth@twiddle.net>
14734
14735 * include/math_private.h: Remove file.
14736 * math/math_private.h: Move file ...
14737 * sysdeps/generic/math_private.h: ... here.
14738
b8c03620
RH
14739 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14740 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14741 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14742
4e234f5d 14743 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14744 and <math_private.h>.
14745 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14746 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14747 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14748 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14749 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14751 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14754 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14756 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14757 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14758 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14759 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14760 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14761 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14762 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14763 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14764 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14766 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14767 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14769 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14775 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14777 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14778 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14779 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14781 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14782 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14783 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14784 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14786 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14792 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14793 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14795 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14798 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14801 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14802 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14803 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14804 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14805 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14806 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14807 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14808 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14825 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14826 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14830 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14831 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14832 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14833 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14834 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14835 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14836 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14837 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14838 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14839 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14840 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14841 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14842 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14843 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14844 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14845 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14846 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14847 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14848 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14849 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14850 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14851 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14852 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14853 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14854 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14855 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14856 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14857 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14858 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14859 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14860 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14861 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14862 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14863 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14864 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14865 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14866 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14867 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14868 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14869 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14870 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14871 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14872 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14873 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14874 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14875 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14876 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14877 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14878 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14879 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14880 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14881 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14882 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14883 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14884 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14885 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14886 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14887 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14888 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14889 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14890 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14891 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14892 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14893 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14894 * sysdeps/ieee754/k_standard.c: Likewise.
14895 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14896 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14897 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14898 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14899 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14900 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14901 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14902 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14903 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14904 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14905 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14906 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14907 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14908 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14909 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14910 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14911 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14912 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14913 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14914 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14915 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14916 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14917 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14918 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14919 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14920 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14922 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14924 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14926 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14927 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14928 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14929 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14936 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14938 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14939 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14940 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14941 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14942 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14943 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14944 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14945 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14946 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14948 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14955 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14958 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14959 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14966 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14969 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15008 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15010 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15011 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15014 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15015 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15016 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15017 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15020 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15022 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15023 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15024 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15026 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15027 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15029 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15031 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15032 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15033 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15034 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15035 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15036 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15037 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15039 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15040 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15043 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15044 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15045 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15046 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15048 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15049 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15050 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15052 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15053 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15054 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15055 * sysdeps/ieee754/s_lib_version.c: Likewise.
15056 * sysdeps/ieee754/s_matherr.c: Likewise.
15057 * sysdeps/ieee754/s_signgam.c: Likewise.
15058 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15059 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15060 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15061 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15062 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15063 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15064 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15065 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15066 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15067 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15068 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15069 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15070 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15071 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15072 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15073 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15074 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15075 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15076 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15077 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15078 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15079
1991fa03
JM
150802012-03-09 Joseph Myers <joseph@codesourcery.com>
15081
15082 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15083 * sunrpc/rpc_main.c: Likewise.
15084 * sunrpc/rpc_svcout.c: Likewise.
15085
60d6f5a6
DM
150862012-03-09 David S. Miller <davem@davemloft.net>
15087
15088 * include/math_private.h: New file.
15089
4962050e
JM
150902012-03-09 Joseph Myers <joseph@codesourcery.com>
15091
02a6f887
JM
15092 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15093 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15094 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15095 from <bits/socket_type.h>.
15096 (enum __socket_type): Don't define here.
15097 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15099 bits/socket_type.h.
15100
c6e013c1
JM
15101 [BZ #13566]
15102 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15103 checking __USE_GNU.
15104
4962050e
JM
15105 * Makerules ($(inst_includedir)/%.h): New rule.
15106 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15107 (install-others): Remove variable setting.
15108 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15109
38842f45
RH
151102012-03-08 Richard Henderson <rth@twiddle.net>
15111
67bb6da6
RH
15112 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15113 from macro to inline function; merge with the
15114 !__LIBC_INTERNAL_MATH_INLINES version.
15115 (__ieee754_sqrtf): Likewise.
15116
15194b4b
RH
15117 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15118 to inline function.
15119 (__rintf, __floor, __floorf): Likewise.
15120
64e21ede
RH
15121 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15122 macro to inline function.
15123 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15124
38842f45
RH
15125 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15126 not <math/math_private.h>.
15127
c64bf5fe
DM
151282012-03-08 David S. Miller <davem@davemloft.net>
15129
15130 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15131 copyright year.
15132 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15133
82d86f28
TS
151342012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15135
15136 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15137 normalization.
15138 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15139 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15140
aea5d727
UD
151412012-03-08 Ulrich Drepper <drepper@gmail.com>
15142
15143 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15144 be defined individually, they must be defined as a block. Define
15145 S for printing a string instead of hidint the different by using a
15146 macro for adding the 'l'.
15147 * stdio-common/tst-fphex-wide.c: Adjust.
15148
70bca0a3
MP
151492012-03-07 Marek Polacek <polacek@redhat.com>
15150
15151 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15152
65b81130
MP
151532012-03-08 Marek Polacek <polacek@redhat.com>
15154
15155 [BZ #13806]
15156 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15157 * stdio-common/tst-fphex.c: Define a few macros to make the
15158 test reusable. Use them.
15159 * stdio-common/tst-fphex-wide.c: New file.
15160
07037eeb
JM
151612012-03-08 Joseph Myers <joseph@codesourcery.com>
15162
a7a93d50
JM
15163 [BZ #6911]
15164 * manual/macros.texi (gnusystems): New macro.
15165 (nongnusystems): Likewise.
15166 (gnulinuxhurdsystems): Likewise.
15167 (gnuhurdsystems): Likewise..
15168 (gnulinuxsystems): Likewise.
15169 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15170 variants of the GNU system, not "GNU system".
15171 * manual/conf.texi: Likewise.
15172 * manual/errno.texi: Likewise. Update example of errno macro
15173 expansion.
15174 * manual/filesys.texi: Likewise.
15175 (getumask): Document as specific to GNU/Hurd.
15176 * manual/install.texi: Likewise. Reword some references to
15177 GNU/Linux.
15178 * manual/intro.texi: Likewise.
15179 * manual/io.texi: Likewise.
15180 (File Name Portability): Detail which constraints are inapplicable
15181 to all GNU systems and which are only inapplicable to GNU/Hurd.
15182 * manual/job.texi: Likewise.
15183 * manual/llio.texi: Likewise.
15184 (O_NOCTTY): Document as present on GNU/Linux.
15185 * manual/maint.texi: Likewise.
15186 * manual/memory.texi: Likewise.
15187 * manual/pattern.texi: Likewise.
15188 * manual/pipe.texi: Likewise.
15189 * manual/process.texi: Likewise.
15190 * manual/resource.texi: Likewise.
15191 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15192 child on GNU/Hurd.
15193 * manual/setjmp.texi: Likewise.
15194 * manual/signal.texi: Likewise.
15195 * manual/startup.texi: Likewise.
15196 * manual/stdio.texi: Likewise.
15197 * manual/terminal.texi: Likewise.
15198 (ONLCR): Document as POSIX.
15199 (OXTABS): Document availability on GNU/Linux as XTABS.
15200 (ONOEOT): Document availability separately from other bits.
15201 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15202 * manual/time.texi: Likewise.
15203 * manual/users.texi: Likewise.
15204 * INSTALL: Regenerated.
15205 * sysdeps/gnu/errlist.c: Regenerated.
15206
07037eeb
JM
15207 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15208 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15209 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15210 puts.
15211 * configure: Regenerated.
15212
d1d3431a
JM
152132012-03-07 Joseph Myers <joseph@codesourcery.com>
15214
af6a1e37
JM
15215 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15216 default includes instead of AC_HEADER_CHECK.
15217 * sysdeps/i386/configure: Regenerated.
15218
d1d3431a
JM
15219 [BZ #10716]
15220 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15221 * math/s_cacoshf.c (__cacoshf): Likewise.
15222 * math/s_cacoshl.c (__cacoshl): Likewise.
15223 * math/s_casinh.c (__casinh): Set signs of result from argument.
15224 * math/s_casinhf.c (__casinhf): Likewise.
15225 * math/s_casinhl.c (__casinhl): Likewise.
15226 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15227 (casinh_test): Add more tests.
15228 * sysdeps/i386/fpu/libm-test-ulps: Update.
15229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15230
482ff4da
UD
152312012-03-07 Ulrich Drepper <drepper@gmail.com>
15232
872fda05
UD
15233 * po/zh_TW.po: Update from translation team.
15234
a4300c7a
UD
15235 * login/Makefile (distribute): Remove variable.
15236 * catgets/Makefile: Likewise.
15237 * mach/Makefile: Likewise.
15238 * malloc/Makefile: Likewise.
15239 * misc/Makefile: Likewise.
15240 * iconv/Makefile: Likewise.
15241 * nscd/Makefile: Likewise.
15242 * hurd/Makefile: Likewise.
15243 * manual/Makefile: Likewise.
15244 * locale/Makefile: Likewise.
15245 * intl/Makefile: Likewise.
15246 * conform/Makefile: Likewise.
15247 * nss/Makefile: Likewise.
15248 * time/Makefile: Likewise.
15249 * soft-fp/Makefile: Likewise.
15250 * dirent/Makefile: Likewise.
15251 * gmon/Makefile: Likewise.
15252 * po/Makefile: Likewise.
15253 * rt/Makefile: Likewise.
15254 * socket/Makefile: Likewise.
15255 * math/Makefile: Likewise.
15256 * signal/Makefile: Likewise.
15257 * debug/Makefile: Likewise.
15258 * elf/Makefile: Likewise.
15259 * timezone/Makefile: Likewise.
15260 * stdlib/Makefile: Likewise.
15261 * iconvdata/Makefile: Likewise.
15262 * sunrpc/Makefile: Likewise.
15263 * io/Makefile: Likewise.
15264 * argp/Makefile: Likewise.
15265 * inet/Makefile: Likewise.
15266 * hesiod/Makefile: Likewise.
15267 * grp/Makefile: Likewise.
15268 * csu/Makefile: Likewise.
15269 * wctype/Makefile: Likewise.
15270 * crypt/Makefile: Likewise.
15271 * libio/Makefile: Likewise.
15272 * string/Makefile: Likewise.
15273 * nis/Makefile: Likewise.
15274 * resolv/Makefile: Likewise.
15275 * stdio-common/Makefile: Likewise.
15276 * wcsmbs/Makefile: Likewise.
15277 * dlfcn/Makefile: Likewise.
15278 * posix/Makefile: Likewise.
15279
3b7c4e74 15280 [BZ #6959]
482ff4da
UD
15281 * timezone/Makefile: Don't install timezone files, just the programs
15282 and scripts.
15283
f72ed77d
UD
152842012-03-06 Ulrich Drepper <drepper@gmail.com>
15285
a000466f
UD
15286 * nss/databases.def: Add missing gshadow entry.
15287
f72ed77d
UD
15288 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15289
a53b7a4e
MP
152902012-03-06 Marek Polacek <polacek@redhat.com>
15291
15292 [BZ #13726]
15293 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15294 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15295 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15296 * stdio-common/tst-long-dbl-fphex.c: New file.
15297
e9258400
DM
152982012-03-06 David S. Miller <davem@davemloft.net>
15299
15300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15301 (set_obp_int): New function.
15302 (get_obp_int): New function.
15303 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15304 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15305 Avoid unused variable warnings on 'val' and use builtin_expect.
15306 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15307 __builtin_expect.
e9258400
DM
15308 (INLINE_CLONE_SYSCALL): Likewise.
15309
3bd2c723
DM
153102012-03-05 David S. Miller <davem@davemloft.net>
15311
15312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15313
bbb78d03
AS
153142012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15315
884c5db4
AS
15316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15317
bbb78d03
AS
15318 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15319 only for |x| >= 40.
15320 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15321
1c9f702a 153222012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15323
15324 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15325 Replace gettimeofday with __vdso_gettimeofday.
15326
7be16f82
RM
15327 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15328 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15329 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15330
15331 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15332 time with __vdso_time.
15333
ed58a00f
JM
153342012-03-05 Joseph Myers <joseph@codesourcery.com>
15335
15336 * manual/lang.texi (size_t): Note types to which size_t may be
15337 equivalent with the GNU C Library, but do not describe when
15338 differences between them are significant.
15339
30ee4ced
AJ
153402012-03-05 Andreas Jaeger <aj@suse.de>
15341
15342 * sysdeps/i386/fpu/libm-test-ulps: Update.
15343
b7cd39e8
JM
153442012-03-05 Joseph Myers <joseph@codesourcery.com>
15345
15346 [BZ #3976]
15347 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15348 (__ieee754_pow): Save and restore rounding mode and use
15349 round-to-nearest for main computations.
15350 * math/libm-test.inc (pow_test_tonearest): New function.
15351 (pow_test_towardzero): Likewise.
15352 (pow_test_downward): Likewise.
15353 (pow_test_upward): Likewise.
15354 (main): Call the new functions.
15355 * sysdeps/i386/fpu/libm-test-ulps: Update.
15356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15357
15358 [BZ #3976]
15359 * math/libm-test.inc (cosh_test_tonearest): New function.
15360 (cosh_test_towardzero): Likewise.
15361 (cosh_test_downward): Likewise.
15362 (cosh_test_upward): Likewise.
15363 (sinh_test_tonearest): Likewise.
15364 (sinh_test_towardzero): Likewise.
15365 (sinh_test_downward): Likewise.
15366 (sinh_test_upward): Likewise.
15367 (main): Call the new functions.
15368 * sysdeps/i386/fpu/libm-test-ulps: Update.
15369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15370
6c6a98c9
TV
153712012-03-05 Tom de Vries <tom@codesourcery.com>
15372
15373 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15374 default stack guard is set in last bytes.
15375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15376
21bb2d2e 153772012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15378
21bb2d2e 15379 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15380
21bb2d2e
AJ
15381 [BZ #13656]
15382 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15383 possibly allocate from heap instead of stack.
15384 * stdio-common/bug-vfprintf-nargs.c: New file.
15385 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15386
c6922934
AS
153872012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15388
15389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15390
bc957d53
MP
153912012-03-03 Marek Polacek <polacek@redhat.com>
15392
15393 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15394 * math/math_private.h: Likewise.
15395 * stdlib/tst-strtod.c: Likewise.
15396 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15397 * sysdeps/x86_64/bits/atomic.h: Likewise.
15398
6358490d
DM
153992012-03-02 David S. Miller <davem@davemloft.net>
15400
15401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15405 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15406 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15407 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15408 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15409
01ae168d
RM
154102012-03-02 Roland McGrath <roland@hack.frob.com>
15411
d9a17c07
RM
15412 [BZ #13792]
15413 * manual/examples/README: New file, says the example source files
15414 can be used under GPL>=2.
15415 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15416 line containing just "*/".
15417 * manual/examples/add.c: Add copyright header (GPL>=2).
15418 * manual/examples/argp-ex1.c: Likewise.
15419 * manual/examples/argp-ex2.c: Likewise.
15420 * manual/examples/argp-ex3.c: Likewise.
15421 * manual/examples/argp-ex4.c: Likewise.
15422 * manual/examples/atexit.c: Likewise.
15423 * manual/examples/db.c: Likewise.
15424 * manual/examples/dir.c: Likewise.
15425 * manual/examples/dir2.c: Likewise.
15426 * manual/examples/execinfo.c: Likewise.
15427 * manual/examples/filecli.c: Likewise.
15428 * manual/examples/filesrv.c: Likewise.
15429 * manual/examples/fmtmsgexpl.c: Likewise.
15430 * manual/examples/genpass.c: Likewise.
15431 * manual/examples/inetcli.c: Likewise.
15432 * manual/examples/inetsrv.c: Likewise.
15433 * manual/examples/isockad.c: Likewise.
15434 * manual/examples/longopt.c: Likewise.
15435 * manual/examples/memopen.c: Likewise.
15436 * manual/examples/memstrm.c: Likewise.
15437 * manual/examples/mkfsock.c: Likewise.
15438 * manual/examples/mkisock.c: Likewise.
15439 * manual/examples/mygetpass.c: Likewise.
15440 * manual/examples/pipe.c: Likewise.
15441 * manual/examples/popen.c: Likewise.
15442 * manual/examples/rprintf.c: Likewise.
15443 * manual/examples/search.c: Likewise.
15444 * manual/examples/select.c: Likewise.
15445 * manual/examples/setjmp.c: Likewise.
15446 * manual/examples/sigh1.c: Likewise.
15447 * manual/examples/sigusr.c: Likewise.
15448 * manual/examples/stpcpy.c: Likewise.
15449 * manual/examples/strdupa.c: Likewise.
15450 * manual/examples/strftim.c: Likewise.
15451 * manual/examples/strncat.c: Likewise.
15452 * manual/examples/subopt.c: Likewise.
15453 * manual/examples/swapcontext.c: Likewise.
15454 * manual/examples/termios.c: Likewise.
15455 * manual/examples/testopt.c: Likewise.
15456 * manual/examples/testpass.c: Likewise.
15457 * manual/examples/timeval_subtract.c: Likewise.
15458
01ae168d
RM
15459 [BZ #13792]
15460 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15461 function to ...
15462 * manual/timeval_subtract.c.texi: ... here, new file.
15463
49efa33d
DM
154642012-03-02 David S. Miller <davem@davemloft.net>
15465
15466 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15467
28afd92d
JM
154682012-03-02 Joseph Myers <joseph@codesourcery.com>
15469
804360ed
JM
15470 [BZ #3976]
15471 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15472 (__sin): Save and restore rounding mode and use round-to-nearest
15473 for all computations.
15474 (__cos): Save and restore rounding mode and use round-to-nearest
15475 for all computations.
15476 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15477 <fenv.h>.
15478 (tan): Save and restore rounding mode and use round-to-nearest for
15479 all computations.
15480 * math/libm-test.inc (cos_test_tonearest): New function.
15481 (cos_test_towardzero): Likewise.
15482 (cos_test_downward): Likewise.
15483 (cos_test_upward): Likewise.
15484 (sin_test_tonearest): Likewise.
15485 (sin_test_towardzero): Likewise.
15486 (sin_test_downward): Likewise.
15487 (sin_test_upward): Likewise.
15488 (tan_test_tonearest): Likewise.
15489 (tan_test_towardzero): Likewise.
15490 (tan_test_downward): Likewise.
15491 (tan_test_upward): Likewise.
15492 (main): Call the new functions.
15493 * sysdeps/i386/fpu/libm-test-ulps: Update.
15494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15495
a6d06d7b
JM
15496 [BZ #10135]
15497 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15498 small n, then large n, before computing and testing k+n.
15499 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15500 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15501 Likewise.
15502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15503 Likewise.
15504 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15505 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15506 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15507 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15508 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15509 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15510 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15511 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15512 * math/libm-test.inc (scalbn_test): Add more tests.
15513 (scalbln_test): Likewise.
15514
07e12bb3
JM
15515 * manual/filesys.texi (mode_t): Describe constraints on size and
15516 signedness, not exact equivalence to a particular type.
15517 (ino_t): Likewise.
15518 (ino64_t): Likewise.
15519 (dev_t): Likewise.
15520 (nlink_t): Likewise.
15521 (blkcnt_t): Likewise.
15522 (blkcnt64_t): Likewise.
15523 * manual/llio.texi (off_t): Likewise.
15524
28afd92d
JM
15525 [BZ #3976]
15526 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15527 (__ieee754_exp): Save and restore rounding mode and use
15528 round-to-nearest for all computations.
15529 * math/libm-test.inc (exp_test_tonearest): New function.
15530 (exp_test_towardzero): Likewise.
15531 (exp_test_downward): Likewise.
15532 (exp_test_upward): Likewise.
15533 (main): Call the new functions.
15534 * sysdeps/i386/fpu/libm-test-ulps: Update.
15535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15536
b1eeb65d
CD
155372012-03-01 Chris Demetriou <cgd@google.com>
15538
15539 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15540 have predictable order.
15541
53362a4b
DM
155422012-03-01 David S. Miller <davem@davemloft.net>
15543
3c969083
DM
15544 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15545
759707de
DM
15546 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15547 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15548 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15549 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15550
dfdb8ff2
DM
15551 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15552 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15553 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15555 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15556 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15557 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15558 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15559 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15560
ead89f96
DM
15561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15562
7f66bd07
DM
15563 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15564 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15565 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15566
53362a4b
DM
15567 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15568 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15569 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15570 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15571 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15572 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15573 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15574 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15575 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15576 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15577 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15578 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15579 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15580 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15581 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15582 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15583 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15584 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15585 * sysdeps/sparc/elf/configure: Regenerated.
15586
7b1902cb
JM
155872012-03-01 Joseph Myers <joseph@codesourcery.com>
15588
bec039bc
JM
15589 * configure.in (AS, LD): Require binutils 2.20 or later.
15590 * configure: Regenerated.
15591 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15592 as required minimum version.
15593 * INSTALL: Regenerated.
15594
7b1902cb
JM
15595 [BZ #2541]
15596 [BZ #4108]
15597 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15598 before squaring exponent.
15599 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15600 bottom long double and 27 bits of top long double before squaring
15601 exponent.
15602 * math/libm-test.inc (erfc_test): Add more tests.
15603 * sysdeps/i386/fpu/libm-test-ulps: Update.
15604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15606
f775c276
KT
156072012-03-01 Kai Tietz <ktietz@redhat.com>
15608
15609 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15610 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15611 containing bit-fields.
15612 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15613 * soft-fp/single.h (_FP_UNION_S): Likewise.
15614 * soft-fp/double.h (_FP_UNION_D): Likewise.
15615
5b8a4d4a
JM
156162012-02-29 Joseph Myers <joseph@codesourcery.com>
15617
0bab47b6
JM
15618 [BZ #13786]
15619 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15620 not include ../strcmp.S.
15621 [USE_AS_STRNCASECMP_L]: Likewise.
15622 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15623 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15624 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15625 (__strncasecmp_l_ia32): Define as alias to
15626 __strncasecmp_l_nonascii.
15627
0fcad3e2
JM
15628 [BZ #5794]
15629 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15630 * sysdeps/i386/fpu/libm-test-ulps: Update.
15631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15632
5b8a4d4a
JM
15633 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15635
8fdceb2e
JL
156362012-02-29 Jeff Law <law@redhat.com>
15637
15638 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15639 out of bounds read.
15640
1f393a11
MP
156412012-02-29 Marek Polacek <polacek@redhat.com>
15642
15643 [BZ #13706]
15644 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15645 * elf/Makefile: Add rules to run tst-unused-dep.out.
15646
8847f037
DM
156472012-02-28 David S. Miller <davem@davemloft.net>
15648
15649 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15650 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15651 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15652 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15653 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15654 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15655
169d7f11
JM
156562012-02-29 Joseph Myers <joseph@codesourcery.com>
15657
15658 * math/libm-test.inc (llround_test): Move one test from
15659 lround_test. Use TEST_f_L in moved test.
15660 (lround_test): Move misplaced test to llround_test. Add testcase
15661 from bug 2561.
15662
39adf059
UD
156632012-02-28 Ulrich Drepper <drepper@gmail.com>
15664
15665 * sysdeps/x86_64/fpu/e_expf.S: New file.
15666 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15667
71b5d1c5
SB
156682012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15669
15670 [BZ #13637]
15671 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15672 of remain_len that may cause incomplete multi-byte character and
15673 false match.
15674 * posix/bug-regex33.c: New file.
15675 * posix/Makefile (tests): Add bug-regex33.
15676
1f77f049
JM
156772012-02-28 Joseph Myers <joseph@codesourcery.com>
15678
15679 * manual/macros.texi: New file.
15680 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15681 * manual/libc.texinfo: Include macros.texi.
15682 * manual/creatute.texi: Likewise.
15683 * manual/install.texi: Likewise.
15684 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15685 @glibcadj{} in references to the GNU C Library.
15686 * manual/charset.texi: Likewise.
15687 * manual/conf.texi: Likewise.
15688 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15689 when not using those macros.
15690 * manual/creature.texi: Likewise.
15691 * manual/crypt.texi: Likewise.
15692 * manual/errno.texi: Likewise.
15693 * manual/filesys.texi: Likewise.
15694 * manual/header.texi: Likewise.
15695 * manual/install.texi: Likewise.
15696 * manual/intro.texi: Likewise.
15697 * manual/io.texi: Likewise.
15698 * manual/job.texi: Likewise.
15699 * manual/lang.texi: Likewise.
15700 * manual/libc.texiinfo: Likewise.
15701 * manual/llio.texi: Likewise.
15702 * manual/locale.texi: Likewise.
15703 * manual/maint.texi: Likewise.
15704 * manual/math.texi: Likewise.
15705 * manual/memory.texi: Likewise.
15706 * manual/message.texi: Likewise.
15707 * manual/nss.texi: Likewise.
15708 * manual/pattern.texi: Likewise.
15709 * manual/process.texi: Likewise.
15710 * manual/resource.texi: Likewise.
15711 * manual/search.texi: Likewise.
15712 * manual/setjmp.texi: Likewise.
15713 * manual/signal.texi: Likewise.
15714 * manual/socket.texi: Likewise.
15715 * manual/startup.texi: Likewise.
15716 * manual/stdio.texi: Likewise.
15717 * manual/string.texi: Likewise.
15718 * manual/sysinfo.texi: Likewise.
15719 * manual/syslog.texi: Likewise.
15720 * manual/terminal.texi: Likewise.
15721 * manual/time.texi: Likewise.
15722 * manual/users.texi: Likewise.
15723 * INSTALL: Regenerated.
15724 * NOTES: Regenerated.
d40c5d54 15725 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15726
450bf206
AS
157272012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15728
15729 * include/dirent.h: Include <dirstream.h> before
15730 <dirent/dirent.h>.
15731
741a235b
DM
157322012-02-28 David S. Miller <davem@davemloft.net>
15733
15734 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15735 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15736 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15737 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15738
d6b5aa58
DM
157392012-02-27 David S. Miller <davem@davemloft.net>
15740
1aff59a3
DM
15741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15743 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15744 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15745
d6b5aa58
DM
15746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15747 frame pointer instead of stack pointer relative arg slot.
15748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15749 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15750 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15751
433f48bf
CD
157522012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15753
15754 [BZ #3992]
15755 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15756
d674b76d
DM
157572012-02-27 David S. Miller <davem@davemloft.net>
15758
15759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15763 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15764 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15765 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15766 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15767
0e7727f7
JM
157682012-02-27 Joseph Myers <joseph@codesourcery.com>
15769
15770 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15771 later. Allow versions 5-9.
43be4ca2 15772 * configure: Regenerated.
0e7727f7
JM
15773 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15774 required minimum version and 4.6 as recommended version. Do not
15775 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15776 * INSTALL: Regenerated.
0e7727f7 15777
a78bc654
DM
157782012-02-27 David S. Miller <davem@davemloft.net>
15779
428d5830
DM
15780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15784 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15785 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15786 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15787 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15788
a78bc654
DM
15789 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15790 manipulate bits before adding and subtracting TWO112[sx].
15791 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15792
4579f81c
RM
157932012-02-27 Roland McGrath <roland@hack.frob.com>
15794
36c8acb4
RM
15795 [BZ #13775]
15796 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15797 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15798 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15799 being in POSIX, because they are in 1003.1-2008.
15800
84ad622b
RM
15801 * rt/tst-aio.c: Include <fcntl.h>.
15802 * rt/tst-aio7.c: Likewise.
15803 * rt/tst-aio64.c: Likewise.
15804
4579f81c
RM
15805 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15806
abd923db
JM
158072012-02-27 Joseph Myers <joseph@codesourcery.com>
15808
15809 * manual/install.texi (--with-headers): Describe headers as
15810 interface headers, not private headers.
15811 (Specific advice for GNU/Linux systems): Describe use of headers
15812 from "make headers_install", not private headers from older
15813 kernels.
43be4ca2 15814 * INSTALL: Regenerated.
abd923db
JM
15815 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15816 Change to 2.6.19.
15817 * sysdeps/unix/sysv/linux/configure: Regenerated.
15818
6664049b
JM
15819 * manual/llio.texi (fclean): Remove documentation.
15820
bb8b6697
JM
15821 * manual/Makefile (libc-texi-generated): New variable. Include
15822 version.texi.
15823 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15824 $(libc-texi-generated), not duplicated list of files.
15825 (version.texi, stamp-version): New rules.
15826 (realclean): Remove $(libc-texi-generated), not individual files
15827 from that list. Do not remove dir-add.texinfo.
15828 * manual/libc.texinfo: Comment out uses of edition numbers and
15829 references to printed manual. Remove last-updated dates.
15830 (EDITION): Comment out.
15831 (ISBN): Likewise.
15832 (VERSION, UPDATED): Remove.
15833 (version.texi): Include.
15834
12e5c3b9
AS
158352012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15836
15837 * sysdeps/posix/spawni.c: Include <signal.h>.
15838 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15839 * sysdeps/pthread/aio_fsync.c: Likewise.
15840
4efeffc1 158412012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15842
ba63ba08
UD
15843 * conform/Makefile (tests): Run only when not cross-compiling and
15844 when fast-check is not defined.
15845
d94a4670
UD
15846 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15847 * conform/data/limits.h-data: Fixes for POSIX2008.
15848 * conform/run-conformtest.sh: Run all tests.
15849 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15850 headers.
15851 * include/bits/dlfcn.h: Likewise.
15852 * include/langinfo.h: Likewise.
15853 * include/monetary.h: Likewise.
15854 * include/sys/poll.h: Likewise.
15855
15856 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15857 for __USE_GNU.
15858 * posix/spawn.h: Define __need_sigset_t.
15859 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15860 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15861 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15862 to get sigevent_t only.
15863 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15864 only for __USE_GNU.
15865 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15866 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15867 process_vm_writev only for __USE_GNU.
15868 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15869
15870 * conform/Makefile: For now ignore errors from run-conformtest.
15871 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15872 POSIX to avoid namespace pollution. Don't prepend headers.
15873 * conform/data/aio.h-data: Fixes for POSIX testing.
15874 * conform/data/fcntl.h-data: Likewise.
15875 * conform/data/glob.h-data: Likewise.
15876 * conform/data/grp.h-data: Likewise.
15877 * conform/data/pthread.h-data: Likewise.
15878 * conform/data/pwd.h-data: Likewise.
15879 * conform/data/signal.h-data: Likewise.
15880 * conform/data/spawn.h-data: Likewise.
15881 * conform/data/stdio.h-data: Likewise.
15882 * conform/data/stdlib.h-data: Likewise.
15883 * conform/data/stropts.h-data: Likewise.
15884 * conform/data/sys/mman.h-data: Likewise.
15885 * conform/data/sys/stat.h-data: Likewise.
15886 * conform/data/sys/types.h-data: Likewise.
15887 * conform/data/sys/wait.h-data: Likewise.
15888 * conform/data/time.h-data: Likewise.
15889 * conform/data/unistd.h-data: Likewise.
15890 * conform/data/utime.h-data: Likewise.
15891
15892 * io/sys/stat.h: fchmod was always in POSIX.
15893 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15894 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15895 * rt/aio.h: Define __need_timespec before including <time.h>.
15896 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15897 struct. Add forward declaration of pthread_attr_t and use it in
15898 sigevent.
15899 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15900 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15901 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15902 always remove CLK_TCK definition.
15903
c20105c3
AS
159042012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15905
15906 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15907
7a270350
UD
159082012-02-25 Ulrich Drepper <drepper@gmail.com>
15909
31341567
UD
15910 * conform/run-conformtest.sh: New file.
15911 * conform/Makefile: Run run-conformtest for tests.
15912 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15913 support.
15914
15915 * conform/data/uchar.h-data: New file.
15916 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15917 * conform/data/arpa/inet.h-data: Likewise.
15918 * conform/data/assert.h-data: Likewise.
15919 * conform/data/complex.h-data: Likewise.
15920 * conform/data/cpio.h-data: Likewise.
15921 * conform/data/ctype.h-data: Likewise.
15922 * conform/data/dirent.h-data: Likewise.
15923 * conform/data/dlfcn.h-data: Likewise.
15924 * conform/data/errno.h-data: Likewise.
15925 * conform/data/fcntl.h-data: Likewise.
15926 * conform/data/float.h-data: Likewise.
15927 * conform/data/fmtmsg.h-data: Likewise.
15928 * conform/data/fnmatch.h-data: Likewise.
15929 * conform/data/ftw.h-data: Likewise.
15930 * conform/data/glob.h-data: Likewise.
15931 * conform/data/grp.h-data: Likewise.
15932 * conform/data/iconv.h-data: Likewise.
15933 * conform/data/inttypes.h-data: Likewise.
15934 * conform/data/langinfo.h-data: Likewise.
15935 * conform/data/libgen.h-data: Likewise.
15936 * conform/data/limits.h-data: Likewise.
15937 * conform/data/locale.h-data: Likewise.
15938 * conform/data/math.h-data: Likewise.
15939 * conform/data/monetary.h-data: Likewise.
15940 * conform/data/mqueue.h-data: Likewise.
15941 * conform/data/ndbm.h-data: Likewise.
15942 * conform/data/net/if.h-data: Likewise.
15943 * conform/data/netdb.h-data: Likewise.
15944 * conform/data/netinet/in.h-data: Likewise.
15945 * conform/data/nl_types.h-data: Likewise.
15946 * conform/data/poll.h-data: Likewise.
15947 * conform/data/pthread.h-data: Likewise.
15948 * conform/data/pwd.h-data: Likewise.
15949 * conform/data/regex.h-data: Likewise.
15950 * conform/data/sched.h-data: Likewise.
15951 * conform/data/search.h-data: Likewise.
15952 * conform/data/semaphore.h-data: Likewise.
15953 * conform/data/setjmp.h-data: Likewise.
15954 * conform/data/signal.h-data: Likewise.
15955 * conform/data/spawn.h-data: Likewise.
15956 * conform/data/stdarg.h-data: Likewise.
15957 * conform/data/stdio.h-data: Likewise.
15958 * conform/data/stdlib.h-data: Likewise.
15959 * conform/data/string.h-data: Likewise.
15960 * conform/data/strings.h-data: Likewise.
15961 * conform/data/stropts.h-data: Likewise.
15962 * conform/data/sys/ipc.h-data: Likewise.
15963 * conform/data/sys/mman.h-data: Likewise.
15964 * conform/data/sys/msg.h-data: Likewise.
15965 * conform/data/sys/resource.h-data: Likewise.
15966 * conform/data/sys/select.h-data: Likewise.
15967 * conform/data/sys/sem.h-data: Likewise.
15968 * conform/data/sys/shm.h-data: Likewise.
15969 * conform/data/sys/socket.h-data: Likewise.
15970 * conform/data/sys/stat.h-data: Likewise.
15971 * conform/data/sys/statvfs.h-data: Likewise.
15972 * conform/data/sys/time.h-data: Likewise.
15973 * conform/data/sys/timeb.h-data: Likewise.
15974 * conform/data/sys/times.h-data: Likewise.
15975 * conform/data/sys/types.h-data: Likewise.
15976 * conform/data/sys/uio.h-data: Likewise.
15977 * conform/data/sys/un.h-data: Likewise.
15978 * conform/data/sys/utsname.h-data: Likewise.
15979 * conform/data/sys/wait.h-data: Likewise.
15980 * conform/data/syslog.h-data: Likewise.
15981 * conform/data/tar.h-data: Likewise.
15982 * conform/data/termios.h-data: Likewise.
15983 * conform/data/utime.h-data: Likewise.
15984 * conform/data/utmpx.h-data: Likewise.
15985 * conform/data/varargs.h-data: Likewise.
15986 * conform/data/wchar.h-data: Likewise.
15987 * conform/data/wctype.h-data: Likewise.
15988 * conform/data/wordexp.h-data: Likewise.
15989
15990 * include/stropts.h: New file.
15991 * include/uchar.h: New file.
15992 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15993 * include/assert.h: Likewise.
15994 * include/ctype.h: Likewise.
15995 * include/dirent.h: Likewise.
15996 * include/dlfcn.h: Likewise.
15997 * include/fcntl.h: Likewise.
15998 * include/fnmatch.h: Likewise.
15999 * include/glob.h: Likewise.
16000 * include/grp.h: Likewise.
16001 * include/libio.h: Likewise.
16002 * include/locale.h: Likewise.
16003 * include/math.h: Likewise.
16004 * include/net/if.h: Likewise.
16005 * include/netdb.h: Likewise.
16006 * include/netinet/in.h: Likewise.
16007 * include/pthread.h: Likewise.
16008 * include/pwd.h: Likewise.
16009 * include/regex.h: Likewise.
16010 * include/sched.h: Likewise.
16011 * include/search.h: Likewise.
16012 * include/setjmp.h: Likewise.
16013 * include/signal.h: Likewise.
16014 * include/stdio.h: Likewise.
16015 * include/stdlib.h: Likewise.
16016 * include/string.h: Likewise.
16017 * include/sys/cdefs.h: Likewise.
16018 * include/sys/mman.h: Likewise.
16019 * include/sys/msg.h: Likewise.
16020 * include/sys/resource.h: Likewise.
16021 * include/sys/select.h: Likewise.
16022 * include/sys/socket.h: Likewise.
16023 * include/sys/stat.h: Likewise.
16024 * include/sys/statvfs.h: Likewise.
16025 * include/sys/time.h: Likewise.
16026 * include/sys/times.h: Likewise.
16027 * include/sys/uio.h: Likewise.
16028 * include/sys/utsname.h: Likewise.
16029 * include/sys/wait.h: Likewise.
16030 * include/termios.h: Likewise.
16031 * include/time.h: Likewise.
16032 * include/ulimit.h: Likewise.
16033 * include/unistd.h: Likewise.
16034 * include/utime.h: Likewise.
16035 * include/wchar.h: Likewise.
16036 * include/wctype.h: Likewise.
16037 * include/wordexp.h: Likewise.
16038
16039 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16040
7a270350
UD
16041 * time/time.h: TIME_UTC must be a macro.
16042 Make timespec_get available for ISO C11 only as well.
16043
7724defc
UD
160442012-02-24 Ulrich Drepper <drepper@gmail.com>
16045
16046 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16047 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16048
6b1d1d46
JM
160492012-02-24 Joseph Myers <joseph@codesourcery.com>
16050
16051 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16052
0f8bbd69
JM
160532012-02-24 Joseph Myers <joseph@codesourcery.com>
16054
16055 * manual/texinfo.tex: Update to version 2012-01-19.16.
16056
66ab80bc
JM
160572012-02-24 Joseph Myers <joseph@codesourcery.com>
16058
16059 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16060
74981cc5
RM
160612012-02-24 Roland McGrath <roland@hack.frob.com>
16062
ee968201
RM
16063 [BZ #13738]
16064 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16065 * manual/fdl-1.3.texi: New file.
16066 * manual/fdl-1.1.texi: File removed.
16067
74981cc5
RM
16068 [BZ #13738]
16069 * manual/libc.texinfo (FDL_VERSION): New @set.
16070 Use it for mention of FDL in cover text.
16071 (Documentation License): Use it in @include file name.
16072
7bb764bc
JM
160732012-02-22 Joseph Myers <joseph@codesourcery.com>
16074 Roland McGrath <roland@hack.frob.com>
16075
16076 [BZ #5461]
16077 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16078 not LONG_LONG_MAX and LONG_LONG_MIN.
16079 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16080 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16081 name.
16082 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16083
6cbeae47
JM
160842012-02-22 Joseph Myers <joseph@codesourcery.com>
16085
16086 [BZ #2547]
16087 [BZ #11365]
16088 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16089 manipulate bits before adding and subtracting TWO23[sx].
16090 * math/libm-test.inc (nearbyint_test): Add more tests.
16091
fe45ce09
JM
160922012-02-22 Joseph Myers <joseph@codesourcery.com>
16093
16094 [BZ #2548]
16095 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16096 bits before adding and subtracting TWO23[sx].
16097 * math/libm-test.inc (rint_test): Add more tests.
16098 (rint_test_tonearest): Likewise.
16099 (rint_test_towardzero): Likewise.
16100 (rint_test_downward): Likewise.
16101 (rint_test_upward: Likewise.
16102
ff3b3d82
JM
161032012-02-22 Joseph Myers <joseph@codesourcery.com>
16104
16105 [BZ #10110]
16106 * include/stdc-predef.h: New file. Extracted from features.h.
16107 * include/features.h: Include stdc-predef.h.
16108 * Makefile (headers): Add stdc-predef.h.
16109 * CONFORMANCE (Compiler limitations): Update.
16110
ef0aab35
JM
161112012-02-22 Joseph Myers <joseph@codesourcery.com>
16112
16113 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16114
58639409
DM
161152012-02-21 David S. Miller <davem@davemloft.net>
16116
16117 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16118 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16119
c0e70b25
DM
161202012-02-20 David S. Miller <davem@davemloft.net>
16121
16122 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16123 using a normal save/restore sequence, rather than allocating a
16124 dummy stack frame just to store a frame pointer and restore.
16125 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16126
fb06851d
JM
161272012-02-21 Joseph Myers <joseph@codesourcery.com>
16128
16129 * manual/install.texi: Fix stray word in line-wrapped comment.
16130
7a8b71c3
DM
161312012-02-20 David S. Miller <davem@davemloft.net>
16132
d510c123
DM
16133 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16134 both binutils and gcc support GOTDATA.
16135
0722d7c2
DM
16136 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16137 "rd %pc" in the PIC register setup sequences.
16138
3d2b3019
DM
16139 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16140 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16141 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16142 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16143 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16145 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16146 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16148 (SYSCALL_ERROR_HANDLER): Likewise.
16149 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16150 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16151 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16152 (SYSCALL_ERROR_HANDLER): Likewise.
16153
c80098a9
DM
16154 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16155 (HAVE_GCC_GOTDATA): New.
16156 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16157 relocation support in both binutils and gcc.
16158 * sysdeps/sparc/elf/configure: Regenerate.
16159
3a2545a0
DM
16160 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16161 * sysdeps/sparc/sparc32/elf/configure: Delete.
16162 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16163 * sysdeps/sparc/sparc64/elf/configure: Delete.
16164 * sysdeps/sparc/elf/configure.in: New file.
16165 * sysdeps/sparc/elf/configure: Generate.
16166
7a8b71c3
DM
16167 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16168 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16169 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16170 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16171 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16172
f1e86fca
JM
161732012-02-21 Joseph Myers <joseph@codesourcery.com>
16174
16175 * manual/install.texi: Do not mention specific glibc version
16176 numbers.
16177 * manual/libc.texinfo (VERSION, UPDATED): Update.
16178 (@copying): Use @copyright{} and range of years.
16179
0e7dfaef
JM
161802012-02-21 Joseph Myers <joseph@codesourcery.com>
16181
16182 [BZ #13695]
16183 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16184 [crti.S not in sysdirs] (generated): Do not append.
16185 [crti.S not in sysdirs] (omit-deps): Likewise.
16186 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16187 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16188 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16189 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16190 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16191 Likewise.
16192 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16193 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16194 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16195 * csu/defs.awk: Remove file.
16196 * sysdeps/generic/initfini.c: Likewise.
16197 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16198 variable.
16199 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16200 Likewise.
16201
599af3ca
JM
162022012-02-20 Joseph Myers <joseph@codesourcery.com>
16203
16204 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16205 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16206 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16207 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16208 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16209 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16210 <bits/epoll.h>.
16211 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16212 (__EPOLL_PACKED): Define to empty if not defined by
16213 <bits/epoll.h>.
16214 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16216 bits/epoll.h.
16217
0e499750
JM
162182012-02-20 Joseph Myers <joseph@codesourcery.com>
16219
16220 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16221 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16222 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16223 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16224 <bits/timerfd.h>.
16225 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16227 bits/timerfd.h.
16228
5ad91f6e
JM
162292012-02-20 Joseph Myers <joseph@codesourcery.com>
16230
16231 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16232 in C locale.
16233 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16234 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16235 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16237
06b99b02
AJ
162382012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16239
16240 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16241 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16242
7638c0fd
AS
162432012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16244
16245 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16246 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16247 defined.
16248 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16249 Likewise.
16250 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16251 entry for 2.16.
16252
92221550
AJ
162532012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16254
16255 * math/w_acos.c: Use non-signaling floating-point comparisons.
16256 * math/w_acosf.c: Likewise.
16257 * math/w_acosh.c: Likewise.
16258 * math/w_acoshf.c: Likewise.
16259 * math/w_acoshl.c: Likewise.
16260 * math/w_acosl.c: Likewise.
16261 * math/w_asin.c: Likewise.
16262 * math/w_asinf.c: Likewise.
16263 * math/w_asinl.c: Likewise.
16264 * math/w_atanh.c: Likewise.
16265 * math/w_atanhf.c: Likewise.
16266 * math/w_atanhl.c: Likewise.
16267 * math/w_exp2.c: Likewise.
16268 * math/w_exp2f.c: Likewise.
16269 * math/w_exp2l.c: Likewise.
16270 * math/w_j0.c: Likewise.
16271 * math/w_j0f.c: Likewise.
16272 * math/w_j0l.c: Likewise.
16273 * math/w_j1.c: Likewise.
16274 * math/w_j1f.c: Likewise.
16275 * math/w_j1l.c: Likewise.
16276 * math/w_jn.c: Likewise.
16277 * math/w_jnf.c: Likewise.
16278 * math/w_log.c: Likewise.
16279 * math/w_log10.c: Likewise.
16280 * math/w_log10f.c: Likewise.
16281 * math/w_log10l.c: Likewise.
16282 * math/w_log2.c: Likewise.
16283 * math/w_log2f.c: Likewise.
16284 * math/w_log2l.c: Likewise.
16285 * math/w_logf.c: Likewise.
16286 * math/w_logl.c: Likewise.
16287 * math/w_sqrt.c: Likewise.
16288 * math/w_sqrtf.c: Likewise.
16289 * math/w_sqrtl.c: Likewise.
16290 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16291 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16292 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16293 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16294 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16295
ebaf36eb
JM
162962012-02-19 Joseph Myers <joseph@codesourcery.com>
16297
16298 [BZ #9739]
16299 * manual/string.texi (strnlen): Use correct parameter name in
16300 equivalent expression.
16301
71c254a6
JM
163022012-02-19 Joseph Myers <joseph@codesourcery.com>
16303
16304 [BZ #11174]
16305 * manual/users.texi (seteuid): Consistently use neweuid for
16306 argument name.
16307
16d2c631
JM
163082012-02-19 Joseph Myers <joseph@codesourcery.com>
16309
16310 [BZ #13704]
16311 * manual/nss.texi (Services in the NSS configuration): Correct
16312 list of services in example configuration file.
16313
cd837b09
NB
163142012-02-19 Nick Bowler <nbowler@draconx.ca>
16315
16316 [BZ #11322]
16317 * manual/arith.texi: Remove statements about negative zero
16318 behaving identically to zero.
16319
02c4bbad
JM
163202012-02-18 Joseph Myers <joseph@codesourcery.com>
16321
16322 [BZ #5993]
16323 * manual/install.texi: Do not document upgrading from libc5.
16324
366842e7
JM
163252012-02-18 Joseph Myers <joseph@codesourcery.com>
16326
16327 [BZ #4596]
16328 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16329
dd54084d
DM
163302012-02-18 David S. Miller <davem@davemloft.net>
16331
16332 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16333 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16334 %o7 across the call.
16335 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16336 instead.
16337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16338 SETUP_PIC_REG_LEAF.
16339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16340 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16341 * sysdeps/sparc/crtn.S: Likewise.
16342
2bcc53a3
UD
163432012-02-17 Ulrich Drepper <drepper@gmail.com>
16344
16345 * aout/Makefile: Remove.
16346
09c093b5
RK
163472012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16348
16349 [BZ #13058]
16350 * manual/examples/argp-ex1.c (main): Format definition in GNU
16351 style.
16352 * manual/examples/argp-ex2.c (main): Likewise.
16353 * manual/examples/argp-ex3.c (main): Likewise.
16354 * manual/examples/argp-ex4.c (main): Likewise.
16355 * manual/examples/longopt.c (main): Use new-style prototype
16356 definition.
16357 * manual/examples/strncat.c (main): Specify return type and use
16358 (void) for arguments.
16359 * manual/examples/subopt.c (main): Use char **argv argument.
16360
2ee633a2
JM
163612012-02-17 Joseph Myers <joseph@codesourcery.com>
16362
16363 [BZ #5077]
16364 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16365 rounding modes.
16366
0520adde
FB
163672012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16368
16369 [BZ #6907]
16370 * manual/string.texi (strchr): Change when strchrnul is
16371 recommended.
16372
3f4081cd
DGM
163732012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16374
16375 [BZ #174]
16376 * manual/locale.texi (setlocale): Document LOCPATH.
16377
d1b10e78
JM
163782012-02-17 Joseph Myers <joseph@codesourcery.com>
16379
16380 [BZ #10210]
16381 * manual/process.texi (execle): Move @dots{} before last argument.
16382
79c6869c
PB
163832012-02-17 Paul Bolle <pebolle@tiscali.nl>
16384
16385 [BZ #12047]
16386 * manual/charset.texi (Generic Charset Conversion): Fix typo
16387 (LC_TYPE -> LC_CTYPE).
16388
cc6e48bc
NB
163892012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16390
16391 [BZ #5805]
16392 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16393 (scalbnf): Likewise.
16394 (scalbnl): Likewise.
16395 (scalbln): Likewise.
16396 (scalblnf): Likewise.
16397 (scalblnl): Likewise.
16398 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16399 (vwarnx): Likewise.
16400 (verr): Likewise.
16401 (verrx): Likewise.
16402 * manual/filesys.texi (telldir): Use braces around return type.
16403 * manual/llio.texi (mmap): Add space after comma.
16404 (mmap64): Likewise.
16405 * manual/math.texi (jn): Use @var{} on parameter names.
16406 (jnf): Likewise.
16407 (jnl): Likewise.
16408 (yn): Likewise.
16409 (ynf): Likewise.
16410 (ynl): Likewise.
16411 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16412 line.
16413 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16414 "...".
16415 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16416 (sched_get_priority_max): Likewise.
16417 * manual/signal.texi (sigvec): Add space after comma.
16418 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16419 names.
16420 (if_indextoname): Likewise.
16421 (if_freenameindex): Likewise.
16422 (sendto): Use ',' instead of '.' in prototype.
16423 * manual/startup.texi (syscall): Use @dots{} instead of literal
16424 "...".
16425 * manual/stdio.texi (__fpending): Separate initial words of
16426 paragraph from @deftypefun line.
16427 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16428 "...".
16429 (vsyslog): Use @var{} on parameter names.
16430 * manual/terminal.texi (stty): Use @var{} on parameter names.
16431 * manual/users.texi (getutmp): Use @var{} on parameter names.
16432 (getutmpx): Likewise.
16433
5b23062f
JM
164342012-02-17 Joseph Myers <joseph@codesourcery.com>
16435
16436 [BZ #6884]
16437 * manual/stdio.texi (fopen): Fix typos in description of
16438 ",ccs=STRING".
16439
8dee4833
AJ
164402012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16441
16442 [BZ #4026]
16443 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16444 get clock_id definition.
16445
9078ce93
TS
164462012-02-17 Thomas Schwinge <thomas@schwinge.name>
16447
16448 [BZ #4822]
16449 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16450 (madvise): Cast every argument to void on its own.
16451
3835c55f
JM
164522012-02-17 Joseph Myers <joseph@codesourcery.com>
16453
16454 [BZ #9902]
16455 * manual/startup.texi (Exit Status): Fix typo.
16456
35c47e37
JM
164572012-02-17 Joseph Myers <joseph@codesourcery.com>
16458
16459 [BZ #10140]
16460 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16461 * manual/examples/argp-ex2.c: Likewise.
16462 * manual/examples/argp-ex3.c: Likewise.
16463
e3b69ca7
RH
164642012-02-16 Richard Henderson <rth@redhat.com>
16465
16466 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16467 * sysdeps/s390/s390-32/initfini.c: Remove.
16468 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16469 * sysdeps/s390/s390-64/initfini.c: Remove.
16470
df83af67
KK
164712012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16472
16473 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16474 compiler output for sysdeps/generic/initfini.c.
16475 * sysdeps/sh/elf/initfini.c: Remove file.
16476
f63f3380
DM
164772012-02-16 David S. Miller <davem@davemloft.net>
16478
fb59b3a4
DM
16479 [BZ #11494]
16480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16481
f63f3380
DM
16482 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16483 * sysdeps/sparc/crti.S: New file.
16484 * sysdeps/sparc/crtn.S: New file.
16485 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16486 * sysdeps/sparc/sparc64/Makefile: Likewise.
16487
df6a4a4a
MF
164882012-02-15 Mike Frysinger <vapier@gentoo.org>
16489
6dd8f3dc 16490 [BZ #3335]
df6a4a4a
MF
16491 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16492
1cac7236
RM
164932012-02-15 Roland McGrath <roland@hack.frob.com>
16494
d2c736f8
RM
16495 [BZ #4822]
16496 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16497
1cac7236
RM
16498 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16499 (write, read, close): Likewise.
16500 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16501
8e475601
JM
165022012-02-15 Joseph Myers <joseph@codesourcery.com>
16503
16504 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16505 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16506 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16507 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16508 <bits/signalfd.h>.
16509 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16511 bits/signalfd.h.
16512
ed656b40
MP
165132012-02-14 Marek Polacek <polacek@redhat.com>
16514
16515 * sysdeps/x86_64/crti.S: New file.
16516 * sysdeps/x86_64/crtn.S: New file.
16517 * sysdeps/x86_64/elf/initfini.c: Remove file.
16518
2a979d3a
JM
165192012-02-13 Joseph Myers <joseph@codesourcery.com>
16520
16521 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16522 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16523 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16524 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16525 <bits/inotify.h>.
16526 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16528 bits/inotify.h.
16529
2a418ac3
JM
165302012-02-13 Joseph Myers <joseph@codesourcery.com>
16531
16532 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16533 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16534 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16535 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16536 <bits/eventfd.h>.
16537 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16539 bits/eventfd.h.
16540
fb779be7
TS
165412012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16542
e19e83c5
RM
16543 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16544 __feraiseexcept instead of feraiseexcept.
7c35ffed 16545
fb779be7
TS
16546 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16547 nanosleep invocations.
16548 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16549 strings, and add error checking for a nanosleep invocations.
16550
59ba27a6
PE
165512012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16552
16553 Replace FSF snail mail address with URLs, as per GNU coding standards.
16554 Most of the snail mail addresses were wrong anyway, and omitting
16555 them makes the source code easier to maintain. Almost all of the
16556 changes are to license notices and to locale LC_IDENTIFICATION
16557 addresses, except for this one:
16558 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16559 not its snail mail address.
16560
57b957eb
RH
165612012-02-09 Richard Henderson <rth@twiddle.net>
16562
af850b1c
RH
16563 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16564 of kernel-features.h.
16565
57b957eb
RH
16566 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16567
6b73181a
MP
165682012-02-08 Marek Polacek <polacek@redhat.com>
16569
16570 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16571 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16572 * sysdeps/gnu/_G_config.h: Likewise.
16573 * sysdeps/generic/_G_config.h: Likewise.
16574
26ecc33a
AS
165752012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16576
6c6dbc63
AS
16577 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16578 tests.
16579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16580
e216c012
AS
16581 * sysdeps/powerpc/powerpc32/crti.S: New file.
16582 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16583 * sysdeps/powerpc/powerpc64/crti.S: New file.
16584 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16585
26ecc33a
AS
16586 * Makeconfig (have-initfini): Don't set.
16587 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16588 * configure.in (nopic_initfini): Don't substitute.
16589 * config.h.in (HAVE_INITFINI): Don't #undef.
16590 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16591 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16592
3add8e13
JM
165932012-02-08 Joseph Myers <joseph@codesourcery.com>
16594
16595 Support crti.S and crtn.S provided directly by architectures.
16596 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16597 [crti.S in sysdirs] (omit-deps): Likewise.
16598 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16599 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16600 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16601 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16602 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16603 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16604 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16605 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16606 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16607 compiler output for sysdeps/generic/initfini.c.
16608 * sysdeps/i386/elf/Makefile: Remove file.
16609 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16610
a22f12b4
MP
166112012-02-07 Marek Polacek <polacek@redhat.com>
16612
16613 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16614 * sysdeps/gnu/_G_config.h: Likewise.
16615 * sysdeps/mach/hurd/_G_config.h: Likewise.
16616
148cf100
MP
166172012-02-07 Marek Polacek <polacek@redhat.com>
16618
16619 * math/Makefile (tests): Add tst-CMPLX2.
16620 * math/tst-CMPLX2.c: New file.
16621
cfdc0dd7
AS
166222012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16623
84ba42c4
AS
16624 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16625
cfdc0dd7
AS
16626 * math/libm-test.inc (jn_test): Add missing L suffix.
16627
622c86f4
MP
166282012-02-06 Marek Polacek <polacek@redhat.com>
16629
16630 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16631 * sysdeps/i386/fpu/e_powf.S: Likewise.
16632 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16633 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16634 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16635 * sysdeps/i386/fpu/e_pow.S: Likewise.
16636 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16637 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16638 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16639 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16640 * sysdeps/i386/fpu/e_log2.S: Likewise.
16641 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16642 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16643 * sysdeps/i386/fpu/e_powl.S: Likewise.
16644 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16645 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16646 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16647 * sysdeps/i386/fpu/e_logl.S: Likewise.
16648 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16649 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16650 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16651 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16652 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16653 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16654 * sysdeps/i386/fpu/e_log.S: Likewise.
16655 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16656 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16657 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16658 * sysdeps/i386/fpu/e_logf.S: Likewise.
16659 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16660 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16661 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16662 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16663 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16664 * sysdeps/i386/fpu/e_log10.S: Likewise.
16665 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16666 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16667 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16668 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16669 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16670 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16671 * sysdeps/i386/asm-syntax.h: Likewise.
16672 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16673 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16674 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16675 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16676 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16677 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16678 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16679 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16680 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16681 * sysdeps/powerpc/sysdep.h: Likewise.
16682 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16683 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16684
d4a54ac6
JM
166852012-02-06 Joseph Myers <joseph@codesourcery.com>
16686
16687 [BZ #411]
16688 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16689
314054ea
JM
166902012-02-06 Joseph Myers <joseph@codesourcery.com>
16691
16692 * sysdeps/i386/sysdep.h: Include <features.h>.
16693 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16694 version.
16695
d8e0ca50
JM
166962012-02-05 Joseph Myers <joseph@codesourcery.com>
16697
16698 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16699 Define.
16700 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16701 LOAD_PIC_REG_STR.
16702
b1da7dd9
JM
167032012-02-03 Joseph Myers <joseph@codesourcery.com>
16704
16705 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16706 (SETUP_PIC_REG): Use GET_PC_THUNK.
16707 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16708 macro.
16709
9a1d9254
JM
167102012-02-03 Joseph Myers <joseph@codesourcery.com>
16711
16712 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16713 for non-PIC compilation.
16714 (SETUP_PIC_REG): Add .p2align directive.
16715 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16716 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16717 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16718 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16719 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16720 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16721 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16722 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16723 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16724 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16725 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16726 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16727 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16728 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16729 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16730 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16731 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16732 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16733 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16734 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16735 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16736 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16737 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16738 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16739 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16741 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16742 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16743 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16744 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16745 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16746 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16747 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16748 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16749 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16750 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16751 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16752 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16753 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16754 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16755 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16756
65dc3b75
JM
167572012-02-03 Joseph Myers <joseph@codesourcery.com>
16758
16759 * math/tst-CMPLX.c: Include <stdio.h>.
16760
d55bf177
JM
167612012-01-31 Joseph Myers <joseph@codesourcery.com>
16762
16763 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16764 float.
16765 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16766 * sysdeps/sparc/bits/mathdef.h: Likewise.
16767
69db4f8f
MP
167682012-01-31 Marek Polacek <polacek@redhat.com>
16769
16770 * libio/libio.h: Don't define _PARAMS.
16771 * locale/programs/config.h: Don't define PARAMS.
16772 * stdlib/strtol_l.c: Likewise.
16773 (__strtol_l): Remove PARAMS from the prototype.
16774
41b81892
UD
167752012-01-31 Ulrich Drepper <drepper@gmail.com>
16776
3b49edc0
UD
16777 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16778 names. Just use the correct names. Remove unnecessary wrapper
16779 functions.
16780 * malloc/arena.c: Likewise.
16781 * malloc/hooks.c: Likewise.
16782
41b81892
UD
16783 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16784 ARENA_TEST says not to. Simplify test for creation of a new arena.
16785 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16786
27a25b6e
UD
167872012-01-30 Ulrich Drepper <drepper@gmail.com>
16788
16789 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16790 into tail calls.
16791 (update_get_addr): New function.
16792 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16793 GET_ADDR_MODULE parameter.
16794
c8a89e7d
JM
167952012-01-30 Joseph Myers <joseph@codesourcery.com>
16796
16797 * crypt/cert.c: Remove __STDC__ conditionals.
16798 * crypt/crypt-entry.c: Likewise.
16799 * crypt/crypt_util.c: Likewise.
16800 * libio/filedoalloc.c: Likewise.
16801 * libio/fileops.c: Likewise.
16802 * libio/genops.c: Likewise.
16803 * libio/iofclose.c: Likewise.
16804 * libio/iofdopen.c: Likewise.
16805 * libio/iofopen.c: Likewise.
16806 * libio/iofopen64.c: Likewise.
16807 * libio/iogetdelim.c: Likewise.
16808 * libio/iopopen.c: Likewise.
16809 * libio/obprintf.c: Likewise.
16810 * libio/oldfileops.c: Likewise.
16811 * libio/oldiofclose.c: Likewise.
16812 * libio/oldiofdopen.c: Likewise.
16813 * libio/oldiofopen.c: Likewise.
16814 * libio/oldiopopen.c: Likewise.
16815 * libio/wfiledoalloc.c: Likewise.
16816 * libio/wgenops.c: Likewise.
16817 * locale/programs/xmalloc.c: Likewise.
16818 * misc/syslog.c: Likewise.
16819 * stdio-common/xbug.c: Likewise.
16820 * string/memchr.c: Likewise.
16821 * string/memcmp.c: Likewise.
16822 * string/memrchr.c: Likewise.
16823 * string/rawmemchr.c: Likewise.
16824 * sysdeps/posix/getcwd.c: Likewise.
16825 * time/strftime_l.c: Likewise.
16826
3b100462
JM
168272012-01-30 Joseph Myers <joseph@codesourcery.com>
16828
16829 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16830 * config.make.in (config-cflags-sse2avx): Define.
16831 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16832 Fix typo.
16833
607998af
CM
168342012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16835
16836 * scripts/config.guess: Update from upstream config git repository.
16837 * scripts/config.sub: Likewise.
16838
3601428f
CM
168392012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16840
3ac8b282
CM
16841 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16842 (EM_NUM): Update.
16843 (R_TILEPRO_*, R_TILEGX_*): New macros.
16844
e034841e
CM
16845 * scripts/firstversions.awk: Fix bug in version range handling.
16846
540d7568
CM
16847 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16848
3601428f
CM
16849 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16850
463de862
CM
16851 * include/sys/epoll.h: New file.
16852 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16853 libc_hidden_def.
16854
73139a76
UD
168552012-01-28 Ulrich Drepper <drepper@gmail.com>
16856
96bc5b45
UD
16857 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16858 Avoid unnecessary __WORDSIZE == 64 test.
16859 (fmaxf): Use VEX format if possible.
16860 (fmax): Likewise.
16861 (fminf): Likewise.
16862 (fmin): Likewise.
16863
56f6f6a2
UD
16864 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16865 * math/math_private.h: Remove libc_fegetround* and
16866 libc_fesetround*.
16867 * sysdeps/i386/configure.in: Check for -msse2avx.
16868 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16869 also if SSE2AVX is defined.
16870 Remove libc_fegetround* and libc_fesetround*.
16871 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16872 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16873 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16874 of HAS_YMM_USABLE.
16875 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16876 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16877 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16878 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16879 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16880
73139a76
UD
16881 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16882
d73f93a4
AZ
168832012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16884
16885 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16886 size is not set.
16887 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16888
6ee65ed6
UD
168892012-01-27 Ulrich Drepper <drepper@gmail.com>
16890
16891 [BZ #13618]
16892 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16893 relocation.
16894 * Makeconfig (libm): Define.
16895 * elf/Makefile: Add rules to build and run tst-relsort1.
16896 * elf/tst-relsort1.c: New file.
16897 * elf/tst-relsort1mod1.c: New file.
16898 * elf/tst-relsort1mod2.c: New file.
16899
8db21882
JM
169002012-01-27 Joseph Myers <joseph@codesourcery.com>
16901
16902 * math/s_ldexp.c: Remove __STDC__ conditionals.
16903 * math/s_ldexpf.c: Likewise.
16904 * math/s_ldexpl.c: Likewise.
16905 * math/s_nextafter.c: Likewise.
16906 * math/s_nexttowardf.c: Likewise.
16907 * math/s_significand.c: Likewise.
16908 * math/s_significandf.c: Likewise.
16909 * math/s_significandl.c: Likewise.
16910 * math/w_jnl.c: Likewise.
16911 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16912 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16913 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16914 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16915 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16916 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16917 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16918 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16919 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16920 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16921 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16922 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16923 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16924 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16925 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16926 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16927 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16928 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16930 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16931 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16932 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16933 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16934 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16935 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16936 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16937 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16938 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16939 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16940 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16941 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16942 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16943 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16944 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16945 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16946 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16947 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16948 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16949 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16950 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16951 * sysdeps/ieee754/k_standard.c: Likewise.
16952 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16953 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16954 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16955 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16956 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16957 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16958 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16959 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16960 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16961 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16962 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16963 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16964 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16965 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16966 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16967 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16968 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16969 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16970 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16971 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16972 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16974 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16977 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16978 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16979 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16980 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16981 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16982 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16983 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16984 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16985 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16986 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16987 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16989 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16991 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16992 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16995 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16998 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17000 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17001 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17002 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17003 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17004 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17005 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17006 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17007 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17008 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17009 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17010 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17011 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17012 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17013 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17014 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17015 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17016 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17017 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17018 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17019 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17020 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17021 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17024 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17025 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17026 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17027 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17028 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17031 * sysdeps/ieee754/s_matherr.c: Likewise.
17032 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17033 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17034 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17036
965a54a4
JM
170372012-01-26 Joseph Myers <joseph@codesourcery.com>
17038
17039 * crypt/md5.h: Remove __STDC__ conditionals.
17040 * libio/libioP.h: Likewise.
17041 * locale/programs/config.h: Likewise.
17042 * sysdeps/generic/sysdep.h: Likewise.
17043 * sysdeps/i386/asm-syntax.h: Likewise.
17044 * sysdeps/s390/asm-syntax.h: Likewise.
17045 * sysdeps/unix/sysdep.h: Likewise.
17046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17048
7071ad79
JM
170492012-01-26 Joseph Myers <joseph@codesourcery.com>
17050
17051 * libio/libio.h: Remove __STDC__ conditionals.
17052 * malloc/obstack.h: Likewise.
17053 * math/complex.h: Likewise.
17054 * math/math.h: Likewise.
17055 * sysdeps/generic/_G_config.h: Likewise.
17056 * sysdeps/gnu/_G_config.h: Likewise.
17057 * sysdeps/mach/hurd/_G_config.h: Likewise.
17058 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17059 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17060 * sysdeps/sparc/bits/mathdef.h: Likewise.
17061
afc5ed09
UD
170622012-01-26 Ulrich Drepper <drepper@gmail.com>
17063
17064 [BZ #13583]
17065 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17066 Clean up HAS_* macros.
afc5ed09 17067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17068 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17069 possible.
17070 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17071 HAS_AVX.
17072 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17073 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17074 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17075 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17076 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17077
bdb6de1d
JM
170782012-01-25 Joseph Myers <joseph@codesourcery.com>
17079
17080 * elf/tst-unique3.cc (gets): Remove declaration.
17081 * elf/tst-unique3lib.cc (gets): Likewise.
17082 * elf/tst-unique3lib2.cc (gets): Likewise.
17083 * elf/tst-unique4.cc (gets): Likewise.
17084
b15549e6
UD
170852012-01-24 Ulrich Drepper <drepper@gmail.com>
17086
17087 * include/stdio.h: Add C++ protection. Add gets declarations and
17088 definitions.
17089 * debug/tst-chk1.c: Don't declare gets here.
17090 * stdio-common/tst-gets.c: Likewise.
17091
a037381f
JM
170922012-01-24 Joseph Myers <joseph@codesourcery.com>
17093
17094 * posix/glob: Remove directory.
17095
f1d4aa75
JM
170962012-01-24 Joseph Myers <joseph@codesourcery.com>
17097
17098 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17099
81c0c964
PT
171002012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17101
17102 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17103 of the non-standard EPFNOSUPPORT.
17104
0ea698ae
ST
171052011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17106
17107 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17108 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17109 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17110
d220b117
UD
171112012-01-21 Ulrich Drepper <drepper@gmail.com>
17112
17113 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17114
3e1aa84e
UD
171152012-01-20 Ulrich Drepper <drepper@gmail.com>
17116
17117 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17118 transient errors.
17119 * nscd/grpcache.c (cache_addgr): Likewise.
17120 * nscd/hstcache.c (cache_addhst): Likewise.
17121 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17122 * nscd/pwdcache.c (cache_addpw): Likewise.
17123 * nscd/servicescache.c (cache_addserv): Likewise.
17124
400aa020
UD
171252012-01-16 Ulrich Drepper <drepper@gmail.com>
17126
d77e7869
UD
17127 * malloc/malloc.c: Various cleanups.
17128 * malloc/hooks.c: Likewise.
17129
400aa020
UD
17130 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17131 * stdlib/bug-fmtmsg1.c: New file.
17132
17133 * stdlib/fmtmsg.c (init): Add missing unlock.
17134 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17135
e0a309cf
MP
171362012-01-12 Marek Polacek <polacek@redhat.com>
17137
17138 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17139 and _GNU_SOURCE.
17140
929d11c7
WS
171412012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17142
17143 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17144 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17145 macro to ensure uniqueness of label name.
17146 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17147 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17148
41d0e869
UD
171492012-01-11 Ulrich Drepper <drepper@gmail.com>
17150
0cc5ed3b
UD
17151 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17152
41d0e869
UD
17153 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17154 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17155 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17157
a47a831a
UD
171582012-01-10 Ulrich Drepper <drepper@gmail.com>
17159
daa891c0
UD
17160 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17161
17162 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17163 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17164 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17165
e58ef0f2
UD
17166 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17167
a47a831a 17168 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17169 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17170 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17172
17173 * math/bits/math-finite.h: Add ldexp support.
17174
a0bfc9c7
MP
171752012-01-10 Marek Polacek <polacek@redhat.com>
17176
17177 * locale/programs/localedef.h (show_archive_content): Add noreturn
17178 attribute.
17179
d6e97a1d
UD
171802012-01-09 Ulrich Drepper <drepper@gmail.com>
17181
17182 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17183
d5835c26
UD
171842012-01-08 Ulrich Drepper <drepper@gmail.com>
17185
e5f484c6
UD
17186 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17187
d5835c26
UD
17188 * io/Makefile (headers): Add bits/poll2.h.
17189
d1f741e9
WS
171902011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17191
17192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17193 typo #include statement.
17194
ec09c1c4
UD
171952012-01-08 Ulrich Drepper <drepper@gmail.com>
17196
17197 * include/sys/cdefs.h: Define __attribute_alloc_size.
17198 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17199 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17200 * elf/pldd.c: Likewise.
17201 * iconv/iconv_charmap.c: Likewise.
17202 * iconv/iconvconfig.c: Likewise.
17203 * iconv/strtab.c: Likewise.
17204 * locale/programs/locale.c: Likewise.
17205 * locale/programs/localedef.h: Likewise.
17206 * locale/programs/simple-hash.c: Likewise.
17207 * nscd/nscd.h: Likewise.
17208 * nss/makedb.c: Likewise.
17209 * sysdeps/generic/ldconfig.h: Likewise.
17210 * locale/programs/localedef.c: Remove xmalloc prototype.
17211 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17212
20b38e03
PP
172132012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17214
17215 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17216 appropriate.
17217
a0da5fe1
UD
172182012-01-08 Ulrich Drepper <drepper@gmail.com>
17219
1d5a644a 17220 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17221 * math/tst-CMPLX.c: New file.
1d5a644a 17222
8784a6db
UD
17223 * math/complex.h (CMPLXL): Fix typo.
17224
d9a216c0
UD
17225 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17226 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17227 GLIBC_2.16.
17228 * debug/tst-chk1.c: Add poll and ppoll tests.
17229 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17230 * include/sys/poll.h: Add hidden proto for ppoll.
17231 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17232 * sysdeps/mach/hurd/ppoll.c: Likewise.
17233 * io/ppoll.c: Likewise.
17234 * debug/poll_chk.c: New file.
17235 * debug/ppoll_chk.c: New file.
17236 * include/bits/poll2.h: New file.
17237 * io/bits/poll2.h: New file.
17238
ac097f5c
UD
17239 [BZ #1350]
17240 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17241
2119dcfa
UD
17242 * configure.in: static is always set to yes. Remove.
17243 * config.make.in: Don't set build-static.
17244 * Makeconfig: Remove use of build-static.
17245 * dlfcn/Makefile: Likewise.
17246 * elf/Makefile: Likewise.
17247 * math/Makefile: Likewise.
17248 * misc/Makefile: Likewise.
17249 * nptl/Makefile: Likewise.
17250 * sysdeps/mach/hurd/Makefile: Likewise.
17251
121766a9
UD
17252 * configure.in: PWD_P is not used anymore.
17253 * config.make.in: Remove PWD_P entry.
17254
51a1d39c 17255 * configure.in: Remove last remnants of RANLIB.
8720d066 17256 No need to check for signed size_t anymore.
215f4bdc
UD
17257 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17258 and IA-64.
3857022a 17259 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17260 * aclocal.m4: Likewise.
17261
d3ed7225
UD
17262 * wcsmbs/mbrtoc16.c: Implement using towc function.
17263 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17264 * wcsmbs/wcsmbsload.c: Likewise.
17265 * iconv/gconv_simple.c: Likewise.
17266 * iconv/gconv_int.h: Likewise.
17267 * iconv/gconv_builtin.h: Likewise.
17268 * iconv/iconv_prog.c: Remove CHAR16 handling.
17269
17270 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17271
17272 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17273
a0da5fe1
UD
17274 * configure.in: Remove --with-elf and --enable-bounded options.
17275 Dont set base_machine for ia64. More non-ELF conditions removed.
17276 Remove testing and setting of leading underscore information.
17277 * config.make.in (build-bounded): Set to no.
17278 * config.h.in: Remove NO_UNDERSCORES entry.
17279 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17280 them.
17281 * csu/start.c: Remove !NO_UNDERSCORE code.
17282 * locale/localeinfo.h: Likewise.
17283 * sysdeps/generic/machine-gmon.h: Likewise.
17284 * sysdeps/generic/sysdep.h: Likewise.
17285 * sysdeps/i386/sysdep.h: Likewise.
17286 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17287 * sysdeps/mach/sysdep.h: Likewise.
17288 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17289 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17290 * sysdeps/sh/sysdep.h: Likewise.
17291 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17292 * sysdeps/unix/i386/sysdep.S: Likewise.
17293 * sysdeps/unix/sparc/start.c: Likewise.
17294 * sysdeps/unix/sparc/sysdep.S: Likewise.
17295 * sysdeps/unix/sparc/sysdep.h: Likewise.
17296 * sysdeps/unix/start.c: Likewise.
17297 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17298 * sysdeps/x86_64/sysdep.h: Likewise.
17299
df78418a
UD
173002012-01-07 Ulrich Drepper <drepper@gmail.com>
17301
a784e502
UD
17302 [BZ #13553]
17303 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17304 for non-gcc.
17305 * argp/argp-fmtstream.h: Use const instead __const.
17306 * argp/argp.h: Likewise.
17307 * assert/assert.h: Likewise.
17308 * bits/fenv.h: Likewise.
17309 * bits/sched.h: Likewise.
17310 * bits/sigset.h: Likewise.
17311 * bits/sigthread.h: Likewise.
17312 * catgets/nl_types.h: Likewise.
17313 * conform/data/pthread.h-data: Likewise.
17314 * crypt/crypt-private.h: Likewise.
17315 * crypt/crypt.h: Likewise.
17316 * crypt/crypt_util.c: Likewise.
17317 * ctype/ctype.h: Likewise.
17318 * debug/execinfo.h: Likewise.
17319 * debug/mbsnrtowcs_chk.c: Likewise.
17320 * debug/mbsrtowcs_chk.c: Likewise.
17321 * debug/wcsnrtombs_chk.c: Likewise.
17322 * debug/wcsrtombs_chk.c: Likewise.
17323 * debug/wcstombs_chk.c: Likewise.
17324 * dirent/dirent.h: Likewise.
17325 * dlfcn/dlfcn.h: Likewise.
17326 * elf/neededtest4.c: Likewise.
17327 * grp/grp.h: Likewise.
17328 * gshadow/gshadow.h: Likewise.
17329 * iconv/gconv.h: Likewise.
17330 * iconv/gconv_int.h: Likewise.
17331 * iconv/gconv_simple.c: Likewise.
17332 * iconv/iconv.h: Likewise.
17333 * iconv/loop.c: Likewise.
17334 * iconv/skeleton.c: Likewise.
17335 * include/aio.h: Likewise.
17336 * include/aliases.h: Likewise.
17337 * include/argz.h: Likewise.
17338 * include/arpa/inet.h: Likewise.
17339 * include/assert.h: Likewise.
17340 * include/dirent.h: Likewise.
17341 * include/dlfcn.h: Likewise.
17342 * include/execinfo.h: Likewise.
17343 * include/fcntl.h: Likewise.
17344 * include/fenv.h: Likewise.
17345 * include/glob.h: Likewise.
17346 * include/grp.h: Likewise.
17347 * include/libintl.h: Likewise.
17348 * include/mntent.h: Likewise.
17349 * include/netdb.h: Likewise.
17350 * include/pwd.h: Likewise.
17351 * include/rpc/netdb.h: Likewise.
17352 * include/sched.h: Likewise.
17353 * include/search.h: Likewise.
17354 * include/shadow.h: Likewise.
17355 * include/signal.h: Likewise.
17356 * include/stdio.h: Likewise.
17357 * include/stdlib.h: Likewise.
17358 * include/string.h: Likewise.
17359 * include/sys/socket.h: Likewise.
17360 * include/sys/stat.h: Likewise.
17361 * include/sys/statfs.h: Likewise.
17362 * include/sys/statvfs.h: Likewise.
17363 * include/sys/syslog.h: Likewise.
17364 * include/sys/time.h: Likewise.
17365 * include/sys/uio.h: Likewise.
17366 * include/time.h: Likewise.
17367 * include/unistd.h: Likewise.
17368 * include/utmp.h: Likewise.
17369 * include/wchar.h: Likewise.
17370 * include/wctype.h: Likewise.
17371 * inet/aliases.h: Likewise.
17372 * inet/arpa/inet.h: Likewise.
17373 * inet/netinet/ether.h: Likewise.
17374 * inet/netinet/in.h: Likewise.
17375 * intl/libintl.h: Likewise.
17376 * io/bits/fcntl2.h: Likewise.
17377 * io/fcntl.h: Likewise.
17378 * io/ftw.h: Likewise.
17379 * io/sys/poll.h: Likewise.
17380 * io/sys/stat.h: Likewise.
17381 * io/sys/statfs.h: Likewise.
17382 * io/sys/statvfs.h: Likewise.
17383 * io/utime.h: Likewise.
17384 * libio/bits/stdio.h: Likewise.
17385 * libio/bits/stdio2.h: Likewise.
17386 * libio/libio.h: Likewise.
17387 * libio/libioP.h: Likewise.
17388 * libio/stdio.h: Likewise.
17389 * locale/lc-ctype.c: Likewise.
17390 * locale/locale.h: Likewise.
17391 * login/utmp.h: Likewise.
17392 * malloc/arena.c: Likewise.
17393 * malloc/malloc.c: Likewise.
17394 * malloc/malloc.h: Likewise.
17395 * malloc/mcheck.c: Likewise.
17396 * malloc/mtrace.c: Likewise.
17397 * math/bits/mathcalls.h: Likewise.
17398 * math/fenv.h: Likewise.
17399 * math/math_private.h: Likewise.
17400 * misc/bits/error.h: Likewise.
17401 * misc/bits/syslog.h: Likewise.
17402 * misc/err.h: Likewise.
17403 * misc/error.h: Likewise.
17404 * misc/fstab.h: Likewise.
17405 * misc/mntent.h: Likewise.
17406 * misc/regexp.h: Likewise.
17407 * misc/search.h: Likewise.
17408 * misc/sgtty.h: Likewise.
17409 * misc/sys/mman.h: Likewise.
17410 * misc/sys/syslog.h: Likewise.
17411 * misc/sys/uio.h: Likewise.
17412 * misc/sys/xattr.h: Likewise.
17413 * misc/ttyent.h: Likewise.
17414 * nis/rpcsvc/ypclnt.h: Likewise.
17415 * nss/nss.h: Likewise.
17416 * posix/bits/unistd.h: Likewise.
17417 * posix/fnmatch.h: Likewise.
17418 * posix/glob.h: Likewise.
17419 * posix/sched.h: Likewise.
17420 * posix/spawn.h: Likewise.
17421 * posix/sys/wait.h: Likewise.
17422 * posix/unistd.h: Likewise.
17423 * posix/wordexp.h: Likewise.
17424 * pwd/pwd.h: Likewise.
17425 * resolv/netdb.h: Likewise.
17426 * resource/sys/resource.h: Likewise.
17427 * rt/aio.h: Likewise.
17428 * rt/bits/mqueue2.h: Likewise.
17429 * rt/mqueue.h: Likewise.
17430 * shadow/shadow.h: Likewise.
17431 * signal/signal.h: Likewise.
17432 * socket/send.c: Likewise.
17433 * socket/sendto.c: Likewise.
17434 * socket/sys/socket.h: Likewise.
17435 * stdio-common/printf.h: Likewise.
17436 * stdlib/bits/stdlib.h: Likewise.
17437 * stdlib/fmtmsg.h: Likewise.
17438 * stdlib/monetary.h: Likewise.
17439 * stdlib/stdlib.h: Likewise.
17440 * stdlib/ucontext.h: Likewise.
17441 * streams/stropts.h: Likewise.
17442 * string/argz.h: Likewise.
17443 * string/bits/string2.h: Likewise.
17444 * string/string.h: Likewise.
17445 * string/strings.h: Likewise.
17446 * sunrpc/rpc/auth.h: Likewise.
17447 * sunrpc/rpc/auth_des.h: Likewise.
17448 * sunrpc/rpc/clnt.h: Likewise.
17449 * sunrpc/rpc/netdb.h: Likewise.
17450 * sunrpc/rpc/pmap_clnt.h: Likewise.
17451 * sunrpc/rpc/xdr.h: Likewise.
17452 * sysdeps/generic/inttypes.h: Likewise.
17453 * sysdeps/generic/net/if.h: Likewise.
17454 * sysdeps/generic/sys/swap.h: Likewise.
17455 * sysdeps/gnu/net/if.h: Likewise.
17456 * sysdeps/gnu/utmpx.h: Likewise.
17457 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17458 * sysdeps/i386/i486/bits/string.h: Likewise.
17459 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17460 * sysdeps/s390/bits/string.h: Likewise.
17461 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17462 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17463 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17464 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17465 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17466 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17467 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17468 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17469 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17470 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17471 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17472 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17473 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17474 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17475 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17476 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17477 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17479 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17480 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17481 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17482 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17483 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17484 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17485 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17486 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17487 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17488 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17489 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17490 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17491 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17492 * sysvipc/sys/ipc.h: Likewise.
17493 * sysvipc/sys/msg.h: Likewise.
17494 * sysvipc/sys/sem.h: Likewise.
17495 * sysvipc/sys/shm.h: Likewise.
17496 * termios/termios.h: Likewise.
17497 * time/sys/time.h: Likewise.
17498 * time/time.h: Likewise.
17499 * wcsmbs/bits/wchar2.h: Likewise.
17500 * wcsmbs/uchar.h: Likewise.
17501 * wcsmbs/wchar.h: Likewise.
17502 * wctype/wctype.h: Likewise.
17503
0269750c
UD
17504 [BZ #13551]
17505 * Makeconfig: Remove all but ELF support including AIX support.
17506 * Makerules: Likewise.
17507 * config.h.in: Likewise.
17508 * config.make.in: Likewise.
17509 * configure: Likewise.
17510 * configure.in: Likewise.
17511 * csu/Makefile: Likewise.
17512 * csu/version.c: Likewise.
17513 * debug/Makefile: Likewise.
17514 * dlfcn/Makefile: Likewise.
17515 * elf/Makefile: Likewise.
17516 * extra-lib.mk: Likewise.
17517 * iconv/Makefile: Likewise.
17518 * include/libc-symbols.h: Likewise.
17519 * include/shlib-compat.h: Likewise.
17520 * resolv/Makefile: Likewise.
17521 * resolv/res_libc.c: Likewise.
17522 * rt/Makefile: Likewise.
17523 * sysdeps/i386/asm-syntax.h: Likewise.
17524 * sysdeps/i386/sysdep.h: Likewise.
17525 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17526 * sysdeps/mach/sysdep.h: Likewise.
17527 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17528 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17529 * sysdeps/s390/asm-syntax.h: Likewise.
17530 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17531 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17532 * sysdeps/sh/sysdep.h: Likewise.
17533 * sysdeps/unix/sparc/sysdep.h: Likewise.
17534 * sysdeps/wordsize-32/divdi3.c: Likewise.
17535 * sysdeps/x86_64/sysdep.h: Likewise.
17536
00bbd29b
UD
17537 * argp/Versions: Remove _argp_unlock_xxx.
17538
17539 [BZ #13559]
17540 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17541 * abilist/libBrokenLocale.abilist: Likewise.
17542 * abilist/libanl.abilist: Likewise.
17543 * abilist/libc.abilist: Likewise.
17544 * abilist/libcrypt.abilist: Likewise.
17545 * abilist/libdl.abilist: Likewise.
17546 * abilist/libm.abilist: Likewise.
17547 * abilist/libnsl.abilist: Likewise.
17548 * abilist/libpthread.abilist: Likewise.
17549 * abilist/libresolv.abilist: Likewise.
17550 * abilist/librt.abilist: Likewise.
17551 * abilist/libthread_db.abilist: Likewise.
17552 * abilist/libutil.abilist: Likewise.
17553 * abilist/libnss_db.abilist: New file.
17554
17555 * scripts/abilist.awk: Add support for indirect functions.
17556
a2693a0e
UD
17557 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17558
3f05895f
UD
17559 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17560
ecb6fb48
UD
17561 * shlib-versions: Remove entries for ports architectures.
17562
664f8cb9
UD
17563 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17564 files in ports.
17565 * elf/stackguard-macros.h: Remove support for IA-64.
17566 * elf/tst-auditmod1.c: Likewise.
17567 * sysdeps/generic/ldsodefs.h: Likewise.
17568
7ae81d88
UD
17569 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17570 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17571 configure files.
17572
bdeba135
UD
17573 [BZ #13552]
17574 * configure.in: Remove --enable-omitfp support.
17575 * FAQ.in: Adjust.
17576 * config.make.in: Likewise.
17577 * Makeconfig: Likewise.
17578 * manual/install.texi: Likewise.
17579
d75a0a62
UD
17580 In case anyone cares, the IA-64 architecture could move to ports.
17581 * sysdeps/ia64/*: Removed.
17582 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17583 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17584
dcc9756b
UD
17585 [BZ #13555]
17586 * configure.in: Remove entries for unsupported architectures.
17587
d3761ebc 17588 [BZ #13533]
9954432e
UD
17589 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17590 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17591 routines.
17592 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17593 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17594 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17595 fall back to using wcrtomb.
17596 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17597 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17598 renaming.
17599 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17600 * wcsmbs/tst-c16c32-1.c: New file.
17601
17602 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17603 local variable.
17604
c3a87236
UD
17605 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17606
28926a1b
UD
17607 * elf/tst-unique3.cc: Add explicit declaration of gets.
17608 * elf/tst-unique3lib.cc: Likewise.
17609 * elf/tst-unique3lib2.cc: Likewise.
17610 * elf/tst-unique4.cc: Likewise.
17611
df78418a
UD
17612 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17613
8ecd6b2a
JM
176142012-01-06 Joseph Myers <joseph@codesourcery.com>
17615
17616 [BZ #13566]
17617 * assert/assert.h (static_assert): Don't define for C++.
17618 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17619 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17620
9f115170
UD
176212012-01-03 Ulrich Drepper <drepper@gmail.com>
17622
5e0d0300
UD
17623 * iconv/loop.c (single loop): Fix assertion in storing of
17624 remaining bytes.
17625
9f115170
UD
17626 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17627
81fb02b0
UD
176282012-01-01 Ulrich Drepper <drepper@gmail.com>
17629
17630 * posix/getconf.c: Update copyright year.
17631 * nss/getent.c: Likewise.
a316c1f6 17632 * nss/makedb.c: Likewise.
81fb02b0
UD
17633 * iconv/iconvconfig.c: Likewise.
17634 * iconv/iconv_prog.c: Likewise.
17635 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17636 * elf/pldd.c: Likewise.
17637 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17638 * catgets/gencat.c: Likewise.
17639 * csu/version.c: Likewise.
17640 * elf/ldd.bash.in: Likewise.
17641 * elf/sprof.c (print_version): Likewise.
17642 * locale/programs/locale.c: Likewise.
17643 * locale/programs/localedef.c: Likewise.
a316c1f6 17644 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17645 * nscd/nscd.c (print_version): Likewise.
17646 * debug/xtrace.sh: Likewise.
17647 * malloc/memusage.sh: Likewise.
17648 * malloc/mtrace.pl: Likewise.
17649 * debug/catchsegv.sh: Likewise.
17650
2ba92745
JJ
176512011-12-30 Jakub Jelinek <jakub@redhat.com>
17652
17653 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17654 pure attribute.
17655
dadebdae
UD
176562011-12-24 Ulrich Drepper <drepper@gmail.com>
17657
d3761ebc 17658 [BZ #13533]
db6af3eb
UD
17659 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17660 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17661 transformations.
17662 * iconv/gconv_int.h: Likewise.
17663 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17664 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17665 from libc for GLIBC_2.16.
17666 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17667 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17668 * wcsmbs/uchar.h: Really define mbstate_t.
17669 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17670 * wcsmbs/c16rtomb.c: New file.
17671 * wcsmbs/mbrtoc16.c: New file.
17672 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17673 for C/POSIX locale.
17674 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17675 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17676
dadebdae
UD
17677 * wcsmbs/wchar.h: Add missing __restrict.
17678
67371b56
UD
176792011-12-23 Ulrich Drepper <drepper@gmail.com>
17680
74033a25
UD
17681 [BZ #13532]
17682 * time/Makefile (routines): Add timespec_get.
17683 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17684 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17685 timespec for ISO C11.
17686 * time/timespec_get.c: New file.
17687 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17688 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17689
380d7e87
UD
17690 [BZ #13531]
17691 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17692 * stdlib/stdlib.h: Declare aligned_alloc.
17693 * Versions.def: Add GLIBC_2.16 for libc.
17694 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17695
4e9e7a35
UD
17696 [BZ 13527]
17697 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17698 ISO C11.
17699
380d7e87 17700 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17701 code.
17702
03a71829
UD
17703 [BZ #13528]
17704 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17705
839e283e
UD
17706 [BZ #13529]
17707 * assert/assert.h (static_assert): Define.
17708
ce5294e2 17709 * version.h: Update for 2.16 development version.
90fa7312 17710
8d44e150 17711 [BZ #13526]
d7809905
UD
17712 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17713 _ISOC11_SOURCE.
17714
c0da14cd
UD
17715 * version.h (RELEASE): Bump for 2.15 release.
17716 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17717
530a3249
MP
17718 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17719 Patch by Marek Polacek <mpolacek@redhat.com>.
17720
67371b56
UD
17721 * bits/byteswap.h: Protect long long constants with __extension__.
17722 * sysdeps/i386/bits/byteswap.h: Likewise.
17723 * sysdeps/ia64/bits/byteswap.h: Likewise.
17724 * sysdeps/s390/bits/byteswap.h: Likewise.
17725 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17726
15db4de1
LD
177272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17728
17729 [BZ #13540]
bbe315ea
LD
17730 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17731 destination buffer.
15db4de1
LD
17732 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17733
2b2596b1
MP
177342011-12-23 Marek Polacek <polacek@redhat.com>
17735
17736 * elf/dl-addr.c (determine_info): Add inline keyword.
17737 * elf/tst-auditmod4b.c (check_avx): Likewise.
17738 * elf/tst-auditmod6b.c (check_avx): Likewise.
17739 * elf/tst-auditmod6c.c (check_avx): Likewise.
17740 * elf/tst-auditmod7b.c (check_avx): Likewise.
17741
70c6c246
UD
177422011-12-23 Ulrich Drepper <drepper@gmail.com>
17743
17744 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17745 !__SSE_MATH__.
17746
c044cf14
LD
177472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17748
15db4de1 17749 [BZ #13540]
c044cf14
LD
17750 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17751 processing for last bytes.
17752
6b13d9d9
BH
177532011-08-06 Bruno Haible <bruno@clisp.org>
17754
d455f537
BH
17755 [BZ #13061]
17756 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17757 U+0385, not to U+1FEE.
17758
6b13d9d9
BH
17759 [BZ #13062]
17760 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17761 entry for U+00A5 U+0301.
17762
db910efd
UD
177632011-12-22 Ulrich Drepper <drepper@gmail.com>
17764
27deeafc
UD
17765 [BZ #13166]
17766 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17767 buffer for the output is too small.
17768
aed9d171
UD
17769 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17770 optimization.
17771
db910efd
UD
17772 [BZ #13185]
17773 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17774 SSE flags if possible.
17775
2bd779ae
LD
177762011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17777
e7f9dac3 17778 [BZ #13540]
2bd779ae
LD
17779 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17780 processing for last bytes.
17781
154bfc16
JM
177822011-12-22 Joseph Myers <joseph@codesourcery.com>
17783
17784 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17785 (syscall-list-default-options, syscall-list-default-condition)
17786 (syscall-list-includes): Define.
17787 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17788 list of ABIs and options and #if conditions for each ABI. Do not
17789 handle common syscalls between ABIs specially.
17790 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17791 Remove.
17792 (syscall-list-variants, syscall-list-32bit-options)
17793 (syscall-list-32bit-condition, syscall-list-64bit-options)
17794 (syscall-list-64bit-condition): Define.
17795 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17796 (syscall-list-variants, syscall-list-32bit-options)
17797 (syscall-list-32bit-condition, syscall-list-64bit-options)
17798 (syscall-list-64bit-condition): Define.
17799 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17800 Remove.
17801 (syscall-list-variants, syscall-list-32bit-options)
17802 (syscall-list-32bit-condition, syscall-list-64bit-options)
17803 (syscall-list-64bit-condition): Define.
17804 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17805 Remove.
17806 (syscall-list-variants, syscall-list-32bit-options)
17807 (syscall-list-32bit-condition, syscall-list-64bit-options)
17808 (syscall-list-64bit-condition): Define.
17809
21eaf3a5
UD
178102011-12-22 Ulrich Drepper <drepper@gmail.com>
17811
16c6f992
UD
17812 * locale/iso-639.def: Add brx entry.
17813
41043168
UD
17814 [BZ #13328]
17815 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17816 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17817
21eaf3a5
UD
17818 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17819 __feraiseexcept_renamed.
17820
e3a851a2
UD
178212011-12-21 Ulrich Drepper <drepper@gmail.com>
17822
4920765e
UD
17823 [BZ #13538]
17824 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17825 EPOLLET with unsigned values.
17826 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17827 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17828
e3a851a2
UD
17829 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17830 to large cancellation.
17831 * math/s_cacoshf.c: Likewise.
17832 * math/s_cacoshl.c: Likewise.
17833
b27e24b8
RK
178342011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17835
17836 [BZ #13305]
aebefeee 17837 [BZ #12786]
b27e24b8
RK
17838 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17839 * math/s_cacoshf.c: Likewise.
17840 * math/s_cacoshl.c: Likewise.
17841
ee190f67
UD
178422011-12-21 Ulrich Drepper <drepper@gmail.com>
17843
17844 [BZ #13439]
17845 * iconv/gconv.h: Define __GCONV_SWAP.
17846 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17847 * iconvdata/utf-16.c: Likewise.
17848 * iconvdata/utf-32.c: Likewise.
17849
707f25df
AS
178502011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17851
17852 [BZ #13524]
17853 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17854 numerator after shifting it by one limb.
17855
d2daaa1e
RÁE
178562011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17857
17858 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17859 under [__USE_EXTERN_INLINES].
17860
a4647e72
UD
178612011-12-17 Ulrich Drepper <drepper@gmail.com>
17862
17863 [BZ #13446]
17864 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17865
f0b264f1
AZ
178662011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17867
17868 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17869 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17870 optimized code.
17871 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17872 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17873 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17874 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17875 for strncasecmp/strncasecmp_l compilation.
17876 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17877 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17878
8ef4f244
MP
178792011-12-08 Marek Polacek <mpolacek@redhat.com>
17880
17881 [BZ #13484]
17882 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17883 of __asm__.
17884
97ac2654
UD
178852011-12-17 Ulrich Drepper <drepper@gmail.com>
17886
17887 [BZ #13506]
17888 * time/tzfile.c (__tzfile_read): Check values from file header.
17889
91d2a845
WS
178902011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17891
17892 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17893 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17894 * powerpc/powerpc32/dl-start.S: Likewise.
17895 * powerpc/powerpc32/elf/start.S: Likewise.
17896 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17897 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17898 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17899 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17900 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17901 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17902 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17903 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17904 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17905 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17906 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17907 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17908 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17909 * powerpc/powerpc32/memset.S: Likewise.
17910 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17911 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17912 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17913 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17914 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17915 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17916 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17917 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17918 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17919 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17920 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17921 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17922 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17923
a1267ba1
AZ
179242011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17925
17926 * math/libm-test.inc: Added more nearbyint tests.
17927 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17928 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17929 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17930 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17931
ad8ac1bd
RL
179322011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17933
17934 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17935 FD_CLOEXEC.
17936
1d3e4b61
UD
179372011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17938
17939 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17940 Add wcscpy-ssse3 wcscpy-c.
17941 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17942 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17943 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17944 * sysdeps/x86_64/wcschr.S: New file.
17945 * sysdeps/x86_64/wcsrchr.S: New file.
17946 * string/test-strcmp.c: Remove checking of wcscmp function for
17947 wrong alignments.
17948 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17949 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17950 wcsrchr-sse2 wcsrchr-c.
17951 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17952 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17953 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17954 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17955 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17956 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17957 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17958 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17959 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17960 * wcsmbc/wcschr.c (WCSCHR): New macro.
17961
5b330a2d
UD
179622011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17963
17964 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17965 * wcsmbs/test-wcsrchr.c: New file.
17966 * string/test-strrchr.c: Add wcsrchr support.
17967 (WIDE): New macro.
17968 * wcsmbs/test-wcscpy.c: New file.
17969 * string/test-strcpy.c: Add wcscpy support.
17970 (WIDE): New macro.
26428b7c 17971
f039c043
UD
179722011-12-10 Ulrich Drepper <drepper@gmail.com>
17973
17974 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17975 the inner loop.
17976
850fb039
AS
179772011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17978
17979 [BZ #13472]
17980 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17981
4efbd5cb
UD
179822011-12-04 Ulrich Drepper <drepper@gmail.com>
17983
52ff5dd0 17984 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17985 Minor optimizations.
52ff5dd0 17986
4efbd5cb
UD
17987 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17988 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17989 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17990
8a426e12
UD
179912011-12-03 Ulrich Drepper <drepper@gmail.com>
17992
aff2453d
UD
17993 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17994 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17995 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17996 for gcc to avoid warnings.
17997 * inet/Makefile (tests): Add tst-checks.
17998 * inet/tst-checks.c: New file.
17999
18000 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18001 warning.
18002
18003 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18004 __wmemcmp_sse2.
18005
18006 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18007 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18008
8a426e12
UD
18009 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18010
9bea3473
UD
180112011-12-02 Ulrich Drepper <drepper@gmail.com>
18012
3a965496
UD
18013 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18014 problem.
18015
9bea3473
UD
18016 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18017
f101631b
UD
180182011-11-29 Joseph Myers <joseph@codesourcery.com>
18019
18020 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18021 conditional on GCC version.
18022 (__arch_compare_and_exchange_val_8_acq)
18023 (__arch_compare_and_exchange_val_16_acq)
18024 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18025 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18026 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18027
a98275aa
UD
180282011-12-02 Joseph Myers <joseph@codesourcery.com>
18029
18030 * sysdeps/sh/backtrace.c: New file.
18031
d4cc29a2
AS
180322011-12-02 Andreas Schwab <schwab@redhat.com>
18033
18034 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18035 parenthesis.
18036
6257af2d
AS
180372011-12-01 Andreas Schwab <schwab@redhat.com>
18038
18039 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18040 falling back to utime.
18041
b5f44c1a
AS
180422011-11-30 Andreas Schwab <schwab@redhat.com>
18043
18044 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18045 expectations for float.
18046
f3a6cc0a
AS
180472011-11-29 Andreas Schwab <schwab@redhat.com>
18048
18049 * locale/weight.h (findidx): Add parameter len.
18050 * locale/weightwc.h (findidx): Likewise.
18051 * posix/fnmatch_loop.c (FCT): Adjust caller.
18052 * posix/regcomp.c (build_equiv_class): Likewise.
18053 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18054 * posix/regexec.c (check_node_accept_bytes): Likewise.
18055 * string/strcoll_l.c (STRCOLL): Likewise.
18056 * string/strxfrm_l.c (STRXFRM): Likewise.
18057
9d65ea3a
UD
180582011-11-17 Ulrich Drepper <drepper@gmail.com>
18059
18060 * Makefile.in: Remove CVSOPT handling.
18061 * configure.in: Remove use of AC_REVISION.
18062 * iconvdata/Makefile (distribute): No need to filter out CVS.
18063 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18064 handling.
18065
5583a086
AS
180662011-11-16 Andreas Schwab <schwab@redhat.com>
18067
18068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18069 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18070 [USE_AS_STRNCASECMP_L]: Likewise.
18071 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18072 NO_TLS_DIRECT_SEG_REFS.
18073 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18074 Fix argument offsets for non-PIC.
18075 [USE_AS_STRNCASECMP_L]: Likewise.
18076 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18077 NO_TLS_DIRECT_SEG_REFS.
18078
d62a8200
UD
180792011-11-15 Ulrich Drepper <drepper@gmail.com>
18080
9d65ea3a 18081 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18082 O_CLOEXEC.
18083 * locale/loadlocale.c (_nl_load_locale): Likewise.
18084
09f93bd3
AS
180852011-11-15 Andreas Schwab <schwab@redhat.com>
18086
446514f9
AS
18087 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18088 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18089 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18090 (SYSCALL_GETTIME): Set errno on error.
18091
09f93bd3
AS
18092 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18093 count references to noai6ai_cached.
18094
312be3f9
UD
180952011-11-15 Ulrich Drepper <drepper@gmail.com>
18096
18097 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18098
18099 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18100 FD_CLOEXEC for /proc/self/maps.
18101
18102 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18103 FD_CLOEXEC for /proc/meminfo.
18104
18105 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18106 gai.conf.
18107
18108 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18109 FD_CLOEXEC for given file.
18110
18111 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18112
18113 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18114 FD_CLOEXEC for /etc/hosts.
18115 (_gethtent): Likewise.
18116
18117 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18118
18119 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18120 cancellation and set FD_CLOEXEC for /etc/netgroup.
18121
18122 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18123 reading /etc/publickey.
18124
18125 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18126 allow cancellation when reading /etc/group.
18127
18128 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18129 cancellation.
18130 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18131
18132 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18133 when using data file.
18134
18135 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18136
18137 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18138 (write_nis_obj): Use "c" and "e" in fopen.
18139
18140 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18141
18142 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18143
18144 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18145
18146 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18147
18148 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18149 locale.alias.
18150
18151 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18152
18153 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18154
18155 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18156
18157 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18158 file parsing and set FD_CLOEXEC.
18159
82af0fa8
UD
181602011-11-14 Ulrich Drepper <drepper@gmail.com>
18161
18162 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18163
a5fb313c
AS
181642011-11-14 Andreas Schwab <schwab@redhat.com>
18165
18166 * malloc/arena.c (arena_get2): Don't call reused_arena when
18167 _int_new_arena failed.
18168
6abf3465
UD
181692011-11-14 Ulrich Drepper <drepper@gmail.com>
18170
18171 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18172 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18173 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18174 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18175 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18176 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18177 to compile strcasecmp and strncasecmp.
18178 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18179 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18180
18181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18182
76e3966e
UD
181832011-11-13 Ulrich Drepper <drepper@gmail.com>
18184
18185 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18186 locale-defines.sym to gen-as-const-headers.
18187 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18188 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18190 to compile strcasecmp and strncasecmp.
18191 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18192 strcasecmp_l and strncasecmp_l.
18193 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18194 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18195 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18196 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18197 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18198 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18199 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18200 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18201 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18202 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18203 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18204
ab26144e
UD
182052011-11-12 Ulrich Drepper <drepper@gmail.com>
18206
7edb22ef
UD
18207 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18208 result of SYSDEP_GETTIME_CPU to retval.
18209 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18210 parameter list to macro. Remove trailing semicolon. Adjust users.
18211
9694fc44
UD
18212 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18213 variable.
18214
8ad89ef8
UD
18215 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18216 mantissa words.
18217 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18218
0c822ef9
UD
18219 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18220 from unused variable.
18221
874e0564
UD
18222 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18223 DWARF definitions.
18224 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18225 for assembling.
18226
3a2edc79
UD
18227 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18228 over namespaces.
18229
f3c2577f
UD
18230 * sunrpc/rpc_prot.c (rejected): Fix case value.
18231
294ce126
UD
18232 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18233 unsigned long long int to avoid warnings in shift.
18234
5e2b63c6
UD
18235 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18236 of use of trans.
18237 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18238 variable tmp.
18239
e7f4b08e
UD
18240 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18241 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18242 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18243
ab26144e
UD
18244 * nis/nis_table.c (nis_list): Use variable of correct type for
18245 result of __follow_path call.
18246
8a6d5255
AZ
182472011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18248
18249 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18250 of math functions ceil, trunc, floor, round, and sqrt, when
18251 avaliable on the platform.
18252 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18253 name clash.
18254 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18255 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18256 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18257
aaddc98c
MP
182582011-10-30 Marek Polacek <mpolacek@redhat.com>
18259
18260 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18261 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18262
95b7042b
RM
182632011-11-11 Roland McGrath <roland@hack.frob.com>
18264
18265 * include/unistd.h: Fix __readlink return type.
18266 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18267
57769839
UD
182682011-11-11 Ulrich Drepper <drepper@gmail.com>
18269
18270 * stdlib/ucontext.h: Undo last change for makecontext.
18271
edc5984d
AS
182722011-11-11 Andreas Schwab <schwab@redhat.com>
18273
98591e58
AS
18274 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18275
edc5984d
AS
18276 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18277 * setjmp/setjmp.h: Mark functions as non-leaf.
18278 * setjmp/bits/setjmp2.h: Likewise.
18279 * stdlib/ucontext.h: Likewise.
18280
77cdc054
AS
182812011-11-10 Andreas Schwab <schwab@redhat.com>
18282
18283 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18284 (reused_arena): Don't check arena limit.
18285 (arena_get2): Atomically check arena limit.
18286
fe72eebd
UD
182872011-11-08 Ulrich Drepper <drepper@gmail.com>
18288
5f078c32
UD
18289 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18290 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18291
fe72eebd
UD
18292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18293 instructions.
18294
ae1bc2fa
AS
182952011-11-07 Andreas Schwab <schwab@redhat.com>
18296
7583a88d
AS
18297 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18298 handler when locking.
18299
ae1bc2fa
AS
18300 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18301 Fix size of allocated buffer.
18302
10fb0bfa
AS
183032011-11-04 Andreas Schwab <schwab@redhat.com>
18304
998832a4
AS
18305 [BZ #10103]
18306 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18307 declarations for long double functions.
18308 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18309
10fb0bfa
AS
18310 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18311
3d7ba52b
AS
183122011-11-03 Andreas Schwab <schwab@redhat.com>
18313
a9ae54a1
AS
18314 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18315 installed.
18316
3d7ba52b
AS
18317 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18318 is disabled.
18319
bc8db248
ST
183202011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18321
18322 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18323
45b96dd6
AS
183242011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18325
647776f6
AS
18326 * include/alloca.h (stackinfo_alloca_round): Define.
18327 (extend_alloca): Use it.
18328 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18329 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18330 here.
18331
d91a8b93
AS
18332 * scripts/check-local-headers.sh: Ignore libaudit.h.
18333
45b96dd6
AS
18334 * nscd/Makefile (extra-objs): Make recursively expanded.
18335
432d41ce
UD
183362011-11-01 Ulrich Drepper <drepper@gmail.com>
18337
34372fc6
UD
18338 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18339 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18340
fadb59f8
UD
18341 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18342 * posix/tst-rfc3484-2.c: Likewise.
18343 * posix/tst-rfc3484-3.c: Likewise.
18344
78239589
UD
18345 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18346 process_vm_writev.
18347 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18348 process_vm_writev.
18349 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18350 process_vm_writev from libc using GLIBC_2.15 version.
18351
432d41ce
UD
18352 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18353
02f9c6cf
PP
183542011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18355
18356 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18357 stack usage.
18358
3a2c0242
UD
183592011-10-31 Ulrich Drepper <drepper@gmail.com>
18360
f4ec4833
UD
18361 [BZ #13367]
18362 * nss/getent.c (initgroups_keys): Show error message in case no group
18363 names are given.
18364
3a2c0242
UD
18365 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18366 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18367 __bump_nl_timestamp.
18368 * nscd/connections (nscd_init): When host database is served open
18369 netlink socket and request notification about configuration changes.
18370 (main_loop_poll): Track netlink file descriptor and bump timestamp
18371 in case data becomes available.
18372 (main_loop_epoll): Likewise.
18373 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18374 (database_pers_head): Add extra_data fileds.
18375 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18376 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18377 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18378 Adjust caller.
18379 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18380 in6ai data, call __free_in6ai.
18381 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18382 Add -DHAVE_NETLINK.
18383 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18384 interface information. Reuse previous data if netlink timestamp
18385 is not changed.
18386 (__bump_nl_timestamp): New function.
18387 (__free_in6ai): New function.
18388
636064eb
UD
183892011-10-30 Ulrich Drepper <drepper@gmail.com>
18390
18391 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18392 close_not_cancel_no_status here.
18393 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18394
9beb2334
UD
183952011-10-29 Ulrich Drepper <drepper@gmail.com>
18396
6ef76f3b
UD
18397 [BZ #13276]
18398 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18399 return value.
18400
0ffc4f3e 18401 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18402 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18403 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18404
cb95113e
UD
184052011-07-03 Andreas Jaeger <aj@suse.de>
18406
18407 [BZ #10709]
18408 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18409 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18410 * math/libm-test.inc (sin_test): Add test case.
18411
a1b560ff
UD
184122011-10-29 Ulrich Drepper <drepper@gmail.com>
18413
c9aaface
UD
18414 [BZ #13337]
18415 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18416 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18417
d272e7f1
UD
18418 * elf/chroot_canon.c (chroot_canon): Cleanups.
18419
1bc33071
UD
18420 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18421
1760874d
TJ
18422 [BZ #13335]
18423 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18424 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18425
51d91b18
UD
18426 * string/test-strchr.c: Make usable for strchrnul testing.
18427 * string/test-strchrnul.c: New file.
18428 * string/Makefile (strop-tests): Add strchrnul.
18429
a1b560ff 18430 * po/it.po: Update from translation team.
b611fb81 18431 * po/es.po: Likewise.
a1b560ff 18432
a5b81e1f
UD
184332011-10-28 Ulrich Drepper <drepper@gmail.com>
18434
fd52bc6d
UD
18435 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18436 the three constants needed as parameters. Drop the others.
18437 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18438 __m128i_strloadu_tolower.
52e4b9eb
UD
18439 Create and initialize variable zero and use it in all the places
18440 where _mm_setzero_si128 was used.
fd52bc6d 18441
a5b81e1f
UD
18442 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18443 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18444 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18445 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18446 anymore.
18447 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18448 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18449 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18450 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18451 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18452 __mpranred, __mptan.
18453 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18454 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18455 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18456 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18457 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18458 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18459 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18460 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18461 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18462
b4343346
AS
184632011-10-28 Andreas Schwab <schwab@redhat.com>
18464
0c92d8a8
AS
18465 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18466 redefine if SHARED.
18467 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18468
b4343346
AS
18469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18470 wide char related routines to wcsmbs subdir.
18471
3871f58f
AS
184722011-10-27 Andreas Schwab <schwab@redhat.com>
18473
18474 [BZ #13344]
18475 * misc/sys/cdefs.h (__THROWNL): Define.
18476 * posix/unistd.h: Use __THREADNL instead of __THREAD
18477 for memory synchronization functions.
18478
94d44d9f
RM
184792011-10-26 Roland McGrath <roland@hack.frob.com>
18480
21b64b15 18481 [BZ #13349]
94d44d9f
RM
18482 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18483 doesn't exist.
18484 * manual/stdio.texi (Obstack Streams): Node removed.
18485
f6ce9294
AS
184862011-10-26 Andreas Schwab <schwab@redhat.com>
18487
80479147
AS
18488 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18489 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18490 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18491
f6ce9294
AS
18492 * math/math_private.h (math_force_eval): Allow non-addressable
18493 arguments.
18494 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18495
618280a1
UD
184962011-10-25 Ulrich Drepper <drepper@gmail.com>
18497
e0016b11
UD
18498 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18499 file is not needed.
18500
18501 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18502 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18503 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18504 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18505 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18506 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18507 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18508 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18509 Add AVX variants.
18510 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18511 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18512 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18513 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18514 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18515 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18516 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18517 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18518 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18519 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18520 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18521 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18522 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18523 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18524 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18525 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18526 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18527 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18528 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18529
18530 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18531 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18532
618280a1
UD
18533 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18534 place. Use VEX encoding when compiling for AVX.
18535
37822576
AS
185362011-10-25 Andreas Schwab <schwab@redhat.com>
18537
1f1e1947
AS
18538 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18539 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18540
37822576
AS
18541 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18542
31ea014d
UD
185432011-10-25 Ulrich Drepper <drepper@gmail.com>
18544
d7826aa1 18545 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18546 useless if() expression.
d7826aa1
UD
18547 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18548 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18549 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18550 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18551 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18552 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18553 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18554 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18555 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18557 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18558 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18559 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18560 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18561 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18562 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18563 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18564 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18565 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18566
31ea014d
UD
18567 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18568
16437fec
AS
185692011-10-25 Andreas Schwab <schwab@redhat.com>
18570
18571 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18572 condition.
18573 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18574
31d3cc00
UD
185752011-10-25 Ulrich Drepper <drepper@gmail.com>
18576
18577 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18578 .text section. Avoid duplicate constants.
18579 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18581 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18583 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18586 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18587 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18588 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18589 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18590 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18591 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18592 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18593 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18594 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18595 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18596 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18597 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18598 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18599 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18600 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18601 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18602 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18603 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18604 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18605 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18606 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18607 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18608 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18609 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18610 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18611 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18612 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18613 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18614 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18615 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18616 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18617 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18618 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18619 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18620 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18621 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18622 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18623 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18624
58985aa9
UD
186252011-10-24 Ulrich Drepper <drepper@gmail.com>
18626
202c9deb
UD
18627 * sysdeps/x86_64/dla.h: Move to ...
18628 * sysdeps/x86_64/fpu/dla.h: ...here.
18629 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18630 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18631
af968f62
UD
18632 * config.make.in: Add have-mfma4 entry.
18633 * configure.in: Substitute libc_cv_cc_fma4.
18634 * math/Makefile (dbl-only-routines): Add sincostab.
18635 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18636 Use __sincostab not sincos.
18637 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18638 name is a macro.
18639 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18642 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18643 using __copysign.
18644 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18645 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18646 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18647 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18648 and __inv.
18649 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18650 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18651 __copysign.
18652 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18653 define aliases when function name is a macro.
18654 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18655 sysdeps/ieee754/dbl-64/sincos.tbl.
18656 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18657 fma4-enabled routines.
18658 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18659 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18660 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18661 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18662 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18663 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18664 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18665 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18666 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18667 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18668 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18669 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18670 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18671 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18672 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18673 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18674 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18675 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18676 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18677 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18678 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18679 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18680 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18681 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18682 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18683 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18684 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18685 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18686 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18687 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18688
58985aa9
UD
18689 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18690 rename.
18691 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18697 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18698 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18699
a201fbcf
AS
187002011-10-24 Andreas Schwab <schwab@redhat.com>
18701
18702 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18703
fc2ee42a
LD
187042011-10-23 Ulrich Drepper <drepper@gmail.com>
18705
bb3129bd
UD
18706 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18707
0275fff8
UD
18708 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18709 prediction.
18710 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18711
2fa2ae85
UD
18712 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18713 Remove unused variable magic_bits.
18714 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18715
fc2ee42a
LD
18716 * string/strnlen.c: Define and use STRNLEN macro.
18717 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18718 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18719 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18720 * wcsmbs/wcslen.c: Define and use WCSLEN.
18721 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18722 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18723 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18724 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18725 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18726 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18727 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18728
ce7dd29f
LD
187292011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18730
18731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18732 strnlen-sse2-no-bsf.
18733 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18734 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18735 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18736 Add strnlen support.
18737 (USE_AS_STRNLEN): New macro.
18738 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18739 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18740 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18741 * sysdeps/x86_64/wcslen.S: New file.
18742
979c70a3
MZ
187432011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18744
18745 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18746 XMM-moves are used for copying on small sizes.
18747
2d09f82f
LD
187482011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18749
18750 * wcsmbs/Makefile (strop-tests): Add wcschr.
18751 * wcsmbs/test-wcschr.c: New file.
18752 * string/test-strchr.c: Update.
18753 Add wcschr support.
18754 (WIDE): New macro.
18755
619fccca
LD
187562011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18757
2d09f82f 18758 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18759 * wcsmbs/test-wcslen.c: New file.
18760 * string/test-strlen.c: Update.
18761 Add wcslen support.
18762 (WIDE): New macro.
18763
09f699ea
UD
187642011-10-23 Ulrich Drepper <drepper@gmail.com>
18765
18766 * po/it.po: Update from translation team.
18767
95584d3b
LD
187682011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18769
18770 * sysdeps/x86_64/wcscmp.S: Update.
18771 Fix wrong comparison semantics.
18772 wcscmp shall use signed comparison not unsigned.
18773 Don't use substraction to avoid overflow bug.
18774 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18775 * wcsmbc/wcscmp.c: Likewise.
18776 * string/test-strcmp.c: Likewise.
18777 Add new tests to check cases with negative values.
18778
c8b3296b
UD
187792011-10-23 Ulrich Drepper <drepper@gmail.com>
18780
18781 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18782 * sysdeps/x86_64/dla.h: ...here. New file.
18783 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18785 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18791 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18792
246ad57a
AS
187932011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18794
18795 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18796 __ynl_finite aliases.
18797
a1a87169
UD
187982011-10-22 Ulrich Drepper <drepper@gmail.com>
18799
0d355eb7
UD
18800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18801
a1a87169
UD
18802 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18803 define DLA_FMA.
18804 [DLA_FMA] (EMULV): Use DLA_FMA.
18805 [DLA_FMA] (MUL12): Use EMULV.
18806 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18807 that are not needed.
18808 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18810 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18813 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18814 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18815
ee2aafe0
AS
188162011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18817
18818 * math/s_nan.c: Undef __nan.
18819 * math/s_nanf.c: Undef __nanf.
18820 * math/s_nanl.c: Undef __nanl.
18821 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18822 "math_private.h".
18823
bc62c2fb
UD
188242011-10-22 Ulrich Drepper <drepper@gmail.com>
18825
77425c63
UD
18826 * math/s_catan.c: Add branch predictions.
18827 * math/s_catanf.c: Likewise.
18828 * math/s_catanh.c: Likewise.
18829 * math/s_catanhf.c: Likewise.
18830 * math/s_catanhl.c: Likewise.
18831 * math/s_catanl.c: Likewise.
18832 * math/s_cexp.c: Likewise.
18833 * math/s_cexpf.c: Likewise.
18834 * math/s_cexpl.c: Likewise.
18835 * math/s_clog.c: Likewise.
18836 * math/s_clog10.c: Likewise.
18837 * math/s_clog10f.c: Likewise.
18838 * math/s_clog10l.c: Likewise.
18839 * math/s_clogf.c: Likewise.
18840 * math/s_clogl.c: Likewise.
18841 * math/s_csqrt.c: Likewise.
18842 * math/s_csqrtf.c: Likewise.
18843 * math/s_csqrtl.c: Likewise.
18844 * math/s_ctanf.c: Likewise.
18845 * math/s_ctanh.c: Likewise.
18846 * math/s_ctanhf.c: Likewise.
18847 * math/s_ctanhl.c: Likewise.
18848 * math/s_ctanl.c: Likewise.
18849
bc62c2fb
UD
18850 * math/math_private.h: Define __nan, __nanf, __nanl.
18851 * math/s_cacosh.c: Include <math_private.h>.
18852 * math/s_cacoshl.c: Likewise.
18853 * math/s_casinh.c: Likewise.
18854 * math/s_casinhf.c: Likewise.
18855 * math/s_casinhl.c: Likewise.
18856 * math/s_ccos.c: Rely entire on ccosh.
18857 * math/s_ccosf.c: Rely entire on ccoshf.
18858 * math/s_ccosl.c: Rely entirely on ccoshl.
18859 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18860 Remove tests for FE_INVALID.
18861 * math/s_ccoshf.c: Likewise.
18862 * math/s_ccoshl.c: Likewise.
18863 * math/s_csin.c: Likewise.
18864 * math/s_csinf.c: Likewise.
18865 * math/s_csinh.c Likewise.
18866 * math/s_csinhf.c: Likewise.
18867 * math/s_csinhl.c: Likewise.
18868 * math/s_csinl.c: Likewise.
18869 * math/s_ctan.c: Likewise.
18870 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18871 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18872 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18873
8ec250a4
UD
188742011-10-21 Ulrich Drepper <drepper@gmail.com>
18875
c196fed8
UD
18876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18877 compilation problems.
18878
8ec250a4
UD
18879 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18880 __builtin_expect.
18881
8d4f46c6
UD
188822011-10-20 Ulrich Drepper <drepper@gmail.com>
18883
ed72b654
UD
18884 * sysdeps/i386/configure.in: Test for -mfma4 option.
18885 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18886 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18887 COMMON_CPUID_INDEX_80000001.
18888 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18889 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18890 use it if FMA3 is not supported.
18891 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18892
8d4f46c6
UD
18893 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18894 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18895
d45c60c2
AS
188962011-10-20 Andreas Schwab <schwab@redhat.com>
18897
18898 [BZ #12892]
18899 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18900 it would create a cycle with a link time dependency.
18901
d9a4d2ab
UD
189022011-10-19 Ulrich Drepper <drepper@gmail.com>
18903
855d1560
UD
18904 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18905 instruction.
18906 * string/Makefile (strop-tests): Add rawmemchr.
18907 * string/test-rawmemchr.c: New file.
18908
d9a4d2ab
UD
18909 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18910 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18911 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18912 when compiling str{,n}casecmp and when AVX is available. Hook up
18913 new optimized code in initializers.
18914
8f3b1ffe
AS
189152011-10-19 Andreas Schwab <schwab@redhat.com>
18916
18917 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18918 __feraiseexcept instead of feraiseexcept.
18919
d38f1dba
UD
189202011-10-18 Ulrich Drepper <drepper@gmail.com>
18921
d9a8d0ab
UD
18922 * math/math_private.h: Define defaults for libc_fetestexcept and
18923 libc_feupdateenv.
18924 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18925 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18926 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18927 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18928 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18929 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18930 libc_fetestexcept and libc_feupdateenv.
18931
4855e3dd
UD
18932 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18933 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18934 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18935 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18936 libc_feholdexcept_setround.
18937
581d30e3
UD
18938 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18939 Add s_nearbyint-c and s_nearbyintf-c.
18940 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18941 nearbyintf inlines.
18942 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18943 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18944 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18945 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18946
d38f1dba
UD
18947 * math/math_private.h: Define defaults for libc_fegetround,
18948 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18949 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18950 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18951 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18952 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18953 standard functions.
18954 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18955 Remove comments and hacks for old compiler versions.
18956 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18957 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18958 libc_feholdexceptl.
18959
caa6c9d8
AS
189602011-10-18 Andreas Schwab <schwab@redhat.com>
18961
18962 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18963 (__feraiseexcept_renamed): Add __NTH.
18964 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18965 namespace violations.
18966
97c066e6
UD
189672011-10-17 Ulrich Drepper <drepper@gmail.com>
18968
99ce7b04
UD
18969 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18970
1004d182
UD
18971 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18972
228a984d
UD
18973 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18974 recently added interfaces.
18975 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18976
c8553a6a
UD
18977 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18978 about macro parameter expansion.
18979
ed22dcf6
UD
18980 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18981 __NO_MATH_INLINES is defined. Cleanups.
18982
18983 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18984 and __floorf is target has SSE4.1.
18985 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18986 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18987 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18988 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18989
b171c137
UD
18990 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18991 name.
18992 (floorf): Likewise.
18993
97c066e6
UD
18994 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18995
629f62ef
AS
189962011-10-17 Andreas Schwab <schwab@redhat.com>
18997
49a43d80
AS
18998 * misc/sys/cdefs.h: Fix last change.
18999
629f62ef
AS
19000 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19001 database lookup.
19002
e453f6cd
UD
190032011-10-16 Ulrich Drepper <drepper@gmail.com>
19004
aa78043a
UD
19005 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19006
ad0f5cad
UD
19007 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19008 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19009 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19010 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19011 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19012 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19013 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19014 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19015 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19016 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19017 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19018 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19019 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19020 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19021 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19022 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19023 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19024 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19025 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19026 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19027 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19028 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19029
19030 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19031 ceil, ceilf, floor, floorf.
19032
19033 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19034 Perform IRELATIVE relocations last.
19035
e453f6cd
UD
19036 * elf/do-rel.h: Add another parameter nrelative, replacing the
19037 local variable with the same name. Change name of the function
19038 to end in Rel or Rela (uppercase).
19039 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19040 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19041 elf_dynamic_do_##reloc function.
19042
fd5bdc09
UD
190432011-10-15 Ulrich Drepper <drepper@gmail.com>
19044
79b195b5
UD
19045 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19046 is sufficient, at least on modern CPUs.
19047
d4a28569
UD
19048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19049
b61099b5
UD
19050 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19051 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19052
bcf01e6d
UD
19053 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19054 __expl_finite.
19055 * math/bits/math-finite.h: Add entries for exp.
19056 * math/e_expl.c: Add __*_finite alias.
19057 * sysdeps/i386/fpu/e_exp.S: Likewise.
19058 * sysdeps/i386/fpu/e_expf.S: Likewise.
19059 * sysdeps/i386/fpu/e_expl.c: Likewise.
19060 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19061 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19062 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19064 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19065 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19066 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19067
ba1a0d59
UD
19068 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19069 is sufficient, at least on modern CPUs.
19070
fd5bdc09
UD
19071 * ctype/ctype-info.c (__ctype_init): Define.
19072 * include/ctype.h (__ctype_init): Declare.
19073 (__ctype_b_loc): The variable is always initialized.
19074 (__ctype_toupper_loc): Likewise.
19075 (__ctype_tolower_loc): Likewise.
19076 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19077 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19078
7872cfb0
AS
190792011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19080
b468825a
AS
19081 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19082
7872cfb0
AS
19083 * configure.in: Also look in $cxxmachine/include for C++ system
19084 headers.
19085
be13f7bf
LD
190862011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19087
19088 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19089 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19090 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19091 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19092 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19093 (USE_AS_WMEMCMP): New macro.
19094 Fixing indents.
19095 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19096 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19097 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19098 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19100 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19101 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19102 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19103 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19104 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19105 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19106 (USE_AS_WMEMCMP): New macro.
19107 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19108 * sysdeps/string/test-memcmp.c: Update.
19109 Fix simple_wmemcmp.
19110 Add new tests.
19111 * wcsmbs/wmemcmp.c: Update.
19112 (WMEMCMP): New macro.
19113 Fix overflow bug.
19114
556a2007
AJ
191152011-10-12 Andreas Jaeger <aj@suse.de>
19116
19117 [BZ #13268]
19118 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19119
538faaa7
UD
191202011-10-15 Ulrich Drepper <drepper@gmail.com>
19121
ab6737ff
UD
19122 * libio/iofwide.c (do_length): Avoid warning.
19123
538faaa7
UD
19124 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19125
396a21b1
UD
191262011-10-14 Ulrich Drepper <drepper@gmail.com>
19127
cdf2901f
UD
19128 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19129
38ad40ce
UD
19130 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19131 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19132 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19133 * sysdeps/i386/i686/fpu/e_log.S: New file.
19134 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19135 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19136
396a21b1
UD
19137 * ctype/ctype.h: Add support for inlined isXXX functions when
19138 compiling C++ code.
19139
6b1f68c9
AS
191402011-10-14 Andreas Schwab <schwab@redhat.com>
19141
349290c0
AS
19142 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19143
6b1f68c9
AS
19144 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19145
f2282d42
RM
191462011-10-13 Roland McGrath <roland@hack.frob.com>
19147
19148 [BZ #13291]
19149 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19150
5298ffa8
AS
191512011-10-13 Andreas Schwab <schwab@redhat.com>
19152
714fad23
AS
19153 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19154 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19155 feraiseexcept.
19156
81dcc7fb
AS
19157 * sysdeps/x86_64/memrchr.S: Check for zero size.
19158
5298ffa8
AS
19159 * string/stratcliff.c: Add memrchr tests.
19160
951fbcec
LD
191612011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19162
19163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19164 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19165 rawmemchr-sse2 rawmemchr-sse2-bsf.
19166 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19167 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19168 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19169 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19170 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19171 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19172 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19173 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19174 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19175 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19176 * string/memrchr.c (MEMRCHR): New macro.
19177
0ac5ae23
UD
191782011-10-12 Ulrich Drepper <drepper@gmail.com>
19179
19180 Add integration with gcc's -ffinite-math-only and optimize wrapper
19181 functions in libm.
19182 * Versions.def: Define GLIBC_2.15 version for libm.
19183 * math/Makefile (headers): Add bits/math-finite.h.
19184 * math/bits/math-finite.h: New file.
19185 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19186 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19187 * math/e_acoshl.c: Add __*_finite alias.
19188 * math/e_acosl.c: Likewise.
19189 * math/e_asinl.c: Likewise.
19190 * math/e_atan2l.c: Likewise.
19191 * math/e_atanhl.c: Likewise.
19192 * math/e_coshl.c: Likewise.
19193 * math/e_exp10.c: Likewise.
19194 * math/e_exp10f.c: Likewise.
19195 * math/e_exp10l.c: Likewise.
19196 * math/e_exp2l.c: Likewise.
19197 * math/e_fmodl.c: Likewise.
19198 * math/e_gammal_r.c: Likewise.
19199 * math/e_hypotl.c: Likewise.
19200 * math/e_j0l.c: Likewise.
19201 * math/e_j1l.c: Likewise.
19202 * math/e_jnl.c: Likewise.
19203 * math/e_lgammal_r.c: Likewise.
19204 * math/e_log10l.c: Likewise.
19205 * math/e_log2l.c: Likewise.
19206 * math/e_logl.c: Likewise.
19207 * math/e_powl.c: Likewise.
19208 * math/e_sinhl.c: Likewise.
19209 * math/e_sqrtl.c: Likewise.
19210 * math/e_scalb.c: Completely rewritten and optimized.
19211 * math/e_scalbf.c: Likewise.
19212 * math/e_scalbl.c: Likewise.
19213 * math/w_acos.c: Likewise.
19214 * math/w_acosf.c: Likewise.
19215 * math/w_acosl.c: Likewise.
19216 * math/w_acosh.c: Likewise.
19217 * math/w_acoshf.c: Likewise.
19218 * math/w_acoshl.c: Likewise.
19219 * math/w_asin.c: Likewise.
19220 * math/w_asinf.c: Likewise.
19221 * math/w_asinl.c: Likewise.
19222 * math/w_atan2.c: Likewise.
19223 * math/w_atan2f.c: Likewise.
19224 * math/w_atan2l.c: Likewise.
19225 * math/w_atanh.c: Likewise.
19226 * math/w_atanhf.c: Likewise.
19227 * math/w_atanhl.c: Likewise.
19228 * math/w_exp10.c: Likewise.
19229 * math/w_exp10f.c: Likewise.
19230 * math/w_exp10l.c: Likewise.
19231 * math/w_fmod.c: Likewise.
19232 * math/w_fmodf.c: Likewise.
19233 * math/w_fmodl.c: Likewise.
19234 * math/w_j0.c: Likewise.
19235 * math/w_j0f.c: Likewise.
19236 * math/w_j0l.c: Likewise.
19237 * math/w_j1.c: Likewise.
19238 * math/w_j1f.c: Likewise.
19239 * math/w_j1l.c: Likewise.
19240 * math/w_jn.c: Likewise.
19241 * math/w_jnf.c: Likewise.
19242 * math/w_log.c: Likewise.
19243 * math/w_logf.c: Likewise.
19244 * math/w_logl.c: Likewise.
19245 * math/w_log10.c: Likewise.
19246 * math/w_log10f.c: Likewise.
19247 * math/w_log10l.c: Likewise.
19248 * math/w_log2.c: Likewise.
19249 * math/w_log2f.c: Likewise.
19250 * math/w_log2l.c: Likewise.
19251 * math/w_pow.c: Likewise.
19252 * math/w_powf.c: Likewise.
19253 * math/w_powl.c: Likewise.
19254 * math/w_remainder.c: Likewise.
19255 * math/w_remainderf.c: Likewise.
19256 * math/w_remainderl.c: Likewise.
19257 * math/w_scalb.c: Likewise.
19258 * math/w_scalbf.c: Likewise.
19259 * math/w_scalbl.c: Likewise.
19260 * math/w_sqrt.c: Likewise.
19261 * math/w_sqrtf.c: Likewise.
19262 * math/w_sqrtl.c: Likewise.
19263 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19264 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19265 used.
19266 * math/math_private.h: Declare __kernel_standard_f.
19267 * math/w_cosh.c: Remove cruft and optimize a bit.
19268 * math/w_coshf.c: Likewise.
19269 * math/w_coshl.c: Likewise.
19270 * math/w_exp2.c: Likewise.
19271 * math/w_exp2f.c: Likewise.
19272 * math/w_exp2l.c: Likewise.
19273 * math/w_hypot.c: Likewise.
19274 * math/w_hypotf.c: Likewise.
19275 * math/w_hypotl.c: Likewise.
19276 * math/w_lgamma.c: Likewise.
19277 * math/w_lgamma_r.c: Likewise.
19278 * math/w_lgammaf.c: Likewise.
19279 * math/w_lgammaf_r.c: Likewise.
19280 * math/w_lgammal.c: Likewise.
19281 * math/w_lgammal_r.c: Likewise.
19282 * math/w_sinh.c: Likewise.
19283 * math/w_sinhf.c: Likewise.
19284 * math/w_sinhl.c: Likewise.
19285 * math/w_tgamma.c: Likewise.
19286 * math/w_tgammaf.c: Likewise.
19287 * math/w_tgammal.c: Likewise.
19288 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19289 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19290 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19291 Minor optimizations. Pretty printing. Remove cruft.
19292 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19293 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19294 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19295 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19296 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19297 * sysdeps/i386/fpu/e_asin.S: Likewise.
19298 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19299 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19300 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19301 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19302 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19303 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19304 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19305 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19306 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19307 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19308 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19309 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19310 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19311 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19312 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19313 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19314 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19315 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19316 * sysdeps/i386/fpu/e_log.S: Likewise.
19317 * sysdeps/i386/fpu/e_log10.S: Likewise.
19318 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19319 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19320 * sysdeps/i386/fpu/e_log2.S: Likewise.
19321 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19322 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19323 * sysdeps/i386/fpu/e_logf.S: Likewise.
19324 * sysdeps/i386/fpu/e_logl.S: Likewise.
19325 * sysdeps/i386/fpu/e_pow.S: Likewise.
19326 * sysdeps/i386/fpu/e_powf.S: Likewise.
19327 * sysdeps/i386/fpu/e_powl.S: Likewise.
19328 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19329 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19330 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19331 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19332 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19333 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19334 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19335 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19336 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19337 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19338 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19339 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19340 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19341 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19342 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19343 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19344 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19345 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19346 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19347 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19348 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19350 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19351 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19353 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19354 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19355 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19356 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19357 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19358 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19359 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19360 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19361 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19362 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19363 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19364 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19365 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19366 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19367 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19368 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19369 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19370 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19371 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19372 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19373 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19374 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19375 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19376 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19377 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19378 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19379 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19380 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19381 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19382 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19383 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19384 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19385 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19386 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19387 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19388 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19389 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19390 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19391 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19392 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19393 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19394 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19395 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19396 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19397 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19398 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19399 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19400 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19401 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19402 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19403 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19404 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19405 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19406 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19407 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19408 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19409 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19410 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19411 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19412 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19413 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19414 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19415 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19416 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19417 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19418 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19419 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19420 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19421 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19422 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19423 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19424 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19425 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19426 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19427 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19428 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19429 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19430 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19431 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19432 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19433 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19434 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19435 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19436 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19437 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19438 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19439 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19440 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19441 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19442 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19443 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19444 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19445 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19446 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19447 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19448 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19449 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19450 (__isnanf): Likewise.
19451 (__isinf_ns): Likewise.
19452 (__isinf_nsf): Likewise.
19453 (__finite): Likewise.
19454 (__finitef): Likewise.
19455 (__ieee754_sqrt): Define as macro.
19456 (__ieee754_sqrtf): Define as macro.
19457 (__ieee754_sqrtl): Define as macro.
19458 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19459 inlined copy.
19460 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19461 __FINITE_MATH_ONLY__ consistent.
19462 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19463
12cc2fcd
AS
194642011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19465
a843a204
AS
19466 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19467 of rawmemchr.
19468
12cc2fcd
AS
19469 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19470
c853acd5
UD
194712011-10-09 Ulrich Drepper <drepper@gmail.com>
19472
19473 * po/ja.po: Update from translation team.
19474
c658d255
RM
194752011-10-08 Roland McGrath <roland@hack.frob.com>
19476
110946e4
RM
19477 * locale/programs/locarchive.c (prepare_address_space): New function.
19478 (create_archive, enlarge_archive, open_archive): Use it.
19479
50604220
RM
19480 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19481 inside [SHARED], where it is used.
19482
c658d255
RM
19483 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19484
19485 * nss/getent.c (netgroup_keys): Remove unused variable.
19486 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19487
6a621eb7
UD
194882011-10-08 Ulrich Drepper <drepper@gmail.com>
19489
7edb55ce
UD
19490 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19491 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19493 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19494 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19495 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19496 * math/Makefile (libm-calls): Add s_isinf_ns.
19497 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19498 * math/multc3.c: Likewise.
19499 * math/s_casin.c: Likewise.
19500 * math/s_casinf.c: Likewise.
19501 * math/s_casinl.c: Likewise.
19502 * math/s_ccos.c: Likewise.
19503 * math/s_ccosf.c: Likewise.
19504 * math/s_ccosl.c: Likewise.
19505 * math/s_ctan.c: Likewise.
19506 * math/s_ctanf.c: Likewise.
19507 * math/s_ctanh.c: Likewise.
19508 * math/s_ctanhf.c: Likewise.
19509 * math/s_ctanhl.c: Likewise.
19510 * math/s_ctanl.c: Likewise.
19511 * math/w_fmod.c: Likewise.
19512 * math/w_fmodf.c: Likewise.
19513 * math/w_fmodl.c: Likewise.
19514 * math/w_remainder.c: Likewise.
19515 * math/w_remainderf.c: Likewise.
19516 * math/w_remainderl.c: Likewise.
19517 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19518 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19519 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19520 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19521 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19522 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19523 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19524 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19525
187da0ae
UD
19526 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19527 of the number.
19528 * stdio-common/printf_fphex.c: Likewise.
19529 * stdio-common/printf_size.c: Likewise.
19530
9277c064
UD
19531 * math/e_exp10.c: Include math_private.h using <...> not "...".
19532 * math/e_exp10f.c: Likewise.
19533 * math/e_exp10l.c: Likewise.
19534 * math/e_exp2l.c: Likewise.
19535 * math/e_j0l.c: Likewise.
19536 * math/e_j1l.c: Likewise.
19537 * math/e_jnl.c: Likewise.
19538 * math/e_lgammal_r.c: Likewise.
19539 * math/e_rem_pio2l.c: Likewise.
19540 * math/e_scalb.c: Likewise.
19541 * math/e_scalbf.c: Likewise.
19542 * math/e_scalbl.c: Likewise.
19543 * math/k_cosl.c: Likewise.
19544 * math/k_sinl.c: Likewise.
19545 * math/k_tanl.c: Likewise.
19546 * math/s_cacoshf.c: Likewise.
19547 * math/s_catan.c: Likewise.
19548 * math/s_catanf.c: Likewise.
19549 * math/s_catanh.c: Likewise.
19550 * math/s_catanhf.c: Likewise.
19551 * math/s_catanhl.c: Likewise.
19552 * math/s_catanl.c: Likewise.
19553 * math/s_ccosh.c: Likewise.
19554 * math/s_ccoshf.c: Likewise.
19555 * math/s_ccoshl.c: Likewise.
19556 * math/s_cexp.c: Likewise.
19557 * math/s_cexpf.c: Likewise.
19558 * math/s_cexpl.c: Likewise.
19559 * math/s_clog.c: Likewise.
19560 * math/s_clog10.c: Likewise.
19561 * math/s_clog10f.c: Likewise.
19562 * math/s_clog10l.c: Likewise.
19563 * math/s_clogf.c: Likewise.
19564 * math/s_clogl.c: Likewise.
19565 * math/s_csin.c: Likewise.
19566 * math/s_csinf.c: Likewise.
19567 * math/s_csinh.c: Likewise.
19568 * math/s_csinhf.c: Likewise.
19569 * math/s_csinhl.c: Likewise.
19570 * math/s_csinl.c: Likewise.
19571 * math/s_csqrt.c: Likewise.
19572 * math/s_csqrtf.c: Likewise.
19573 * math/s_csqrtl.c: Likewise.
19574 * math/s_ctan.c: Likewise.
19575 * math/s_ctanf.c: Likewise.
19576 * math/s_ctanh.c: Likewise.
19577 * math/s_ctanhf.c: Likewise.
19578 * math/s_ctanhl.c: Likewise.
19579 * math/s_ctanl.c: Likewise.
19580 * math/s_ldexp.c: Likewise.
19581 * math/s_ldexpf.c: Likewise.
19582 * math/s_ldexpl.c: Likewise.
19583 * math/s_significand.c: Likewise.
19584 * math/s_significandf.c: Likewise.
19585 * math/s_significandl.c: Likewise.
19586 * math/w_acos.c: Likewise.
19587 * math/w_acosf.c: Likewise.
19588 * math/w_acosh.c: Likewise.
19589 * math/w_acoshf.c: Likewise.
19590 * math/w_acoshl.c: Likewise.
19591 * math/w_acosl.c: Likewise.
19592 * math/w_asin.c: Likewise.
19593 * math/w_asinf.c: Likewise.
19594 * math/w_asinl.c: Likewise.
19595 * math/w_atan2.c: Likewise.
19596 * math/w_atan2f.c: Likewise.
19597 * math/w_atan2l.c: Likewise.
19598 * math/w_atanh.c: Likewise.
19599 * math/w_atanhf.c: Likewise.
19600 * math/w_atanhl.c: Likewise.
19601 * math/w_cosh.c: Likewise.
19602 * math/w_coshf.c: Likewise.
19603 * math/w_coshl.c: Likewise.
19604 * math/w_dremf.c: Likewise.
19605 * math/w_exp10.c: Likewise.
19606 * math/w_exp10f.c: Likewise.
19607 * math/w_exp10l.c: Likewise.
19608 * math/w_exp2.c: Likewise.
19609 * math/w_exp2f.c: Likewise.
19610 * math/w_fmod.c: Likewise.
19611 * math/w_fmodf.c: Likewise.
19612 * math/w_fmodl.c: Likewise.
19613 * math/w_hypot.c: Likewise.
19614 * math/w_hypotf.c: Likewise.
19615 * math/w_hypotl.c: Likewise.
19616 * math/w_j0.c: Likewise.
19617 * math/w_j0f.c: Likewise.
19618 * math/w_j0l.c: Likewise.
19619 * math/w_j1.c: Likewise.
19620 * math/w_j1f.c: Likewise.
19621 * math/w_j1l.c: Likewise.
19622 * math/w_jn.c: Likewise.
19623 * math/w_jnf.c: Likewise.
19624 * math/w_jnl.c: Likewise.
19625 * math/w_lgamma.c: Likewise.
19626 * math/w_lgamma_r.c: Likewise.
19627 * math/w_lgammaf.c: Likewise.
19628 * math/w_lgammaf_r.c: Likewise.
19629 * math/w_lgammal.c: Likewise.
19630 * math/w_lgammal_r.c: Likewise.
19631 * math/w_log.c: Likewise.
19632 * math/w_log10.c: Likewise.
19633 * math/w_log10f.c: Likewise.
19634 * math/w_log10l.c: Likewise.
19635 * math/w_log2.c: Likewise.
19636 * math/w_log2f.c: Likewise.
19637 * math/w_log2l.c: Likewise.
19638 * math/w_logf.c: Likewise.
19639 * math/w_logl.c: Likewise.
19640 * math/w_pow.c: Likewise.
19641 * math/w_powf.c: Likewise.
19642 * math/w_powl.c: Likewise.
19643 * math/w_remainder.c: Likewise.
19644 * math/w_remainderf.c: Likewise.
19645 * math/w_remainderl.c: Likewise.
19646 * math/w_scalb.c: Likewise.
19647 * math/w_scalbf.c: Likewise.
19648 * math/w_scalbl.c: Likewise.
19649 * math/w_sinh.c: Likewise.
19650 * math/w_sinhf.c: Likewise.
19651 * math/w_sinhl.c: Likewise.
19652 * math/w_sqrt.c: Likewise.
19653 * math/w_sqrtf.c: Likewise.
19654 * math/w_sqrtl.c: Likewise.
19655 * math/w_tgamma.c: Likewise.
19656 * math/w_tgammaf.c: Likewise.
19657 * math/w_tgammal.c: Likewise.
19658
6a621eb7
UD
19659 * po/ja.po: Update from translation team.
19660
bf582445
AJ
196612011-09-29 Andreas Jaeger <aj@suse.de>
19662
f9efbf3a
AJ
19663 [BZ #13179]
19664 * sunrpc/netname.c (netname2host): Fix logic.
19665
bf582445
AJ
19666 [BZ #6779]
19667 [BZ #6783]
19668 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19669 correctly.
19670 * math/w_remainder.c (__remainder): Likewise.
19671 * math/w_remainderf.c (__remainderf): Likewise.
19672 * math/libm-test.inc (remainder_test): Add test cases.
19673
48693bea
AK
196742011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19675
19676 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19677 sdiv_qrnnd.
19678
42622229
LD
196792011-10-07 Ulrich Drepper <drepper@gmail.com>
19680
19681 * string/test-memcmp.c: Avoid unncessary #defines.
19682 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19683
093ecf92
LD
196842011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19685
19686 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19687 Use new sse2 version for core i3 - i7 as it's faster
19688 than sse42 version.
19689 (bit_Prefer_PMINUB_for_stringop): New.
19690 * sysdeps/x86_64/rawmemchr.S: Update.
19691 Replace with faster SSE2 version.
19692 * sysdeps/x86_64/memrchr.S: New file.
19693 * sysdeps/x86_64/memchr.S: Update.
19694 Replace with faster SSE2 version.
19695
fde56e5c
MP
196962011-09-12 Marek Polacek <mpolacek@redhat.com>
19697
19698 * elf/dl-load.c (lose): Add cast to avoid warning.
19699
21fd49a9
UD
197002011-10-07 Ulrich Drepper <drepper@gmail.com>
19701
5a06e643
UD
19702 * po/ca.po: Update from translation team.
19703
684ae515
UD
19704 * inet/getnetgrent_r.c: Hook up nscd.
19705 * nscd/Makefile (routines): Add nscd_netgroup.
19706 (nscd-modules): Add netgroupcache.
19707 (CFLAGS-netgroupcache.c): Define.
19708 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19709 (cache_search): Add const to second parameter.
19710 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19711 INNETGR.
19712 (dbs): Add netgrdb entry.
19713 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19714 (verify_persistent_db): Handle netgrdb.
19715 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19716 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19717 GETFDNETGR.
19718 (netgroup_response_header): Define.
19719 (innetgroup_response_header): Define.
19720 (datahead): Add netgroup_response_header and innetgroup_response_header
19721 elements.
19722 * nscd/nscd.conf: Add entries for netgroup cache.
19723 * nscd/nscd.h (dbtype): Add netgrdb.
19724 (_PATH_NSCD_NETGROUP_DB): Define.
19725 (netgroup_iov_disabled): Declare.
19726 (xmalloc, xcalloc, xrealloc): Move declarations here.
19727 (cache_search): Adjust prototype.
19728 Add netgroup-related prototypes.
19729 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19730 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19731 (__nscd_innetgr): Declare.
19732 * nscd/selinux.c (perms): Use access_vector_t as element type and
19733 add netgroup-related initializers.
19734 * nscd/netgroupcache.c: New file.
19735 * nscd/nscd_netgroup.c: New file.
19736 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19737 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19738 For four parameters use innetgr.
19739 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19740 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19741 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19742 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19743
21fd49a9
UD
19744 * nscd/connections.c (register_traced_file): Don't register file
19745 for disabled databases.
19746
054c0457
UD
197472011-10-06 Ulrich Drepper <drepper@gmail.com>
19748
32b63198
UD
19749 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19750
054c0457
UD
19751 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19752 from tree and freeing node.
19753
64031225
JO
197542011-09-25 Jiri Olsa <jolsa@redhat.com>
19755
19756 * nss/nsswitch.c (__nss_database_lookup): Handle
19757 nss_parse_service_list out of memory case.
19758
0490345c
JO
197592011-09-15 Jiri Olsa <jolsa@redhat.com>
19760
19761 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19762 out of memory case.
19763
3a62d00d
AS
197642011-10-04 Andreas Schwab <schwab@redhat.com>
19765
19766 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19767 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19768 pass it down.
19769 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19770 elf_machine_rela, elf_machine_lazy_rel.
19771 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19772 (ELF_DYNAMIC_DO_REL): Likewise.
19773 (ELF_DYNAMIC_DO_RELA): Likewise.
19774 (ELF_DYNAMIC_RELOCATE): Likewise.
19775 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19776 to ELF_DYNAMIC_DO_REL.
19777 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19778 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19779 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19780 elf_machine_rela.
19781 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19782 skip_ifunc, don't call ifunc function if non-zero.
19783 (elf_machine_rela): Likewise.
19784 (elf_machine_lazy_rel): Likewise.
19785 (elf_machine_lazy_rela): Likewise.
19786 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19787 (elf_machine_lazy_rel): Likewise.
19788 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19789 Likewise.
19790 (elf_machine_lazy_rel): Likewise.
19791 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19792 Likewise.
19793 (elf_machine_lazy_rel): Likewise.
19794 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19795 (elf_machine_lazy_rel): Likewise.
19796 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19797 (elf_machine_lazy_rel): Likewise.
19798 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19799 (elf_machine_lazy_rel): Likewise.
19800 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19801 (elf_machine_lazy_rel): Likewise.
19802 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19803 (elf_machine_lazy_rel): Likewise.
19804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19805 (elf_machine_lazy_rel): Likewise.
19806
68577918
UD
198072011-09-28 Ulrich Drepper <drepper@gmail.com>
19808
19809 * nss/nss_files/files-init.c (_nss_files_init): Use static
19810 initialization for all the *_traced_file variables.
19811
68822d74
AS
198122011-09-28 Andreas Schwab <schwab@redhat.com>
19813
19814 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19815
2056100b
RM
198162011-09-27 Roland McGrath <roland@hack.frob.com>
19817
19818 [BZ #13226]
19819 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19820
32c76b63
AS
198212011-09-27 Andreas Schwab <schwab@redhat.com>
19822
19823 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19824 Reread the line before reparsing it.
19825
bf972c9d
AS
198262011-09-26 Andreas Schwab <schwab@redhat.com>
19827
19828 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19829
e057a1b5
JM
198302011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19831 Maxim Kuvyrkov <maxim@codesourcery.com>
19832 Joseph Myers <joseph@codesourcery.com>
19833
19834 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19835 if needed for __stack_chk_guard.
19836
bc7e1c36
RM
198372011-09-19 Roland McGrath <roland@hack.frob.com>
19838
ecb1482f
RM
19839 * sysdeps/posix/spawni.c (script_execute): Always define it.
19840 It will be optimized away if unused.
19841 (maybe_script_execute): New function.
19842 (__spawni): Call it.
19843
bc7e1c36
RM
19844 * Makerules: Don't include tls.make.
19845 (config-tls): Always set to thread.
19846 * tls.make.c: File removed.
19847
1c3b002b
MF
198482011-09-19 Mike Frysinger <vapier@gentoo.org>
19849
19850 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19851 * config.make.in (CPPFLAGS-config): New substituted variable.
19852
2840865d
UD
198532011-09-15 Ulrich Drepper <drepper@gmail.com>
19854
88738eb6
UD
19855 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19856
cbf645a6 19857 [BZ #13192]
2840865d
UD
19858 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19859 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19860
b402e91a
RM
198612011-09-15 Roland McGrath <roland@hack.frob.com>
19862
19863 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19864 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19865 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19866 (CALL_FAIL): Likewise.
19867 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19868 (CALL_FAIL): Macro removed.
19869 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19870
4c1a1f71
UD
198712011-09-15 Ulrich Drepper <drepper@gmail.com>
19872
19873 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19874 for __FINITE_MATH_ONLY__ == 1.
19875
edc121be
AS
198762011-09-15 Andreas Schwab <schwab@redhat.com>
19877
19878 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19879 __ieee754_sqrt instead of sqrt.
19880 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19881 __ieee754_sqrtf instead of sqrtf.
19882 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19883 __floorf instead of floorf.
19884 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19885 __floorf, __truncf instead of floorf, truncf.
19886
cd205654
UD
198872011-09-14 Ulrich Drepper <drepper@gmail.com>
19888
ee4d0315
UD
19889 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19890
cd205654
UD
19891 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19892 __extern_always_inline.
19893 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19894 32-bit.
19895
48b67d71
AS
198962011-09-14 Andreas Schwab <schwab@redhat.com>
19897
19898 * elf/rtld.c (dl_main): Also relocate in dependency order when
19899 doing symbol dependency testing.
19900
1ae12c75
AS
199012011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19902
19903 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19904 Always define `refsym'.
19905
995a80df
AS
199062011-09-13 Andreas Schwab <schwab@redhat.com>
19907
e529793b
AS
19908 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19909 (__FD_ELT): Renamed from __FDELT.
19910 * misc/bits/select2.h (__FD_ELT): Likewise.
19911 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19912 __FD_MASK instead of __FDELT, __FDMASK.
19913 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19914 Likewise.
19915 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19916 Likewise.
19917
52d4fef8
AS
19918 * elf/Makefile (gen-ldd): Fix pattern.
19919
995a80df
AS
19920 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19921 (init_tls): Likewise.
19922
8682f8b0
UD
199232011-09-12 Ulrich Drepper <drepper@gmail.com>
19924
19925 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19926
de82006d
AS
199272011-09-12 Andreas Schwab <schwab@redhat.com>
19928
a7c8e6a1
AS
19929 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19930 `struct cmsghdr *' instead of `void *'.
19931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19932 Likewise.
19933
0f31fe77
AS
199342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19935
19936 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19937 if non-absolute.
19938 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19939 ldd_rewrite_script.
0f31fe77 19940
32b4c839
UD
199412011-09-11 Ulrich Drepper <drepper@gmail.com>
19942
83cd1420
UD
19943 * configure.in: Remove --with-tls option.
19944 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19945 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19946 out in case it is missing.
19947 * sysdeps/ia64/elf/configure.in: Likewise.
19948 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19949 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19950 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19951 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19952 * sysdeps/sh/elf/configure.in: Likewise.
19953 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19954 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19955 * sysdeps/x86_64/elf/configure.in: Likewise.
19956 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19957 * sysdeps/mach/hurd/tls.h: Likewise.
19958
633f745d
UD
19959 [BZ #13067]
19960 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19961
f318beb8
UD
19962 [BZ #13090]
19963 * configure.in: Fix use of AC_INIT.
19964
32b4c839
UD
19965 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19966
3ce1f295
UD
199672011-09-10 Ulrich Drepper <drepper@gmail.com>
19968
bb016596
UD
19969 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19970 __set_errno.
8e58439c
UD
19971 * malloc/hooks.c: Likewise.
19972
aebae053 19973 [BZ #11929]
02d46fc4
UD
19974 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19975 variables statically.
19976 (narenas): Initialize.
19977 (list_lock): Initialize.
bb016596
UD
19978 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19979 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19980 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19981 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19982 Add initializers to main_arena and mp_.
19983 (malloc_state): Remove pagesize member. Change all users to use
19984 GLRO(dl_pagesize).
19985
19986 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19987 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19988 is always initialized.
19989
22a89187
UD
19990 * malloc/malloc.c: Removed unused configurations and dead code.
19991 * malloc/arena.c: Likewise.
19992 * malloc/hooks.c: Likewise.
02d46fc4 19993 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19994
d063d164
UD
19995 * include/tls.h: Removed. USE___THREAD must always be defined.
19996 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19997 * elf/dl-libc.c: Likewise.
19998 * elf/dl-tsd.c: Likewise.
19999 * include/errno.h: Likewise.
20000 * include/netdb.h: Likewise.
20001 * include/resolv.h: Likewise.
20002 * inet/herrno-loc.c: Likewise.
20003 * inet/herrno.c: Likewise.
20004 * malloc/arena.c: Likewise.
20005 * malloc/hooks.c: Likewise.
20006 * malloc/malloc.c: Likewise.
20007 * resolv/res-state.c: Likewise.
20008 * resolv/res_libc.c: Likewise.
20009 * sysdeps/i386/dl-machine.h: Likewise.
20010 * sysdeps/ia64/dl-machine.h: Likewise.
20011 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20012 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20013 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20014 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20015 * sysdeps/sh/dl-machine.h: Likewise.
20016 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20017 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20018 * sysdeps/unix/i386/sysdep.S: Likewise.
20019 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20020 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20021 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20022 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20023 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20024 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20025 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20028 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20029 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20030 * sysdeps/x86_64/dl-machine.h: Likewise.
20031 * tls.make.c: Likewise.
20032
3ce1f295
UD
20033 * configure.in: Remove --with-__thread option. Make tests for
20034 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20035 tls_model attribute fail if no support is available. Remove
20036 USE_IN_LIBIO.
20037 * Makeconfig: Adjust for dropped configure option. All features are
20038 now mandatory.
20039 * Makerules: Likewise.
20040 * Versions.def: Likewise.
20041 * argp/argp-fmtstream.c: Likewise.
20042 * argp/argp-fmtstream.h: Likewise.
20043 * argp/argp-help.c: Likewise.
20044 * assert/assert.c: Likewise.
20045 * config.h.in: Likewise.
20046 * config.make.in: Likewise.
20047 * configure: Likewise.
20048 * configure.in: Likewise.
20049 * csu/Versions: Likewise.
20050 * csu/init.c: Likewise.
20051 * elf/tst-audit2.c: Likewise.
20052 * elf/tst-tls10.c: Likewise.
20053 * elf/tst-tls10.h: Likewise.
20054 * elf/tst-tls11.c: Likewise.
20055 * elf/tst-tls12.c: Likewise.
20056 * elf/tst-tls14.c: Likewise.
20057 * elf/tst-tlsmod11.c: Likewise.
20058 * elf/tst-tlsmod12.c: Likewise.
20059 * elf/tst-tlsmod13.c: Likewise.
20060 * elf/tst-tlsmod13a.c: Likewise.
20061 * elf/tst-tlsmod14a.c: Likewise.
20062 * elf/tst-tlsmod15b.c: Likewise.
20063 * elf/tst-tlsmod16a.c: Likewise.
20064 * elf/tst-tlsmod16b.c: Likewise.
20065 * elf/tst-tlsmod7.c: Likewise.
20066 * elf/tst-tlsmod8.c: Likewise.
20067 * elf/tst-tlsmod9.c: Likewise.
20068 * gmon/gmon.c: Likewise.
20069 * grp/fgetgrent_r.c: Likewise.
20070 * grp/putgrent.c: Likewise.
20071 * hurd/fopenport.c: Likewise.
20072 * include/libc-symbols.h: Likewise.
20073 * include/tls.h: Likewise.
20074 * intl/gettextP.h: Likewise.
20075 * intl/loadinfo.h: Likewise.
20076 * locale/global-locale.c: Likewise.
20077 * locale/localeinfo.h: Likewise.
20078 * mach/devstream.c: Likewise.
20079 * malloc/arena.c: Likewise.
20080 * malloc/set-freeres.c: Likewise.
20081 * misc/err.c: Likewise.
20082 * misc/getttyent.c: Likewise.
20083 * misc/mntent_r.c: Likewise.
20084 * posix/getopt.c: Likewise.
20085 * posix/wordexp.c: Likewise.
20086 * pwd/fgetpwent_r.c: Likewise.
20087 * resolv/Versions: Likewise.
20088 * resolv/res_hconf.c: Likewise.
20089 * shadow/fgetspent_r.c: Likewise.
20090 * shadow/putspent.c: Likewise.
20091 * stdio-common/printf_fphex.c: Likewise.
20092 * stdio-common/tmpfile.c: Likewise.
20093 * stdlib/abort.c: Likewise.
20094 * stdlib/fmtmsg.c: Likewise.
20095 * sunrpc/auth_unix.c: Likewise.
20096 * sunrpc/clnt_perr.c: Likewise.
20097 * sunrpc/clnt_tcp.c: Likewise.
20098 * sunrpc/clnt_udp.c: Likewise.
20099 * sunrpc/clnt_unix.c: Likewise.
20100 * sunrpc/openchild.c: Likewise.
20101 * sunrpc/svc_simple.c: Likewise.
20102 * sunrpc/svc_tcp.c: Likewise.
20103 * sunrpc/svc_udp.c: Likewise.
20104 * sunrpc/svc_unix.c: Likewise.
20105 * sunrpc/xdr.c: Likewise.
20106 * sunrpc/xdr_array.c: Likewise.
20107 * sunrpc/xdr_rec.c: Likewise.
20108 * sunrpc/xdr_ref.c: Likewise.
20109 * sunrpc/xdr_stdio.c: Likewise.
20110
1248c1c4
PB
201112011-09-09 Ulrich Drepper <drepper@gmail.com>
20112
20113 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20114
201152011-07-03 Andreas Jaeger <aj@suse.de>
20116
20117 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20118 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20119 regenerate with gen-libm-tests.pl.
20120
201212010-05-12 Petr Baudis <pasky@suse.cz>
20122
20123 [BZ #11589]
20124 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20125 around j0() zero points by switching to j1().
20126 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20127 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20128 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20129 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20130
f22e1074
UD
201312011-09-09 Ulrich Drepper <drepper@gmail.com>
20132
f19009c1
UD
20133 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20134 instead of 0.
20135 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20136 instead of 0.
f19009c1
UD
20137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20138 Patch in part by Pavel Roskin <proski@gnu.org>.
20139
3f8cc204
UD
20140 [BZ #13138]
20141 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20142 realloc.
20143 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20144 Free memory block if necessary.
20145
f22e1074
UD
20146 [BZ #12847]
20147 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20148 be NULL. Don't lock in this case.
20149
0a2349f9
RM
201502011-09-09 Roland McGrath <roland@hack.frob.com>
20151
20152 * elf/elf.h (ELFOSABI_GNU): New macro.
20153 (ELFOSABI_LINUX): Define to that.
20154
f3cdd467
DZ
201552011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20156
20157 * string/strncat.c (strncat): Undef the symbol in case it has been
20158 defined in bits/string.h.
20159
74718d13
UD
201602011-09-09 Ulrich Drepper <drepper@gmail.com>
20161
633e9e0f
UD
20162 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20163
0a2349f9 20164 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20165 link map.
20166
f9924780
AJ
201672011-08-17 Andreas Jaeger <aj@suse.de>
20168
20169 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20170
7f5517aa
PP
201712011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20172 Ian Lance Taylor <iant@google.com>
20173
20174 * math/libm-test.inc (lround_test): New testcase.
20175 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20176
762011fe
UD
201772011-09-08 Ulrich Drepper <drepper@gmail.com>
20178
92963737
UD
20179 * Makefile: Remove support for automatic cvs check-ins.
20180 * Makerules: Likewise.
20181 * config.make.in: Likewise.
20182 * configure.in: Likewise.
20183 * intl/Makefile: Likewise.
20184 * locale/Makefile: Likewise.
20185 * po/Makefile: Likewise.
20186 * posix/Makefile: Likewise.
20187 * sysdeps/gnu/Makefile: Likewise.
20188 * sysdeps/mach/hurd/Makefile: Likewise.
20189 * sysdeps/sparc/sparc32/Makefile: Likewise.
20190
b0727fd8
JS
20191 [BZ #13118]
20192 * posix/Makefile (bug-regex32-ENV): Define.
20193 Patch by John Stanley <jpsinthemix@verizon.net>.
20194
a0f33f99
UD
20195 * misc/Makefile (headers): Add bits/select2.h.
20196 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20197 * misc/bits/select2.h: New file.
20198 * include/bits/select2.h: New file.
20199 * debug/Makefile (routines): Add fdelt_chk.
20200 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20201 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20202 FD_ISSET.
20203 * debug/fdelt_chk.c: New file.
20204
762011fe
UD
20205 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20206 * wcsmbs/test-wmemcmp.c: Likewise.
20207 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20208 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20209
202102011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20211
20212 * string/Makefile (strop-tests): Add memcmp.
20213 * string/test-wmemcmp.c: New file.
20214 * string/test-memcmp.c: Add wmemcmp support.
20215
7f513ec8
RM
202162011-09-08 Roland McGrath <roland@hack.frob.com>
20217
0442afb4
RM
20218 [BZ #13153]
20219 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20220 2011-07-19 change.
20221
7f513ec8
RM
20222 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20223 garbage value in a __mach_port_mod_refs call in the cases of the
20224 task-self and thread-self ports.
20225
a12b2239
ST
202262011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20227
20228 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20229
610f9ab4
AS
202302011-09-08 Andreas Schwab <schwab@redhat.com>
20231
7f513ec8 20232 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20233
48882a1a
LD
202342011-09-07 Ulrich Drepper <drepper@gmail.com>
20235
b49865be
UD
20236 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20237
fdc86bc9
UD
20238 * elf/dl-libc.c (dlerror_run): Pass back error code from
20239 dl_catch_error.
20240
c966526a
UD
20241 [BZ #13123]
20242 * elf/dl-load.c (lose): Free l_origin if it is valid.
20243
48882a1a
LD
20244 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20245 names.
20246 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20247 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20248 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20249 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20250 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20251 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20252
77a2a8b4
AZ
202532011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20254
20255 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20256 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20257 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20258 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20259 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20260 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20261 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20262 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20263 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20264 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20265
24f579d8
AM
202662011-08-15 Alan Modra <amodra@gmail.com>
20267
20268 [BZ #13092]
20269 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20270 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20271 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20272 ppc_mcount to static-only-routines.
20273 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20274 __mcount_internal.
20275 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20276 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20277
3d4837df
UD
202782011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20279
20280 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20281 for finite and infinity parameters.
20282
22700377
WS
202832011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20284
20285 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20286 and add nop instructions for throughput optimization.
20287 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20288
5025581e
WS
202892011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20290
20291 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20292 aligned copy for power7 with vector-scalar instructions.
20293 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20294
08a300c9
L
202952011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20296
20297 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20298 AVX check.
20299
59178ef9
AS
203002011-09-07 Andreas Schwab <schwab@redhat.com>
20301
20302 [BZ #13144]
20303 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20304 last change.
20305
e38ba7ab
UD
203062011-09-07 Ulrich Drepper <drepper@gmail.com>
20307
20308 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20309 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20310 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20311 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20312 clock_gettime.
20313
d53a73ac
UD
203142011-09-06 Ulrich Drepper <drepper@gmail.com>
20315
fc8bffcc
UD
20316 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20317 Forgot to demangle the pointer.
20318
ceaa0c5d
UD
20319 * sysdeps/i386/sysdep.h: Define atom_text_section.
20320 * sysdeps/x86_64/sysdep.h: Likewise.
20321 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20322 section with atom_text_section.
20323 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20324 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20325 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20327 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20328
a77d3c17
UD
20329 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20330 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20331 already be defined. Change to take two parameters and don't assign
20332 result to variable. Adjust all users.
20333 Define INTERNAL_GETTIME if not already defined.
20334 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20335 call.
20336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20337 HAVE_CLOCK_GETTIME_VSYSCALL.
20338 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20339
d53a73ac
UD
20340 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20341 gettimeofday vsyscall, just use time.
20342
a8f84144
AS
203432011-09-06 Andreas Schwab <schwab@redhat.com>
20344
20345 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20346 <errno.h>.
20347
ef606249
UD
203482011-09-06 Ulrich Drepper <drepper@gmail.com>
20349
20350 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20351 syscall on x86-64.
20352 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20353 syscall.
20354 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20355 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20356 syscall if possible.
20357
6585cb60
UD
203582011-09-05 Ulrich Drepper <drepper@gmail.com>
20359
20360 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20361 e_ident. Don't pass to find_mapsXX.
20362 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20363
a5f524e4
LD
203642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20365
20366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20367 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20368 * sysdeps/x86_64/multiarch/strchr.S: Update.
20369 Check bit_slow_BSF bit.
20370 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20371 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20372 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20373
554881ef
UD
203742011-09-05 Ulrich Drepper <drepper@gmail.com>
20375
d96de963
UD
20376 [BZ #13134]
20377 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20378 before glibc 2.15.
20379 (tryshell): Define.
20380 (__spawni): Change last parameter to be flag. Test
20381 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20382 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20383 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20384 * posix/spawni.c: Likewise.
20385 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20386 * posix/spawnp.c: Likewise. Change normal version to use
20387 SPAWN_XFLAGS_USE_PATH.
20388 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20389 SPAWN_XFLAGS_TRY_SHELL.
20390
d48e5868
UD
20391 [BZ #13150]
20392 * posix/glob.h: Remove gcc 1.x support.
20393
554881ef
UD
20394 [BZ #13068]
20395 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20396
693fb948
LD
203972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20398
20399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20400 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20401 strrchr-sse2-bsf
20402 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20403 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20404 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20405 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20406 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20407 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20408
1b48c537
UD
204092011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20410
49d42c37
UD
20411 * sysdeps/x86_64/wcscmp.S: New file.
20412
1b48c537
UD
20413 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20414 wcscmp-c wcscmp-sse2
20415 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20416 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20417 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20418 * wcsmbs/wcscmp.c: Allow renaming.
20419
15c95c5d
DM
204202011-09-05 David S. Miller <davem@davemloft.net>
20421
20422 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20423 stack slot, rather than the struct return pointer slot.
20424 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20425 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20427 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20428
2f0ad8f3
UD
204292011-09-05 Ulrich Drepper <drepper@gmail.com>
20430
d88ae418
UD
20431 * po/ja.po: Update from translation team.
20432
2f0ad8f3
UD
20433 [BZ #13144]
20434 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20435 kernel in 64-bit binaries.
20436
5f4318d1
DM
204372011-09-01 David S. Miller <davem@davemloft.net>
20438
20439 * elf/elf.h (HWCAP_SPARC_*): Move to..
20440 * sysdeps/sparc/sysdep.h: this new file and add new values.
20441 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20442 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20443 _DL_HWCAP_COUNT to 24.
20444 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20445 entries.
20446 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20447 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20448 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20450 instead of magic constants.
20451 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20452
3ba57516
DM
204532011-08-31 David S. Miller <davem@davemloft.net>
20454
20455 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20457 Reimplement to do errno handling inline.
20458 (SYSCALL_ERROR_HANDLER): New macro.
20459 (__SYSCALL_STRING): Do not do errno handling in asm.
20460 (__CLONE_SYSCALL_STRING): Delete.
20461 (__INTERNAL_SYSCALL_STRING): Delete.
20462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20463 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20464 (PSEUDO): Reimplement to do errno handling inline.
20465 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20466 (SYSCALL_ERROR_HANDLER): New macro.
20467 (__SYSCALL_STRING): Do not do errno handling in asm.
20468 (__CLONE_SYSCALL_STRING): Delete.
20469 (__INTERNAL_SYSCALL_STRING): Delete.
20470 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20471 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20472 i386.
20473 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20474 (inline_syscall*): Add 'err' argument.
20475 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20476 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20477 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20478 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20479
20480 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20481 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20482
2bc17433
AS
204832011-08-30 Andreas Schwab <schwab@redhat.com>
20484
20485 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20486
fbeb5f4d
JO
204872011-08-29 Jiri Olsa <jolsa@redhat.com>
20488
20489 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20490 directive.
20491
ad69cc26
DM
204922011-08-24 David S. Miller <davem@davemloft.net>
20493
20494 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20495
39dd69df
AS
204962011-08-24 Andreas Schwab <schwab@redhat.com>
20497
20498 * elf/Makefile: Add rules to build and run unload8 test.
20499 * elf/unload8.c: New file.
20500 * elf/unload8mod1.c: New file.
20501 * elf/unload8mod1x.c: New file.
20502 * elf/unload8mod2.c: New file.
20503 * elf/unload8mod3.c: New file.
20504
20505 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20506 it wasn't used.
20507
2c0b250a
DM
205082011-08-23 David S. Miller <davem@davemloft.net>
20509
20510 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20511 subtract stack bias.
20512 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20513 %sp not %fp in calculations.
20514 (_JMPBUF_UNWINDS_ADJ): Likewise.
20515
22044b48
DM
20516 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20517 (aio_suspend): Call it to force an exception region around the
20518 AIO_MISC_WAIT() invocation.
20519
2cae4995
AS
205202011-08-23 Andreas Schwab <schwab@redhat.com>
20521
20522 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20523 backslash.
20524
873a772e
AJ
205252011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20526
20527 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20528 protection macro.
20529 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20530 and <dl-machine.h>.
20531 (Elf64_FuncDesc): Remove.
20532
25ad0df1
DM
205332011-08-22 David S. Miller <davem@davemloft.net>
20534
20535 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20536 sigaltstack check, add missing cfi directives.
20537 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20538 missing cfi directives, and sigaltstack handling.
20539
e888bcbe
AS
205402011-08-16 Andreas Schwab <schwab@redhat.com>
20541
20542 [BZ #11724]
20543 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20544 object is seen twice.
20545 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20546
20547 * elf/Makefile (distribute): Add tst-initorder2.c.
20548 (tests): Add tst-initorder2.
20549 (modules-names): Add tst-initorder2a tst-initorder2b
20550 tst-initorder2c tst-initorder2d. Add rules to build them.
20551 ($(objpfx)tst-initorder2.out): New rule.
20552 * elf/tst-initorder2.c: New file.
20553 * elf/tst-initorder2.exp: New file.
20554
87162f46
AS
205552011-08-22 Andreas Schwab <schwab@redhat.com>
20556
70538b7f
AS
20557 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20558
f55ffe58
AS
20559 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20560 dependencies back to end of function.
20561
87162f46
AS
20562 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20563 $(elfobjdir)/ld.so.
20564
91b392a4
UD
205652011-08-21 Ulrich Drepper <drepper@gmail.com>
20566
20567 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20568 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20569 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20570 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20571 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20572 of __vdso_gettimeofday.
20573 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20574 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20575 attribute_hidden.
20576 (_libc_vdso_platform_setup): Remove initialization of
20577 __vdso_gettimeofday and __vdso_time.
20578
5c43483f
UD
205792011-08-20 Ulrich Drepper <drepper@gmail.com>
20580
775a77e7
UD
20581 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20582 and fgetc_unlocked.
20583 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20584 getc_unlocked.
89f447ed 20585
49c74ba9
UD
20586 * elf/dl-open.c (add_to_global): Report additions to the global scope
20587 for LD_DEBUG=scopes.
20588 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20589 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20590
5c43483f
UD
20591 [BZ #13114]
20592 * stdio-common/Makefile (tests): Add bug24.
20593 * stdio-common/bug24.c: New file.
20594
a101b025
AJ
205952011-08-19 Andreas Jaeger <aj@suse.de>
20596
20597 [BZ #13114]
20598 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20599 non-existant file when using close-on-exec mode.
20600
c88f1766
UD
206012011-08-20 Ulrich Drepper <drepper@gmail.com>
20602
0276a718
UD
20603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20604 the very first instruction.
20605
c88f1766
UD
20606 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20607 the CFI state in the end.
20608 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20609 inclusion of dl-trampoline.h.
20610 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20611
51ccffa0
AS
206122011-08-19 Andreas Schwab <schwab@redhat.com>
20613
94d7165f
AS
20614 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20615 expectations for long double.
20616
51ccffa0
AS
20617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20618 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20619
fd708658 206202011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20621
20622 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20623 artificual limit depends upon the system page size.
20624
44f0a71e
UD
206252011-08-17 Ulrich Drepper <drepper@gmail.com>
20626
20627 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20628 * resolv/Makefile: Define CFLAGS-libresolv.
20629
8de79a24
AS
206302011-08-17 Andreas Schwab <schwab@redhat.com>
20631
20632 * nss/makedb.c (compute_tables): Make variables used in nested
20633 function static.
20634
27724598
UD
206352011-08-17 Ulrich Drepper <drepper@gmail.com>
20636
c5305d88
UD
20637 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20638 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20639 if buffer was too small.
20640
27724598
UD
20641 * elf/pldd.c (main): Attach to all threads in the process.
20642 Rewrite /proc handling to use *at functions.
20643
076fe015
UD
206442011-08-16 Ulrich Drepper <drepper@gmail.com>
20645
174baab3
UD
20646 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20647 specifies first scope to show.
20648 (dl_open_worker): Update callers. Move printing scope of new
20649 object to before the relocation.
44f0a71e 20650 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20651 * sysdeps/generic/ldsodefs.h: Update declaration.
20652
076fe015
UD
20653 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20654 string for the scope number.
20655
a60df2c3
UD
206562011-08-14 Ulrich Drepper <drepper@gmail.com>
20657
20658 * nscd/servicescache.c (cache_addserv): Make sure written is always
20659 initialized.
20660
5e4287d1
RM
206612011-08-14 Roland McGrath <roland@hack.frob.com>
20662
85ae0589
RM
20663 * sysdeps/i386/i486/bits/atomic.h
20664 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20665 statement expression, so as to suppress "set but not used" warning.
20666 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20667
69f63097
RM
20668 * string/strncat.c (STRNCAT): Use prototype definition.
20669
675456ef
RM
20670 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20671 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20672 -Iprograms here.
20673 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20674 (localedef-modules): Add localedef.
20675 (locale-modules): Add locale.
20676
5e4287d1
RM
20677 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20678 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20679 to avoid a warning.
20680
9c96ff23
DM
206812011-08-14 David S. Miller <davem@davemloft.net>
20682
20683 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20684 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20685
f9ddf089
UD
206862011-08-13 Ulrich Drepper <drepper@gmail.com>
20687
44f0a71e 20688 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20689 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20690 * elf/rtld.c (dl_main): Set l_name of vDSO.
20691 Call _dl_show_scope when DL_DEBUG_SCOPES.
20692 (process_dl_debug): Recognize scopes flag and also set it for all.
20693 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20694 Declare _dl_show_scope.
20695
1dc27704
UD
20696 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20697 (do_dlopen): Pass caller_dlopen to dl_open.
20698 (__libc_dlopen_mode): Initialize caller_dlopen.
20699
f9ddf089
UD
20700 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20701 of libc. Make tolower call locale-independent. Optimize a bit by
20702 using isdigit instead of isalnum.
20703 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20704
9ac533d3
UD
207052011-08-12 Ulrich Drepper <drepper@gmail.com>
20706
20707 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20708 was a dependency or dynamically loaded.
20709
89edf2e9
UD
207102011-08-11 Ulrich Drepper <drepper@gmail.com>
20711
8e999d29
UD
20712 * intl/l10nflist.c: Allow architecture-specific pop function.
20713 * sysdeps/x86_64/l10nflist.c: New file.
20714
89edf2e9
UD
20715 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20716 classification.
20717
14d96785
AS
207182011-08-10 Andreas Schwab <schwab@redhat.com>
20719
20720 * include/dirent.h: Add libc_hidden_proto for scandirat and
20721 scandirat64. Don't declare __scandirat64.
20722 * dirent/scandirat.c: Add libc_hidden_def.
20723 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20724 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20725
6761ac04
DM
207262011-08-10 David S. Miller <davem@davemloft.net>
20727
20728 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20729 enum.
20730 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20731 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20732 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20733
c55fbd1e
UD
207342011-08-09 Ulrich Drepper <drepper@gmail.com>
20735
20736 * Versions.def [libc]: Add GLIBC_2.15.
20737 * dirent/Makefile (routines): Add scandirat and scandirat64.
20738 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20739 GLIBC_2.15.
20740 * dirent/dirent.h: Declare scandirat and scandirat64.
20741 * dirent/scandirat.c: New file.
20742 * dirent/scandirat64.c: New file.
20743 * sysdeps/wordsize-64/scandirat.c: New file.
20744 * sysdeps/wordsize-64/scandirat64.c: New file.
20745 * dirent/opendir.c: Define opendirat.
20746 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20747 using scandirat.
20748 * dirent/scandir64.c: Adjust for scandir.c change.
20749 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20750 __scandirat64, and __scandir_cancel_handler.
20751 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20752 additional parameter and use openat instead of open (outside of ld.so).
20753 Add new __opendir as wrapper around __opendirat.
20754 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20755 here without requiring old scandirat implementation.
20756
879165f2
UD
207572011-08-08 Ulrich Drepper <drepper@gmail.com>
20758
20759 * dirent/scandir.c (cancel_handler): Renamed to
20760 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20761 defined. Adjust users.
20762 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20763 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20764
cb7e923b
UD
207652011-08-04 Ulrich Drepper <drepper@gmail.com>
20766
16292edd
UD
20767 * string/test-string.h (IMPL): Use __STRING to expand name and then
20768 stringify it.
20769
cb7e923b
UD
20770 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20771 of cleanups.
20772
cff82933
LD
207732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20774
20775 * string/Makefile: Update.
20776 (strop-tests): Append strncat.
20777 * string/test-wcscmp.c: New file.
20778 New comprehensive test for wcscmp.
20779 * string/test-strcmp.c: Update.
20780 (WIDE): New define.
20781
9be9bfcc
AS
207822011-07-22 Andreas Schwab <schwab@redhat.com>
20783
20784 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20785 line.
20786
2e96f1c7
AS
207872011-07-26 Andreas Schwab <schwab@redhat.com>
20788
20789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20790 encoding to ACE if AI_IDN.
20791
85188888
JJ
207922011-08-01 Jakub Jelinek <jakub@redhat.com>
20793
20794 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20795 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20796
5fa16e9b
LD
207972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20798
20799 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20800 Fix overflow bug in strncat.
20801 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20802
20803 * string/test-strncat.c: Update.
20804 Add new tests for checking overflow bugs.
20805
208062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20807
20808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20809 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20810 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20811 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20812 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20813 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20814 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20815 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20816 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20817
20818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20819 (USE_AS_STRCAT): Define.
20820 Add strcat and strncat support.
20821 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20822
8c1a459f
AS
208232011-07-25 Andreas Schwab <schwab@redhat.com>
20824
20825 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20826 __n bigger than INT_MAX+1.
20827 (__strncmp_g): Likewise.
20828
bba33c28
UD
208292011-07-23 Ulrich Drepper <drepper@gmail.com>
20830
798be72d
UD
20831 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20832 * libio/stido.h: Likewise.
20833
8accd4dc
UD
20834 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20835 (AF_NFC): Define.
20836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20837 (AF_NFC): Define.
20838
cbff0d96
UD
20839 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20840 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20841 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20842 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20843 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20844
9191c04a
UD
20845 [BZ #13021]
20846 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20847 installed.
20848
bba33c28
UD
20849 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20850 typo.
20851 (_dl_x86_64_save_sse): Likewise.
20852
90f139dd
UD
208532011-07-22 Ulrich Drepper <drepper@gmail.com>
20854
1aae088a
UD
20855 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20856 OSXSAVE.
20857 (_dl_x86_64_save_sse): Likewise.
20858
8e2045f5
UD
20859 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20860
90f139dd
UD
20861 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20862
1d002f25
AS
208632011-07-21 Andreas Schwab <schwab@redhat.com>
20864
20865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20866 change.
20867 (_dl_x86_64_save_sse): Use correct AVX check.
20868
21137f89
UD
208692011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20870
20871 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20872 bug in strncpy/strncat.
20873 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20874
a65c0b7a
UD
208752011-07-21 Ulrich Drepper <drepper@gmail.com>
20876
20877 * string/tester.c (test_strcat): Add tests for different alignments
20878 of source and destination.
20879 (test_strncat): Likewise.
20880
6986b98a
UD
208812011-07-20 Ulrich Drepper <drepper@gmail.com>
20882
90bb2039
UD
20883 [BZ #12852]
20884 * posix/glob.c (glob): Check passed in values before using them in
20885 expressions to avoid some overflows.
20886 (glob_in_dir): Likewise.
20887
5644ef54
UD
20888 [BZ #13007]
20889 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20890 check for AVX enablement so that we don't crash with old kernels and
20891 new hardware.
20892 * elf/tst-audit4.c: Add same checks here.
20893 * elf/tst-audit6.c: Likewise.
20894
20895 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20896
bfc9dc9b
AS
208972011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20898
20899 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20900
702e64bb
UD
209012011-07-20 Ulrich Drepper <drepper@gmail.com>
20902
20903 * po/cs.po: Update from translation team.
20904 * po/bg.po: Likewise.
20905
295e904f
MP
209062011-07-12 Marek Polacek <mpolacek@redhat.com>
20907
20908 * misc/sys/cdefs.h: Add support for const attribute.
20909 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20910 to gnu_dev_{major,minor,makedev} functions.
20911
3ff94596
MP
209122011-07-20 Marek Polacek <mpolacek@redhat.com>
20913
20914 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20915
28b59fca
AS
209162011-07-20 Andreas Schwab <schwab@redhat.com>
20917
20918 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20919 strlen results.
20920
19df733e
AK
209212011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20922
20923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20924 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20925 register in order to avoid conflicts with the soft frame pointer
20926 being held in r11 when necessary.
20927 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20928 (INTERNAL_VSYSCALL_NCS): Likewise.
20929
c8835729
MP
209302011-07-14 Marek Polacek <mpolacek@redhat.com>
20931
20932 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20933 * elf/dl-fini.c (_dl_fini): Adjust caller.
20934 * elf/dl-close.c (_dl_close_worker): Likewise.
20935 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20936
b902330c
MP
209372011-07-15 Marek Polacek <mpolacek@redhat.com>
20938
8991e135
MP
20939 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20940 "aux_cache->nlibs < 0".
20941
b902330c
MP
20942 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20943 in the reload-count case.
20944
99710781
LD
209452011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20946
20947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20948 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20949 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20950 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20951 * sysdeps/x86_64/multiarch/strcat.S: New file.
20952 * sysdeps/x86_64/multiarch/strncat.S: New file.
20953 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20954 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20955 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20956 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20957 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20958 (USE_AS_STRCAT): Define.
20959 Add strcat and strncat support.
20960 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20961 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20962 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20963 * string/strncat.c: Update.
20964 (USE_AS_STRNCAT): Define.
20965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20966 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20967 and i7.
20968 * sysdeps/x86_64/multiarch/init-arch.h
20969 (bit_Prefer_PMINUB_for_stringop): New.
20970 (index_Prefer_PMINUB_for_stringop): Likewise.
20971 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20972 bit_Prefer_PMINUB_for_stringop.
20973
7dc6bd90
UD
209742011-07-19 Ulrich Drepper <drepper@gmail.com>
20975
20976 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20977 buffer64.
20978 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20979 of casting of buffer.
20980 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20981 buffer32 and buffer64.
20982 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20983 writes instead of casting of buffer.
20984 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20985 buffer32.
20986 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20987 casting of buffer.
20988
e0e72284
AS
209892011-07-19 Andreas Schwab <schwab@redhat.com>
20990
20991 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20992
feb1eb0b
UD
209932011-07-19 Ulrich Drepper <drepper@gmail.com>
20994
20995 * nscd/nscd.c (termination_handler): Don't do anything for a database
20996 if it has not yet been initialized.
20997
298711ff
UD
209982011-07-18 Ulrich Drepper <drepper@gmail.com>
20999
21000 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21001
210022011-07-15 Marek Polacek <mpolacek@redhat.com>
21003
21004 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21005
f9d68389
UD
210062011-07-18 Ulrich Drepper <drepper@gmail.com>
21007
21008 * po/nl.po: Update from translation team.
21009 * po/sv.po: Likewise.
21010
db290cf5
RM
210112011-07-16 Roland McGrath <roland@hack.frob.com>
21012
21013 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21014 now disallowed by GCC.
5c550700 21015
fd5e21c7
RM
21016 * configure.in (use-default-link): Default to yes if a test -shared
21017 link meets our qualifications.
21018 * configure: Regenerated.
21019
5c550700
RM
21020 * config.make.in (output-format): New variable.
21021 * configure.in: Check for ld --print-output-format support.
21022 * configure: Regenerated.
21023 * Makerules ($(common-objpfx)format.lds)
21024 [$(output-format) != unknown]: Just use $(output-format),
21025 instead of the linker-script munging.
21026
9fa2c032
RM
210272011-07-14 Roland McGrath <roland@hack.frob.com>
21028
a6928d51
RM
21029 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21030 of $(common-objpfx)shlib.lds.
21031 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21032
661607b3
RM
21033 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21034 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21035
9fa2c032
RM
21036 * configure.in (-z relro check): Adjust test code to add a large
21037 writable data section after it.
21038 * configure: Regenerated.
21039
defe9061
RM
210402011-07-11 Roland McGrath <roland@hack.frob.com>
21041
21042 * configure.in (-z relro check): Fix test code to make the variable
21043 truly const.
21044 * configure: Regenerated.
21045
319b9ad4
UD
210462011-07-11 Ulrich Drepper <drepper@gmail.com>
21047
21048 * nscd/nscd.h (struct traced_file): Define.
21049 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21050 elements. Add traced_files.
21051 (inotify_fd): Declare.
21052 (register_traced_file): Declare.
21053 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21054 (inotify_fd): Export.
21055 (resolv_conf_descr): Remove.
21056 (nscd_init): Move inotify descriptor creation to main.
21057 Don't register files for notification here.
21058 (register_traced_file): New function.
21059 (invalidate_cache): Don't use reset_res to determine whether to call
21060 res_init, go through the list of registered files.
21061 (main_loop_poll): The inotify descriptors are now stored in the
21062 structures for the traced files.
21063 (main_loop_epoll): Likewise
21064 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21065 to __nss_disable_nscd.
21066 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21067 for a database anymore. Check the records for all the registered
21068 files instead.
21069 * nss/Makefile (libnss_files-routines): Add files-init.
21070 (libnss_db-routines): Add db-init.
21071 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21072 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21073 * nss/nss_db/db-init.c: New file.
21074 * nss/nss_files/files-init.c: New file.
21075 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21076 __nss_lookup_function.
21077 (__nss_lookup_function): Call nss_load_library.
21078 (nss_load_all_libraries): New function.
21079 (__nss_disable_nscd): Take parameter with callback function for files
21080 to register. Set is_nscd. Load all the DSOs for the NSS modules
21081 used for the cached services.
21082 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21083 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21084 options for features to all the files in nscd.
21085
21086 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21087
23bee3e8
RM
210882011-07-10 Roland McGrath <roland@hack.frob.com>
21089
21090 * csu/elf-init.c (__libc_csu_init): Comment typo.
21091
46a5b7f0
UD
210922011-07-09 Ulrich Drepper <drepper@gmail.com>
21093
21094 * po/pl.po: Update from translation team.
21095 * po/ja.po: Likewise.
21096 * po/ru.po: Likewise.
21097 * po/ko.po: Likewise.
21098 * po/fr.po: Likewise.
21099
d30cf5bb
RM
211002011-07-09 Roland McGrath <roland@hack.frob.com>
21101
113ddea4
RM
21102 * configure.in (.ctors/.dtors header and trailer check):
21103 Use an empirical test on a built program.
21104 * configure: Regenerated.
21105
574920b4
RM
21106 * configure.in (-z relro check): Use an empirical test on a built DSO.
21107 Detect, but do not require, on ia64.
21108 * configure: Regenerated.
21109
d30cf5bb
RM
21110 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21111 Update tests that use readelf to use $READELF instead.
21112 * configure: Regenerated.
21113
8538fdb3
UD
211142011-07-08 Ulrich Drepper <drepper@gmail.com>
21115
21116 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21117 if the result is not used.
21118
04d08991
AJ
211192011-07-05 Andreas Jaeger <aj@suse.de>
21120
21121 [BZ#9696]
21122 * stdlib/tst-strtod.c: Add testcase.
21123
de283087
AD
211242011-07-07 Ulrich Drepper <drepper@gmail.com>
21125
4e5f31c8 21126 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21127 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21128 The latter has a higher limit. Take additional parameter to pass to
21129 the new function.
21130 (__pathconf): Pass file to __statfs_link_max.
21131 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21132 __statfs_link_max.
21133 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21134 __statfs_link_max.
21135
de283087
AD
21136 [BZ #12868]
21137 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21138 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21139 Handle Lustre.
21140 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21141 (__statfs_filesize_max): Likewise.
21142 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21143
c75fa153
AJ
211442011-07-05 Andreas Jaeger <aj@suse.de>
21145
21146 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21147
1a544854
UD
211482011-07-06 Marek Polacek <mpolacek@redhat.com>
21149
21150 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21151 `status' variable.
21152 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21153 Likewise.
21154
6f0eec67
UD
211552011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21156
21157 * Makefile (strop-tests): Add strncat.
21158 * string/test-strncat.c: New file.
21159
aae30307
UD
211602011-06-30 Marek Polacek <mpolacek@redhat.com>
21161
21162 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21163
c0cfb5eb
UD
211642011-06-21 Andreas Jaeger <aj@suse.de>
21165
21166 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21167 Copy rule from iconvdata/Makefile.
21168
01636b21
UD
211692011-07-06 Ulrich Drepper <drepper@gmail.com>
21170
21171 [BZ #12922]
21172 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21173 but no long options are defined, just return 'W'.
21174
9895c8bc
UD
211752011-06-22 Marek Polacek <mpolacek@redhat.com>
21176
21177 [BZ #9696]
21178 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21179
5d4cf042
UD
211802011-07-06 Ulrich Drepper <drepper@gmail.com>
21181
21182 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21183 netgroups to read.
960e5535 21184 (innetgr): Likewise.
5d4cf042 21185
751eb97e
RM
211862011-07-05 Roland McGrath <roland@hack.frob.com>
21187
21188 * config.make.in (install_root): Default to $(DESTDIR).
21189
f15f1e45
UD
211902011-07-05 Ulrich Drepper <drepper@gmail.com>
21191
21192 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21193
4e34ac6a
RM
211942011-07-02 Roland McGrath <roland@hack.frob.com>
21195
5e9b6af4
RM
21196 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21197
84f9ea0f
RM
21198 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21199 containing directory rather than embedding absolute directory names.
21200
ea5ee9f7
RM
21201 * scripts/check-local-headers.sh: Rewritten using awk.
21202 Match by word, not by line. Print error messages for matches.
21203 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21204
1b74661a
RM
21205 * Makerules [shlib-lds-flags empty]:
21206 ($(common-objpfx)libc_pic.opts): New target.
21207 ($(common-objpfx)libc_pic.os.clean): New target.
21208 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21209
21210 * config.make.in (OBJCOPY): New variable.
21211 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21212 * configure: Regenerated.
21213
f781ef40
RM
21214 * config.make.in (use-default-link): New variable.
21215 * configure.in (use_default_link): Grok --with-default-link to set it.
21216 * configure: Regenerated.
21217 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21218 (shlib-lds, shlib-lds-flags): Define to empty.
21219
2d4fa81e
RM
21220 * Makerules (shlib-lds): New variable.
21221 (shlib-lds-flags): New variable.
21222 (build-shlib, build-moduile, build-module-asneeded): Use it.
21223 ($(common-objpfx)libc.so): Use $(shlib-lds).
21224 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21225 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21226
31fffa6b
RM
21227 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21228 DT_FLAGS/DT_FLAGS_1 with zero flags.
21229
4e34ac6a
RM
21230 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21231 linker script munging.
21232
fcfc776b
UD
212332011-07-02 Ulrich Drepper <drepper@gmail.com>
21234
21235 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21236 as 128-bit value.
21237 * crypt/sha512.c (sha512_process_block): Perform total addition using
21238 128-bit if possible.
21239 (__sha512_finish_ctx): Likewise.
21240 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21241 as 64-bit value.
21242 * crypt/sha256.c (SWAP64): Define.
21243 (sha256_process_block): Perform total addition using 64-bit if
21244 possible.
21245 (__sha256_finish_ctx): Likewise.
21246
99231d9a
UD
212472011-07-01 Ulrich Drepper <drepper@gmail.com>
21248
21249 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21250 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21251 * nscd/hstcache.c (cache_addhst): Likewise.
21252 * nscd/grpcache.c (cache_addgr): Likewise.
21253 * nscd/aicache.c (addhstaiX): Likewise
21254 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21255
445b4a53
TK
212562011-07-01 Thorsten Kukuk <kukuk@suse.de>
21257
21258 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21259 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21260 * nscd/hstcache.c (cache_addhst): Likewise.
21261 * nscd/grpcache.c (cache_addgr): Likewise.
21262 * nscd/aicache.c (addhstaiX): Likewise
21263
6d4d8e8e
AS
212642011-07-01 Andreas Schwab <schwab@redhat.com>
21265
21266 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21267 domain only when needed.
21268
89f654c5
AS
212692011-06-30 Andreas Schwab <schwab@redhat.com>
21270
21271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21272 is always restored.
21273
cf3b23ff
UD
212742011-06-29 Ulrich Drepper <drepper@gmail.com>
21275
21276 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21277 are re-adding the entry.
21278 * nscd/servicescache.c (cache_addserv): Likewise.
21279
751626f9
AJ
212802011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21281
21282 * sysdeps/generic/dl-irel.h: fix protection against multiple
21283 inclusions.
21284 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21285
9113ea1f
UD
212862011-06-28 Ulrich Drepper <drepper@gmail.com>
21287
5c0b8d90
UD
21288 [BZ #12935]
21289 * malloc/memusage.sh: Fix quoting in message.
21290 * debug/xtrace.sh: Likewise.
21291
9113ea1f
UD
21292 * configure.in: Remove support for --experimental-malloc option, make
21293 it the default.
21294 * config.make.in: Likewise.
21295 * malloc/Makefile: Likewise.
21296
a4172181
AS
212972011-06-27 Andreas Schwab <schwab@redhat.com>
21298
21299 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21300 two-byte characters.
21301
78a7eee7
RM
213022011-06-27 Roland McGrath <roland@hack.frob.com>
21303
62bede13
RM
21304 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21305 AC_CACHE_CHECK invocation.
21306 * configure: Regenerated.
21307
78a7eee7
RM
21308 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21309
5ce33a62
UD
213102011-06-27 Ulrich Drepper <drepper@gmail.com>
21311
034807a9
UD
21312 [BZ #12350]
21313 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21314 bit from old_res_options.
21315
4902da17
UD
21316 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21317
5ce33a62
UD
21318 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21319 value type for setfct.
21320
c2344f56
L
213212011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21322
21323 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21324 __gettimeofday instead of gettimeofday.
21325
68468076
UD
213262011-06-26 Ulrich Drepper <drepper@gmail.com>
21327
21328 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21329
acb0d739
L
213302011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21331
21332 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21333
21334 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21335 info.
21336
8912479f
L
213372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21338
21339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21340 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21341 strcpy-sse2-unaligned strncpy-sse2-unaligned
21342 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21343 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21344 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21345 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21346 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21347 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21348 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21349 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21350 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21351 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21352 (STRCPY): Support SSE2 and SSSE3 versions.
21353
d5495a11
UD
213542011-06-24 Ulrich Drepper <drepper@gmail.com>
21355
21356 [BZ #12874]
21357 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21358 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21359 kernels which artificially limit size of requests.
21360
0b1cbaae
L
213612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21362
21363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21364 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21365 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21366 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21367 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21368 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21369 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21370 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21372 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21373 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21374 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21375 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21376 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21377 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21379 Enable unaligned load optimization for Intel Core i3, i5 and i7
21380 processors.
21381 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21382 Define.
21383 (index_Fast_Unaligned_Load): Define.
21384 (HAS_FAST_UNALIGNED_LOAD): Define.
21385
07f494a0
MP
213862011-06-23 Marek Polacek <mpolacek@redhat.com>
21387
21388 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21389
fa3fc0fe
UD
213902011-06-22 Ulrich Drepper <drepper@gmail.com>
21391
21392 [BZ #12907]
21393 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21394 until it is clear that the information is realy needed.
21395 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21396
e12df166
AS
213972011-06-22 Andreas Schwab <schwab@redhat.com>
21398
21399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21400
852eb34d
UD
214012011-06-22 Ulrich Drepper <drepper@gmail.com>
21402
84e2a551
UD
21403 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21404 /sys/devices/system/cpu/online if it is usable.
21405
852eb34d
UD
21406 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21407 reading the information from the /proc filesystem to once a second.
21408
6e502e19
UD
214092011-06-21 Andreas Jaeger <aj@suse.de>
21410
21411 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21412 NULL after inclusion of kernel headers.
21413
75d39ff2
UD
214142011-06-21 Ulrich Drepper <drepper@gmail.com>
21415
51f9aa6a
UD
21416 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21417 calls to internal_setent.
21418
c0244a9d
UD
21419 [BZ #12885]
21420 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21421 addresses using gethostbyname4_r ignore IPv4 addresses.
21422
c5e3c2ae
UD
21423 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21424 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21425
75d39ff2
UD
21426 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21427
42675c6f
DM
214282011-06-20 David S. Miller <davem@davemloft.net>
21429
21430 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21431 inclusions.
21432 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21433
21434 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21435 (elf_irel): Use it.
21436 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21437 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21438 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21439 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21440 * sysdeps/x86_64/dl-irel.h: Likewise.
21441
21442 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21443 * elf/dl-sym.c: Likewise.
21444
57912a71
UD
214452011-06-15 Ulrich Drepper <drepper@gmail.com>
21446
21447 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21448 need to dereference resplen2.
21449
ee22793d
AS
214502011-06-14 Andreas Schwab <schwab@redhat.com>
21451
21452 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21453
a9e836b0
UD
214542011-06-15 Ulrich Drepper <drepper@gmail.com>
21455
77fb9117
UD
21456 * Makeconfig: Define vardbdir and inst_vardbdir.
21457 * nss/Makefile: Add rules to install db-Makefile.
21458
40c1b22c
UD
21459 * nss/nss_db/db-XXX.c: Cleanup.
21460
9f2da732
UD
21461 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21462 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21463 GLIBC_PRIVATE.
21464 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21465 * nss/makedb.c: Implement -g option to specify that value strings
21466 are generated and should not be added to table iterated over for
21467 get*ent calls.
21468 * nss/nss_db/db-initgroups.c: New file.
21469
82e9a1f7
UD
21470 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21471 interface.
21472
c41af17e
UD
21473 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21474 (internal_getgrouplist): Adjust to name change.
21475 Update use_initgroups_entry if this is not the first call.
21476 * nss/databases.def: Add initgroups entry.
21477
a9e836b0
UD
21478 * nss/makedb.c (compute_tables): Check result of multiple hash table
21479 sizes to minimize maximum chain length.
21480
2666d441
UD
214812011-06-14 Ulrich Drepper <drepper@gmail.com>
21482
21483 * Versions.def: Add entry for libnss_db.
21484 * shlib-versions: Likewise.
21485 * nss/Makefile: Add rules to build libnss_db.
21486 * nss/Versions: Add libnss_db information. Organize libnss_files
21487 entries better.
21488 * nss/db-Makefile: Add gshadow support. Change rules for the new
21489 makedb progra. Some minor improvements to generate smaller files.
21490 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21491 here from...
21492 * nss/makedb.c: ...here.
21493 Improve database format to be smaller and require less memory at
21494 runtime.
21495 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21496 db anymore.
21497 * nss/nss_db/db-netgrp.c: Likewise.
21498 * nss/nss_db/db-open.c: Likewise.
21499 * nss/nss_files/flies-XXX.x: Adjust comments.
21500 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21501 * nss/nss_files/files-grp.c: Likewise.
21502 * nss/nss_files/files-hosts.c: Likewise.
21503 * nss/nss_files/files-network.c: Likewise.
21504 * nss/nss_files/files-proto.c: Likewise.
21505 * nss/nss_files/files-pwd.c: Likewise.
21506 * nss/nss_files/files-rpc.c: Likewise.
21507 * nss/nss_files/files-service.c: Likewise.
21508 * nss/nss_files/files-sgrp.c: Likewise.
21509 * nss/nss_files/files-spwd.c: Likewise.
21510 * nss/nss_db/db-alias.c: Removed.
21511 * nss/nss_db/dummy-db.h: Removed.
21512
9ee76b5a
UD
215132011-06-02 Ulrich Drepper <drepper@gmail.com>
21514
21515 * nss/makedb.c: Rewritten to not use database library.
21516 * nss/Makefile: Update to build new makedb program.
21517
c71ca1f8
AJ
215182011-06-14 Andreas Jaeger <aj@suse.de>
21519
21520 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21521 memset declaration.
21522
3154bfb8
UD
215232011-06-10 Andreas Schwab <schwab@redhat.com>
21524
21525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21526 tmpbuf.
21527
b350afab
RM
215282011-06-10 Roland McGrath <roland@hack.frob.com>
21529
decd4e50
RM
21530 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21531 * elf/Makefile ($(objpfx)ld.so): Likewise.
21532
5615eaf2
RM
21533 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21534 Don't list ld.so twice in dependencies.
21535
21536 * posix/bug-regex31.c: Include <stdlib.h>.
21537
21538 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21539
21540 * nis/nss_compat/compat-spwd.c
21541 (getspent_next_nss_netgr): Remove unused variable.
21542 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21543
21544 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21545 nonmembers" output to use the right array.
21546
21547 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21548
21549 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21550
21551 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21552 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21553 * catgets/gencat.c (read_input_file): Likewise.
21554 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21555
21556 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21557 variable definition inside #if's controlling its use.
21558
21559 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21560
21561 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21562
21563 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21564
21565 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21566 unreachable code.
21567
21568 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21569
b68e08db
RM
21570 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21571 * configure: Regenerated.
21572
b350afab
RM
21573 * Makerules: Revert last change.
21574 * elf/Makefile: Likewise.
21575
28368601
RM
215762011-06-09 Roland McGrath <roland@hack.frob.com>
21577
21578 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21579 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21580 (reloc-link): Likewise.
21581
11988f8f
UD
215822011-06-09 Ulrich Drepper <drepper@gmail.com>
21583
21584 * elf/Makefile: Add rules to build pldd.
21585 * elf/pldd.c: New file.
21586 * elf/pldd-xx.c: New file.
21587
e80fab37
UD
215882011-06-07 Ulrich Drepper <drepper@gmail.com>
21589
21590 * version.h: Update for 2.15 development version.
21591
9b849836
DM
215922011-06-07 David S. Miller <davem@davemloft.net>
21593
21594 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21595 ifuncs.
21596 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21597 elf_machine_lazy_rel): Likewise.
21598 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21599 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21600 elf_machine_lazy_rel): Likewise.
21601 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21602 dl_hwcap via passed in argument.
21603 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21604 Likewise.
21605
5a31b283
AK
216062011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21607
21608 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21609
069e52f8
RM
216102011-06-06 Roland McGrath <roland@hack.frob.com>
21611
21612 [BZ #12849]
21613 * manual/fdl-1.1.texi: New file, verbatim from:
21614 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21615 * manual/lgpl-2.1.texi: New file, verbatim from:
21616 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21617 * manual/Makefile (licenses): New variable, list those new file names.
21618 (texis): Use it.
21619 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21620
21621 * manual/fdl.texi: File removed.
21622 * manual/lesser.texi: File removed.
21623 * manual/libc.texinfo (Copying, Documentation License):
21624 Use new @include file names, put @appendix directive before @include.
21625
f16846a5
JJ
216262011-06-04 Jakub Jelinek <jakub@redhat.com>
21627
21628 [BZ #12841]
21629 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21630 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21631 (mq_open): Add __NTH.
21632
3d29045b
L
216332011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21634
21635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21636 Assume Intel Core i3/i5/i7 processor if AVX is available.
21637
8c297311
UD
216382011-05-31 Ulrich Drepper <drepper@gmail.com>
21639
21640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21641 typo.
21642
c8fc0c91
UD
216432011-05-31 Andreas Schwab <schwab@redhat.com>
21644
21645 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21646 memory. Use alloca_account. Fix memory leak when retrying.
21647
5b27a807
UD
216482011-05-31 Ulrich Drepper <drepper@gmail.com>
21649
356f8bc6
UD
21650 * version.h (RELEASE): Bump for 2.14 release.
21651 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21652
5b27a807
UD
21653 * config.make.in (RANLIB): Remove entry.
21654
01f16ab0
UD
216552011-05-30 Ulrich Drepper <drepper@gmail.com>
21656
41fce8bd
UD
21657 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21658 (libc.pot): Work around missing support for .ksh extension in xgettext.
21659
4769ae77
UD
21660 [BZ #12684]
21661 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21662 if both request failed.
21663 (send_dg): In case of server errors clear resplen or *resplen2.
21664
6b1e7d19
UD
21665 [BZ #12454]
21666 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21667 when there are multiple maps.
21668 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21669 (_dl_fini): Remove test here.
21670
01f16ab0
UD
21671 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21672
b1ebd700
UD
216732011-05-29 Ulrich Drepper <drepper@gmail.com>
21674
7ae22829
UD
21675 [BZ #12350]
21676 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21677 bit from old_res_options.
21678 (gaih_inet): Likewise.
21679
553149f6 21680 [BZ #11099]
18a84741 21681 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21682 as signed.
21683
652ffab1
UD
21684 * resolv/res_init.c (res_setoptions): Make the code more compact.
21685
16985fd0
UD
21686 [BZ #11558]
21687 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21688 set RES_USEVC.
21689
0464f746
UD
21690 [BZ #11634]
21691 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21692
7d17596c
UD
21693 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21694
cf6bbbd7
UD
21695 [BZ #11781]
21696 * malloc/malloc.h: Declare malloc hook variables as volatile.
21697
13f1ab36
UD
21698 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21699 in last patch.
21700
b1ebd700
UD
21701 [BZ #11799]
21702 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21703 raise in the comment.
80e2212d
UD
21704 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21705 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21706 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21707
ce67228d
UD
217082011-05-28 Ulrich Drepper <drepper@gmail.com>
21709
8887a920
UD
21710 [BZ #12811]
21711 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21712 grow the buffers more if it already has to be sufficient.
21713 (build_wcs_upper_buffer): Likewise.
21714 * posix/regexec.c (check_matching): Likewise.
21715 (clean_state_log_if_needed): Likewise.
21716 (extend_buffers): Don't enlarge buffers beyond size of the input
21717 buffer.
21718 Patches mostly by Emil Wojak <emil@wojak.eu>.
21719 * posix/bug-regex32.c: New file.
21720 * posix/Makefile (tests): Add bug-regex32.
21721
4f031072
UD
21722 * locale/findlocale.c (_nl_find_locale): Return right away if
21723 _nl_explode_name failed.
21724 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21725
d0478f0c
UD
21726 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21727
de81b246
UD
21728 * debug/xtrace.sh: Unify messages.
21729 * malloc/memusage.sh: Likewise.
21730
c738465a
UD
21731 [BZ #12813]
21732 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21733 time symbol from vDSO. Substitute with vsyscall if not available.
21734 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21735 __vdso_time.
21736
f1f929d7
UD
21737 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21738 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21739 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21740 Add sendmmsg and internal_sendmmsg.
21741 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21742 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21743 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21744
ce67228d
UD
21745 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21746 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21747 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21748
e57420c6
UD
217492011-05-27 Ulrich Drepper <drepper@gmail.com>
21750
a8509ca5
UD
21751 [BZ #12813]
21752 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21753 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21754 available.
21755 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21756 __vdso_getcpu.
21757
e57420c6
UD
21758 [BZ #12814]
21759 * iconvdata/Makefile (tests): Add bug-iconv9.
21760 * iconvdata/bug-iconv9.c: New file.
21761
4d07db15
AS
217622011-05-27 Andreas Schwab <schwab@redhat.com>
21763
21764 [BZ #12814]
21765 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21766
ea486f69
JJ
217672011-05-25 Jakub Jelinek <jakub@redhat.com>
21768
21769 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21770 (struct user_regs_struct): Change intcs field back to cs.
21771
6f038433
UD
217722011-05-25 Ulrich Drepper <drepper@gmail.com>
21773
21774 * po/ja.po: Update from translation team.
21775
67f86a25
UD
217762011-05-23 Ulrich Drepper <drepper@gmail.com>
21777
21778 [BZ #12795]
21779 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21780 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21781
def7fbd6
AS
217822011-05-20 Andreas Schwab <schwab@redhat.com>
21783
21784 * stdlib/longlong.h: Update from GCC.
21785
f50ef8f1
AS
217862011-05-23 Andreas Schwab <schwab@redhat.com>
21787
21788 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21789 parameter name.
21790 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21791 Add parameter name.
21792 (__sysconf): Pass it down.
21793
de7ce8f1
UD
217942011-05-22 Ulrich Drepper <drepper@gmail.com>
21795
f2962a71
UD
21796 [BZ #12671]
21797 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21798 some situations.
21799 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21800 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21801 add in in __libc_use_alloca calls. Adjust callers.
21802 (glob): Use malloc in some situations.
21803
de7ce8f1
UD
21804 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21805 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21806 pltexit.
21807
aec84f53
UD
218082011-05-21 Ulrich Drepper <drepper@gmail.com>
21809
05bb4a68
UD
21810 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21811 and CLOCK_BOOTTIME_ALARM.
21812
7ea72f99
UD
21813 [BZ #12782]
21814 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21815 is returned.
21816
7e4afad5
UD
21817 * string/_strerror.c (__strerror_r): Print negative errors as signed
21818 numbers.
21819
8e211fec
UD
21820 [BZ #12777]
21821 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21822 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21823 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21824
f7d82dc9
UD
21825 * configure.in: Fix typo in redirection and correct removal of test
21826 files in two cases.
21827
cc9e536d
UD
21828 [BZ #12788]
21829 * locale/setlocale.c (new_composite_name): Fix test to check for
21830 identical name of all categories.
21831
aec84f53
UD
21832 [BZ #12792]
21833 * libio/filedoalloc.c (local_isatty): New function.
21834 (_IO_file_doallocate): Use local_isatty.
21835 * stdio-common/perror.c (perror): In case a new stream is used
21836 forward the stream error.
21837 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21838 error flag.
21839
78e64fdc
RT
218402011-05-20 Ulrich Drepper <drepper@gmail.com>
21841
34a9094f
UD
21842 [BZ #11869]
21843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21844 alloca.
21845 * include/alloca.h (extend_alloca_account): Define.
21846
78e64fdc
RT
21847 [BZ #11857]
21848 * posix/regex.h: Fix comments with documentation of user-accessible
21849 fields after compilation and describe correct free'ing of pattern
21850 after re_compile_pattern.
21851 Patch by Reuben Thomas <rrt@sc3d.org>.
21852
457bddfc
RA
218532011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21854
21855 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21856 and -mno-altivec to prevent the compiler from using Altivec and/or
21857 VSX instructions when the corresponding registers are not available.
21858
a4527b51
AS
218592011-05-19 Andreas Schwab <schwab@redhat.com>
21860
21861 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21862
ed690b2f
UD
218632011-05-19 Ulrich Drepper <drepper@gmail.com>
21864
21865 * libio/freopen.c (freopen): Use __dup2, not dup2.
21866 * libio/freopen64.c (freopen64): Likewise.
21867
8db73634
L
218682011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21869
21870 [BZ #12775]
21871 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21872 * math/Makefile (tests): Add test-powl.
21873 (CFLAGS-test-powl.c): Define.
21874 * math/test-powl.c: New file.
21875
0a197a9d
L
218762011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21877
21878 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21879
ee30c380
UD
218802011-05-17 Ulrich Drepper <drepper@gmail.com>
21881
21882 [BZ #11837]
21883 * iconvdata/gb18030.c: Update to GB18020-2005.
21884
6ce75379
UD
218852011-05-16 Ulrich Drepper <drepper@gmail.com>
21886
a4b89fd8
AR
21887 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21888 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21889 Patch by Aharon Robbins <arnold@skeeve.com>.
21890
ea389b12
UD
21891 [BZ #11892]
21892 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21893 on the stack.
21894
68a3f91f
UD
21895 [BZ #11895]
21896 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21897 through underflows.
21898
15cc7dd1
UD
21899 [BZ #12766]
21900 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21901 point to strings before performing equality test for error_one_per_line
21902 mode.
21903
f3799213
UD
21904 [BZ #11697]
21905 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21906
d79a9c94
UD
21907 [BZ #11820]
21908 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21909 (struct user_fpregs_struct): Avoid __uint*_t types.
21910
56e5eb46
UD
21911 [BZ #6420]
21912 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21913 symbol info. Use it instead of calling _dl_addr locally.
21914 (lock_and_info): New function.
21915 (tr_freehook): Call lock_and_info and pass symbol info as additional
21916 parameter to tr_where.
21917 (tr_mallochook): Likewise.
21918 (tr_reallochook): Likewise.
21919 (tr_memalignhook): Likewise.
21920
6ce75379
UD
21921 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21922 used and couldn't be at all thread-safe.
21923
f8a3b5bf
UD
219242011-05-15 Ulrich Drepper <drepper@gmail.com>
21925
94b7cc37
UD
21926 * libio/freopen.c (freopen): Don't close old file descriptor
21927 before the new one is opened. Instead dup the new file descriptor
21928 to the old one after the new stream is created.
21929 * libio/freopen64.c (freopen64): Likewise.
21930 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21931 * libio/fileops.c (_IO_new_file_close_it): Handle new
21932 _IO_FLAGS2_NOCLOSE flag.
21933 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21934 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21935 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21936 _IO_FLAGS2_NOCLOSE flag.
21937 * include/unistd.h: Add hidden_proto for dup3.
21938 Define __have_dup3.
21939 * io/dup3.c: Define hidden symbol.
21940 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21941
bd25564e
UD
21942 [BZ #7101]
21943 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21944 when an incomplete long option is used.
21945 * posix/tst-getopt_long1.c: New file.
21946 * posix/Makefile (tests): Add tst-getopt_long1.
21947
c84cfef4
UD
21948 [BZ #10138]
21949 * scripts/config.guess: Update from autoconf-2.68.
21950 * scripts/config.sub: Likewise.
21951
3b85df27
UD
21952 [BZ #10157]
21953 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21954 tests into ...
21955 (has_cpuclock): ...this. New function.
21956 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21957 macro here based on has_cpuclock code.
21958
15a856b1
UD
21959 [BZ #10149]
21960 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21961 First byte (not low byte) is now always NUL.
21962 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21963
05f399e6
UD
21964 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21965 Use non-cancelable interfaces.
21966
10a52685 21967 [BZ #9809]
94ecc67d
UD
21968 * locale/iso-639.def: Add entry for Sorani.
21969
f8a3b5bf
UD
21970 [BZ #11901]
21971 * include/stdlib.h: Move include protection to the right place.
21972 Define abort_msg_s. Declare __abort_msg with it.
21973 * stdlib/abort.c (__abort_msg): Adjust type.
21974 * assert/assert.c (__assert_fail_base): New function. Majority
21975 of code from __assert_fail. Allocate memory for __abort_msg with
21976 mmap.
21977 (__assert_fail): Now call __assert_fail_base.
21978 * assert/assert-perr.c: Remove bulk of implementation. Use
21979 __assert_fail_base.
21980 * include/assert.hL Declare __assert_fail_base.
21981 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21982 mmap.
21983 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21984
1af4e298
UD
219852011-05-14 Ulrich Drepper <drepper@gmail.com>
21986
f8a3b5bf 21987 [BZ #11952]
d26dfc60
MG
21988 [BZ #12453]
21989 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21990 until all modules are registered in the DTV.
21991 * elf/Makefile: Add rules to build and run tst-tls19.
21992 * elf/tst-tls19.c: New file.
21993 * elf/tst-tls19mod1.c: New file.
21994 * elf/tst-tls19mod2.c: New file.
21995 * elf/tst-tls19mod3.c: New file.
21996 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21997
2fc54d6f
UD
21998 [BZ #12083]
21999 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22000 correctly.
22001
98d76b46
UD
22002 [BZ #12601]
22003 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22004 two-byte sequence errors.
22005 * iconvdata/Makefile (tests): Add bug-iconv8.
22006 * iconvdata/bug-iconv8.c: New file.
22007
da3c19ef
UD
22008 [BZ #12626]
22009 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22010 buf2 definition.
22011
ca408c15
UD
22012 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22013
d6f67f7d
UD
22014 [BZ #12432]
22015 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22016 (dummy_getcfa): New function.
22017 (init): Get _Unwind_GetCFA address, use dummy if not found.
22018 (backtrace_helper): In recursion check, also check whether CFA changes.
22019 (__backtrace): Completely initialize arg.
22020
1af4e298 22021 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22022 storing incomplete byte sequence in state object. Avoid testing for
22023 guaranteed too small input if we know there is enough data available.
1af4e298 22024
da62f81b
AS
220252011-05-11 Andreas Schwab <schwab@redhat.com>
22026
22027 * Makeconfig (+link-pie): Indent.
22028 * Rules (binaries-pie): Define if $(have-fpie) and
22029 $(build-shared).
22030 (binaries-shared): Also filter out $(binaries-pie).
22031 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22032 * nscd/Makefile (others-pie): Add nscd.
22033 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22034 ($(objpfx)nscd): Remove command override.
22035 * login/Makefile (others-pie): Add pt_chown.
22036 ($(objpfx)pt_chown): Remove command override.
22037 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22038 remove command overrides.
22039
fcabc0f8
UD
220402011-05-13 Ulrich Drepper <drepper@gmail.com>
22041
20030ae6
UD
22042 * libio/tst_putwc.c: Fix error messages.
22043
fcabc0f8
UD
22044 [BZ #12724]
22045 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22046 currently writing and seek to current position when not.
22047 * libio/Makefile (tests): Add bug-fclose1.
22048 * libio/bug-fclose1.c: New file.
22049
320a5dc0
PB
220502011-05-12 Ulrich Drepper <drepper@gmail.com>
22051
22052 [BZ #12511]
22053 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22054 don't set DF_1_NODELETE here.
22055 (do_lookup_x): When entering new entry test for copy relocation
22056 and if necessary set DF_1_NODELETE flag.
22057 * elf/tst-unique4.cc: New file.
22058 * elf/tst-unique4.h: New file.
22059 * elf/tst-unique4lib.cc: New file.
22060 * elf/Makefile: Add rules to build and run tst-unique4.
22061 Patch by Piotr Bury <pbury@goahead.com>.
22062
22836f52
UD
220632011-05-11 Ulrich Drepper <drepper@gmail.com>
22064
f574184a
UD
22065 [BZ #12052]
22066 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22067
e1fb097f
UD
22068 [BZ #12625]
22069 * misc/mntent_r.c (addmntent): Flush the stream after the output
22070
22836f52
UD
22071 [BZ #12393]
22072 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22073 (is_trusted_path_normalize): Skip initial colon. Append slash
22074 to empty buffer. Duplicate is_trusted_path code but allow
22075 constructed patch to be prefix.
22076 (is_dst): Allow $ORIGIN followed by /.
22077 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22078 Correct testing of result of is_trusted_path_normalize
22079 (decompose_rpath): Fix warning.
22080
7b3b0b2a
UD
220812011-05-10 Ulrich Drepper <drepper@gmail.com>
22082
22083 [BZ #11257]
22084 * grp/initgroups.c (internal_getgrouplist): When we found the service
22085 list through the initgroups entry in nsswitch.conf do not always
22086 continue on a successful lookup. Don't always use the
eac80ce2 22087 __nss_group_database value if it is set.
7b3b0b2a
UD
22088 * nss/nsswitch.conf (initgroups): Change action for successful db
22089 lookup to continue for compatibility.
22090
2a81eaa5
UD
220912011-05-09 Ulrich Drepper <drepper@gmail.com>
22092
be97a69e
UD
22093 [BZ #11532]
22094 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22095 and CP774 modules.
22096 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22097 and CP774 modules.
22098 * iconvdata/tst-tables.sh: Likewise.
22099 * iconvdata/cp770.c: New file.
22100 * iconvdata/cp771.c: New file.
22101 * iconvdata/cp772.c: New file.
22102 * iconvdata/cp773.c: New file.
22103 * iconvdata/cp774.c: New file.
22104 * iconvdata/testdata/CP770: New file.
22105 * iconvdata/testdata/CP770..UTF8: New file.
22106 * iconvdata/testdata/CP771: New file.
22107 * iconvdata/testdata/CP771..UTF8: New file.
22108 * iconvdata/testdata/CP772: New file.
22109 * iconvdata/testdata/CP772..UTF8: New file.
22110 * iconvdata/testdata/CP773: New file.
22111 * iconvdata/testdata/CP773..UTF8: New file.
22112 * iconvdata/testdata/CP774: New file.
22113 * iconvdata/testdata/CP774..UTF8: New file.
22114
22115 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22116 END CHARMAP line.
22117 * iconvdata/gen-8bit-gap.sh: Likewise.
22118 * iconvdata/gen-8bit.sh: Likewise.
22119
c1e9e399
UD
22120 * locale/iso-639.def: Add ary entry.
22121
24c55fb3 22122 [BZ #11258]
96b4b1b0
UD
22123 * locale/C-translit.h.in: Add U20A1 transliteration.
22124
bdc2f971
KB
22125 [BZ #12178]
22126 * locale/iso-639.def: Add wae entry.
22127 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22128
2952b117
UD
22129 [BZ #12545]
22130 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22131 for n.
22132
2a81eaa5
UD
22133 [BZ #12711]
22134 * locale/C-translit.h.in: Add entry for U20B9.
22135 Patch by pravin.d.s@gmail.com.
22136
28377d1b
UD
221372011-05-08 Ulrich Drepper <drepper@gmail.com>
22138
7fb90fb8
UD
22139 [BZ #12713]
22140 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22141 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22142 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22143 in rtld. Use *stat64.
7fb90fb8 22144 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22145 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22146 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22147 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22148 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22149 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22150 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22151 __fstatat64 macros.
7fb90fb8
UD
22152 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22153 * dirent/rewinddir.c: Add libc_hidden_def.
22154 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22155 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22156
28377d1b
UD
22157 * include/dirent.h (__alloc_dir): Add flags parameter.
22158 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22159 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22160 __alloc_dir.
22161 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22162 from fdopendir if O_CLOEXEC is already set.
22163
66bdbaa4
AM
221642011-03-15 Alan Modra <amodra@gmail.com>
22165
22166 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22167 l_tls_firstbyte_offset non-zero. Save padding offset in
22168 l_tls_firstbyte_offset for later use.
22169 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22170 freeing static tls block.
22171
95721191
JN
221722011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22173
22174 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22175 where #ifdef was intended. The intent is to prevent ARG_MAX from
22176 being defined by the kernel headers.
22177
f87dfb1f
UD
221782011-05-07 Ulrich Drepper <drepper@gmail.com>
22179
22180 [BZ #12734]
22181 * resolv/resolv.h: Define RES_NOTLDQUERY.
22182 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22183 no-tld-query and set RES_NOTLDQUERY.
22184 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22185 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22186 modern BIND to search name as TLD unless forbidden.
22187
47c3cd7a
UD
221882011-05-07 Petr Baudis <pasky@suse.cz>
22189 Ulrich Drepper <drepper@gmail.com>
22190
22191 [BZ #12393]
22192 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22193 (is_trusted_path): ...to here.
c1e9ea35 22194 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22195 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22196 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22197
8a35c912
PP
221982011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22199
22200 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22201 __BEGIN/__END_DECLS.
22202
acd41f47
UD
222032011-05-06 Ulrich Drepper <drepper@gmail.com>
22204
22205 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22206 NSS_STATUS_NOTFOUND if no record was found.
22207
597df647
AS
222082011-05-05 Andreas Schwab <schwab@redhat.com>
22209
22210 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22211 (headers-not-in-tirpc): Remove rpc/netdb.h
22212 * resolv/netdb.h: Revert last change.
22213
b9af1301
PP
222142011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22215
22216 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22217 circular dependency between libgcc.a and libc.a.
22218
4e34d5f5
AS
222192011-05-05 Andreas Schwab <schwab@redhat.com>
22220
22221 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22222 * nis/Makefile: Don't install rpcsvc/*.
22223 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22224 instead of <rpc/types.h>.
22225 (MAXHOSTNAMELEN): Define.
22226
00ee369c
AS
222272011-05-03 Andreas Schwab <schwab@redhat.com>
22228
22229 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22230
0b592a30
MB
222312011-04-28 Maciej Babinski <mbabinski@google.com>
22232
22233 [BZ #12714]
22234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22235 gethostbyname4_r when IPv6 results are possible.
22236
6e04cbbe
UD
222372011-05-02 Ulrich Drepper <drepper@gmail.com>
22238
22239 [BZ #12723]
22240 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22241 _PC_PIPE_BUF handling.
22242
e4ecafe0
BH
222432011-04-30 Bruno Haible <bruno@clisp.org>
22244
22245 [BZ #12717]
22246 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22247 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22248 to 'int'.
22249 * inet/getnameinfo.c (getnameinfo): Likewise.
22250
125ee683
UD
222512011-04-29 Ulrich Drepper <drepper@gmail.com>
22252
22253 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22254 to groups setting in database lookup.
22255 * nss/nsswitch.conf: Add initgroups entry.
22256
b722481a
EB
222572011-04-22 Ulrich Drepper <drepper@gmail.com>
22258
22259 [BZ #12685]
22260 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22261 mode string.
22262 Patch by Eric Blake <eblake@redhat.com>.
22263
4df46dbd
L
222642011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22265
22266 * sunrpc/Makefile (need-export-routines): Add svc_run.
22267 (routines): Remove svc_run.
22268 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22269 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22270 * sunrpc/svc_run.c (svc_run): Likewise.
22271 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22272
e84142d2
UD
222732011-04-21 Ulrich Drepper <drepper@gmail.com>
22274
22275 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22276 problem in reallocation in last patch.
22277
877175d8
UD
222782011-04-20 Ulrich Drepper <drepper@gmail.com>
22279
22280 * sunrpc/Makefile: Move inclusion of Rules.
22281
ab8eed78
UD
222822011-04-19 Ulrich Drepper <drepper@gmail.com>
22283
22284 * nss/nss_files/files-initgroups.c: New file.
22285 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22286 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22287 _nss_files_initgroups_dyn.
22288
e3d8f584
RS
222892011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22290
22291 * elf/elf.h (R_ARM_IRELATIVE): Define.
22292
af190f45
UD
222932011-04-19 Ulrich Drepper <drepper@gmail.com>
22294
22295 * po/ru.po: Update from translation team.
22296
53cf59ef
UD
222972011-04-17 Ulrich Drepper <drepper@gmail.com>
22298
22299 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22300 dependencies.
22301
4c559bcd
MF
223022011-02-06 Mike Frysinger <vapier@gentoo.org>
22303
22304 [BZ #12653]
22305 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22306 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22307 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22308 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22309 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22310
4420675c
AS
223112011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22312
22313 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22314 differing bytes.
22315 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22316 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22317 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22318
75ea32ab
UD
223192011-04-17 Ulrich Drepper <drepper@gmail.com>
22320
22321 [BZ #12420]
22322 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22323 storing it.
22324 * stdlib/bug-getcontext.c: New file.
22325 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22326
27390476
AK
223272011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22328
22329 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22330 instructions into .machine "z9-109".
22331 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22332 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22333
10442705
AK
223342011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22335
22336 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22337 between environment variables and auxiliary vector.
22338
7b57bfe5
UD
223392011-04-16 Ulrich Drepper <drepper@gmail.com>
22340
22341 * Makefile: Add rules to build linkobj/libc.so.
22342 * include/libc-symbols.h: Define libc_hidden_nolink.
22343 * include/rpc/auth.h: Mark functions which are to be hidden.
22344 * include/rpc/auth_des.h: Likewise.
22345 * include/rpc/auth_unix.h: Likewise.
22346 * include/rpc/clnt.h: Likewise.
22347 * include/rpc/des_crypt.h: Likewise.
22348 * include/rpc/key_prot.h: Likewise.
22349 * include/rpc/pmap_clnt.h: Likewise.
22350 * include/rpc/pmap_prot.h: Likewise.
22351 * include/rpc/pmap_rmt.h: Likewise.
22352 * include/rpc/rpc_msg.h: Likewise.
22353 * include/rpc/svc.h: Likewise.
22354 * include/rpc/svc_auth.h: Likewise.
22355 * include/rpc/xdr.h: Likewise.
22356 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22357 * nss/Makefile: Likewise.
22358 * sunrpc/Makefile: Don't install headers. Build library with normal
22359 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22360 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22361 for the compat linking library. Remove use of INTDEF/INTUSE.
22362 * sunrpc/auth_none.c: Likewise.
22363 * sunrpc/auth_unix.c: Likewise.
22364 * sunrpc/authdes_prot.c: Likewise.
22365 * sunrpc/authuxprot.c: Likewise.
22366 * sunrpc/clnt_gen.c: Likewise.
22367 * sunrpc/clnt_perr.c: Likewise.
22368 * sunrpc/clnt_raw.c: Likewise.
22369 * sunrpc/clnt_simp.c: Likewise.
22370 * sunrpc/clnt_tcp.c: Likewise.
22371 * sunrpc/clnt_udp.c: Likewise.
22372 * sunrpc/clnt_unix.c: Likewise.
22373 * sunrpc/des_crypt.c: Likewise.
22374 * sunrpc/des_soft.c: Likewise.
22375 * sunrpc/get_myaddr.c: Likewise.
22376 * sunrpc/key_call.c: Likewise.
22377 * sunrpc/key_prot.c: Likewise.
22378 * sunrpc/netname.c: Likewise.
22379 * sunrpc/pm_getmaps.c: Likewise.
22380 * sunrpc/pm_getport.c: Likewise.
22381 * sunrpc/pmap_clnt.c: Likewise.
22382 * sunrpc/pmap_prot.c: Likewise.
22383 * sunrpc/pmap_prot2.c: Likewise.
22384 * sunrpc/pmap_rmt.c: Likewise.
22385 * sunrpc/publickey.c: Likewise.
22386 * sunrpc/rpc_cmsg.c: Likewise.
22387 * sunrpc/rpc_common.c: Likewise.
22388 * sunrpc/rpc_dtable.c: Likewise.
22389 * sunrpc/rpc_prot.c: Likewise.
22390 * sunrpc/rpc_thread.c: Likewise.
22391 * sunrpc/rtime.c: Likewise.
22392 * sunrpc/svc.c: Likewise.
22393 * sunrpc/svc_auth.c: Likewise.
22394 * sunrpc/svc_authux.c: Likewise.
22395 * sunrpc/svc_raw.c: Likewise.
22396 * sunrpc/svc_run.c: Likewise.
22397 * sunrpc/svc_simple.c: Likewise.
22398 * sunrpc/svc_tcp.c: Likewise.
22399 * sunrpc/svc_udp.c: Likewise.
22400 * sunrpc/svc_unix.c: Likewise.
22401 * sunrpc/svcauth_des.c: Likewise.
22402 * sunrpc/xcrypt.c: Likewise.
22403 * sunrpc/xdr.c: Likewise.
22404 * sunrpc/xdr_array.c: Likewise.
22405 * sunrpc/xdr_float.c: Likewise.
22406 * sunrpc/xdr_intXX_t.c: Likewise.
22407 * sunrpc/xdr_mem.c: Likewise.
22408 * sunrpc/xdr_rec.c: Likewise.
22409 * sunrpc/xdr_ref.c: Likewise.
22410 * sunrpc/xdr_sizeof.c: Likewise.
22411 * sunrpc/xdr_stdio.c: Likewise.
22412
e6c61494
UD
224132011-04-10 Ulrich Drepper <drepper@gmail.com>
22414
22415 [BZ #12650]
22416 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22417 * sysdeps/ia64/dl-tls.h: Likewise.
22418 * sysdeps/powerpc/dl-tls.h: Likewise.
22419 * sysdeps/s390/dl-tls.h: Likewise.
22420 * sysdeps/sh/dl-tls.h: Likewise.
22421 * sysdeps/sparc/dl-tls.h: Likewise.
22422 * sysdeps/x86_64/dl-tls.h: Likewise.
22423 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22424
34fe483e
AS
224252011-03-14 Andreas Schwab <schwab@redhat.com>
22426
22427 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22428 rpath element also skip the following colon.
22429 (expand_dynamic_string_token): Add is_path parameter and pass
22430 down to DL_DST_REQUIRED and _dl_dst_substitute.
22431 (decompose_rpath): Call expand_dynamic_string_token with
22432 non-zero is_path. Ignore empty rpaths.
22433 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22434 with zero is_path.
22435
f12a32e6
AS
224362011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22437
22438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22439 Make cancelable.
22440
38a7d692
UD
224412011-04-09 Ulrich Drepper <drepper@gmail.com>
22442
22443 [BZ #12655]
22444 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22445 Patch by Filipe David Manana <fdmanana@apache.org>.
22446
e451d22b
AS
224472011-04-07 Andreas Schwab <schwab@redhat.com>
22448
22449 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22450 Maintain aligned stack.
22451 (CHECK_RSP): Remove unused macro.
22452
dedc7c7b
UD
224532011-04-03 Ulrich Drepper <drepper@gmail.com>
22454
22455 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22456 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22457
94521213
UD
224582011-04-02 Ulrich Drepper <drepper@gmail.com>
22459
22460 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22461
8cb700c0 22462 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22463
0354e355
L
224642011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22465
22466 [BZ #12518]
22467 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22468 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22469 * sysdeps/x86_64/memmove.c: New file.
22470 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22471 (memcpy): Renamed to ...
22472 (__new_memcpy): This.
22473 (memcpy): Provide GLIBC_2_14 memcpy.
22474 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22475 (memcpy): Provide GLIBC_2_2_5 memcpy.
22476
8593482f
UD
224772011-04-01 Ulrich Drepper <drepper@gmail.com>
22478
22479 [BZ #12631]
22480 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22481
81a5726b
AS
224822011-03-30 Andreas Schwab <schwab@redhat.com>
22483
22484 * misc/syncfs.c: New file.
22485 * misc/Makefile (routines): Add syncfs.
22486 * posix/unistd.h: Declare syncfs.
22487 * sysdeps/unix/syscalls.list: Add syncfs.
22488
00e5419f
AS
224892011-04-01 Andreas Schwab <schwab@redhat.com>
22490
22491 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22492 open_by_handle_at.
22493 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22494 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22496 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22498 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22499 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22500
748876bf
UD
225012011-04-01 Ulrich Drepper <drepper@gmail.com>
22502
658e451d
UD
22503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22504 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22505 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22506 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22507 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22509 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22510
748876bf
UD
22511 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22512 sync_file_range.c with -fexceptions.
22513 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22514 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22515 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22516 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22517 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22518 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22519 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22520 sync_file_range as cancellation point
22521 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22522 now a wrapper around __call_sync_file_range with cancellation handling.
22523 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22524 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22525 function name to __call_sync_file_range.
22526 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22527 Add call_sync_file_range.
748876bf 22528
6e63d5e1
AS
225292011-04-01 Andreas Schwab <schwab@redhat.com>
22530
22531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22532 bits/timex.h.
6e63d5e1 22533
46998f74
UD
225342011-04-01 Ulrich Drepper <drepper@gmail.com>
22535
4c1423ed
UD
22536 * iconv/iconv.h: Fix typo in comment.
22537 * io/fcntl.h: Likewise.
22538 * libio/stdio.h: Likewise.
22539 * posix/spawn.h: Likewise.
22540 * posix/unistd.h: Likewise.
22541 * stdlib/stdlib.h: Likewise.
22542 * time/time.h: Likewise.
22543 * wcsmbs/wchar.h: Likewise.
22544
158648c0
UD
22545 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22546 open_by_handle): Add.
22547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22548 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22549 Augment a few comments.
22550 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22551 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22552 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22554 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22555 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22556 open_by_handle.
22557
46998f74
UD
22558 * io/fcntl.h (AT_EMPTY_PATH): Define.
22559
83fe108b
UD
225602011-03-30 Ulrich Drepper <drepper@gmail.com>
22561
22562 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22563 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22564 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22565 to...
22566 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22567 * Versions.def: Add GLIBC_2.14.
22568 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22569 Export.
83fe108b 22570
bb242059
UD
225712011-03-22 Ulrich Drepper <drepper@gmail.com>
22572
22573 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22574 round counter.
22575 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22576
c97a1282
L
225772011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22578
22579 [BZ #12597]
22580 * string/test-strncmp.c (do_page_test): New function.
22581 (check2): Likewise.
22582 (test_main): Call check2.
22583 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22584
2a115601
UD
225852011-03-20 Ulrich Drepper <drepper@gmail.com>
22586
22587 [BZ #12587]
22588 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22589 Handle cache information in CPU leaf 4.
22590 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22591
8126d904
UD
225922011-03-18 Ulrich Drepper <drepper@gmail.com>
22593
042c49c6 22594 [BZ #12583]
8126d904
UD
22595 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22596 character representation.
22597 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22598
ccfe366e
RA
225992011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22600
22601 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22602 END(__isnan) to END(__isnanf) to match function entry point/label
22603 EALIGN(__isnanf,...).
22604
c6e13027
JJ
226052011-03-10 Jakub Jelinek <jakub@redhat.com>
22606
22607 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22608
33f85a3f
UD
226092011-03-10 Ulrich Drepper <drepper@gmail.com>
22610
028478fa
UD
22611 [BZ #12510]
22612 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22613 copy from the symbol referenced in the relocation to initialize the
22614 used variable.
22615 Patch by Piotr Bury <pbury@goahead.com>.
22616 * elf/Makefile: Add rules to build and tst-unique3.
22617 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22618 * elf/tst-unique3.cc: New file.
22619 * elf/tst-unique3.h: New file.
22620 * elf/tst-unique3lib.cc: New file.
22621 * elf/tst-unique3lib2.cc: New file.
22622
33f85a3f
UD
22623 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22624
03592fc7
MF
226252011-03-10 Mike Frysinger <vapier@gentoo.org>
22626
22627 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22628 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22629 to _start.
03592fc7 22630
6a5ee102
UD
226312011-03-06 Ulrich Drepper <drepper@gmail.com>
22632
22633 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22634 to-be-loaded object along a path to loader is ld.so.
22635
7e4ba49c
HJ
226362011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22637 Ulrich Drepper <drepper@gmail.com>
22638
22639 * sysdeps/x86_64/memset.S: After aligning destination, code
22640 branches to different locations depending on the value of
22641 misalignment, when multiarch is enabled. Fix this.
22642
226432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22644
22645 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22646 Set _x86_64_preferred_memory_instruction for AMD processsors.
22647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22648 Set bit_Prefer_SSE_for_memop for AMD processors.
22649
13a804de
UD
226502011-03-04 Ulrich Drepper <drepper@gmail.com>
22651
22652 * libio/fmemopen.c (fmemopen): Optimize a bit.
22653
9d25c392
AS
226542011-03-03 Andreas Schwab <schwab@redhat.com>
22655
22656 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22657
a5543c6a
RM
226582011-03-03 Roland McGrath <roland@redhat.com>
22659
22660 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22661
012d35f7
DM
226622011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22663
7e4ba49c 22664 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22665 __bzero_ultra1 instead of __memset_ultra1.
22666
4bff6e01
AS
226672011-02-23 Andreas Schwab <schwab@redhat.com>
22668 Ulrich Drepper <drepper@gmail.com>
22669
22670 [BZ #12509]
22671 * include/link.h (struct link_map): Add l_orig_initfini.
22672 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22673 returning unsuccessfully.
22674 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22675 close of a file loaded at startup, restore the original l_initfini
22676 list.
22677 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22678 list, store the pointer.
22679 * elf/Makefile ($(objpfx)noload-mem): New rule.
22680 (noload-ENV): Define.
22681 (tests): Add $(objpfx)noload-mem.
22682 * elf/noload.c: Include <memcheck.h>.
22683 (main): Call mtrace. Close all opened handles.
22684
f2092faf
AS
226852011-02-17 Andreas Schwab <schwab@redhat.com>
22686
22687 [BZ #12454]
22688 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22689 dependencies are missing.
22690
6c8a2e88
ST
226912011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22692
f2092faf 22693 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22694 Hurd needs munmap.
22695 * sysdeps/mach/hurd/ifreq.h: New file.
22696
84a42118
PB
226972011-01-27 Petr Baudis <pasky@suse.cz>
22698 Ulrich Drepper <drepper@gmail.com>
22699
071f805e 22700 [BZ 12445]#
84a42118
PB
22701 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22702 to extend_alloca().
22703 * stdio-common/bug23.c: New file.
22704 * stdio-common/Makefile (tests): Add bug23.
22705
e23fe25b
AS
227062010-09-28 Andreas Schwab <schwab@redhat.com>
22707 Ulrich Drepper <drepper@gmail.com>
22708
22709 [BZ #12489]
22710 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22711 before performing relro protection. At old place add assertion
22712 to make sure nothing changed.
22713
d3f02e10
NS
227142011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22715 Glauber de Oliveira Costa <glommer@gmail.com>
22716
22717 * elf/elf.h: Add new ARM TLS relocs.
22718
d55fd7a5
RA
227192011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22720
22721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22722 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22723 cast from r3.
22724 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22725 'tests' variable.
22726 * sysdeps/wordsize-64/tst-writev.c: New file.
22727
2206397e
RA
227282011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22729
22730 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22731 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22732 insns in _dl_start to prevent a TOC reference before relocs are
22733 resolved.
22734
e9433893
UD
227352011-02-15 Ulrich Drepper <drepper@gmail.com>
22736
22737 [BZ #12469]
22738 * Makeconfig: Remove RANLIB definition.
22739 * Makerules: Don't use RANLIB.
22740 * aclocal.m4: Remove ranlib test.
22741 * configure.in: No need to check for ranlib.
22742 * elf/rtld-Rules: Don't use RANLIB.
22743
f75286c6
ST
227442011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22745
8e31c82d
ST
22746 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22747 protection macro.
22748 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22749 inclusion protection macro.
22750
f75286c6
ST
22751 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22752 SIGRTMIN and SIGRTMAX and print information in that case only when
22753 SIGRTMIN is defined.
22754
c1d0e639
JJ
227552011-02-11 Jakub Jelinek <jakub@redhat.com>
22756
22757 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22758 arginfo fn returning -1.
22759
22760 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22761 and thousands string is zero terminated.
22762
edf9294e
AS
227632011-02-03 Andreas Schwab <schwab@redhat.com>
22764
22765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22766 sysdeps/unix/sysv/linux/bits/socket.h.
22767
2b7e92df
ST
227682011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22769
edf9294e
AS
22770 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22771 (__CPU_COUNT): Remove old macros.
22772 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22773 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22774 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22775 (__sched_cpualloc, __sched_cpufree): Add declarations.
22776
a4c7ea7b
UD
227772011-02-05 Ulrich Drepper <drepper@gmail.com>
22778
22779 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22780 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22781 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22782 (readdhstai): Return value of addhstaiX call.
22783 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22784 (addgrbyX): Return value returned by cache_addgr.
22785 (readdgrbyname): Return value returned by addgrbyX.
22786 (readdgrbygid): Likewise.
22787 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22788 (addpwbyX): Return value returned by cache_addpw.
22789 (readdpwbyname): Return value returned by addhstbyX.
22790 (readdpwbyuid): Likewise.
22791 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22792 (addservbyX): Return value returned by cache_addserv.
22793 (readdservbyname): Return value returned by addservbyX:
22794 (readdservbyport): Likewise.
22795 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22796 (addhstbyX): Return value returned by cache_addhst.
22797 (readdhstbyname): Return value returned by addhstbyX.
22798 (readdhstbyaddr): Likewise.
22799 (readdhstbynamev6): Likewise.
22800 (readdhstbyaddrv6): Likewise.
22801 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22802 (readdinitgroups): Return value returned by addinitgroupsX.
22803 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22804 (prune_cache): Keep track of timeout value of re-added entries.
22805 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22806 * nscd/nscd.h: Adjust prototypes of readd* functions.
22807
a0bf67cc
RM
228082011-02-04 Roland McGrath <roland@redhat.com>
22809
22810 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22811 (nis_stats): Likewise.
22812 * nis/nis_modify.c (nis_modify): Likewise.
22813 * nis/nis_remove.c (nis_remove): Likewise.
22814 * nis/nis_add.c (nis_add): Likewise.
22815
22816 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22817
22818 * posix/fnmatch_loop.c: Add some consts.
22819
22820 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22821
435b95eb
L
228222011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22823
22824 [BZ #12460]
22825 * config.make.in (config-cflags-novzeroupper): Define.
22826 * configure.in: Substitute libc_cv_cc_novzeroupper.
22827 * elf/Makefile (AVX-CFLAGS): Define.
22828 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22829 (CFLAGS-tst-auditmod4a.c): Likewise.
22830 (CFLAGS-tst-auditmod4b.c): Likewise.
22831 (CFLAGS-tst-auditmod6b.c): Likewise.
22832 (CFLAGS-tst-auditmod6c.c): Likewise.
22833 (CFLAGS-tst-auditmod7b.c): Likewise.
22834 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22835
8517b15e
UD
228362011-02-02 Ulrich Drepper <drepper@gmail.com>
22837
22838 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22839 function to the callback.
22840 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22841
10a656fe
AS
228422011-02-02 Andreas Schwab <schwab@redhat.com>
22843
22844 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22845 of errno.
22846
968dad0a
UD
228472011-01-19 Ulrich Drepper <drepper@gmail.com>
22848
9f94d2ea 22849 [BZ #11724]
968dad0a
UD
22850 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22851 of constructors.
22852 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22853 of destructors.
22854 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22855
22856 [BZ #11724]
22857 * elf/Makefile: Add rules to build and run new test.
22858 * elf/tst-initorder.c: New file.
22859 * elf/tst-initorder.exp: New file.
22860 * elf/tst-initordera1.c: New file.
22861 * elf/tst-initordera2.c: New file.
22862 * elf/tst-initordera3.c: New file.
22863 * elf/tst-initordera4.c: New file.
22864 * elf/tst-initorderb1.c: New file.
22865 * elf/tst-initorderb2.c: New file.
22866 * elf/tst-order-a1.c: New file.
22867 * elf/tst-order-a2.c: New file.
22868 * elf/tst-order-a3.c: New file.
22869 * elf/tst-order-a4.c: New file.
22870 * elf/tst-order-b1.c: New file.
22871 * elf/tst-order-b2.c: New file.
22872 * elf/tst-order-main.c: New file.
22873 New test case by George Gensure <werkt0@gmail.com>.
22874
86e92359
UD
228752010-10-01 Andreas Schwab <schwab@redhat.com>
22876
22877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22878 decoding ACE if AI_CANONIDN.
22879
5d5732b0
UD
228802011-01-18 Ulrich Drepper <drepper@gmail.com>
22881
22882 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22883
a77e8cbc
UD
228842011-01-17 Ulrich Drepper <drepper@gmail.com>
22885
6392473f
UD
22886 * version.h (RELEASE): Bump for 2.13 release.
22887 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22888
620a0529
UD
22889 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22890
18ba70a5
UD
22891 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22892 MADV_NOHUGEPAGE.
32465c3e
UD
22893 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22894 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22895 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22896 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22897 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22898 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22899
c0dafcf1
UD
22900 * posix/getconf.c: Update copyright year.
22901 * catgets/gencat.c: Likewise.
22902 * csu/version.c: Likewise.
22903 * debug/catchsegv.sh: Likewise.
22904 * debug/xtrace.sh: Likewise.
22905 * elf/ldconfig.c: Likewise.
22906 * elf/ldd.bash.in: Likewise.
22907 * elf/sprof.c (print_version): Likewise.
22908 * iconv/iconv_prog.c: Likewise.
22909 * iconv/iconvconfig.c: Likewise.
22910 * locale/programs/locale.c: Likewise.
22911 * locale/programs/localedef.c: Likewise.
22912 * malloc/memusage.sh: Likewise.
22913 * malloc/mtrace.pl: Likewise.
22914 * nscd/nscd.c (print_version): Likewise.
22915 * nss/getent.c: Likewise.
22916
a77e8cbc
UD
22917 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22918 PF_CAIF, and PF_ALG.
22919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22920
77e8bddf
AS
229212011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22922
1f20b93a
AS
22923 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22924 (modules-names): Use them.
22925 (ifunc-test-modules, ifunc-pie-tests): Define.
22926 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22927 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22928 (test-extras): Likewise.
22929 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22930 $(compile-command.c).
22931 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22932 (all-built-dso): Define.
22933 (check-textrel.out, check-execstack.out): Depend on it.
22934
77e8bddf
AS
22935 * configure.in: Don't override --enable-multi-arch.
22936
bc425b33
UD
229372011-01-15 Ulrich Drepper <drepper@gmail.com>
22938
22939 [BZ #6812]
22940 * nscd/hstcache.c (tryagain): Define.
22941 (cache_addhst): Return tryagain not notfound for temporary errors.
22942 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22943 failed.
22944
794c3ad3
UD
229452011-01-14 Ulrich Drepper <drepper@gmail.com>
22946
70181fdd
UD
22947 [BZ #10563]
22948 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22949 to make the syscall.
22950 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22951
794c3ad3
UD
22952 [BZ #12378]
22953 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22954 and fall back to matching as normal character if the string ends before
22955 the matching ']' is found. This is what POSIX requires.
22956 * posix/testfnm.c: Adjust test result.
22957 * posix/globtest.sh: Adjust test result. Add new test.
22958 * posix/tst-fnmatch.input: Likewise.
22959 * posix/tst-fnmatch2.c: Add new test.
22960
68dc9497
AS
229612010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22962
22963 * elf/Makefile (check-execstack): Revert last change. Depend on
22964 check-execstack.h.
22965 (check-execstack.h): New target.
22966 (generated): Add check-execstack.h.
22967 * elf/check-execstack.c: Include "check-execstack.h".
22968 (main): Revert last change.
22969 (handle_file): Return zero if GNU_STACK is absent and
22970 DEFAULT_STACK_PERMS doesn't include PF_X.
22971
451f001b
UD
229722011-01-13 Ulrich Drepper <drepper@gmail.com>
22973
cfa28e56
UD
22974 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22975 in child fails because the descriptor is already closed.
8cf8ce17
UD
22976 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22977 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22978 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22979
1086d70d
UD
22980 [BZ #12397]
22981 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22982 syscall.
22983
451f001b
UD
22984 [BZ #10484]
22985 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22986 temporary buffer used to handle multi lookups locally.
a85b5cb4 22987 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22988
08769175
UD
229892011-01-12 Ulrich Drepper <drepper@gmail.com>
22990
22991 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22992 loader is ld.so.
22993
5e49c52e
UD
229942011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22995
22996 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22997 alignment for SSE2.
22998
60522a5f
UD
229992011-01-12 Ulrich Drepper <drepper@gmail.com>
23000
23001 [BZ #12394]
23002 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23003 characters. When rounding increased number of integer digits recompute
23004 number of groups.
23005 * stdio-common/tst-grouping.c: New file.
23006 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23007
f257bbd7
UD
230082011-01-09 Ulrich Drepper <drepper@gmail.com>
23009
23010 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23011 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23012
23013 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23014 void.
23015 * bits/select.h: Likewise.
23016
fa9c15cb
UD
230172011-01-08 Ulrich Drepper <drepper@gmail.com>
23018
23019 * po/ja.po: Update from translation team.
23020
16c2895f
DM
230212011-01-04 David S. Miller <davem@sunset.davemloft.net>
23022
23023 [BZ #11155]
23024 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23025 implementation just like for lxstat, fxstatat, et al.
23026
2543fef2
JM
230272010-12-27 Jim Meyering <meyering@redhat.com>
23028
23029 [BZ #12348]
23030 * posix/regexec.c (build_trtable): Return failure indication upon
23031 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23032
98727dbe
UD
230332010-12-25 Ulrich Drepper <drepper@gmail.com>
23034
5bd6dc5c
UD
23035 [BZ #12201]
23036 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23037 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23038 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23039 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23040
97983464
UD
23041 [BZ #12207]
23042 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23043
98727dbe
UD
23044 [BZ #12204]
23045 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23046 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23047
4a531bb0
L
230482010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23049
23050 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23051 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23052 script has SORT_BY_INIT_PRIORITY.
23053 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23054 NO_CTORS_DTORS_SECTIONS is defined.
23055 * elf/soinit.c: Likewise.
23056 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23057 NO_CTORS_DTORS_SECTIONS is defined.
23058 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23059 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23060 * sysdeps/sh/init-first.c: Likewise.
23061 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23062
07eb4b71
UD
230632010-12-24 Ulrich Drepper <drepper@gmail.com>
23064
23065 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23066 always use the slow path.
23067
30950a5f
RA
230682010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23069
23070 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23071 similar rule which adds the sysdep directories to the header search in
23072 order to pick up the correct platform stackinfo.h.
23073 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23074 perform test if it is, otherwise return successfully without testing.
23075 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23076 DEFAULT_STACK_PERMS define in stackinfo.h.
23077 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23078 defined in stackinfo.h.
23079 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23080 DEFAULT_STACK_PERMS defined in stackinfo.h.
23081 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23082 * sysdeps/ia64/stackinfo.h: Likewise.
23083 * sysdeps/s390/stackinfo.h: Likewise.
23084 * sysdeps/sh/stackinfo.h: Likewise.
23085 * sysdeps/sparc/stackinfo.h: Likewise.
23086 * sysdeps/x86_64/stackinfo.h: Likewise.
23087 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23088 PF_X for powerpc64. Retain PF_X for powerpc32.
23089
db753e2c
UD
230902010-12-19 Ulrich Drepper <drepper@gmail.com>
23091
14b697f7
UD
23092 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23093 accurately.
db753e2c
UD
23094 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23095 GETDENTS_64BIT_ALIGNED.
23096
28300719
UD
230972010-12-14 Ulrich Drepper <dreper@gmail.com>
23098
14b697f7 23099 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23100
4f197237
AS
231012010-12-10 Andreas Schwab <schwab@redhat.com>
23102
dbb0472f
AS
23103 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23104 _GNU_SOURCE.
23105
4f197237
AS
23106 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23107 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23108 Remove __restrict.
23109 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23110 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23111
fb88ac72
UD
231122010-12-09 Ulrich Drepper <drepper@gmail.com>
23113
23114 [BZ #11655]
23115 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23116 are initialized.
23117
42acbb92
JJ
231182010-12-09 Jakub Jelinek <jakub@redhat.com>
23119
23120 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23121
c038d98d
UD
231222010-12-03 Ulrich Drepper <drepper@gmail.com>
23123
23124 * po/it.po: Update from translation team.
23125
3a4a2499
L
231262010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23127
23128 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23129 unused codes.
23130
1e24cf6e
UD
231312010-11-30 Ulrich Drepper <drepper@gmail.com>
23132
23133 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23134
a7690819
AS
231352010-11-24 Andreas Schwab <schwab@redhat.com>
23136
23137 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23138 specially.
23139 (gaih_getanswer_slice): Likewise.
23140
3bf8d1b1
JJ
231412010-10-20 Jakub Jelinek <jakub@redhat.com>
23142
23143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23144
6db52fbb
PB
231452010-05-31 Petr Baudis <pasky@suse.cz>
23146
23147 [BZ #11149]
23148 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23149 silently even in the chroot mode.
23150
eaca7569
UD
231512010-11-22 Ulrich Drepper <drepper@gmail.com>
23152
23153 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23154 last patch a bit. Pretty printing
23155
3056dcdb
UD
231562010-05-31 Petr Baudis <pasky@suse.cz>
23157
23158 [BZ #10085]
23159 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23160 initialization of skip_initgroups_dyn.
23161
cf7c9078
UD
231622010-11-19 Ulrich Drepper <drepper@gmail.com>
23163
23164 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23165 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23166
a1fb5e3e
UD
231672010-11-16 Ulrich Drepper <drepper@gmail.com>
23168
23169 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23170
3540d66b
AS
231712010-11-11 Andreas Schwab <schwab@redhat.com>
23172
23173 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23174 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23175 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23176 ($(objpfx)tst-fnmatch-mem): New rule.
23177 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23178 * posix/tst-fnmatch.c (main): Call mtrace.
23179
13b69574
L
231802010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23181
23182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23183 Support Intel processor model 6 and model 0x2c.
23184
da93d214
LM
231852010-11-10 Luis Machado <luisgpm@br.ibm.com>
23186
23187 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23188 signed comparison.
23189
8ca52c6e
L
231902010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23191
23192 [BZ #12205]
23193 * string/test-strncasecmp.c (check_result): New function.
23194 (do_one_test): Use it.
23195 (check1): New function.
23196 (test_main): Use it.
23197 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23198 Support strcasecmp and strncasecmp.
23199
69da074d
UD
232002010-11-08 Ulrich Drepper <drepper@gmail.com>
23201
23202 [BZ #12194]
23203 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23204 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23205
ff02d528
L
232062010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23207
23208 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23209 IFUNC support.
23210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23211 memset-x86-64.
23212 * sysdeps/x86_64/multiarch/bzero.S: New file.
23213 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23214 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23215 * sysdeps/x86_64/multiarch/memset.S: New file.
23216 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23218 Set bit_Prefer_SSE_for_memop for Intel processors.
23219 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23220 Define.
23221 (index_Prefer_SSE_for_memop): Define.
23222 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23223
344d0b54
LM
232242010-11-04 Luis Machado <luisgpm@br.ibm.com>
23225
23226 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23227 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23228
c0dde15b
UD
232292010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23230
23231 [BZ #12191]
23232 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23233 (__x86_64_raw_data_cache_size_half): Likewise.
23234 (__x86_64_raw_shared_cache_size): Likewise.
23235 (__x86_64_raw_shared_cache_size_half): Likewise.
23236
23237 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23238 (__x86_64_raw_data_cache_size_half): Likewise.
23239 (__x86_64_raw_shared_cache_size): Likewise.
23240 (__x86_64_raw_shared_cache_size_half): Likewise.
23241 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23242 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23243 and __x86_64_raw_shared_cache_size_half. Round
23244 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23245 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23246 to multiple of 256 bytes.
23247
0e516e0e
MS
232482010-11-03 Ulrich Drepper <drepper@gmail.com>
23249
23250 [BZ #12167]
23251 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23252 of inacessible symlinks. Verify result of symlink before returning it.
23253 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23254 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23255
0e012e87
ER
232562010-10-28 Erich Ritz <erichritz@gmail.com>
23257
23258 * math/math.h (isinf): Fix typo in comment.
23259
de0ff7bc
UD
232602010-11-01 Ulrich Drepper <drepper@gmail.com>
23261
23262 * po/da.po: Update from translation team.
23263
fa41c84d
UD
232642010-10-26 Ulrich Drepper <drepper@gmail.com>
23265
23266 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23267 is added to the list.
23268
f0967738
AK
232692010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23270 Ulrich Drepper <drepper@gmail.com>
23271
23272 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23273 the global list here. Move code to...
23274 (_dl_add_to_namespace_list): ...here. New function.
23275 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23276 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23277 * elf/dl-load.c (lose): Don't remove the element from the list.
23278 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23279 (_dl_map_object): Likewise.
23280
232812010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23282
23283 [BZ #12159]
23284 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23285 into all bytes of SSE register.
23286 Patch by Richard Li <richardpku@gmail.com>.
23287
f0967738 232882010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23289
23290 [BZ #12140]
23291 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23292 perturbing.
23293
d0b9e94f
MB
232942010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23295
23296 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23297 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23298 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23299 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23301 submachine.
23302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23303
8e9f92e9
AS
233042010-10-22 Andreas Schwab <schwab@redhat.com>
23305
23306 * include/dlfcn.h (__RTLD_SECURE): Define.
23307 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23308 mode & __RTLD_SECURE instead.
23309 (open_path): Rename preloaded parameter to secure.
23310 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23311 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23312 * elf/dl-deps.c (openaux): Likewise.
23313 * elf/rtld.c (struct map_args): Remove is_preloaded.
23314 (map_doit): Don't use it.
23315 (dl_main): Likewise.
23316 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23317 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23318
bc96fbda
AS
233192010-09-09 Andreas Schwab <schwab@redhat.com>
23320
23321 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23322 (sysd-rules-targets): Remove duplicates.
23323 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23324 rtld-%.$o dependency.
23325
22cd1c9b
AS
233262010-10-18 Andreas Schwab <schwab@redhat.com>
23327
23328 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23329 _dl_map_object do it.
23330
18edac48
UD
233312010-10-19 Ulrich Drepper <drepper@gmail.com>
23332
23333 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23334 fast fma builtins, define the macros in the C99 standard.
23335 (FP_FAST_FMAF): Likewise.
23336 (FP_FAST_FMAL): Likewise.
23337 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23338
23339 * bits/mathdef.h: Update copyright year.
23340 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23341
d2050124
MM
233422010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23343
23344 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23345 builtins, define the macros in the C99 standard.
23346 (FP_FAST_FMAF): Likewise.
23347 (FP_FAST_FMAL): Likewise.
23348 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23349 multiply/add.
23350 (FP_FAST_FMAF): Likewise.
23351
475facd1
JJ
233522010-10-15 Jakub Jelinek <jakub@redhat.com>
23353
23354 [BZ #3268]
23355 * math/libm-test.inc (fma_test): Some new testcases.
23356 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23357 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23358 y and infinite z. Do multiplication by C already in long double.
23359 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23360 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23361 y and infinite z. Do bitwise or of inexact bit into u.d.
23362 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23363 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23364 * sysdeps/i386/fpu/s_fma.S: Removed.
23365 * sysdeps/i386/fpu/s_fmal.S: Removed.
23366
7c08a05c
JJ
233672010-10-16 Jakub Jelinek <jakub@redhat.com>
23368
23369 [BZ #3268]
23370 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23371 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23372 computation is not scheduled after fetestexcept. Fix value
23373 of minimum denormal long double.
23374
f3f7372d
JJ
233752010-10-14 Jakub Jelinek <jakub@redhat.com>
23376
23377 [BZ #3268]
23378 * math/libm-test.inc (fma_test): Add some more tests.
23379 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23380 correctly.
23381
14d43591
AS
233822010-10-15 Andreas Schwab <schwab@redhat.com>
23383
23384 * scripts/data/localplt-s390-linux-gnu.data: New file.
23385 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23386
5e908464
JJ
233872010-10-13 Jakub Jelinek <jakub@redhat.com>
23388
23389 [BZ #3268]
23390 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23391 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23392 instead of dbl-64.
23393 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23394 inlines.
23395 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23397 if one of x and y is very large and the other is subnormal.
23398 * sysdeps/s390/fpu/s_fmaf.c: New file.
23399 * sysdeps/s390/fpu/s_fma.c: New file.
23400 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23401 * sysdeps/powerpc/fpu/s_fma.S: New file.
23402 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23403 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23404 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23405
234062010-10-12 Jakub Jelinek <jakub@redhat.com>
23407
23408 [BZ #3268]
23409 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23410 fma tests.
23411 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23412 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23413 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23414 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23415 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23416 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23417 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23418
b833d51f
UD
234192010-10-12 Ulrich Drepper <drepper@redhat.com>
23420
23421 [BZ #12078]
23422 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23423 * posix/bug-regex31.input: Add test case.
23424
1751705d
UD
234252010-10-11 Ulrich Drepper <drepper@gmail.com>
23426
e9b9cbf5
UD
23427 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23428 * posix/bug-regex31.input: New file.
23429
23430 [BZ #12078]
23431 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23432 (parse_sub_exp): Fix last change, use postorder.
23433
ef06edbe
UD
23434 * posix/bug-regex31.c: New file.
23435 * posix/Makefile: Add rules to build and run bug-regex31.
23436
a129c80d
UD
23437 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23438
23439 [BZ #12078]
23440 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23441
b76b818e
UD
23442 [BZ #12108]
23443 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23444 to have entries in sys_siglist.
23445
1751705d
UD
23446 [BZ #12093]
23447 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23448 be NULL.
23449
9ff8d36f
JJ
234502010-10-07 Jakub Jelinek <jakub@redhat.com>
23451
23452 [BZ #3268]
23453 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23454 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23455 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23456 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23457 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23458 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23459 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23460 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23461 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23462 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23463 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23464 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23465 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23466 * math/ftestexcept.c (fetestexcept): Likewise.
23467 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23468 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23469 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23470 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23471 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23472 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23473 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23474
af325969
UD
234752010-10-11 Ulrich Drepper <drepper@gmail.com>
23476
c579b202 23477 [BZ #12107]
af325969
UD
23478 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23479 newline.
23480
67a67b95
UD
234812010-10-06 Ulrich Drepper <drepper@gmail.com>
23482
23483 * string/bug-strstr1.c: New file.
23484 * string/Makefile: Add rules to build and run bug-strstr1.
23485
5fb308bc
EB
234862010-10-05 Eric Blake <eblake@redhat.com>
23487
23488 [BZ #12092]
23489 * string/str-two-way.h (two_way_long_needle): Always clear memory
23490 when skipping input due to the shift table.
23491
45db99c7
UD
234922010-10-03 Ulrich Drepper <drepper@gmail.com>
23493
3b111893
UD
23494 [BZ #12005]
23495 * malloc/mcheck.c: Handle large requests.
23496
45db99c7
UD
23497 [BZ #12077]
23498 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23499 for strncmp and strncasecmp.
23500 * string/stratcliff.c: Add tests for strcmp and strncmp.
23501 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23502
cf7a1eb8
NI
235032010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23504
23505 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23506 __set_fpscr.
23507
6484ba5e
AJ
235082010-09-30 Andreas Jaeger <aj@suse.de>
23509
23510 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23511 (CGROUP_SUPER_MAGIC): Define.
23512 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23513 Handle btrfs and cgroup file systems.
23514 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23515 Likewise.
23516
91c42559
LM
235172010-09-27 Luis Machado <luisgpm@br.ibm.com>
23518
23519 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23520 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23521
87a97932
AK
235222010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23523
23524 [BZ #12067]
23525 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23526 trying to locate the ELF header.
23527
c21cc9bc
AS
235282010-09-27 Andreas Schwab <schwab@redhat.com>
23529
23530 [BZ #11611]
23531 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23532 Mask out sign-bit copies when constructing f_fsid.
23533
315970f6
PB
235342010-09-24 Petr Baudis <pasky@suse.cz>
23535
23536 * debug/stack_chk_fail_local.c: Add missing licence exception.
23537 * debug/warning-nop.c: Likewise.
23538
1ac7a2c7
JM
235392010-09-15 Joseph Myers <joseph@codesourcery.com>
23540
23541 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23542 implementing getdents64 using getdents syscall, set d_type if
23543 __ASSUME_GETDENTS32_D_TYPE.
23544
56801c50
AS
235452010-09-16 Andreas Schwab <schwab@redhat.com>
23546
23547 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23548 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23549
dda51327
UD
235502010-09-21 Ulrich Drepper <drepper@redhat.com>
23551
23552 [BZ #12037]
23553 * posix/unistd.h: Undo change of feature selection for ftruncate from
23554 2010-01-11.
23555
8ffcee4a
UD
235562010-09-20 Ulrich Drepper <drepper@redhat.com>
23557
a545ecd9 23558 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23559 detection.
23560
e24f0a8b
AS
235612010-09-20 Andreas Schwab <schwab@redhat.com>
23562
23563 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23564 fanotify_mark.
23565 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23566
7291c56f
AS
235672010-09-14 Andreas Schwab <schwab@redhat.com>
23568
23569 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23570 variables after CHECK_SP call.
23571 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23572
bc5fb037
AS
235732010-09-13 Andreas Schwab <schwab@redhat.com>
23574 Ulrich Drepper <drepper@redhat.com>
23575
23576 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23577 re-relocationg ld.so.
23578 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23579 _dl_init_paths call.
23580 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23581 here anymore.
23582
e66e7419
UD
235832010-09-14 Ulrich Drepper <drepper@redhat.com>
23584
23585 * resolv/res_init.c (__res_vinit): Count the default server we added.
23586
c044aa75
CLT
235872010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23588 Ulrich Drepper <drepper@redhat.com>
23589
23590 [BZ #11968]
23591 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23592 (____longjmp_chk): Use %ebx for saving value across system call.
23593 Add unwind info.
23594
32cf4069
AS
235952010-09-06 Andreas Schwab <schwab@redhat.com>
23596
23597 * manual/Makefile: Don't mix pattern rules with normal rules.
23598
817328ee
AS
235992010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23600
23601 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23602 operation.
23603 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23604 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23605 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23606 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23607 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23608 Likewise.
23609
29fddf61
UD
236102010-09-04 Ulrich Drepper <drepper@redhat.com>
23611
23612 [BZ #11979]
23613 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23614 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23615
0959ffc9
UD
236162010-09-02 Ulrich Drepper <drepper@redhat.com>
23617
23618 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23619 * sysdeps/x86_64/addmul_1.S: Likewise.
23620 * sysdeps/x86_64/lshift.S: Likewise.
23621 * sysdeps/x86_64/mul_1.S: Likewise.
23622 * sysdeps/x86_64/rshift.S: Likewise.
23623 * sysdeps/x86_64/sub_n.S: Likewise.
23624 * sysdeps/x86_64/submul_1.S: Likewise.
23625
ece29840
ST
236262010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23627
0959ffc9
UD
23628 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23629 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23630 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23631 * bits/sched.h [__need_schedparam]
ece29840 23632 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23633 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23634 (__defined_schedparam): Define to 1.
ece29840
ST
23635 (__sched_param): New structure, identical to sched_param.
23636 (__need_schedparam): Undefine.
23637
e53a31fe
MF
236382010-08-31 Mike Frysinger <vapier@gentoo.org>
23639
fdc0c10d
MF
23640 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23641 (epoll_create1): Declare.
23642
e53a31fe
MF
23643 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23644
a726d796
AS
236452010-08-31 Andreas Schwab <schwab@redhat.com>
23646
23647 [BZ #7066]
23648 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23649 shifting retval into place.
23650
2f3e3dc7
UD
236512010-09-01 Ulrich Drepper <drepper@redhat.com>
23652
f2933da9
UD
23653 * nis/rpcsvc/nis.h: Update copyright notice.
23654 * nis/rpcsvc/nis.x: Likewise.
23655 * nis/rpcsvc/nis_callback.h: Likewise.
23656 * nis/rpcsvc/nis_callback.x: Likewise.
23657 * nis/rpcsvc/nis_object.x: Likewise.
23658 * nis/rpcsvc/nis_tags.h: Likewise.
23659 * nis/rpcsvc/yp.h: Likewise.
23660 * nis/rpcsvc/yp.x: Likewise.
23661 * nis/rpcsvc/ypupd.h: Likewise.
23662 * nis/yp_xdr.c: Likewise.
23663 * nis/ypupdate_xdr.c: Likewise.
23664
2f3e3dc7
UD
23665 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23666 mainly the body of pmap_getport. Add parameters to specify timeouts.
23667 (pmap_getport): Use __libc_rpc_getport.
23668 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23669 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23670 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23671
f3dcc2f9
AS
236722010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23673
23674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23675 fanotify_mark.
23676
6d34eb5b
RM
236772010-08-27 Roland McGrath <roland@redhat.com>
23678
23679 * sysdeps/i386/i686/multiarch/Makefile
23680 (CFLAGS-varshift.c): New variable.
23681
9ea3de11
UD
236822010-08-27 Ulrich Drepper <drepper@redhat.com>
23683
c96d23fc
UD
23684 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23685 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23686
9ea3de11
UD
23687 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23688
23689 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23690
623aac7f
L
236912010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23692
23693 * sysdeps/x86_64/strlen.S: Unroll the loop.
23694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23695 strlen-sse2 strlen-sse2-bsf.
23696 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23697 __strlen_no_bsf if bit_Slow_BSF is set.
23698 (__strlen_sse42): Removed.
23699 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23700 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23701
8b2b7715
RM
237022010-08-25 Roland McGrath <roland@redhat.com>
23703
23704 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23705 * sysdeps/x86_64/multiarch/varshift.c: New file.
23706 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23707 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23708 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23709 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23710
e73015f2
L
237112010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23712
23713 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23714 strlen-sse2 strlen-sse2-bsf.
23715 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23716 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23717 (__strlen_sse2): Removed.
23718 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23719 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23721 bit_Slow_BSF for Atom.
23722 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23723 (index_Slow_BSF): Define.
23724 (HAS_SLOW_BSF): Define.
23725
df24a73e
UD
237262010-08-25 Ulrich Drepper <drepper@redhat.com>
23727
23728 [BZ #10851]
23729 * resolv/res_init.c (__res_vinit): When no server address at all
23730 is given default to loopback.
23731
f2ac4868
RM
237322010-08-24 Roland McGrath <roland@redhat.com>
23733
09055553
RM
23734 * configure.in: Remove config-name.h generation.
23735 * configure: Regenerated.
23736 * config-name.in: File removed.
23737 * scripts/config-uname.sh: New file.
23738 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23739 ($(objdir)config-name.h): New target.
23740
f2ac4868
RM
23741 * sunrpc/rpc_parse.h: Avoid nested comment.
23742
73f27d5e
RH
237432010-08-24 Richard Henderson <rth@redhat.com>
23744 Ulrich Drepper <drepper@redhat.com>
23745 H.J. Lu <hongjiu.lu@intel.com>
23746
23747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23749 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23750 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23751 _mm_alignr_epi8 with _mm_loadu_si128.
23752 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23753 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23754 (__m128i_shift_right): Removed.
23755 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23756 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23757 * sysdeps/x86_64/multiarch/varshift.h: New file.
23758 * sysdeps/x86_64/multiarch/varshift.S: New file.
23759
84b9230c
MF
237602010-08-21 Mike Frysinger <vapier@gentoo.org>
23761
23762 * configure.in: Move assembler checks to before sysdep dir checking.
23763
9bbd0ddc
PB
237642010-08-20 Petr Baudis <pasky@suse.cz>
23765
23766 * LICENSES: Sync the sunrpc license.
23767
9da4bb31
UD
237682010-08-19 Ulrich Drepper <drepper@redhat.com>
23769
a7ab6ec8
UD
23770 * sunrpc/auth_des.c: Update copyright notice once again.
23771 * sunrpc/auth_none.c: Likewise.
23772 * sunrpc/auth_unix.c: Likewise.
23773 * sunrpc/authdes_prot.c: Likewise.
23774 * sunrpc/authuxprot.c: Likewise.
23775 * sunrpc/bindrsvprt.c: Likewise.
23776 * sunrpc/clnt_gen.c: Likewise.
23777 * sunrpc/clnt_perr.c: Likewise.
23778 * sunrpc/clnt_raw.c: Likewise.
23779 * sunrpc/clnt_simp.c: Likewise.
23780 * sunrpc/clnt_tcp.c: Likewise.
23781 * sunrpc/clnt_udp.c: Likewise.
23782 * sunrpc/clnt_unix.c: Likewise.
23783 * sunrpc/des_crypt.c: Likewise.
23784 * sunrpc/des_soft.c: Likewise.
23785 * sunrpc/get_myaddr.c: Likewise.
23786 * sunrpc/getrpcport.c: Likewise.
23787 * sunrpc/key_call.c: Likewise.
23788 * sunrpc/key_prot.c: Likewise.
23789 * sunrpc/openchild.c: Likewise.
23790 * sunrpc/pm_getmaps.c: Likewise.
23791 * sunrpc/pm_getport.c: Likewise.
23792 * sunrpc/pmap_clnt.c: Likewise.
23793 * sunrpc/pmap_prot.c: Likewise.
23794 * sunrpc/pmap_prot2.c: Likewise.
23795 * sunrpc/pmap_rmt.c: Likewise.
23796 * sunrpc/rpc/auth.h: Likewise.
23797 * sunrpc/rpc/auth_unix.h: Likewise.
23798 * sunrpc/rpc/clnt.h: Likewise.
23799 * sunrpc/rpc/des_crypt.h: Likewise.
23800 * sunrpc/rpc/key_prot.h: Likewise.
23801 * sunrpc/rpc/netdb.h: Likewise.
23802 * sunrpc/rpc/pmap_clnt.h: Likewise.
23803 * sunrpc/rpc/pmap_prot.h: Likewise.
23804 * sunrpc/rpc/pmap_rmt.h: Likewise.
23805 * sunrpc/rpc/rpc.h: Likewise.
23806 * sunrpc/rpc/rpc_des.h: Likewise.
23807 * sunrpc/rpc/rpc_msg.h: Likewise.
23808 * sunrpc/rpc/svc.h: Likewise.
23809 * sunrpc/rpc/svc_auth.h: Likewise.
23810 * sunrpc/rpc/types.h: Likewise.
23811 * sunrpc/rpc/xdr.h: Likewise.
23812 * sunrpc/rpc_clntout.c: Likewise.
23813 * sunrpc/rpc_cmsg.c: Likewise.
23814 * sunrpc/rpc_common.c: Likewise.
23815 * sunrpc/rpc_cout.c: Likewise.
23816 * sunrpc/rpc_dtable.c: Likewise.
23817 * sunrpc/rpc_hout.c: Likewise.
23818 * sunrpc/rpc_main.c: Likewise.
23819 * sunrpc/rpc_parse.c: Likewise.
23820 * sunrpc/rpc_parse.h: Likewise.
23821 * sunrpc/rpc_prot.c: Likewise.
23822 * sunrpc/rpc_sample.c: Likewise.
23823 * sunrpc/rpc_scan.c: Likewise.
23824 * sunrpc/rpc_scan.h: Likewise.
23825 * sunrpc/rpc_svcout.c: Likewise.
23826 * sunrpc/rpc_tblout.c: Likewise.
23827 * sunrpc/rpc_util.c: Likewise.
23828 * sunrpc/rpc_util.h: Likewise.
23829 * sunrpc/rpcinfo.c: Likewise.
23830 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23831 * sunrpc/rpcsvc/key_prot.x: Likewise.
23832 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23833 * sunrpc/rpcsvc/mount.x: Likewise.
23834 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23835 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23836 * sunrpc/rpcsvc/rex.x: Likewise.
23837 * sunrpc/rpcsvc/rstat.x: Likewise.
23838 * sunrpc/rpcsvc/rusers.x: Likewise.
23839 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23840 * sunrpc/rpcsvc/spray.x: Likewise.
23841 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23842 * sunrpc/rtime.c: Likewise.
23843 * sunrpc/svc.c: Likewise.
23844 * sunrpc/svc_auth.c: Likewise.
23845 * sunrpc/svc_authux.c: Likewise.
23846 * sunrpc/svc_raw.c: Likewise.
23847 * sunrpc/svc_run.c: Likewise.
23848 * sunrpc/svc_simple.c: Likewise.
23849 * sunrpc/svc_tcp.c: Likewise.
23850 * sunrpc/svc_udp.c: Likewise.
23851 * sunrpc/svc_unix.c: Likewise.
23852 * sunrpc/svcauth_des.c: Likewise.
23853 * sunrpc/xcrypt.c: Likewise.
23854 * sunrpc/xdr.c: Likewise.
23855 * sunrpc/xdr_array.c: Likewise.
23856 * sunrpc/xdr_float.c: Likewise.
23857 * sunrpc/xdr_mem.c: Likewise.
23858 * sunrpc/xdr_rec.c: Likewise.
23859 * sunrpc/xdr_ref.c: Likewise.
23860 * sunrpc/xdr_sizeof.c: Likewise.
23861 * sunrpc/xdr_stdio.c: Likewise.
23862
9da4bb31
UD
23863 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23864 handling.
23865
bdaa77bc
AS
238662010-08-19 Andreas Schwab <schwab@redhat.com>
23867
23868 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23869
fe2f79db
LM
238702010-08-19 Luis Machado <luisgpm@br.ibm.com>
23871
23872 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23873 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23874 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23875 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23876 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23877 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23878 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23879 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23880 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23881 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23882 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23883 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23884 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23885 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23886
b9b42ee0
AB
238872010-07-26 Anton Blanchard <anton@samba.org>
23888
23889 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23890 * malloc/arena.c (heap_trim): Likewise.
23891
1c06ba31
UD
238922010-08-16 Ulrich Drepper <drepper@redhat.com>
23893
23894 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23895 here. Not...
23896 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23897 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23898
f8392f40
L
238992010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23900
23901 * sysdeps/i386/elf/Makefile: New file.
23902
3162f12e
AS
239032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23904
23905 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23906 from fanotify_init.
23907 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23908 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23909
28c90b2c
UD
239102010-08-15 Ulrich Drepper <drepper@redhat.com>
23911
23912 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23913 of strncasecmp_l.
1feccb6c 23914 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23915
ca6bb004
UD
239162010-08-14 Ulrich Drepper <drepper@redhat.com>
23917
e9f82e0d
UD
23918 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23919 strncase_l-nonascii.
23920 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23921 Add strncase_l-ssse3.
23922 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23923 * sysdeps/x86_64/strcmp.S: Likewise.
23924 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23925 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23926 * sysdeps/x86_64/strncase.S: New file.
23927 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23928 * sysdeps/x86_64/strncase_l.S: New file.
23929 * string/Makefile (strop-tests): Add strncasecmp.
23930 * string/test-strncasecmp.c: New file.
23931
23932 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23933 warning.
23934
ca6bb004
UD
23935 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23936 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23937
052fa7b3
AS
239382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23939
23940 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23941
962dba78
UD
239422010-08-12 Ulrich Drepper <drepper@redhat.com>
23943
23944 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23945 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23946 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23947
bebff237
AM
239482010-05-01 Alan Modra <amodra@gmail.com>
23949
23950 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23951 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23952 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23953 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23954 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23955 tidying. Don't tail-call __sigjmp_save for static lib.
23956 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23957 save location.
23958 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23959 (CALL_MCOUNT): Add eh info, and nop after bl.
23960 (TAIL_CALL_SYSCALL_ERROR): New macro.
23961 (PSEUDO_RET): Use it.
23962 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23963 Correct save location of integer regs and cr.
23964 (_dl_profile_resolve): Correct cr save location. Delete nops
23965 after bl when SHARED. Reduce cfi size a little by better
23966 placement of cfi directives.
23967 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23968 make a stack frame. Instead use parm save area as a temp.
23969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23970 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23972 Don't make a stack frame for parent, use parm save area.
23973 Increase child stack frame to 112 bytes. Don't save unused reg,
23974 and adjust reg usage. Set up cfi on error recovery and
23975 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23977 (__makecontext): Add dummy nop after jump to exit.
23978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23979 Use correct parm save area and cr save, reduce stack frame.
23980 Correct cfi for possible PSEUDO_RET frame setup.
23981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23982 Branch to local label emitted by PSEUDO_RET rather than
23983 __syscall_error.
23984
02637374
AS
239852010-08-12 Andreas Schwab <schwab@redhat.com>
23986
23987 [BZ #11904]
23988 * locale/programs/locale.c (print_assignment): New function.
23989 (show_locale_vars): Use it.
23990
c3e2f19b
UD
239912010-08-11 Ulrich Drepper <drepper@redhat.com>
23992
3cdaa6ad
UD
23993 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23994 field.
23995 (struct statfs64): Likewise.
23996 (_STATFS_F_FLAGS): Define.
23997 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23998 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23999 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24000 (ST_VALID): Define locally.
24001 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24002 __statvfs_getflags, use the provided value.
24003 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24004 __ASSUME_STATFS_F_FLAGS.
24005
754f7da3
UD
24006 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24007
10b3bedc
UD
24008 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24009 Add sys/fanotify.h.
24010 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24011 fanotify_mask for GLIBC_2.13.
24012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24013 fanotify_init and fanotify_mark.
24014 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24015 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24016
c08fb0d7
UD
24017 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24018 Add prlimit.
24019 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24020 prlimit64 for GLIBC_2.13.
24021 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24022 prlimit64.
24023 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24024 syscall.
24025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24026 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24027 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24028 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24029 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24030 add prlimit alias.
24031 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24032
15bac72b
UD
24033 [BZ #11903]
24034 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24035 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24036
c3e2f19b
UD
24037 * nss/Makefile: Add rules to build and run tst-nss-test1.
24038 * shlib-versions: Add entry for libnss_test1.
24039 * nss/nss_test1.c: New file.
24040 * nss/tst-nss-test1.c: New file.
24041
24042 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24043 (__nss_configure_lookup): Set appropriate entry in
24044 __nss_configure_lookup to true.
24045 * nss/nsswitch.h: Define enum with indeces of databases in
24046 databases and __nss_database_custom arrays. Declare
24047 __nss_database_custom.
24048 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24049 to avoid using nscd when custom rules are installed.
24050 * nss/getXXbyYY_r.c: Likewise.
24051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24052
24053 * nss/nss_files/files-parse.c: Whitespace fixes.
24054
f15ce4d8
UD
240552010-08-09 Ulrich Drepper <drepper@redhat.com>
24056
24057 [BZ #11883]
24058 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24059 * posix/fnmatch_loop.c: Likewise.
24060
d22e4cc9
AK
240612010-07-17 Andi Kleen <ak@linux.intel.com>
24062
24063 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24064 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24065 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24066 * Versions.def [GLIBC_2.13]: Add.
24067
805bc17d
UD
240682010-08-06 Ulrich Drepper <drepper@redhat.com>
24069
24070 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24071 Also fail if tpwd after pwuid call is NULL.
24072
5a42321d
ST
240732010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24074
24075 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24076 when converting to ms.
24077
fd3ebeda
ST
240782010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24079
24080 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24081 EOPNOTSUPP errors with ENOTTY.
24082 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24083 EOPNOTSUPP errors with ENOTTY.
24084
73507d3a
UD
240852010-07-31 Ulrich Drepper <drepper@redhat.com>
24086
24087 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24088 Add strcasecmp_l-ssse3.
24089 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24090 strcasecmp.
24091 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24092 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24093 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24094
fe36dd02
UD
240952010-07-30 Ulrich Drepper <drepper@redhat.com>
24096
66f6765a
UD
24097 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24098
42e08a54
UD
24099 * string/Makefile (strop-tests): Add strcasecmp.
24100 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24101 strcasecmp_l-nonascii.
24102 (gen-as-const-headers): Add locale-defines.sym.
24103 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24104 * sysdeps/x86_64/strcasecmp.S: New file.
24105 * sysdeps/x86_64/strcasecmp_l.S: New file.
24106 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24107 * sysdeps/x86_64/locale-defines.sym: New file.
24108 * string/test-strcasecmp.c: New file.
24109
fe36dd02
UD
24110 * string/test-strcasestr.c: Test both ends of the range of characters.
24111 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24112
48cbc0d6
RM
241132010-07-29 Roland McGrath <roland@redhat.com>
24114
76e6d6bc 24115 [BZ #11856]
48cbc0d6
RM
24116 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24117
880113d9
UD
241182010-07-27 Ulrich Drepper <drepper@redhat.com>
24119
24120 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24121 for ld.so.
24122
deb9cabb
AS
241232010-07-27 Andreas Schwab <schwab@redhat.com>
24124
24125 * manual/memory.texi (Malloc Tunable Parameters): Document
24126 M_PERTURB.
24127
1c7570ff
RM
241282010-07-26 Roland McGrath <roland@redhat.com>
24129
24130 [BZ #11840]
24131 * configure.in (-fgnu89-inline check): Set and substitute
24132 gnu89_inline, not libc_cv_gnu89_inline.
24133 * configure: Regenerated.
24134 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24135
24fb0f88
UD
241362010-07-26 Ulrich Drepper <drepper@redhat.com>
24137
24138 * string/test-strnlen.c: New file.
24139 * string/Makefile (strop-tests): Add strnlen.
24140 * string/tester.c (test_strnlen): Add a few more test cases.
24141 * string/tst-strlen.c: Better error reporting.
24142
24143 * sysdeps/x86_64/strnlen.S: New file.
24144
8e96b93a
UD
241452010-07-24 Ulrich Drepper <drepper@redhat.com>
24146
24147 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24148 lower-latency instructions.
24149
dbc676d4
UD
241502010-07-23 Ulrich Drepper <drepper@redhat.com>
24151
24152 * string/test-strcasestr.c: New file.
24153 * string/test-strstr.c: New file.
24154 * string/Makefile (strop-tests): Add strstr and strcasestr.
24155 * string/str-two-way.h: Don't undefine MAX.
24156 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24157
f6a31e0e
AS
241582010-07-21 Andreas Schwab <schwab@redhat.com>
24159
24160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24161 strcasestr-nonascii.
24162 (CFLAGS-strcasestr-nonascii.c): Define.
24163 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24164 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24165 Remove unused attribute.
24166
5dbc3b6c
RM
241672010-07-20 Roland McGrath <roland@redhat.com>
24168
24169 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24170 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24171 ld.so.cache was broken. With it, there is no way to disable dsocaps
24172 like LD_HWCAP_MASK can disable hwcaps.
24173
23d101d8
EPM
241742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24175
24176 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24177
cc9f2e47
UD
241782010-07-16 Ulrich Drepper <drepper@redhat.com>
24179
24180 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24181 call in strcasestr.
24182 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24183 __strcasestr_sse42_nonascii.
24184 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24185 strcasestr-nonascii.c.
24186 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24187
77c1b069
LM
241882010-06-15 Luis Machado <luisgpm@br.ibm.com>
24189
24190 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24191 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24192 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24193 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24194
440566c3
UD
241952010-07-09 Ulrich Drepper <drepper@redhat.com>
24196
24197 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24198 fcntl.
24199
5be9d05d
AS
242002010-07-06 Andreas Schwab <schwab@redhat.com>
24201
c30b7ee2 24202 [BZ #11577]
5be9d05d
AS
24203 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24204 dl_signal_cerror.
24205
8a492a67
UD
242062010-07-06 Ulrich Drepper <drepper@redhat.com>
24207
24208 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24209 _PC_PIPE_BUF using F_GETPIPE_SZ.
24210
713df3d5
RM
242112010-07-05 Roland McGrath <roland@redhat.com>
24212
24213 * manual/arith.texi (Rounding Functions): Fix rint description
24214 implicit in round description.
24215
702e8f14
UD
242162010-07-02 Ulrich Drepper <drepper@redhat.com>
24217
24218 * elf/Makefile: Fix linking for a few tests to make recent linker
24219 happy.
24220
52ed8be9
AS
242212010-06-30 Andreas Schwab <schwab@redhat.com>
24222
24223 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24224 $(common-objpfx)libc_nonshared.a.
24225
f47c9a11
LM
242262010-06-21 Luis Machado <luisgpm@br.ibm.com>
24227
24228 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24229 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24230 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24231 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24232 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24233 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24234 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24235 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24250 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24251 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24252 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24253 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24254 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24255 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24256 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24257 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24258 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24259 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24260 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24261 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24276
6fb8cbcb
L
242772010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24278
24279 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24280 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24281 * string/memmove.c (memmove): Renamed to ...
24282 (MEMMOVE): ...this. Default to memmove.
24283 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24284 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24285 (END_CHK): Define.
24286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24287 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24288 mempcpy-ssse3-back memmove-ssse3-back.
24289 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24290 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24291 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24292 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24293 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24294 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24295 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24296 * sysdeps/x86_64/multiarch/memmove.c: New file.
24297 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24298 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24299 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24300 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24301 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24302 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24303 Define.
24304 (index_Fast_Copy_Backward): Define.
24305 (HAS_ARCH_FEATURE): Define.
24306 (HAS_FAST_REP_STRING): Define.
24307 (HAS_FAST_COPY_BACKWARD): Define.
24308
4e733bac 243092010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24310
24311 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24312 Restore proper fallback handling.
24313
63c4ed22
UD
243142010-06-19 Ulrich Drepper <drepper@redhat.com>
24315
ac2b484c
UD
24316 [BZ #11701]
24317 * posix/group_member.c (__group_member): Correct checking loop.
24318
63c4ed22
UD
24319 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24320 OOM in getpwuid_r correctly. Return error number when the caller
24321 should return, otherwise -1.
24322 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24323 call returning > 0 value.
24324 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24325
765ade4b
AS
243262010-06-07 Andreas Schwab <schwab@redhat.com>
24327
24328 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24329 libc_nonshared.a from targets in modules-names.
24330
80da2e09
KS
243312010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24332
24333 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24334 requires it.
24335
158db122
LM
243362010-06-10 Luis Machado <luisgpm@br.ibm.com>
24337
24338 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24339 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24340 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24341 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24342
caa78cf8
AS
243432010-06-02 Andreas Schwab <schwab@redhat.com>
24344
24345 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24346
b2ef2c01
UD
243472010-06-14 Ulrich Drepper <drepper@redhat.com>
24348
24349 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24350 and F_GETPIPE_SZ.
24351 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24352 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24353 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24355 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24356 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24357
fbd643b6
RM
243582010-06-14 Roland McGrath <roland@redhat.com>
24359
24360 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24361
f32f2869
JJ
243622010-06-07 Jakub Jelinek <jakub@redhat.com>
24363
24364 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24365 __REDIRECT followed by __THROW.
24366 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24367 * posix/getopt.h (getopt): Likewise.
24368
2a50c078
EPM
243692010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24370
24371 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24372 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24373 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24374 in AT_FLAGS.
24375 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24376 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24377
eb5ad2eb
LM
243782010-05-28 Luis Machado <luisgpm@br.ibm.com>
24379
24380 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24381
3c88fe1e
L
243822010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24383
24384 [BZ #11640]
24385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24386 Properly check family and model.
24387
d2f73151
TY
243882010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24389
24390 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24391
ebd2e13d
LM
243922010-05-24 Luis Machado <luisgpm@br.ibm.com>
24393
24394 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24395
b32b8b45
UD
243962010-05-21 Ulrich Drepper <drepper@redhat.com>
24397
24398 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24399 symbol reference.
24400
9acbe24d
AS
244012010-05-19 Andreas Schwab <schwab@redhat.com>
24402
24403 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24404 symbol reference.
24405
f0ccf6ea
AS
244062010-05-21 Andreas Schwab <schwab@redhat.com>
24407
3d04ff3a
AS
24408 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24409 and internal_recvmmsg.
24410 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24411 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24412 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24413 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24414
f0ccf6ea
AS
24415 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24416 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24417 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24418
5b08ac57
AS
244192010-05-20 Andreas Schwab <schwab@redhat.com>
24420
24421 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24422
4828935d
LM
244232010-05-17 Luis Machado <luisgpm@br.ibm.com>
24424
24425 POWER7 optimizations.
24426 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24427 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24428
373d545e
UD
244292010-05-19 Ulrich Drepper <drepper@redhat.com>
24430
24431 * version.h: Update for 2.13 development version.
24432
21a2b1ae
AS
244332010-05-12 Andrew Stubbs <ams@codesourcery.com>
24434
24435 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24436 exceptions. Return 0.
24437
3f7dcb2b
RM
244382010-05-07 Roland McGrath <roland@redhat.com>
24439
24440 * elf/ldconfig.c (main): Add a const.
24441
5f24d53a 244422010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24443
a160f8d8
UD
24444 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24445 (args_options): Add no-idn option.
24446 (ahosts_keys_int): Add idn_flags to ai_flags.
24447 (parse_option): Handle 'i' option to clear idn_flags.
24448
5f24d53a
UD
24449 * malloc/malloc.c (_int_free): Possible race in the most recently
24450 added check. Only act on the data if no current modification
24451 happened.
265bb1ce
UD
24452
24453See ChangeLog.17 for earlier changes.