]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove unnecessary multiplication with RADIXI
[glibc.git] / ChangeLog
CommitLineData
d3b9ea61
SP
12013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4 multiplication.
5
1dbaee3c
DM
62013-01-17 David S. Miller <davem@davemloft.net>
7
8 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9
728d7b43
JM
102013-01-17 Joseph Myers <joseph@codesourcery.com>
11
12 [BZ #15023]
13 * include/complex.h: Condition contents on [!_COMPLEX_H].
14 (__kernel_casinhf): New prototype.
15 (__kernel_casinh): Likewise.
16 (__kernel_casinhl): Likewise.
17 * math/Makefile (libm_calls): Add k_casinh.
18 * math/k_casinh.c: New file.
19 * math/k_casinhf.c: Likewise.
20 * math/k_casinhl.c: Likewise.
21 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22 finite nonzero arguments.
23 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24 finite nonzero arguments.
25 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26 finite nonzero arguments.
27 * math/s_casinh.c: Do not include <float.h>.
28 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29 * math/s_casinhf.c: Do not include <float.h>.
30 (__casinhf): Move code for finite nonzero arguments to
31 k_casinhf.c.
32 * math/s_casinhl.c: Do not include <float.h>.
33 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34 redefine.
35 (__casinhl): Move code for finite nonzero arguments to
36 k_casinhl.c.
37 * math/libm-test.inc (cacos_test): Add more tests.
38 * sysdeps/i386/fpu/libm-test-ulps: Update.
39 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40
2a26ef3a
PT
412013-01-17 Pino Toscano <toscano.pino@tiscali.it>
42
43 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
44 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
45 [!HAVE_MREMAP]: Remove [defined linux] case.
46 * malloc/arena.c: Do not include <malloc-sysdep.h>.
47
a897655d
SP
482013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
49
50 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51
881ebe89 522013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
53
54 * elf/elf.h (R_386_SIZE32): New relocation.
55 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56 R_386_SIZE32.
57 (elf_machine_rela): Likewise.
58 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59 R_X86_64_SIZE64 and R_X86_64_SIZE32.
60
59981e9b
JM
612013-01-17 Joseph Myers <joseph@codesourcery.com>
62
63 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
64 (FP_FAST_FMA): Do not define.
65 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
67 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
68 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
69 !_SOFT_FLOAT]: Likewise.
70 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72 value.
73 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
74 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
75 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
76 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
77 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
78 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
79 file.
80
cfa8054f
AS
812013-01-16 Andreas Schwab <schwab@suse.de>
82
83 [BZ #14327]
84 * include/stdlib.h (__mktemp): Add declaration.
85 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
86 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
87
dd930cc5
SP
882013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
89
881ebe89
SP
90 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
91 definitions.
92 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
93 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
94 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
95 definitions here.
96 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
97 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
98 definitions.
99 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
100 and ONE.
101 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
102 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
103 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
104 definitions.
105 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
106 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
107 definitions.
108 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 109
dd930cc5
SP
110 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
111
c19a9f89
DM
1122013-01-15 David S. Miller <davem@davemloft.net>
113
1aa61767
DM
114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
115 trunc{,f} to libm-sysdep_routes.
116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
118 file.
119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
121 file.
122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
123 file.
124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
126 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
127 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
128 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
129 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
130 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
131 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
132
c42d5e98
DM
133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
134 nearbyint{,f} to libm-sysdep_routes.
135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
137 New file.
138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
139 file.
140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
141 New file.
142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
143 file.
144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
146 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
147 file.
148 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
149 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
150 file.
151 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
152 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
153 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
154
c19a9f89
DM
155 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
156 libc_feholdexcept and libc_fesetenv.
157
357679d2
MF
1582013-01-15 Mike Frysinger <vapier@gentoo.org>
159
160 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
161
65a82e3d
DM
1622013-01-14 David S. Miller <davem@davemloft.net>
163
8b954ab9
DM
164 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
165 (SPARC_ASM_VIS2_IFUNC): Likewise.
166 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
168 use of 'siam' instruction.
169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
170 Likewise.
171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
172 Likewise.
173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
174 Likewise.
175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
180 file.
181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
182 file.
183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
184 file.
185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
186 file.
187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
190 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
192 new VIS2 routines.
193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
196 Likewise.
197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
202 routines to libm-sysdep_routines.
203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
204
65a82e3d
DM
205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
206 fdim/fdimf to libm-sysdep_routines.
207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
208 file.
209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
211 file.
212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
215 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
216 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
217 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
218 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
219
e34ab705
SP
2202013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
221
2a91b573
SP
222 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
223 to optimize copies.
224
1066a534
SP
225 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
228
e34ab705
SP
229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
230 local variable MPTWO.
231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
232 Likewise.
233
aba5e596
MF
2342013-01-13 Mike Frysinger <vapier@gentoo.org>
235
236 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
237 GLOB_NOESCAPE.
238
e557e9e5
MF
2392013-01-13 Mike Frysinger <vapier@gentoo.org>
240
241 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
242
0428cec9
MF
2432013-01-13 Mike Frysinger <vapier@gentoo.org>
244
245 * manual/pattern.texi (glob_t): Document gl_flags.
246 (glob64_t): Likewise.
247
8794a964
DM
2482013-01-11 David S. Miller <davem@davemloft.net>
249
66438c3f
RM
250 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
251 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
252 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
253 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
254 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
255 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
256 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
257 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
258 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
259 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
260 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
261 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
262 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
263
4ae4244d
DM
264 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
265 sparc V9 rather than using V8 code.
266 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
267 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
268
8794a964
DM
269 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
270 Move to...
271 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
272 Here.
273
6270516e
RM
2742013-01-11 Roland McGrath <roland@hack.frob.com>
275
276 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
277 not in the main loop.
278 * configure: Regenerated.
279
6a57d931
JM
2802013-01-11 Joseph Myers <joseph@codesourcery.com>
281
282 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
283 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
284 to just #else.
285 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
286 [!__GLIBC_HAVE_LONG_LONG] case.
287 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
288 condition to just #else.
289 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
290 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
291 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
292 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
293 unconditional.
294 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
295 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
296 #elif condition to just #else.
297 * sysdeps/unix/sysv/linux/sys/sysmacros.h
298 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
299 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
300 #elif condition to just #else.
301
0e8529e9
SE
3022013-01-11 Steve Ellcey <sellcey@mips.com>
303
304 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
305 (EF_MIPS_ARCH_64): Fix value.
306 (EF_MIPS_ARCH_32R2): New.
307 (EF_MIPS_ARCH_64R2): New.
308
740b3dbe
L
3092013-01-11 H.J. Lu <hongjiu.lu@intel.com>
310
311 * Makeconfig (+link-pie-before-libc): New.
312 (+link-pie-after-libc): Likewise.
313 (+link-pie-tests): Likewise.
314 (+link-pie): Rewritten.
315 (link-before-libc): Remove $(config-LDFLAGS).
316 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
317 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
318 (config-LDFLAGS): Renamed to ...
319 (rtld-LDFLAGS): This.
320 (rtld-tests-LDFLAGS): New macro.
321 (link-libc-rpath-link): Likewise.
322 (link-libc-tests-rpath-link): Likewise.
323 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
324 (link-libc): Prepand $(link-libc-rpath-link).
325 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
326 (test-program-prefix): New macro.
327 (test-via-rtld-prefix): Likewise.
328 (test-program-cmd): Likewise.
329 (host-test-program-cmd): Likewise.
330 * Makefile ($(common-objpfx)testrun.sh): Replace
331 $(run-program-prefix) with $(test-program-prefix).
332 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
333 $(rtld-LDFLAGS).
334 ($(common-objpfx)shlib.lds): Likewise.
335 (build-module-helper): Likewise.
336 ($(common-objpfx)format.lds): Likewise.
337 * Rules (binaries-pie-tests): New.
338 (binaries-pie-notests): Likewise.
339 (binaries-pie): Rewritten.
340 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
341 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
342 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
343 (make-test-out): Replace $(host-built-program-cmd) with
344 $(host-test-program-cmd).
345 * config.make.in (build-hardcoded-path-in-tests): New variable.
346 * configure.in (--enable-hardcoded-path-in-tests): New configure
347 option.
348 (hardcoded_path_in_tests): New AC_SUBST.
349 * configure: Regenerated.
350 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
351 $(built-program-cmd) with $(test-program-cmd).
352 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
353 (test_program_cmd): This.
354 * elf/Makefile ($(objpfx)order.out): Run test with
355 $(test-program-prefix).
356 ($(objpfx)order2.out): Likewise.
357 ($(objpfx)tst-initorder.out): Likewise.
358 ($(objpfx)tst-initorder2.out): Likewise.
359 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
360 $(test-program-cmd).
361 ($(objpfx)tst-array1-static.out): Likewise.
362 ($(objpfx)tst-array2.out): Likewise.
363 ($(objpfx)tst-array3.out): Likewise.
364 ($(objpfx)tst-array4.out): Likewise.
365 ($(objpfx)tst-array5.out): Likewise.
366 ($(objpfx)tst-array5-static.out): Likewise.
367 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
368 $(test-program-cmd).
369 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
370 $(run-program-prefix) with $(test-program-prefix).
371 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
372 (test_program_prefix): This.
373 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
374 $(run-program-prefix) with $(test-program-prefix).
375 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
376 (test_program_prefix): This.
377 * iconvdata/tst-tables.sh: Likewise.
378 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
379 $(run-program-prefix) with $(test-program-prefix).
380 ($(objpfx)tst-translit.out): Likewise.
381 ($(objpfx)tst-gettext2.out): Likewise.
382 ($(objpfx)tst-gettext4.out): Likewise.
383 ($(objpfx)tst-gettext6.out): Likewise.
384 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
385 (test_program_prefix): This.
386 * intl/tst-gettext2.sh: Likewise.
387 * intl/tst-gettext4.sh Likewise.
388 * intl/tst-gettext6.sh: Likewise.
389 * intl/tst-translit.sh: Likewise.
390 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
391 with $(test-program-cmd).
392 * libio/Makefile ($(objpfx)test-freopen.out): Replace
393 $(run-program-prefix) with $(test-program-prefix).
394 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
395 (test_program_prefix): This.
396 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
397 $(run-program-prefix) with $(test-program-prefix).
398 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
399 (test_program_prefix): This.
400 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
401 * posix/Makefile ($(objpfx)globtest.out): Replace
402 $(run-via-rtld-prefix) and $(test-wrapper) with
403 $(test-program-prefix) and $(test-via-rtld-prefix).
404 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
405 $(test-program-prefix).
406 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
407 $(host-test-program-cmd).
408 (tst-spawn-ARGS): Likewise.
409 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
410 $(test-program-prefix).
411 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
412 (test_via_rtld_prefix): This.
413 (test_wrapper): Renamed to ...
414 (test_program_prefix): This.
415 (run_program_prefix): Replaced by test_program_prefix.
416 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
417 (test_program_prefix): This.
418 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
419 with $(host-test-program-cmd).
420 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
421 $(run-program-prefix) with $(test-program-prefix).
422 ($(objpfx)tst-printf.out): Likewise.
423 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
424 $(test-program-cmd).
425 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
426 (test_program_prefix): This.
427 * stdio-common/tst-unbputc.sh: Likewise.
428 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
429 $(run-program-prefix) with $(test-program-prefix).
430 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
431 (test_program_prefix): This.
432 * string/Makefile ($(objpfx)tst-svc.out): Replace
433 $(built-program-cmd) with $(test-program-cmd).
434
c6fe55cf
AJ
4352013-01-11 Andreas Jaeger <aj@suse.de>
436
437 [BZ #15003]
438 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
439 value. Sync with Linux 3.7.
440
9e6919c8
DM
4412013-01-10 David S. Miller <davem@davemloft.net>
442
443 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
444 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
445 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
446
1c9f1a02
RM
4472013-01-10 Roland McGrath <roland@hack.frob.com>
448
449 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
450 never set.
451 * configure: Regenerated.
452
b9de2dde
DM
4532013-01-10 David S. Miller <davem@davemloft.net>
454
455 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
456 sparc V9 rather than using V8 code.
457 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
458 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
459
e7f68ef4
RM
4602013-01-10 Roland McGrath <roland@hack.frob.com>
461
462 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
463 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
464 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
465 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
466 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
467 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
468 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
469 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
470 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
471 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
472 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
473 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
474 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
475 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
476 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
477 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
478 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
479 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
480 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
481 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
482 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
483 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
484 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
485 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
486 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
487 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
488 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
489
5a47cc9c
DM
4902013-01-10 David S. Miller <davem@davemloft.net>
491
492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
493
4cf8f209
L
4942013-01-10 H.J. Lu <hongjiu.lu@intel.com>
495
496 * posix/Makefile (tests-static): New variable.
497 (tests): Add $(tests-static).
498 (tst-exec-static-ARGS): New variable.
499 (tst-spawn-static-ARGS): Likewise.
500 * posix/tst-exec-static.c: New file.
501 * posix/tst-spawn-static.c: Likewise.
502 * posix/tst-exec.c: Support run directly.
503 * posix/tst-spawn.c: Likewise.
504
fed0faa1
JM
5052013-01-10 Joseph Myers <joseph@codesourcery.com>
506
828beb13
JM
507 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
508 long.
509 * math/bits/mathcalls.h (llrint): Likewise.
510 (llround): Likewise.
511 * stdlib/stdlib.h (struct drand48_data): Likewise.
512 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
513 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
514 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
515 Likewise.
516 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
517 Likewise.
518 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
519 (elf_greg_t): Likewise.
520 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
521 (__jmp_buf): Likewise.
522 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
523 definitions.
524 (llrint): Likewise, for all definitions.
525 (llrintl): Likewise.
526
fed0faa1
JM
527 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
528 Remove [__GNUC__] condition.
529 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
530 condition to just [__USE_ISOC99].
531 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
532
1a20cb20
L
5332013-01-10 H.J. Lu <hongjiu.lu@intel.com>
534
535 [BZ #14200]
536 * sysdeps/unix/sysv/linux/x86/bits/environments.h
537 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
538 defined.
539 (_POSIX_V6_ILP32_OFF32): Likewise.
540 (_XBS5_ILP32_OFF32): Likewise.
541 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
542 (__ILP32_OFFBIG_LDFLAGS): Likewise.
543
751b85f7
SP
5442013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
545
7490eb81
SP
546 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
547
751b85f7
SP
548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
549 doubles __mpexp_twomm1. Adjust usage.
550 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
551 Remove.
552
988197f0
AS
5532013-01-10 Andreas Schwab <schwab@suse.de>
554
555 [BZ #14964]
556 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
557 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
558
e83d7298
DM
5592013-01-09 David S. Miller <davem@davemloft.net>
560
034ed64b 561 [BZ #15003]
e83d7298
DM
562 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
563 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
564 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
565 TCP_FASTOPEN): Define.
566 (tcp_repair_opt): New structure.
567 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
568 enum values.
569 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
570 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
571 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
572 (tcp_cookie_transactions): New structure.
573
d5e0b9bd
AB
5742013-01-09 Anton Blanchard <anton@samba.org>
575
576 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
577 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
578 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
579 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
580
0c07e3ea
JM
5812013-01-09 Joseph Myers <joseph@codesourcery.com>
582
583 * include/features.h (__USE_ANSI): Remove.
584
232f7002
RM
5852013-01-09 Roland McGrath <roland@hack.frob.com>
586
ad98e30c
RM
587 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
588
232f7002
RM
589 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
590
950c99ca
SP
5912013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
592
b5792741
SP
593 * sysdeps/s390/fpu/libm-test-ulps: Update.
594
47cf2278
SP
595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
596
950c99ca
SP
597 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
598 (__acr): Likewise.
599 (__cpy): Likewise.
600 (norm): Likewise.
601 (denorm): Likewise.
602 (__mp_dbl): Likewise.
603 (__dbl_mp): Likewise.
604 (add_magnitudes): Likewise.
605 (sub_magnitudes): Likewise.
606 (__add): Likewise.
607 (__sub): Likewise.
608 (__mul): Likewise.
609 (__inv): Likewise.
610 (__dvd): Likewise.
611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
612 (__acr): Likewise.
613 (__cpy): Likewise.
614 (norm): Likewise.
615 (denorm): Likewise.
616 (__mp_dbl): Likewise.
617 (__dbl_mp): Likewise.
618 (add_magnitudes): Likewise.
619 (sub_magnitudes): Likewise.
620 (__add): Likewise.
621 (__sub): Likewise.
622 (__mul): Likewise.
623 (__inv): Likewise.
624 (__dvd): Likewise.
625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
626 (__acr): Likewise.
627 (__cpy): Likewise.
628 (norm): Likewise.
629 (denorm): Likewise.
630 (__mp_dbl): Likewise.
631 (__dbl_mp): Likewise.
632 (add_magnitudes): Likewise.
633 (sub_magnitudes): Likewise.
634 (__add): Likewise.
635 (__sub): Likewise.
636 (__mul): Likewise.
637 (__inv): Likewise.
638 (__dvd): Likewise.
639
eede9df9
JM
6402013-01-08 Joseph Myers <joseph@codesourcery.com>
641
642 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
643 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
644 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
645 2 && __USE_EXTERN_INLINES]: Likewise.
646
c40ea3d9
AJ
6472013-01-08 Andreas Jaeger <aj@suse.de>
648
649 [BZ# 14985]
650 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
651 Remove.
652 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
653 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
654
2ccdea26
AB
6552013-01-07 Anton Blanchard <anton@samba.org>
656
657 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
658 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
659 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
660 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
661 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
662 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
663 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
664 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
666 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
667 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
668 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
669 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
670 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
671 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
672 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
673 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
674 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
675 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
676 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
677 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
678 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
679 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
680 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
681 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
682 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
683 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
684 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
685 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
686 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
687 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
689 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
690 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
691 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
692 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
693 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
694 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
695 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
696 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
697 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
699 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
700
a9708fed
JM
7012013-01-07 Joseph Myers <joseph@codesourcery.com>
702
375607b9
JM
703 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
704 (__MALLOC_PMT): Likewise.
705 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
706 [__GNUC__], only on [_LIBC].
707 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
708 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
709 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
710 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
711 forward declaration.
712 (realloc_hook_ini): Likewise.
713 (memalign_hook_ini): Likewise.
714 (__libc_memalign): Do not use __MALLOC_PMT in variable
715 declaration.
716 (__libc_valloc): Likewise.
717 (__libc_pvalloc): Likewise.
718 (__libc_calloc): Likewise.
719 (__posix_memalign): Likewise.
720
a9708fed
JM
721 [BZ #14996]
722 * math/s_casinh.c: Include <float.h>.
723 (__casinh): Do not do computation with squaring and square root
724 for large arguments.
725 * math/s_casinhf.c: Include <float.h>.
726 (__casinhf): Do not do computation with squaring and square root
727 for large arguments.
728 * math/s_casinhl.c: Include <float.h>.
729 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
730 (__casinhl): Do not do computation with squaring and square root
731 for large arguments.
732 * math/libm-test.inc (casin_test): Add more tests.
733 (casinh_test): Likewise.
734 * sysdeps/i386/fpu/libm-test-ulps: Update.
735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
736
afec409a
L
7372013-01-04 H.J. Lu <hongjiu.lu@intel.com>
738
739 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
740 (__x86_64_raw_data_cache_size): Likewise.
741 (__x86_64_data_cache_size_half): Likewise.
742 (__x86_64_raw_data_cache_size_half): Likewise.
743 (__x86_64_shared_cache_size): Likewise.
744 (__x86_64_raw_shared_cache_size): Likewise.
745 (__x86_64_shared_cache_size_half): Likewise.
746 (__x86_64_raw_shared_cache_size_half): Likewise.
747 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
748 to ...
749 (__x86_data_cache_size): This.
750 (__x86_64_raw_data_cache_size): Renamed to ...
751 (__x86_raw_data_cache_size): This.
752 (__x86_64_data_cache_size_half): Renamed to ...
753 (__x86_data_cache_size_half): This.
754 (__x86_64_raw_data_cache_size_half): Renamed to ...
755 (__x86_raw_data_cache_size_half): This.
756 (__x86_64_shared_cache_size): Renamed to ...
757 (__x86_shared_cache_size): This.
758 (__x86_64_raw_shared_cache_size): Renamed to ...
759 (__x86_raw_shared_cache_size): This.
760 (__x86_64_shared_cache_size_half): Renamed to ...
761 (__x86_shared_cache_size_half): This.
762 (__x86_64_raw_shared_cache_size_half): Renamed to ...
763 (__x86_raw_shared_cache_size_half): This.
764 * sysdeps/x86_64/memcpy.S: Updated.
765 * sysdeps/x86_64/memset.S: Likewise.
766 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
767 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
768 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
769
0b3986d0
DM
7702013-01-04 David S. Miller <davem@davemloft.net>
771
772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
773
e47686e9
AS
7742013-01-04 Andreas Schwab <schwab@linux-m68k.org>
775
d643bac1
AS
776 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
777 1 to avoid redefinition warning.
778 (__USE_GNU): Don't define.
779 (init_signaling_nan): Protoize.
780
e47686e9
AS
781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
782
b18decba
SP
7832013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
784
fffb407f
SP
785 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
787 (__cpymn): Likewise.
788 (norm): Remove commented code.
789 (denorm): Likewise.
790 (__mp_dbl): Likewise.
791 (__inv): Likewise.
792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
793 (__cpymn): Likewise.
794 (norm): Remove commented code.
795 (denorm): Likewise.
796 (__mp_dbl): Likewise.
797 (__inv): Likewise.
798
b18decba
SP
799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
800 mp_no value for 1.0 and 2.0.
801 (norm): Use RADIXI instead of radixi.d.
802 (denorm): Likewise.
803 (__mul): Use 0.0 instead of zero.d.
804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
805 mp_no value for 1.0 and 2.0.
806 (norm): Use RADIXI instead of radixi.d.
807 (denorm): Likewise.
808 (__mul): Use 0.0 instead of zero.d.
809
cdc1c96f
JM
8102013-01-04 Joseph Myers <joseph@codesourcery.com>
811
812 [BZ #14994]
813 * math/s_casinh.c (__casinh): Reduce finite argument to first
814 quadrant then set signs of results at the end.
815 * math/s_casinhf.c (__casinhf): Likewise.
816 * math/s_casinhl.c (__casinhl): Likewise.
817 * math/libm-test.inc (casin_test): Add more tests.
818 (casinh_test): Likewise.
819 * sysdeps/i386/fpu/libm-test-ulps: Update.
820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
821
302913e1
SP
8222013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
823
6420d207
SP
824 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
825
a9e48ab4
SP
826 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
827
b7837264
SP
828 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
829 declarations.
830 (denorm): Likewise.
831 (__mp_dbl): Likewise.
832 (__inv): Likewise.
833
f8af25d2
SP
834 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
835 and adjust the header comment.
836
302913e1
SP
837 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
838 variable name from declaration.
839
5d7dd1ca
L
8402013-01-03 H.J. Lu <hongjiu.lu@intel.com>
841
842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
843 Initialize COMMON_CPUID_INDEX_7 element.
844 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
845 (CPUID_RTM): Likewise.
846 (HAS_RTM): Likewise.
847 (COMMON_CPUID_INDEX_7): New enum.
848
2f5f40f4
AS
8492013-01-03 Andreas Schwab <schwab@linux-m68k.org>
850
851 [BZ #14981]
852 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
853 size is zero, record memory as freed.
854
4056f4a0
AJ
8552013-01-03 Andreas Jaeger <aj@suse.de>
856
857 * po/ia.po: Add new Interlingua translation.
858
ab15736f 8592012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
860
861 * locale/programs/localedef.c: Fix description of '--posix' flag.
862
568035b7
JM
8632013-01-02 Joseph Myers <joseph@codesourcery.com>
864
e6898b8d
JM
865 * NEWS: Update dates in second copyright notice.
866 * README: Update copyright dates in example.
867 * manual/libc.texinfo: Update copyright dates.
868 * scripts/test-installation.pl: Update copyright date in --version
869 output.
870
0e2f9562
JM
871 * hurd/ctty-input.c: Fix copyright notice formatting.
872 * hurd/ctty-output.c: Likewise.
873 * hurd/dtable.c: Likewise.
874 * hurd/hurd-raise.c: Likewise.
875 * hurd/hurdprio.c: Likewise.
876 * hurd/msgportdemux.c: Likewise.
877 * misc/sys/file.h: Likewise.
878 * misc/sys/ioctl.h: Likewise.
879 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
880 * sysdeps/mach/hurd/chdir.c: Likewise.
881 * sysdeps/mach/hurd/fchdir.c: Likewise.
882 * sysdeps/mach/hurd/rename.c: Likewise.
883 * sysdeps/mach/hurd/rmdir.c: Likewise.
884 * sysdeps/mach/hurd/seekdir.c: Likewise.
885 * sysdeps/mach/hurd/setsid.c: Likewise.
886 * sysdeps/posix/wait3.c: Likewise.
887
568035b7
JM
888 * All files with FSF copyright notices: Update copyright dates
889 using scripts/update-copyrights.
890 * intl/plural.c: Regenerated.
891 * locale/programs/charmap-kw.h: Likewise.
892 * locale/programs/locfile-kw.h: Likewise.
893
da08f647
SP
8942013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
895
0f5477af
SP
896 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
897 four values.
898
44e0d4c2
SP
899 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
900 calculation loop and add branch prediction.
901
4d55b4e5
SP
902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
903 check access beyond bounds of m1np.
904
da08f647
SP
905 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
906 MPTWO.
907 (__inv): Remove local variable MPTWO to use the global
908 constant.
909 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
910 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
911 variable MPTWO.
912 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
913 MP3HALFS static const.
914
8e051029
DM
9152013-01-01 David S. Miller <davem@davemloft.net>
916
917 * po/ca.po: Update from translation team.
918
f4cf5f2d
JM
9192013-01-01 Joseph Myers <joseph@codesourcery.com>
920
921 * scripts/update-copyrights: New file.
922 * Makeconfig: Reformat copyright notice.
923 * ctype/ctype.h: Likewise.
924 * debug/swprintf_chk.c: Likewise.
925 * elf/dl-cache.c: Likewise.
926 * elf/dl-debug.c: Likewise.
927 * elf/dl-object.c: Likewise.
928 * grp/initgroups.c: Likewise.
929 * hurd/Makefile: Likewise.
930 * hurd/hurd/signal.h: Likewise.
931 * hurd/hurdfault.c: Likewise.
932 * hurd/hurdioctl.c: Likewise.
933 * hurd/hurdlookup.c: Likewise.
934 * hurd/intr-msg.c: Likewise.
935 * iconv/gconv_open.c: Likewise.
936 * libio/swprintf.c: Likewise.
937 * locale/lc-ctype.c: Likewise.
938 * locale/nl_langinfo.c: Likewise.
939 * mach/Machrules: Likewise.
940 * mach/Makefile: Likewise.
941 * malloc/obstack.h: Likewise.
942 * manual/Makefile: Likewise.
943 * manual/tsort.awk: Likewise.
944 * misc/bits/stab.def: Likewise.
945 * nis/nis_print_group_entry.c: Likewise.
946 * nis/nis_table.c: Likewise.
947 * nis/nss_compat/compat-pwd.c: Likewise.
948 * nis/nss_compat/compat-spwd.c: Likewise.
949 * po/Makefile: Likewise.
950 * posix/fnmatch.c: Likewise.
951 * posix/regex.h: Likewise.
952 * resolv/Makefile: Likewise.
953 * resolv/nss_dns/dns-network.c: Likewise.
954 * resolv/res_hconf.c: Likewise.
955 * scripts/gen-sorted.awk: Likewise.
956 * soft-fp/soft-fp.h: Likewise.
957 * stdio-common/printf.h: Likewise.
958 * stdlib/monetary.h: Likewise.
959 * stdlib/random.c: Likewise.
960 * stdlib/random_r.c: Likewise.
961 * sysdeps/generic/Makefile: Likewise.
962 * sysdeps/gnu/Makefile: Likewise.
963 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
965 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
967 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
968 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
969 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
970 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
971 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
973 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
974 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
975 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
976 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
977 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
978 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
979 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
980 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
981 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
982 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
983 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
984 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
985 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
986 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
987 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
988 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
989 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
990 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
991 * sysdeps/mach/hurd/errnos.awk: Likewise.
992 * sysdeps/mach/hurd/fork.c: Likewise.
993 * sysdeps/mach/hurd/getcwd.c: Likewise.
994 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
995 * sysdeps/mach/hurd/mmap.c: Likewise.
996 * sysdeps/mach/hurd/utimes.c: Likewise.
997 * sysdeps/mach/hurd/xmknod.c: Likewise.
998 * sysdeps/posix/profil.c: Likewise.
999 * sysdeps/posix/readdir_r.c: Likewise.
1000 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1001 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1002 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1003 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1005 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1006 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1007 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1009 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1010 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1011 * sysdeps/pthread/lio_listio.c: Likewise.
1012 * sysdeps/sparc/dl-procinfo.h: Likewise.
1013 * sysdeps/unix/i386/sysdep.S: Likewise.
1014 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1015 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1016 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1017 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1019 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1020 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1021 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1022 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1023 * sysdeps/wordsize-32/divdi3.c: Likewise.
1024 * time/sys/time.h: Likewise.
1025 * wcsmbs/Makefile: Likewise.
1026
0549fbba
DM
10272013-01-01 David S. Miller <davem@davemloft.net>
1028
a141f1a7
DM
1029 * po/fr.po: Update from translation team.
1030
0549fbba
DM
1031 * catgets/gencat.c: Update copyright year.
1032 * csu/version.c: Likewise.
1033 * debug/catchsegv.sh: Likewise.
1034 * debug/pcprofiledump.c: Likewise.
1035 * debug/xtrace.sh: Likewise.
1036 * elf/ldconfig.c: Likewise.
1037 * elf/ldd.bash.in: Likewise.
1038 * elf/pldd.c: Likewise.
1039 * elf/sotruss.ksh: Likewise.
1040 * elf/sprof.c: Likewise.
1041 * iconv/iconv_prog.c: Likewise.
1042 * iconv/iconvconfig.c: Likewise.
1043 * locale/programs/locale.c: Likewise.
1044 * locale/programs/localedef.c: Likewise.
1045 * login/programs/pt_chown.c: Likewise.
1046 * malloc/memusage.sh: Likewise.
1047 * malloc/memusagestat.c: Likewise.
1048 * malloc/mtrace.pl: Likewise.
1049 * nscd/nscd.c: Likewise.
1050 * nss/getent.c: Likewise.
1051 * nss/makedb.c: Likewise.
1052 * posix/getconf.c: Likewise.
1053
18ea052c
SP
10542012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1055
1056 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1057 numbers.
1058
9c89fca6
MF
10592012-12-30 Mike Frysinger <vapier@gentoo.org>
1060
1061 * math/bits/mathcalls.h (modf): Use __nonnull.
1062
085ec079
SP
10632012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1064
1065 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1066 (split): Use macro CN instead of the bare value.
1067 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1068 could be used.
1069 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1070 instead of the bare value.
1071 (power1): Likewise.
1072
6d9f97e1
SP
10732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1074
d63f73be
SP
1075 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1076 __ATAN_TWOM.
1077 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1078
6d9f97e1
SP
1079 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1080 their values.
1081 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1082 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1083 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1084 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1085
4c4febf5
AJ
10862012-12-28 Andreas Jaeger <aj@suse.de>
1087
af5843ef
AJ
1088 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1089 values are from Linux 3.7.
1090
4c4febf5
AJ
1091 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1092 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1093
99136f82
SP
10942012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1095
2f216c3c 1096 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1097 TRUE case.
1098
99136f82
SP
1099 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1100 (norm): Likewise.
1101 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1102 variables with preprocessor constants.
1103 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1104 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1105 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1106
7fffbdff
BH
11072012-12-27 Bruno Haible <bruno@clisp.org>
1108
1109 [BZ #14317]
1110 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1111 only if needed.
1112
b76eb5f0
SP
11132012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1114
31a7fe5c
SP
1115 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1116 and use variable directly.
1117 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1118
b76eb5f0
SP
1119 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1120 MPONE.
1121 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1122 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1123 variable MPONE.
1124 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1126 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1127 include directive. Remove local variable MPONE.
1128 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1129 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1130 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1131
2c8bfe7d
DM
11322012-12-25 David S. Miller <davem@davemloft.net>
1133
1134 * version.h (RELEASE): Set to "development".
1135 (VERSION): Set to "2.17.90".
1136 * NEWS: Add 2.18 section.
1137
147d03b0
DM
11382012-12-21 David S. Miller <davem@davemloft.net>
1139
1140 * po/hr.po: Update from translation team.
1141
a8ebb2b9
AK
11422012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1143
1144 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1145
95b4f1b6
SE
11462012-12-19 Steve Ellcey <sellcey@mips.com>
1147
b2d94007 1148 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1149
cedb2a90
MS
11502012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1151
1152 * manual/contrib.texi (Contributors): Spelling correction.
1153
bbf527d6
DM
11542012-12-15 David S. Miller <davem@davemloft.net>
1155
1156 * po/ru.po: Update from translation team.
1157
bc38c906
DM
11582012-12-13 David S. Miller <davem@davemloft.net>
1159
85429b1a
DM
1160 * NEWS: Mention IFUNC testsuite enhancements.
1161
d283e353
DM
1162 * po/pl.po: Update from translation team.
1163 * po/bg.po: Likewise.
1164
bc38c906
DM
1165 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1166 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1167
a181b0d7
DM
11682012-12-11 David S. Miller <davem@davemloft.net>
1169
4641d57e
DM
1170 * po/sv.po: Update from translation team.
1171
f7bc6495
DM
1172 * po/vi.po: Update from translation team.
1173
6fc9048f
DM
1174 * po/cs.po: Update from translation team.
1175
a181b0d7
DM
1176 * po/de.po: Update from translation team.
1177 * po/eo.po: Likewise.
1178 * po/nl.po: Likewise.
1179
f70bfe80
SP
11802012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1181
3c8b4190
SP
1182 [BZ #14246]
1183 * manual/argp.texi (Argp Helper Functions): Move node to follow
1184 Argp Parsing State.
1185
f70bfe80
SP
1186 [BZ #14872]
1187 * manual/conf.texi (Limits on File System Capacity): Mention if
1188 terminating null is included in the max size.
1189
188f0adf
AJ
11902012-12-10 Andreas Jaeger <aj@suse.de>
1191
1192 * po/cs.po: Update from translation team.
1193
56e7d3ad
SP
11942012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1195
1196 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1197 void pointer and cast to uintptr_t.
1198 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1199 path.
1200 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1201 * sysdeps/s390/s390-64/memset.S: Likewise.
1202
76f2d2ea 12032012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1204
1205 [BZ #14833]
1206 * menual/message.texi (Message Translation): Fix typos.
1207 (Helper programs for gettext): Likewise.
1208
67cbf9a2
AS
12092012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1210
1211 [BZ #14898]
1212 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1213 Change to -1.
1214
682d0e9a
DM
12152012-12-07 David S. Miller <davem@davemloft.net>
1216
1217 * po/libc.pot: Update.
1218
573cd484
RH
12192012-12-07 Richard Henderson <rth@redhat.com>
1220
7e9da188 1221 [BZ #10114]
573cd484
RH
1222 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1223 normal/normal case to before the switch.
1224 (_FP_DIV): Likewise.
1225
e933a943
MF
12262012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1227 Mike Frysinger <vapier@gentoo.org>
1228
1229 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1230 check for __NR_fadvise64_64.
1231
82123268
CM
12322012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1233
1234 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1235 0, not just to plain "0" as a statement.
1236 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1237 with cw.
1238
d9814526
JM
12392012-12-06 Joseph Myers <joseph@codesourcery.com>
1240
1241 * NEWS: Use sourceware.org in Bugzilla URL.
1242
7728c574
SP
12432012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1244
f16946dd
SP
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1246 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1247
5704bbcb
SP
1248 * stdio-common/tst-put-error.c (do_test): Add newline to the
1249 padded test to ensure flush.
1250
17aa0516
JL
12512012-12-05 Jeff Law <law@redhat.com>
1252
1253 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1254
363313b5
JM
12552012-12-05 Joseph Myers <joseph@codesourcery.com>
1256
effbd42a
JM
1257 * README: Don't refer to ports add-on as distributed separately.
1258 Mention AArch64 in list of systems supported in the ports add-on.
1259
87600365
JM
1260 * LICENSES: Add more non-FSF copyright and license notices.
1261
a0d7066a
JM
1262 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1263 ((unused)).
1264
66ca5a5b
JM
1265 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1266
363313b5
JM
1267 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1268 10000 as width of padded output.
1269
b37984ad
JM
12702012-12-04 Joseph Myers <joseph@codesourcery.com>
1271
9003570a
JM
1272 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1273
b37984ad
JM
1274 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1275 variable LX with __attribute__ ((unused)).
1276 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1277 Likewise.
1278 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1279 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1280 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1281 with __attribute__ ((unused)).
1282
c8df52ec
DM
12832012-12-04 David S. Miller <davem@abraco.davemloft.net>
1284
1285 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1286
b3b099af
JM
12872012-12-04 Joseph Myers <joseph@codesourcery.com>
1288
c33aa6e3
JM
1289 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1290 (CFLAGS-nldbl-acos.c): New variable.
1291 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1292 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1293 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1294 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1295 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1296 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1297 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1298 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1299 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1300 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1301 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1302 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1303 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1304 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1305 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1306 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1307 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1308 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1309 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1310 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1311 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1312 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1313 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1314 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1315 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1316 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1317 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1318 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1319 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1320 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1321 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1322 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1323 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1324 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1325 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1326 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1327 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1328 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1329 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1330 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1331 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1332 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1333 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1334 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1335 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1336 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1337 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1338 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1339 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1340 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1341 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1342 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1343 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1344 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1345 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1346 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1347 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1348 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1349 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1350 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1351 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1352 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1353 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1354 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1355 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1356 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1357 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1358 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1359 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1360 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1361 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1362 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1363 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1364 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1365 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1366 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1367 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1368 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1369 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1370 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1371 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1372 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1373 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1374 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1375 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1376 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1377 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1378 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1379 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1380 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1381 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1382 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1383 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1384 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1385 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1386 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1387 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1388
20f0018d
JM
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1390 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1391
b3b099af
JM
1392 [BZ #14914]
1393 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1394 whole low double instead of just low 47 bits when splitting values
1395 into two parts.
1396
029264d1
AM
13972012-12-03 Allan McRae <allan@archlinux.org>
1398
1399 * manual/stdio.texi (Predefined Printf Handlers): Remove
1400 @hsep and @vsep usage.
1401
c9d6789e
MF
14022012-12-03 Mike Frysinger <vapier@gentoo.org>
1403
1404 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1405 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1406
4b7634a5
JL
14072012-12-03 Jeff Law <law@redhat.com>
1408
1409 * time/sys/time.h (settimeofday): Do not mark TV argument
1410 as __nonnull.
1411
eb6cbd24
MF
14122012-12-01 Mike Frysinger <vapier@gentoo.org>
1413
1414 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1415 when currently writing and seek to current position when not.
1416 * libio/Makefile (tests): Remove bug-fclose1.
1417 * libio/bug-fclose1.c: Delete.
1418
f638872a
JM
14192012-12-01 Joseph Myers <joseph@codesourcery.com>
1420
1421 * manual/arith.texi (feenableexcept): Fix typo.
1422 (fedisableexcept): Likewise.
1423
48085d14
RM
14242012-11-30 Roland McGrath <roland@hack.frob.com>
1425
1426 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1427 second, differently-typed declaration, rather than a cast.
1428
1a538b9f
SP
14292012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1430
1431 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1432 * include/rpc/svc.h: ... here.
1433
d07f2ff1 14342012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1435
1436 [BZ #13013]
1437 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1438 depending n and resplen2 to catch cases where answer
1439 equals answerp2.
1440
c93ec1f0
CD
14412012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1442
1443 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1444 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1445
37db69de
MF
14462012-11-29 Mike Frysinger <vapier@gentoo.org>
1447
1448 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1449
e10c4e4f
RM
14502012-11-29 Roland McGrath <roland@hack.frob.com>
1451
1452 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1453
2af1b328
JL
14542012-11-28 Jeff Law <law@redhat.com>
1455
1456 [BZ #13761]
1457 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1458 dataset_temporary. Track alloca usage into alloca_used.
1459 If dataset is large allocate and release it via malloc/free.
1460
111db5b1
FW
14612012-06-04 Florian Weimer <fweimer@redhat.com>
1462
f06cc227 1463 [BZ #14197]
111db5b1
FW
1464 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1465
dd694abd
DM
14662012-11-28 David S. Miller <davem@davemloft.net>
1467
1468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1469
9984dd01
JM
14702012-11-28 Joseph Myers <joseph@codesourcery.com>
1471
1472 [BZ #14803]
1473 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1474 of pi/2 rounded to nearest to 64 bits.
1475 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1476 nearest to 64 bits.
1477 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1478 bits.
1479
14bc93a9
JL
14802012-11-28 Jeff Law <law@redhat.com>
1481 Martin Osvald <mosvald@redhat.com>
1482
1483 [BZ #14889]
1484 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1485 * sunrpc/svc.c: Include time.h.
1486 (__svc_accept_failed): New function.
1487 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1488 any reason other than EINTR, call __svc_accept_failed.
1489 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1490 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1491
e3c6aa3a
AS
14922012-11-28 Andreas Schwab <schwab@suse.de>
1493
1494 * scripts/abilist.awk: Also handle indirect functions in .opd
1495 section.
1496
1bead169
JM
14972012-11-28 Joseph Myers <joseph@codesourcery.com>
1498
1499 [BZ #13881]
1500 * sysdeps/x86/fpu/powl_helper.c: New file.
1501 * sysdeps/x86/fpu/Makefile: Likewise.
1502 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1503 (p3): New object.
1504 (__ieee754_powl): Use __powl_helper for finite arguments except
1505 integer exponents below 8.
1506 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1507 (p3): New object.
1508 (__ieee754_powl): Use __powl_helper for finite arguments except
1509 integer exponents below 8.
1510 * math/libm-test.inc (pow_test): Add more tests and enable some
1511 previously disabled tests.
1512 * sysdeps/i386/fpu/libm-test-ulps: Update.
1513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1514
0817d63d
SP
15152012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1516 Carlos O'Donell <carlos_odonell@mentor.com>
1517
1518 * nss/makedb.c (is_prime): Assert that input is odd and greater
1519 than 4. Note that fact in a comment too.
1520 (next_prime): Add 4 to input.
1521
de2fd463
SP
15222012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1523
1524 [BZ #11741]
1525 * libio/Makefile (tests): Add test case tst-fwrite-error.
1526 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1527 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1528 * libio/tst-fwrite-error.c: New test case.
1529
c515fb51
L
15302012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1531
1532 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1533 before casting to void *.
1534 * include/libc-internal.h (__pointer_type): New macro.
1535 (__integer_if_pointer_type_sub): Likewise.
1536 (__integer_if_pointer_type): Likewise.
1537 (cast_to_integer): Likewise.
1538 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1539 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1540 before casting to atomic64_t.
1541 (atomic_exchange_acq): Likewise.
1542 (__arch_exchange_and_add_body): Likewise.
1543 (__arch_add_body): Likewise.
1544 (atomic_add_negative): Likewise.
1545 (atomic_add_zero): Likewise.
1546
4cf77aa9
JM
15472012-11-26 Joseph Myers <joseph@codesourcery.com>
1548
1549 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1550 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1551 (add_fdes): Likewise.
1552 (linear_search_fdes): Likewise.
1553 (binary_search_unencoded_fdes): Likewise.
1554
d260b3b4
AS
15552012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1556
1557 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1558
67060746
AC
15592012-11-24 Adam Conrad <adconrad@0c3.net>
1560
1561 * configure.in: Autodetect C++ header directories.
1562 * configure: Regenerated.
1563
800938a1
MF
15642012-11-23 Mike Frysinger <vapier@gentoo.org>
1565
1566 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1567
4e6e34e6
AS
15682012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1569
1570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1571
7c7feb47
JM
15722012-11-22 Joseph Myers <joseph@codesourcery.com>
1573
7184dcdf
JM
1574 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1575 LDBL_MANT_DIG == 106]: Disable some tests.
1576 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1577 Likewise.
1578 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1579 Likewise.
1580
0a42601f
JM
1581 [BZ #14871]
1582 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1583 input for small inputs. Return +/- pi/2 for large inputs.
1584 * math/libm-test.inc (atan_test): Add more tests.
1585
79c9b9fe
JM
1586 * sysdeps/generic/unwind-dw2-fde-glibc.c
1587 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1588 __attribute__ ((unused)).
1589
c60d3bf2
JM
1590 [BZ #14645]
1591 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1592 x * y if x and y are nonzero and z is zero.
1593
ef1e0867
JM
1594 [BZ #14811]
1595 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1596 nonzero exponents with absolute value below 0x1p-117 to +/-
1597 0x1p-117.
1598
1468ded3
JM
1599 [BZ #14869]
1600 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1601 up arguments below 2**-450, not just those below 2**-500.
1602 * math/libm-test.inc (hypot_test): Add another test.
1603
8e27e3cc
JM
1604 [BZ #14868]
1605 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1606 Return a+b for ratio over 2**120, not 2**60.
1607 * math/libm-test.inc (hypot_test): Add another test.
1608
c9c0279b
JM
1609 * math/libm-test.inc (clog_test): Use
1610 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1611 (clog10_test): Likewise.
1612
7c7feb47
JM
1613 [BZ #6778]
1614 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1615
fff1530e
AS
16162012-11-22 Andreas Schwab <schwab@suse.de>
1617
1618 * sysdeps/i386/fpu/libm-test-ulps: Update.
1619
94558d30
PT
16202012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1621
1622 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1623 printf output with newline.
1624
7e1be741
L
16252012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1626
6bfea974
L
1627 [BZ #14865]
1628 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1629 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1630 -z nodlopen, -z initfirst and -z execstack support.
1631 * configure: Regenerated.
1632
7e1be741
L
1633 * elf/elf.h (DF_1_NODIRECT): New macro.
1634 (DF_1_IGNMULDEF): Likewise.
1635 (DF_1_NOKSYMS): Likewise.
1636 (DF_1_NOHDR): Likewise.
1637 (DF_1_EDITED): Likewise.
1638 (DF_1_NORELOC): Likewise.
1639 (DF_1_SYMINTPOSE): Likewise.
1640 (DF_1_GLOBAUDIT): Likewise.
1641 (DF_1_SINGLETON): Likewise.
1642 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1643 DT_1_SUPPORTED_MASK bits.
1644 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1645
105ce2ce
CD
16462012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1647
1648 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1649
123be9de
TS
16502012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1651
d072f3f7
TS
1652 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1653 macro.
1654
123be9de
TS
1655 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1656 (sendmmsg): Move declarations...
1657 * socket/sys/socket.h: ... here.
1658 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1659 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1660 include it from...
1661 * socket/recvmmsg.c: ... this new file.
1662 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1663 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1664 definition of __sendmmsg hidden.
1665 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1666 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1667 Move ENOSYS stub into and include it from...
1668 * socket/sendmmsg.c: ... this new file.
1669 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1670 (sysdep_routines): Move recvmmsg and sendmmsg...
1671 * socket/Makefile (routines): ... here.
1672 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1673 (GLIBC_PRIVATE): Add __sendmmsg.
1674 * include/sys/socket.h (__sendmmsg): Add declarations.
1675 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1676 sendmmsg.
1677
cf9a5d18
JM
16782012-11-20 Joseph Myers <joseph@codesourcery.com>
1679
1680 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1681 variable I1 with __attribute__ ((unused)).
1682 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1683
ecd4caf9
JM
16842012-11-19 Joseph Myers <joseph@codesourcery.com>
1685
be14d48f
JM
1686 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1687 DUMMY variables with __attribute__ ((unused)).
1688
ecd4caf9
JM
1689 * bits/byteswap.h: Include <bits/types.h>.
1690 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1691
986cab95
PT
16922012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1693
1694 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1695 string_t. Do not manually set errno.
1696 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1697 length with __strnlen. Make sure to both set errno and return it on
1698 failure.
1699
6d33cc9d
DM
17002012-11-19 David S. Miller <davem@davemloft.net>
1701
1702 With help from Joseph Myers.
1703 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1704 very large arguments properly.
1705 * math/libm-test.inc (atan_test): New tests.
1706 (atan2_test): New tests.
1707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1709
ee663277
JM
17102012-11-19 Joseph Myers <joseph@codesourcery.com>
1711
877f2d8e
JM
1712 [BZ #14856]
1713 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1714 Define to 3.
1715
116fc08a
JM
1716 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1717 [POSIX] (EADDRNOTAVAIL): Likewise.
1718 [POSIX] (EAFNOSUPPORT): Likewise.
1719 [POSIX] (EALREADY): Likewise.
1720 [POSIX] (ECONNABORTED): Likewise.
1721 [POSIX] (ECONNREFUSED): Likewise.
1722 [POSIX] (ECONNRESET): Likewise.
1723 [POSIX] (EDESTADDRREQ): Likewise.
1724 [POSIX] (EDQUOT): Likewise.
1725 [POSIX] (EHOSTUNREACH): Likewise.
1726 [POSIX] (EIDRM): Likewise.
1727 [POSIX] (EISCONN): Likewise.
1728 [POSIX] (ELOOP): Likewise.
1729 [POSIX] (EMULTIHOP): Likewise.
1730 [POSIX] (ENETDOWN): Likewise.
1731 [POSIX] (ENETUNREACH): Likewise.
1732 [POSIX] (ENOBUFS): Likewise.
1733 [POSIX] (ENODATA): Likewise.
1734 [POSIX] (ENOLINK): Likewise.
1735 [POSIX] (ENOMSG): Likewise.
1736 [POSIX] (ENOPROTOOPT): Likewise.
1737 [POSIX] (ENOSR): Likewise.
1738 [POSIX] (ENOSTR): Likewise.
1739 [POSIX] (ENOTCONN): Likewise.
1740 [POSIX] (ENOTSOCK): Likewise.
1741 [POSIX] (EOPNOTSUPP): Likewise.
1742 [POSIX] (EOVERFLOW): Likewise.
1743 [POSIX] (EPROTO): Likewise.
1744 [POSIX] (EPROTONOSUPPORT): Likewise.
1745 [POSIX] (EPROTOTYPE): Likewise.
1746 [POSIX] (ESTALE): Likewise.
1747 [POSIX] (ETIME): Likewise.
1748 [POSIX] (ETXTBSY): Likewise.
1749 [POSIX] (EWOULDBLOCK): Likewise.
1750 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1751 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1752 [POSIX] (SEEK_CUR): Likewise.
1753 [POSIX] (SEEK_END): Likewise.
1754 [POSIX || UNIX98] (mode_t): Do not require.
1755 [POSIX] (off_t): Likewise.
1756 [POSIX] (pid_t): Likewise.
1757 [POSIX] (sys/stat.h): Do not allow header.
1758 [POSIX] (unistd.h): Likewise.
1759 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1760 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1761 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1762 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1763 require.
1764 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1765 sigevent): Specify elements.
1766 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1767 entry.
1768 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1769 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1770
a483863f
JM
1771 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1772 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1773 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1774 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1775 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1776 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1777 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1778 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1779 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1780 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1781 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1782 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1783 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1784 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1785 Likewise.
1786 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1787 Likewise.
1788 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1789 Likewise.
1790 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1791 Likewise.
1792 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1793 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1794 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1795 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1796 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1797 Specify lower bound on value.
1798 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1799 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1800 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1801 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1802 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1803 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1804 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1805 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1806 value.
1807 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1808 as optional.
1809 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1810 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1811 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1812 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1813 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1814 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1815 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1816 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1817 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1818 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1819 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1820 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1821 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1822 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1823 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1824 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1825 entry.
1826 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1827 optional.
1828 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1829 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1830 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1831 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1832 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1833 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1834 Likewise.
1835 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1836 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1837 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1838 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1839 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1840 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1841 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1842 as optional.
1843 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1844 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1845 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1846 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1847 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1848 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1849 specify as optional.
1850 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1851 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1852 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1853 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1854 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1855 [XPG3] (NL_LANGMAX): Likewise.
1856 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1857 [POSIX || XPG3] (NL_NMAX): Likewise.
1858 [POSIX || XPG3] (NL_SETMAX): Likewise.
1859 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1860 [XPG3] (NZERO): Likewise.
1861 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1862 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1863 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1864 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1865 (REG_ERANGE): Expect.
1866 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1867 optional-constant.
1868 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1869 Use (void) in prototype.
1870 [POSIX] (*_t): Allow.
1871 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1872 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1873 (WRDE_BADVAL): Expect.
1874
5ba924e3
JM
1875 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1876 expect.
1877 [XPG3 || XPG4] (O_RSYNC): Likewise.
1878 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1879 Likewise.
1880 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1881 [XPG3 || XPG4] (sigqueue): Likewise.
1882 [XPG3 || XPG4] (sigtimedwait): Likewise.
1883 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1884 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1885 [XPG3 || XPG4] (vsnprintf): Likewise.
1886 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1887 Likewise.
1888 [XPG3 || XPG4] (blksize_t): Likewise.
1889 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1890 Likewise.
1891 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1892 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1893 [XPG3 || XPG4] (struct itimerspec): Likewise.
1894 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1895 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1896 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1897 [XPG3 || XPG4] (clockid_t): Likewise.
1898 [XPG3 || XPG4] (timer_t): Likewise.
1899 [XPG3 || XPG4] (clock_getres): Likewise.
1900 [XPG3 || XPG4] (clock_gettime): Likewise.
1901 [XPG3 || XPG4] (clock_settime): Likewise.
1902 [XPG3 || XPG4] (nanosleep): Likewise.
1903 [XPG3 || XPG4] (timer_create): Likewise.
1904 [XPG3 || XPG4] (timer_delete): Likewise.
1905 [XPG3 || XPG4] (timer_gettime): Likewise.
1906 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1907 [XPG3 || XPG4] (timer_settime): Likewise.
1908 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1909 [XPG3 || XPG4] (getlogin_r): Likewise.
1910 [XPG3 || XPG4] (pread): Likewise.
1911 [XPG3 || XPG4] (pthread_atfork): Likewise.
1912 [XPG3 || XPG4] (pwrite): Likewise.
1913
ee663277
JM
1914 [BZ #14835]
1915 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1916 <bits/siginfo.h>.
1917
942caa16
PT
19182012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1919
e19af380
PT
1920 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1921 finalizing MALLSTREAM.
1922
942caa16
PT
1923 * sysdeps/mach/hurd/syncfs.c: New file.
1924
cfde9b46
SP
19252012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1926
1927 [BZ #14719]
1928 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1929 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1930 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1931 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1932 (_nss_dns_gethostbyname4_r): Likewise.
1933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1934 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1935
f6da27e5
PH
19362012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1937
1938 [BZ #13763]
1939 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1940
6665d4a2
SM
19412012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1942
1f51ee92
SM
1943 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1944 * elf/cache.c (print_entry): Print ",AArch64" for
1945 FLAG_AARCH64_LIB64
1946
6665d4a2
SM
1947 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1948 * elf/cache.c (print_entry): Print ",hard-float" for
1949 FLAG_ARM_LIBHF.
1950
05b227bd
DM
19512012-11-18 David S. Miller <davem@davemloft.net>
1952
1953 With help from Joseph Myers.
1954 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1955 cutoff to 2**-13.
1956 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1957 cutoff to 2**-25.
1958 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1959 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1960 small.
1961 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1962 * math/libm-test.inc (y0_test): New tests.
1963 (y1_test): New tests.
1964 * sysdeps/i386/fpu/libm-test-ulps: Update.
1965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1967
786b0b67
AS
19682012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1969
1970 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1971 64-bit targets.
1972 * configure: Regenerated.
1973
8e18b86d
DM
19742012-11-17 David S. Miller <davem@davemloft.net>
1975
1976 [BZ #14811]
1977 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1978 nonzero exponents with absolute value below 0x1p-128 to +/-
1979 0x1p-128.
1980
531f1ae0
JM
19812012-11-17 Joseph Myers <joseph@codesourcery.com>
1982
12df29e2
JM
1983 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1984
150dc1a0
JM
1985 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1986
531f1ae0
JM
1987 * posix/getconf-speclist.c: New file.
1988 * posix/posix-envs.def: Likewise.
1989 * posix/confstr.c (START_ENV_GROUP): New macro.
1990 (END_ENV_GROUP): Likewise.
1991 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1992 (KNOWN_PRESENT_ENV_STRING): Likewise.
1993 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1994 (UNKNOWN_ENVIRONMENT): Likewise.
1995 (confstr): Include posix-envs.def instead of handling
1996 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1997 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1998 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1999 (END_ENV_GROUP): Likewise.
2000 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2001 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2002 (UNKNOWN_ENVIRONMENT): Likewise.
2003 (__sysconf): Include posix-envs.def instead of handling associated
2004 cases directly here.
2005 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2006 preprocessing getconf-speclist.c rather than running getconf or
2007 generating empty file.
2008
a93f9cbc
PT
20092012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2010
2011 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2012
d64d9f87
AL
20132012-11-16 Andrej Lajovic <natrij@gmail.com>
2014
2015 [BZ #14672]
2016 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2017
447885eb
DM
20182012-11-16 David S. Miller <davem@davemloft.net>
2019
2020 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2021 smaller than LDBL_EPSILON/2.0L, just return xm1.
2022
bcbf9830
L
20232012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2024
2025 * elf/tst-array1.c (init): Set constructor priority to 1000.
2026 (fini): Set destructor priority to 1000.
2027 * elf/tst-array2dep.c: Likewise.
2028
2b766585
SP
20292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2030
2031 [BZ #11741]
2032 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2033 (_IO_new_file_xsputn): Also return EOF if none of the input
2034 data was written when overflow failed.
2035 * libio/iopadn.c (_IO_padn): Likewise.
2036 * libio/iowpadn.c (_IO_wpadn): Likewise.
2037 * stdio-common/tst-put-error.c: Add copyright notice.
2038 (do_test): Add case for printing padded string.
2039 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2040 _IO_padn returned error.
2041 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2042 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2043 return EOF.
2044
b1848fde
SP
20452012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2046
2047 * libio/libioP.h: Add comment note that the references to C++
2048 bits are now obsolete.
2049
2fd89785
MS
20502012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2051
2052 * math/libm-test.inc (check_complex): Use asprintf.
2053
e3ea5409
JM
20542012-11-14 Joseph Myers <joseph@codesourcery.com>
2055
2056 * debug/pcprofiledump.c (print_version): Update copyright year.
2057 * malloc/memusagestat.c (print_version): Likewise.
2058
2e64d265
L
20592012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2060
2061 [BZ #14831]
2062 * elf/Makefile (tests): Add tst-audit8.
2063 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2064 ($(objpfx)tst-audit8.out): New target.
2065 (tst-audit8-ENV): New variable.
2066 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2067 audit if l_reloc_result is NULL.
2068 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2069 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2070 * elf/tst-audit8.c: New file.
2071
c485e4d2
MS
20722012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2073
2074 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2075 * misc/Makefile (CFLAGS-select.c): Define.
2076 * posix/Makefile (CFLAGS-pause.c): Define.
2077
3a0d900a
DM
20782012-11-13 David S. Miller <davem@davemloft.net>
2079
2080 * crypt/Makefile: Move test targets after toplevel Rules
2081 inclusion. Grab any necessary sysdep routines when linking.
2082 * crypt/md5.c (md5_process_block): Remove define, we will always
2083 name it __md5_process_block.
2084 (md5_finish_ctx): Update md5_process_block call.
2085 (md5_stream): Likewise.
2086 (md5_process_bytes): Likewise.
2087 (md5_process_block): Rename to __md5_process_block and move to ...
2088 * crypt/md5-block.c: ... here.
2089 * crypt/sha256.c (sha256_process_block): Move to ...
2090 * crypt/sha256-block.c: ... here.
2091 * crypt/sha512.c (sha512_process_block): Move to ...
2092 * crypt/sha512-block.c: ... here.
2093 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2094 path.
2095 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2096 * sysdeps/sparc/sparc64/multiarch/Makefile
2097 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2098 crypt subdir.
2099 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2100 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2101 multiarch changes.
2102 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2103 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2104 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2105 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2106 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2107 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2108 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2109 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2110 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2111 file.
2112 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2113 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2114 file.
2115 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2116
8ca89318
JM
21172012-11-13 Joseph Myers <joseph@codesourcery.com>
2118
e27d476a
JM
2119 * timezone/tzselect.ksh: Update from tzcode git revision
2120 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2121 * timezone/zdump.c: Likewise.
2122 * timezone/zic.c: Likewise.
2123 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2124 in TZVERSION setting, not $(PKGVERSION).
2125 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2126 REPORT_BUGS_TO settings.
2127
8ca89318
JM
2128 [BZ #14838]
2129 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2130 macro.
2131
47594329
MS
21322012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2133
2134 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2135 detection to immediately after _FP_ROUND().
2136 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2137 bits are 0.
2138
640ac3f1
DM
21392012-11-11 David S. Miller <davem@davemloft.net>
2140
2141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2142 inttypes.h
2143 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2144 __close rather than their public counterparts.
2145
3d2577bb
JM
21462012-11-10 Joseph Myers <joseph@codesourcery.com>
2147
2148 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2149 file.
2150 [UNIX98] (sem_timedwait): Do not expect.
2151 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2152 [XPG4 || UNIX98] (sockatmark): Do not expect.
2153 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2154 (clock_getcpuclockid): Do not expect.
2155 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2156 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2157 Do not expect.
2158 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2159 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2160 [UNIX98] (vwscanf): Likewise.
2161 [UNIX98] (vswscanf): Likewise.
2162
fb1ae1ee
JM
21632012-11-09 Joseph Myers <joseph@codesourcery.com>
2164
9ec6f8bd
JM
2165 * timezone/version.h: Remove file.
2166 * timezone/README: Do not refer to version.h.
2167 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2168 $(objpfx)version.h.
2169 ($(objpfx)zdump.o): Likewise.
c3f81911 2170 ($(objpfx)version.h): New target.
9ec6f8bd 2171
0aa8f8a1
JM
2172 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2173 2012i.
2174 * timezone/README: Don't mention modification to tzselect.ksh.
2175 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2176 work on unmodified tzselect.ksh. Substitute version numbers in
2177 tzselect.ksh.
2178
4e87147f
JM
2179 * Makefile (format-me): Remove.
2180 (INSTALL): Adjust indentation. Use commands directly instead of
2181 using $(format-me).
2182
8b748aed
JM
2183 * aclocal.m4 (ACX_PKGVERSION): New macro.
2184 (ACX_BUGURL): Likewise.
2185 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2186 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2187 (REPORT_BUGS_TO): Likewise.
2188 * configure: Regenerated.
2189 * config.h.in (PKGVERSION): New macro.
2190 (REPORT_BUGS_TO): Likewise.
2191 * config.make.in (PKGVERSION): New variable.
2192 (PKGVERSION_TEXI): Likewise.
2193 (REPORT_BUGS_TO): Likewise.
2194 (REPORT_BUGS_TEXI): Likewise.
2195 * Makefile (format-me): Use -I$(common-objpfx)manual.
2196 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2197 ($(common-objpfx)manual/%): New target.
2198 (manual/%): Remove target.
2199 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2200 (print_version): Use PKGVERSION.
2201 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2202 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2203 and REPORT_BUGS_TO.
2204 ($(objpfx)xtrace): Likewise.
2205 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2206 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2207 (print_version): Use PKGVERSION.
2208 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2209 (do_version): Use PKGVERSION.
2210 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2211 REPORT_BUGS_TO.
2212 (common-ldd-rewrite): Likewise.
2213 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2214 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2215 (print_version): Use PKGVERSION.
2216 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2217 * elf/pldd.c (argp_program_bug_address): Remove variable.
2218 (more_help): New function.
2219 (argp): Use more_help.
2220 (print_version): Use PKGVERSION.
2221 * elf/sln.c (main): Use PKGVERSION.
2222 (usage): Use REPORT_BUGS_TO.
2223 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2224 (top level): Use PKGVERSION.
2225 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2226 (print_version): Use PKGVERSION.
2227 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2228 (print_version): Use PKGVERSION.
2229 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2230 (print_version): Use PKGVERSION.
2231 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2232 (print_version): Use PKGVERSION.
2233 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2234 (print_version): Use PKGVERSION.
2235 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2236 (print_version): Use PKGVERSION.
2237 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2238 and BUGURL.
2239 ($(objpfx)memusage): Likewise.
2240 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2241 (do_version): Use PKGVERSION.
2242 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2243 (print_version): Use PKGVERSION.
2244 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2245 ($PKGVERSION): New variable.
2246 ($REPORT_BUGS_TO): Likewise.
2247 (usage): Use $REPORT_BUGS_TO.
2248 (top level): Use $PKGVERSION.
2249 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2250 ($(objpfx)pkgvers.texi): New rule.
2251 ($(objpfx)stamp-pkgvers): Likewise.
2252 * manual/install.texi: Include pkgvers.texi.
2253 (--with-pkgversion): Document new configure option.
2254 (--with-bugurl): Likewise.
2255 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2256 than necessarily for this particular distribution. Use
2257 REPORT_BUGS_TO for where to report bugs.
2258 * INSTALL: Regenerated.
2259 * manual/libc.texinfo: Include pkgvers.texi.
2260 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2261 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2262 (print_version): Use PKGVERSION.
2263 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2264 (print_version): Use PKGVERSION.
2265 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2266 (print_version): Use PKGVERSION.
2267 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2268 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2269 macro.
2270 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2271 (print_version): Use PKGVERSION.
2272 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2273 (print_version): Use PKGVERSION.
2274 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2275 and PKGVERSION.
2276
92e4b6a9
JM
2277 * timezone/checktab.awk: Update from tzcode 2012i.
2278 * timezone/ialloc.c: Likewise.
2279 * timezone/private.h: Likewise.
2280 * timezone/scheck.c: Likewise.
2281 * timezone/tzfile.h: Likewise.
2282 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2283 (TZVERSION): Hardcode tzcode version number.
2284 * timezone/zdump.c: Update from tzcode 2012i.
2285 * timezone/zic.c: Likewise.
2286 * timezone/version.h: New file.
2287 * timezone/README: Describe version.h. Update upstream location.
2288
9bde902c
JM
2289 [BZ #14824]
2290 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2291 (mktemp): Enable declaration.
2292 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2293 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2294 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2295 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2296 Likewise.
2297 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2298 Likewise.
2299 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2300 Likewise.
2301 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2302 Likewise.
2303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2304 Likewise.
2305 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2306 Likewise.
2307
fb1ae1ee
JM
2308 [BZ #14821]
2309 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2310 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2311 for copies of such integer values.
2312 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2313 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2314
2c1adbcb
AJ
23152012-11-09 Andreas Jaeger <aj@suse.de>
2316
2317 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2318 definitions and declarations that are provided by
2319 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2320
d0f8457e
AK
23212012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2322
3a235abb 2323 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2324 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2325 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2326 definition.
2327
57241e26
MS
23282012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2329
2330 * elf/elf.h: Update comment before AArch64 relocations.
2331
60e8270d
DM
23322012-11-07 David S. Miller <davem@davemloft.net>
2333
2334 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2335 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2336 (__start_context): Declare.
2337 (__makecontext_ret): Delete.
2338 (__makecontext): Hook up __start_context instead of
2339 __makecontext_ret.
2340 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2341 (sysdep_routines): Add __start_context when in stdlib.
2342
0fbb0fbc
JM
23432012-11-07 Joseph Myers <joseph@codesourcery.com>
2344
2345 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2346 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2347 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2348 hardcoded "nm".
2349 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2350 (READELF): New variable. Use it instead of hardcoded "readelf".
2351
eb48db7e
L
23522012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2353
2354 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2355 * sysdeps/x86/Makefile: Here.
2356 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2357 * sysdeps/x86/tst-xmmymm.sh: This.
2358
05bcf62a
JM
23592012-11-07 Joseph Myers <joseph@codesourcery.com>
2360
c4b6cf53
JM
2361 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2362 expectations.
2363 [UNIX98] (pthread_barrier_t): Do not expect.
2364 [UNIX98] (pthread_barrierattr_t): Likewise.
2365 [UNIX98] (pthread_spinlock_t): Likewise.
2366 [UNIX98] (pthread_barrier_destroy): Likewise.
2367 [UNIX98] (pthread_barrier_init): Likewise.
2368 [UNIX98] (pthread_barrier_wait): Likewise.
2369 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2370 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2371 [UNIX98] (pthread_barrierattr_init): Likewise.
2372 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2373 [UNIX98] (pthread_getcpuclockid): Likewise.
2374 [UNIX98] (pthread_mutex_timedlock): Likewise.
2375 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2376 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2377 [UNIX98] (pthread_sigmask): Likewise.
2378 [UNIX98] (pthread_spin_destroy): Likewise.
2379 [UNIX98] (pthread_spin_init): Likewise.
2380 [UNIX98] (pthread_spin_lock): Likewise.
2381 [UNIX98] (pthread_spin_trylock): Likewise.
2382 [UNIX98] (pthread_spin_unlock): Likewise.
2383 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2384 Do not expect.
2385 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2386 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2387 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2388 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2389 [XPG3 || XPG4] (pthread_key_t): Likewise.
2390 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2391 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2392 [XPG3 || XPG4] (pthread_once_t): Likewise.
2393 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2394 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2395 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2396 [XPG3 || XPG4] (pthread_t): Likewise.
2397
cbe6e120
JM
2398 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2399 not expect.
2400 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2401
1b126443
JM
2402 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2403 Change function return type to int.
2404
b961a573
JM
2405 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2406 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2407 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2408 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2409 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2410 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2411 [!POSIX] (posix_madvise): Likewise.
2412 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2413 && !UNIX98].
2414 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2415 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2416 (mode_t): Likewise.
2417 (posix_mem_offset): Likewise.
2418 (posix_typed_mem_get_info): Likewise.
2419 (posix_typed_mem_open): Likewise.
2420
9e188909
JM
2421 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2422 Change condition to [XOPEN2K8].
2423
05bcf62a
JM
2424 * conform/conformtest.pl: Preprocess allow-header data with -x c
2425 instead of from stdin.
2426 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2427 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2428 [C99-based standards] (cerfc): Likewise.
2429 [C99-based standards] (cexp2): Likewise.
2430 [C99-based standards] (cexpm1): Likewise.
2431 [C99-based standards] (clog10): Likewise.
2432 [C99-based standards] (clog1p): Likewise.
2433 [C99-based standards] (clog2): Likewise.
2434 [C99-based standards] (clgamma): Likewise.
2435 [C99-based standards] (ctgamma): Likewise.
2436 [C99-based standards] (cerff): Likewise.
2437 [C99-based standards] (cerfcf): Likewise.
2438 [C99-based standards] (cexp2f): Likewise.
2439 [C99-based standards] (cexpm1f): Likewise.
2440 [C99-based standards] (clog10f): Likewise.
2441 [C99-based standards] (clog1pf): Likewise.
2442 [C99-based standards] (clog2f): Likewise.
2443 [C99-based standards] (clgammaf): Likewise.
2444 [C99-based standards] (ctgammaf): Likewise.
2445 [C99-based standards] (cerfl): Likewise.
2446 [C99-based standards] (cerfcl): Likewise.
2447 [C99-based standards] (cexp2l): Likewise.
2448 [C99-based standards] (cexpm1l): Likewise.
2449 [C99-based standards] (clog10l): Likewise.
2450 [C99-based standards] (clog1pl): Likewise.
2451 [C99-based standards] (clog2l): Likewise.
2452 [C99-based standards] (clgammal): Likewise.
2453 [C99-based standards] (ctgammal): Likewise.
2454 * conform/data/inttypes.h-data [C99-based standards]: Include
2455 stdint.h-data. Remove all expectations for stdint.h contents.
2456 [C99-based standards] (PRI*): Do not allow.
2457 [C99-based standards] (SCN*): Likewise.
2458 [C99-based standards] (*_t): Likewise.
2459 [C99-based-standards] (PRId8): Expect macro.
2460 [C99-based-standards] (PRIi8): Likewise.
2461 [C99-based-standards] (PRIo8): Likewise.
2462 [C99-based-standards] (PRIu8): Likewise.
2463 [C99-based-standards] (PRIx8): Likewise.
2464 [C99-based-standards] (PRIX8): Likewise.
2465 [C99-based-standards] (SCNd8): Likewise.
2466 [C99-based-standards] (SCNi8): Likewise.
2467 [C99-based-standards] (SCNo8): Likewise.
2468 [C99-based-standards] (SCNu8): Likewise.
2469 [C99-based-standards] (SCNx8): Likewise.
2470 [C99-based-standards] (PRIdLEAST8): Likewise.
2471 [C99-based-standards] (PRIiLEAST8): Likewise.
2472 [C99-based-standards] (PRIoLEAST8): Likewise.
2473 [C99-based-standards] (PRIuLEAST8): Likewise.
2474 [C99-based-standards] (PRIxLEAST8): Likewise.
2475 [C99-based-standards] (PRIXLEAST8): Likewise.
2476 [C99-based-standards] (SCNdLEAST8): Likewise.
2477 [C99-based-standards] (SCNiLEAST8): Likewise.
2478 [C99-based-standards] (SCNoLEAST8): Likewise.
2479 [C99-based-standards] (SCNuLEAST8): Likewise.
2480 [C99-based-standards] (SCNxLEAST8): Likewise.
2481 [C99-based-standards] (PRIdFAST8): Likewise.
2482 [C99-based-standards] (PRIiFAST8): Likewise.
2483 [C99-based-standards] (PRIoFAST8): Likewise.
2484 [C99-based-standards] (PRIuFAST8): Likewise.
2485 [C99-based-standards] (PRIxFAST8): Likewise.
2486 [C99-based-standards] (PRIXFAST8): Likewise.
2487 [C99-based-standards] (SCNdFAST8): Likewise.
2488 [C99-based-standards] (SCNiFAST8): Likewise.
2489 [C99-based-standards] (SCNoFAST8): Likewise.
2490 [C99-based-standards] (SCNuFAST8): Likewise.
2491 [C99-based-standards] (SCNxFAST8): Likewise.
2492 [C99-based-standards] (PRId16): Likewise.
2493 [C99-based-standards] (PRIi16): Likewise.
2494 [C99-based-standards] (PRIo16): Likewise.
2495 [C99-based-standards] (PRIu16): Likewise.
2496 [C99-based-standards] (PRIx16): Likewise.
2497 [C99-based-standards] (PRIX16): Likewise.
2498 [C99-based-standards] (SCNd16): Likewise.
2499 [C99-based-standards] (SCNi16): Likewise.
2500 [C99-based-standards] (SCNo16): Likewise.
2501 [C99-based-standards] (SCNu16): Likewise.
2502 [C99-based-standards] (SCNx16): Likewise.
2503 [C99-based-standards] (PRIdLEAST16): Likewise.
2504 [C99-based-standards] (PRIiLEAST16): Likewise.
2505 [C99-based-standards] (PRIoLEAST16): Likewise.
2506 [C99-based-standards] (PRIuLEAST16): Likewise.
2507 [C99-based-standards] (PRIxLEAST16): Likewise.
2508 [C99-based-standards] (PRIXLEAST16): Likewise.
2509 [C99-based-standards] (SCNdLEAST16): Likewise.
2510 [C99-based-standards] (SCNiLEAST16): Likewise.
2511 [C99-based-standards] (SCNoLEAST16): Likewise.
2512 [C99-based-standards] (SCNuLEAST16): Likewise.
2513 [C99-based-standards] (SCNxLEAST16): Likewise.
2514 [C99-based-standards] (PRIdFAST16): Likewise.
2515 [C99-based-standards] (PRIiFAST16): Likewise.
2516 [C99-based-standards] (PRIoFAST16): Likewise.
2517 [C99-based-standards] (PRIuFAST16): Likewise.
2518 [C99-based-standards] (PRIxFAST16): Likewise.
2519 [C99-based-standards] (PRIXFAST16): Likewise.
2520 [C99-based-standards] (SCNdFAST16): Likewise.
2521 [C99-based-standards] (SCNiFAST16): Likewise.
2522 [C99-based-standards] (SCNoFAST16): Likewise.
2523 [C99-based-standards] (SCNuFAST16): Likewise.
2524 [C99-based-standards] (SCNxFAST16): Likewise.
2525 [C99-based-standards] (PRId32): Likewise.
2526 [C99-based-standards] (PRIi32): Likewise.
2527 [C99-based-standards] (PRIo32): Likewise.
2528 [C99-based-standards] (PRIu32): Likewise.
2529 [C99-based-standards] (PRIx32): Likewise.
2530 [C99-based-standards] (PRIX32): Likewise.
2531 [C99-based-standards] (SCNd32): Likewise.
2532 [C99-based-standards] (SCNi32): Likewise.
2533 [C99-based-standards] (SCNo32): Likewise.
2534 [C99-based-standards] (SCNu32): Likewise.
2535 [C99-based-standards] (SCNx32): Likewise.
2536 [C99-based-standards] (PRIdLEAST32): Likewise.
2537 [C99-based-standards] (PRIiLEAST32): Likewise.
2538 [C99-based-standards] (PRIoLEAST32): Likewise.
2539 [C99-based-standards] (PRIuLEAST32): Likewise.
2540 [C99-based-standards] (PRIxLEAST32): Likewise.
2541 [C99-based-standards] (PRIXLEAST32): Likewise.
2542 [C99-based-standards] (SCNdLEAST32): Likewise.
2543 [C99-based-standards] (SCNiLEAST32): Likewise.
2544 [C99-based-standards] (SCNoLEAST32): Likewise.
2545 [C99-based-standards] (SCNuLEAST32): Likewise.
2546 [C99-based-standards] (SCNxLEAST32): Likewise.
2547 [C99-based-standards] (PRIdFAST32): Likewise.
2548 [C99-based-standards] (PRIiFAST32): Likewise.
2549 [C99-based-standards] (PRIoFAST32): Likewise.
2550 [C99-based-standards] (PRIuFAST32): Likewise.
2551 [C99-based-standards] (PRIxFAST32): Likewise.
2552 [C99-based-standards] (PRIXFAST32): Likewise.
2553 [C99-based-standards] (SCNdFAST32): Likewise.
2554 [C99-based-standards] (SCNiFAST32): Likewise.
2555 [C99-based-standards] (SCNoFAST32): Likewise.
2556 [C99-based-standards] (SCNuFAST32): Likewise.
2557 [C99-based-standards] (SCNxFAST32): Likewise.
2558 [C99-based-standards] (PRId64): Likewise.
2559 [C99-based-standards] (PRIi64): Likewise.
2560 [C99-based-standards] (PRIo64): Likewise.
2561 [C99-based-standards] (PRIu64): Likewise.
2562 [C99-based-standards] (PRIx64): Likewise.
2563 [C99-based-standards] (PRIX64): Likewise.
2564 [C99-based-standards] (SCNd64): Likewise.
2565 [C99-based-standards] (SCNi64): Likewise.
2566 [C99-based-standards] (SCNo64): Likewise.
2567 [C99-based-standards] (SCNu64): Likewise.
2568 [C99-based-standards] (SCNx64): Likewise.
2569 [C99-based-standards] (PRIdLEAST64): Likewise.
2570 [C99-based-standards] (PRIiLEAST64): Likewise.
2571 [C99-based-standards] (PRIoLEAST64): Likewise.
2572 [C99-based-standards] (PRIuLEAST64): Likewise.
2573 [C99-based-standards] (PRIxLEAST64): Likewise.
2574 [C99-based-standards] (PRIXLEAST64): Likewise.
2575 [C99-based-standards] (SCNdLEAST64): Likewise.
2576 [C99-based-standards] (SCNiLEAST64): Likewise.
2577 [C99-based-standards] (SCNoLEAST64): Likewise.
2578 [C99-based-standards] (SCNuLEAST64): Likewise.
2579 [C99-based-standards] (SCNxLEAST64): Likewise.
2580 [C99-based-standards] (PRIdFAST64): Likewise.
2581 [C99-based-standards] (PRIiFAST64): Likewise.
2582 [C99-based-standards] (PRIoFAST64): Likewise.
2583 [C99-based-standards] (PRIuFAST64): Likewise.
2584 [C99-based-standards] (PRIxFAST64): Likewise.
2585 [C99-based-standards] (PRIXFAST64): Likewise.
2586 [C99-based-standards] (SCNdFAST64): Likewise.
2587 [C99-based-standards] (SCNiFAST64): Likewise.
2588 [C99-based-standards] (SCNoFAST64): Likewise.
2589 [C99-based-standards] (SCNuFAST64): Likewise.
2590 [C99-based-standards] (SCNxFAST64): Likewise.
2591 [C99-based-standards] (PRIdMAX): Likewise.
2592 [C99-based-standards] (PRIiMAX): Likewise.
2593 [C99-based-standards] (PRIoMAX): Likewise.
2594 [C99-based-standards] (PRIuMAX): Likewise.
2595 [C99-based-standards] (PRIxMAX): Likewise.
2596 [C99-based-standards] (PRIXMAX): Likewise.
2597 [C99-based-standards] (SCNdMAX): Likewise.
2598 [C99-based-standards] (SCNiMAX): Likewise.
2599 [C99-based-standards] (SCNoMAX): Likewise.
2600 [C99-based-standards] (SCNuMAX): Likewise.
2601 [C99-based-standards] (SCNxMAX): Likewise.
2602 [C99-based-standards] (PRIdPTR): Likewise.
2603 [C99-based-standards] (PRIiPTR): Likewise.
2604 [C99-based-standards] (PRIoPTR): Likewise.
2605 [C99-based-standards] (PRIuPTR): Likewise.
2606 [C99-based-standards] (PRIxPTR): Likewise.
2607 [C99-based-standards] (PRIXPTR): Likewise.
2608 [C99-based-standards] (SCNdPTR): Likewise.
2609 [C99-based-standards] (SCNiPTR): Likewise.
2610 [C99-based-standards] (SCNoPTR): Likewise.
2611 [C99-based-standards] (SCNuPTR): Likewise.
2612 [C99-based-standards] (SCNxPTR): Likewise.
2613 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2614 allow.
2615 * conform/data/stdint.h-data: Update comments to clarify
2616 requirements.
2617 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2618 type.
2619 [C99-based standards] (INT8_MAX): Likewise.
2620 [C99-based standards] (INT16_MIN): Likewise.
2621 [C99-based standards] (INT16_MAX): Likewise.
2622 [C99-based standards] (INT32_MIN): Likewise.
2623 [C99-based standards] (INT32_MAX): Likewise.
2624 [C99-based standards] (INT64_MIN): Likewise.
2625 [C99-based standards] (INT64_MAX): Likewise.
2626 [C99-based standards] (UINT8_MAX): Likewise.
2627 [C99-based standards] (UINT16_MAX): Likewise.
2628 [C99-based standards] (UINT32_MAX): Likewise.
2629 [C99-based standards] (UINT64_MAX): Likewise.
2630 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2631 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2632 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2633 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2634 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2635 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2636 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2637 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2638 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2639 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2640 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2641 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2642 [C99-based standards] (INT_FAST8_MIN): Likewise.
2643 [C99-based standards] (INT_FAST8_MAX): Likewise.
2644 [C99-based standards] (INT_FAST16_MIN): Likewise.
2645 [C99-based standards] (INT_FAST16_MAX): Likewise.
2646 [C99-based standards] (INT_FAST32_MIN): Likewise.
2647 [C99-based standards] (INT_FAST32_MAX): Likewise.
2648 [C99-based standards] (INT_FAST64_MIN): Likewise.
2649 [C99-based standards] (INT_FAST64_MAX): Likewise.
2650 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2651 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2652 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2653 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2654 [C99-based standards] (INTPTR_MIN): Likewise.
2655 [C99-based standards] (INTPTR_MAX): Likewise.
2656 [C99-based standards] (UINTPTR_MAX): Likewise.
2657 [C99-based standards] (INTMAX_MIN): Likewise.
2658 [C99-based standards] (INTMAX_MAX): Likewise.
2659 [C99-based standards] (UINTMAX_MAX): Likewise.
2660 [C99-based standards] (PTRDIFF_MIN): Likewise.
2661 [C99-based standards] (PTRDIFF_MAX): Likewise.
2662 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2663 [C99-based standards] (SIZE_MAX): Likewise.
2664 [C99-based standards] (WCHAR_MAX): Likewise.
2665 [C99-based standards] (WINT_MAX): Likewise.
2666 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2667 constraint on value.
2668 [C99-based standards] (WCHAR_MIN): Likewise.
2669 [C99-based standards] (WINT_MIN): Likewise.
2670 [C99-based standards] (*_t): Allow.
2671 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2672 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2673 Include math.h-data and complex.h-data. Remove all expectations
2674 of math.h and complex.h contents.
2675 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2676 at end of line.
2677 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2678 (struct tm): Expect tag.
2679 [C99-based-standards] (wcstof): Expect function.
2680 [C99-based-standards] (wcstold): Likewise.
2681 [C99-based-standards] (wcstoll): Likewise.
2682 [C99-based-standards] (wcstoull): Likewise.
2683 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2684 macro-int-constant. Specify type.
2685 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2686 constraint on value.
2687 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2688 Specify type.
2689 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2690 Specify value.
2691 [ISO C standards]: Do not allow headers.
2692 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2693 wcs[abcdefghijklmnopqrstuvwxyz]*.
2694 [ISO C standards] (*_t): Do not allow.
2695 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2696 Expect function.
2697 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2698 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2699 Specify type.
2700 [ISO C standards]: Do not allow headers.
2701 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2702 is[abcdefghijklmnopqrstuvwxyz]*.
2703 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2704 to[abcdefghijklmnopqrstuvwxyz]*.
2705 [ISO C standards] (*_t): Do not allow.
2706 * conform/data/stdalign.h-data: New file.
2707 * conform/data/stdbool.h-data: Likewise.
2708 * conform/data/stdnoreturn.h-data: Likewise.
2709
7514feb8
RM
27102012-11-07 Roland McGrath <roland@hack.frob.com>
2711
2712 [BZ #14815]
2713 * manual/filesys.texi (Directory Entries): Typo fix.
2714 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2715
19b2ecfc
MS
27162012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2717
2718 * elf/elf.h (EM_AARCH64): New macro.
2719 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2720 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2721 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2722 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2723 (R_AARCH64_TLSDESC): Likewise.
2724 (NT_ARM_TLS): Likewise.
2725 (NT_ARM_HW_BREAK): Likewise.
2726 (NT_ARM_HW_WATCH): Likewise.
2727
60e235ee
JM
27282012-11-07 Joseph Myers <joseph@codesourcery.com>
2729
2730 [BZ #14811]
2731 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2732 (__ieee754_powl): Saturate nonzero exponents with absolute value
2733 below 0x1p-79 to +/- 0x1p-79.
2734 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2735 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2736 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2737 nonzero exponents with absolute value below 0x1p-32 to +/-
2738 0x1p-32.
2739 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2740 (__ieee754_powl): Saturate nonzero exponents with absolute value
2741 below 0x1p-79 to +/- 0x1p-79.
2742 * math/libm-test.inc (pow_test): Add more tests.
2743
0ab234b7
AK
27442012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2745
2746 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2747 _dl_s390_cap_flags with kernel. Increase string length.
2748 (_dl_s390_platforms): Add z196 and zEC12.
2749
45832f74
JM
27502012-11-07 Joseph Myers <joseph@codesourcery.com>
2751
2752 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2753 Change XOPEN21K to XOPEN2K.
2754
19218757
MK
27552012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2756
2757 * string/memmove.c: Use memcpy when possible.
2758
c5f45721
AJ
27592012-11-06 Andreas Jaeger <aj@suse.de>
2760
2761 * po/eo.po: Update from translation team.
2762
82477c28
JM
27632012-11-06 Joseph Myers <joseph@codesourcery.com>
2764
2765 [BZ #14793]
2766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2767 exponent and small x and y exponents, scale x or y up. Increase
2768 by 2 the exponent used in scaling up.
2769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2770 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2771 * math/libm-test.inc (fma_test): Add more tests.
2772 (fma_test_towardzero): Likewise.
2773 (fma_test_downward): Likewise.
2774 (fma_test_upward): Likewise.
2775
99252c8c
JM
27762012-11-05 Joseph Myers <joseph@codesourcery.com>
2777
acfa885f
JM
2778 [BZ #14805]
2779 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2780 fenv_t *.
2781
99252c8c
JM
2782 [BZ #14801]
2783 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2784 namespace for names of struct fields.
2785 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2786 fenv_t fields.
2787 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2788 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2789
d6d98dea
ST
27902012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2791
2792 [BZ #3665]
2793 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2794
e10bb107
TS
27952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2796
2797 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2798 PTR_DEMANGLE.
2799
2800 [BZ #5246]
2801 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2802 PTR_DEMANGLE.
2803
a0c2940d
JM
28042012-11-04 Joseph Myers <joseph@codesourcery.com>
2805
2806 [BZ #14797]
2807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2808 definitely overflow as x * y not x * y + z.
2809 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2810 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2811 * math/libm-test.inc (fma_test): Add more tests.
2812 (fma_test_towardzero): Likewise.
2813 (fma_test_downward): Likewise.
2814 (fma_test_upward): Likewise.
2815
b830319d
TS
28162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2817
2818 [BZ #157]
2819
2820 * include/stub-tag.h: Remove file.
2821 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2822 '#include' of it.
2823 * manual/maint.texi (Porting): Don't reference it.
2824 * Makerules ($(objpfx)stubs): Likewise.
2825 * dirent/closedir.c: Don't include <stub-tag.h>.
2826 * dirent/dirfd.c: Likewise.
2827 * dirent/fdopendir.c: Likewise.
2828 * dirent/getdents.c: Likewise.
2829 * dirent/getdents64.c: Likewise.
2830 * dirent/opendir.c: Likewise.
2831 * dirent/readdir.c: Likewise.
2832 * dirent/readdir64.c: Likewise.
2833 * dirent/readdir64_r.c: Likewise.
2834 * dirent/readdir_r.c: Likewise.
2835 * dirent/rewinddir.c: Likewise.
2836 * dirent/seekdir.c: Likewise.
2837 * dirent/telldir.c: Likewise.
2838 * gmon/profil.c: Likewise.
2839 * grp/setgroups.c: Likewise.
2840 * inet/if_index.c: Likewise.
2841 * io/access.c: Likewise.
2842 * io/chdir.c: Likewise.
2843 * io/chmod.c: Likewise.
2844 * io/chown.c: Likewise.
2845 * io/close.c: Likewise.
2846 * io/dup.c: Likewise.
2847 * io/dup2.c: Likewise.
2848 * io/dup3.c: Likewise.
2849 * io/euidaccess.c: Likewise.
2850 * io/faccessat.c: Likewise.
2851 * io/fchdir.c: Likewise.
2852 * io/fchmod.c: Likewise.
2853 * io/fchmodat.c: Likewise.
2854 * io/fchown.c: Likewise.
2855 * io/fchownat.c: Likewise.
2856 * io/fcntl.c: Likewise.
2857 * io/flock.c: Likewise.
2858 * io/fstatfs.c: Likewise.
2859 * io/fstatfs64.c: Likewise.
2860 * io/fstatvfs.c: Likewise.
2861 * io/fstatvfs64.c: Likewise.
2862 * io/futimens.c: Likewise.
2863 * io/fxstat.c: Likewise.
2864 * io/fxstat64.c: Likewise.
2865 * io/fxstatat.c: Likewise.
2866 * io/fxstatat64.c: Likewise.
2867 * io/getcwd.c: Likewise.
2868 * io/isatty.c: Likewise.
2869 * io/lchmod.c: Likewise.
2870 * io/lchown.c: Likewise.
2871 * io/link.c: Likewise.
2872 * io/linkat.c: Likewise.
2873 * io/lseek.c: Likewise.
2874 * io/lseek64.c: Likewise.
2875 * io/lxstat64.c: Likewise.
2876 * io/mkdir.c: Likewise.
2877 * io/mkdirat.c: Likewise.
2878 * io/mkfifo.c: Likewise.
2879 * io/mkfifoat.c: Likewise.
2880 * io/open.c: Likewise.
2881 * io/open64.c: Likewise.
2882 * io/openat.c: Likewise.
2883 * io/openat64.c: Likewise.
2884 * io/pipe.c: Likewise.
2885 * io/pipe2.c: Likewise.
2886 * io/poll.c: Likewise.
2887 * io/posix_fadvise.c: Likewise.
2888 * io/posix_fadvise64.c: Likewise.
2889 * io/posix_fallocate.c: Likewise.
2890 * io/posix_fallocate64.c: Likewise.
2891 * io/read.c: Likewise.
2892 * io/readlink.c: Likewise.
2893 * io/readlinkat.c: Likewise.
2894 * io/rmdir.c: Likewise.
2895 * io/sendfile.c: Likewise.
2896 * io/sendfile64.c: Likewise.
2897 * io/statfs.c: Likewise.
2898 * io/statfs64.c: Likewise.
2899 * io/statvfs.c: Likewise.
2900 * io/statvfs64.c: Likewise.
2901 * io/symlink.c: Likewise.
2902 * io/symlinkat.c: Likewise.
2903 * io/ttyname.c: Likewise.
2904 * io/ttyname_r.c: Likewise.
2905 * io/umask.c: Likewise.
2906 * io/unlink.c: Likewise.
2907 * io/unlinkat.c: Likewise.
2908 * io/utime.c: Likewise.
2909 * io/utimensat.c: Likewise.
2910 * io/write.c: Likewise.
2911 * io/xmknod.c: Likewise.
2912 * io/xmknodat.c: Likewise.
2913 * io/xstat.c: Likewise.
2914 * io/xstat64.c: Likewise.
2915 * login/getpt.c: Likewise.
2916 * login/grantpt.c: Likewise.
2917 * login/unlockpt.c: Likewise.
2918 * math/e_acoshl.c: Likewise.
2919 * math/e_acosl.c: Likewise.
2920 * math/e_asinl.c: Likewise.
2921 * math/e_atan2l.c: Likewise.
2922 * math/e_atanhl.c: Likewise.
2923 * math/e_coshl.c: Likewise.
2924 * math/e_expl.c: Likewise.
2925 * math/e_fmodl.c: Likewise.
2926 * math/e_gammal_r.c: Likewise.
2927 * math/e_hypotl.c: Likewise.
2928 * math/e_j0l.c: Likewise.
2929 * math/e_j1l.c: Likewise.
2930 * math/e_jnl.c: Likewise.
2931 * math/e_lgammal_r.c: Likewise.
2932 * math/e_log10l.c: Likewise.
2933 * math/e_log2l.c: Likewise.
2934 * math/e_logl.c: Likewise.
2935 * math/e_powl.c: Likewise.
2936 * math/e_rem_pio2l.c: Likewise.
2937 * math/e_sinhl.c: Likewise.
2938 * math/e_sqrtl.c: Likewise.
2939 * math/fclrexcpt.c: Likewise.
2940 * math/fedisblxcpt.c: Likewise.
2941 * math/feenablxcpt.c: Likewise.
2942 * math/fegetenv.c: Likewise.
2943 * math/fegetexcept.c: Likewise.
2944 * math/fegetround.c: Likewise.
2945 * math/feholdexcpt.c: Likewise.
2946 * math/fesetenv.c: Likewise.
2947 * math/fesetround.c: Likewise.
2948 * math/feupdateenv.c: Likewise.
2949 * math/fgetexcptflg.c: Likewise.
2950 * math/fraiseexcpt.c: Likewise.
2951 * math/fsetexcptflg.c: Likewise.
2952 * math/ftestexcept.c: Likewise.
2953 * math/k_cosl.c: Likewise.
2954 * math/k_rem_pio2l.c: Likewise.
2955 * math/k_sinl.c: Likewise.
2956 * math/k_tanl.c: Likewise.
2957 * math/s_asinhl.c: Likewise.
2958 * math/s_atanl.c: Likewise.
2959 * math/s_cbrtl.c: Likewise.
2960 * math/s_erfl.c: Likewise.
2961 * math/s_expm1l.c: Likewise.
2962 * math/s_log1pl.c: Likewise.
2963 * math/s_tanhl.c: Likewise.
2964 * misc/acct.c: Likewise.
2965 * misc/brk.c: Likewise.
2966 * misc/chflags.c: Likewise.
2967 * misc/chroot.c: Likewise.
2968 * misc/fchflags.c: Likewise.
2969 * misc/fgetxattr.c: Likewise.
2970 * misc/flistxattr.c: Likewise.
2971 * misc/fremovexattr.c: Likewise.
2972 * misc/fsetxattr.c: Likewise.
2973 * misc/fsync.c: Likewise.
2974 * misc/ftruncate.c: Likewise.
2975 * misc/futimes.c: Likewise.
2976 * misc/futimesat.c: Likewise.
2977 * misc/getdomain.c: Likewise.
2978 * misc/getdtsz.c: Likewise.
2979 * misc/gethostid.c: Likewise.
2980 * misc/gethostname.c: Likewise.
2981 * misc/getloadavg.c: Likewise.
2982 * misc/getpagesize.c: Likewise.
2983 * misc/getsysstats.c: Likewise.
2984 * misc/getxattr.c: Likewise.
2985 * misc/gtty.c: Likewise.
2986 * misc/ioctl.c: Likewise.
2987 * misc/lgetxattr.c: Likewise.
2988 * misc/listxattr.c: Likewise.
2989 * misc/llistxattr.c: Likewise.
2990 * misc/lremovexattr.c: Likewise.
2991 * misc/lsetxattr.c: Likewise.
2992 * misc/lutimes.c: Likewise.
2993 * misc/madvise.c: Likewise.
2994 * misc/mincore.c: Likewise.
2995 * misc/mlock.c: Likewise.
2996 * misc/mlockall.c: Likewise.
2997 * misc/mmap.c: Likewise.
2998 * misc/mprotect.c: Likewise.
2999 * misc/msync.c: Likewise.
3000 * misc/munlock.c: Likewise.
3001 * misc/munlockall.c: Likewise.
3002 * misc/munmap.c: Likewise.
3003 * misc/preadv.c: Likewise.
3004 * misc/preadv64.c: Likewise.
3005 * misc/ptrace.c: Likewise.
3006 * misc/pwritev.c: Likewise.
3007 * misc/pwritev64.c: Likewise.
3008 * misc/readv.c: Likewise.
3009 * misc/reboot.c: Likewise.
3010 * misc/remap_file_pages.c: Likewise.
3011 * misc/removexattr.c: Likewise.
3012 * misc/revoke.c: Likewise.
3013 * misc/select.c: Likewise.
3014 * misc/setdomain.c: Likewise.
3015 * misc/setegid.c: Likewise.
3016 * misc/seteuid.c: Likewise.
3017 * misc/sethostid.c: Likewise.
3018 * misc/sethostname.c: Likewise.
3019 * misc/setregid.c: Likewise.
3020 * misc/setreuid.c: Likewise.
3021 * misc/setxattr.c: Likewise.
3022 * misc/sstk.c: Likewise.
3023 * misc/stty.c: Likewise.
3024 * misc/swapoff.c: Likewise.
3025 * misc/swapon.c: Likewise.
3026 * misc/sync.c: Likewise.
3027 * misc/syncfs.c: Likewise.
3028 * misc/syscall.c: Likewise.
3029 * misc/truncate.c: Likewise.
3030 * misc/ualarm.c: Likewise.
3031 * misc/usleep.c: Likewise.
3032 * misc/ustat.c: Likewise.
3033 * misc/utimes.c: Likewise.
3034 * misc/vhangup.c: Likewise.
3035 * misc/writev.c: Likewise.
3036 * posix/_exit.c: Likewise.
3037 * posix/alarm.c: Likewise.
3038 * posix/execve.c: Likewise.
3039 * posix/fexecve.c: Likewise.
3040 * posix/fork.c: Likewise.
3041 * posix/fpathconf.c: Likewise.
3042 * posix/getaddrinfo.c: Likewise.
3043 * posix/getegid.c: Likewise.
3044 * posix/geteuid.c: Likewise.
3045 * posix/getgid.c: Likewise.
3046 * posix/getgroups.c: Likewise.
3047 * posix/getlogin.c: Likewise.
3048 * posix/getlogin_r.c: Likewise.
3049 * posix/getpgid.c: Likewise.
3050 * posix/getpid.c: Likewise.
3051 * posix/getppid.c: Likewise.
3052 * posix/getresgid.c: Likewise.
3053 * posix/getresuid.c: Likewise.
3054 * posix/getsid.c: Likewise.
3055 * posix/getuid.c: Likewise.
3056 * posix/glob64.c: Likewise.
3057 * posix/nanosleep.c: Likewise.
3058 * posix/pathconf.c: Likewise.
3059 * posix/pause.c: Likewise.
3060 * posix/posix_madvise.c: Likewise.
3061 * posix/pread.c: Likewise.
3062 * posix/pread64.c: Likewise.
3063 * posix/pwrite.c: Likewise.
3064 * posix/pwrite64.c: Likewise.
3065 * posix/sched_getaffinity.c: Likewise.
3066 * posix/sched_getp.c: Likewise.
3067 * posix/sched_gets.c: Likewise.
3068 * posix/sched_primax.c: Likewise.
3069 * posix/sched_primin.c: Likewise.
3070 * posix/sched_rr_gi.c: Likewise.
3071 * posix/sched_setaffinity.c: Likewise.
3072 * posix/sched_setp.c: Likewise.
3073 * posix/sched_sets.c: Likewise.
3074 * posix/sched_yield.c: Likewise.
3075 * posix/setgid.c: Likewise.
3076 * posix/setlogin.c: Likewise.
3077 * posix/setpgid.c: Likewise.
3078 * posix/setresgid.c: Likewise.
3079 * posix/setresuid.c: Likewise.
3080 * posix/setsid.c: Likewise.
3081 * posix/setuid.c: Likewise.
3082 * posix/sleep.c: Likewise.
3083 * posix/spawni.c: Likewise.
3084 * posix/sysconf.c: Likewise.
3085 * posix/times.c: Likewise.
3086 * posix/wait.c: Likewise.
3087 * posix/wait3.c: Likewise.
3088 * posix/wait4.c: Likewise.
3089 * posix/waitpid.c: Likewise.
3090 * resolv/gai_sigqueue.c: Likewise.
3091 * resource/getpriority.c: Likewise.
3092 * resource/getrlimit.c: Likewise.
3093 * resource/getrusage.c: Likewise.
3094 * resource/nice.c: Likewise.
3095 * resource/setpriority.c: Likewise.
3096 * resource/setrlimit.c: Likewise.
3097 * resource/ulimit.c: Likewise.
3098 * rt/aio_cancel.c: Likewise.
3099 * rt/aio_fsync.c: Likewise.
3100 * rt/aio_read.c: Likewise.
3101 * rt/aio_sigqueue.c: Likewise.
3102 * rt/aio_suspend.c: Likewise.
3103 * rt/aio_write.c: Likewise.
3104 * rt/clock_getres.c: Likewise.
3105 * rt/clock_gettime.c: Likewise.
3106 * rt/clock_nanosleep.c: Likewise.
3107 * rt/clock_settime.c: Likewise.
3108 * rt/lio_listio.c: Likewise.
3109 * rt/mq_close.c: Likewise.
3110 * rt/mq_getattr.c: Likewise.
3111 * rt/mq_notify.c: Likewise.
3112 * rt/mq_open.c: Likewise.
3113 * rt/mq_receive.c: Likewise.
3114 * rt/mq_send.c: Likewise.
3115 * rt/mq_setattr.c: Likewise.
3116 * rt/mq_timedreceive.c: Likewise.
3117 * rt/mq_timedsend.c: Likewise.
3118 * rt/mq_unlink.c: Likewise.
3119 * rt/shm_open.c: Likewise.
3120 * rt/shm_unlink.c: Likewise.
3121 * rt/timer_create.c: Likewise.
3122 * rt/timer_delete.c: Likewise.
3123 * rt/timer_getoverr.c: Likewise.
3124 * rt/timer_gettime.c: Likewise.
3125 * rt/timer_settime.c: Likewise.
3126 * setjmp/__longjmp.c: Likewise.
3127 * setjmp/setjmp.c: Likewise.
3128 * signal/kill.c: Likewise.
3129 * signal/killpg.c: Likewise.
3130 * signal/raise.c: Likewise.
3131 * signal/sigaction.c: Likewise.
3132 * signal/sigaltstack.c: Likewise.
3133 * signal/sigblock.c: Likewise.
3134 * signal/sigignore.c: Likewise.
3135 * signal/sigintr.c: Likewise.
3136 * signal/signal.c: Likewise.
3137 * signal/sigpause.c: Likewise.
3138 * signal/sigpending.c: Likewise.
3139 * signal/sigqueue.c: Likewise.
3140 * signal/sigreturn.c: Likewise.
3141 * signal/sigset.c: Likewise.
3142 * signal/sigsetmask.c: Likewise.
3143 * signal/sigstack.c: Likewise.
3144 * signal/sigsuspend.c: Likewise.
3145 * signal/sigtimedwait.c: Likewise.
3146 * signal/sigvec.c: Likewise.
3147 * signal/sigwait.c: Likewise.
3148 * signal/sigwaitinfo.c: Likewise.
3149 * signal/sysv_signal.c: Likewise.
3150 * socket/accept.c: Likewise.
3151 * socket/accept4.c: Likewise.
3152 * socket/bind.c: Likewise.
3153 * socket/connect.c: Likewise.
3154 * socket/getpeername.c: Likewise.
3155 * socket/getsockname.c: Likewise.
3156 * socket/getsockopt.c: Likewise.
3157 * socket/isfdtype.c: Likewise.
3158 * socket/listen.c: Likewise.
3159 * socket/recv.c: Likewise.
3160 * socket/recvfrom.c: Likewise.
3161 * socket/recvmsg.c: Likewise.
3162 * socket/send.c: Likewise.
3163 * socket/sendmsg.c: Likewise.
3164 * socket/sendto.c: Likewise.
3165 * socket/setsockopt.c: Likewise.
3166 * socket/shutdown.c: Likewise.
3167 * socket/sockatmark.c: Likewise.
3168 * socket/socket.c: Likewise.
3169 * socket/socketpair.c: Likewise.
3170 * stdio-common/ctermid.c: Likewise.
3171 * stdio-common/cuserid.c: Likewise.
3172 * stdio-common/remove.c: Likewise.
3173 * stdio-common/rename.c: Likewise.
3174 * stdio-common/renameat.c: Likewise.
3175 * stdio-common/tempname.c: Likewise.
3176 * stdlib/getcontext.c: Likewise.
3177 * stdlib/makecontext.c: Likewise.
3178 * stdlib/setcontext.c: Likewise.
3179 * stdlib/swapcontext.c: Likewise.
3180 * stdlib/system.c: Likewise.
3181 * streams/fattach.c: Likewise.
3182 * streams/fdetach.c: Likewise.
3183 * streams/getmsg.c: Likewise.
3184 * streams/getpmsg.c: Likewise.
3185 * streams/putmsg.c: Likewise.
3186 * streams/putpmsg.c: Likewise.
3187 * sysdeps/unix/bsd/getpt.c: Likewise.
3188 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3189 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3190 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3192 Likewise.
3193 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3194 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3195 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3196 * sysvipc/msgctl.c: Likewise.
3197 * sysvipc/msgget.c: Likewise.
3198 * sysvipc/msgrcv.c: Likewise.
3199 * sysvipc/msgsnd.c: Likewise.
3200 * sysvipc/semctl.c: Likewise.
3201 * sysvipc/semget.c: Likewise.
3202 * sysvipc/semop.c: Likewise.
3203 * sysvipc/semtimedop.c: Likewise.
3204 * sysvipc/shmat.c: Likewise.
3205 * sysvipc/shmctl.c: Likewise.
3206 * sysvipc/shmdt.c: Likewise.
3207 * sysvipc/shmget.c: Likewise.
3208 * termios/tcdrain.c: Likewise.
3209 * termios/tcflow.c: Likewise.
3210 * termios/tcflush.c: Likewise.
3211 * termios/tcgetattr.c: Likewise.
3212 * termios/tcgetpgrp.c: Likewise.
3213 * termios/tcsendbrk.c: Likewise.
3214 * termios/tcsetattr.c: Likewise.
3215 * termios/tcsetpgrp.c: Likewise.
3216 * time/adjtime.c: Likewise.
3217 * time/clock.c: Likewise.
3218 * time/getitimer.c: Likewise.
3219 * time/gettimeofday.c: Likewise.
3220 * time/setitimer.c: Likewise.
3221 * time/settimeofday.c: Likewise.
3222 * time/stime.c: Likewise.
3223 * time/time.c: Likewise.
3224
32252012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3226
a20492cf
PT
3227 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3228 /usr/old/bin.
3229
72e182e3
PT
3230 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3231 instead of spaces.
3232 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3233
fbeafede
JM
32342012-11-03 Joseph Myers <joseph@codesourcery.com>
3235
5b5b04d6
JM
3236 [BZ #14796]
3237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3238 FE_TONEAREST before applying Dekker multiplication and Knuth
3239 addition. Clear inexact exceptions and check for exact zero
3240 results afterwards.
3241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3242 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3243 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3244 * math/libm-test.inc (fma_test): Add more tests.
3245 (fma_test_towardzero): Likewise.
3246 (fma_test_downward): Likewise.
3247 (fma_test_upward): Likewise.
3248 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3249 function.
3250 (libc_fesetround): New macro.
3251 (libc_fesetroundf): Likewise.
3252 (libc_fesetroundl): Likewise.
3253 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3254 function.
3255 (libc_fesetround_387): Likewise.
3256 (libc_fesetroundf): New macro.
3257 (libc_fesetround): Likewise.
3258 (libc_fesetroundl): Likewise.
3259 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3260 function.
3261 (libc_fesetroundf): New macro.
3262 (libc_fesetround): Likewise.
3263 (libc_fesetroundl): Likewise.
3264 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3265 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3266 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3267 libm_hidden_ver.
3268 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3269 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3270 libm_hidden_def.
3271 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3272 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3273 libm_hidden_ver.
3274 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3275 libm_hidden_def.
3276
fbeafede
JM
3277 [BZ #3439]
3278 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3279 integer constant usable in #if and use that to give value to enum
3280 constant.
3281 (FE_DIVBYZERO): Likewise.
3282 (FE_UNDERFLOW): Likewise.
3283 (FE_OVERFLOW): Likewise.
3284 (FE_INVALID): Likewise.
3285 (FE_INVALID_SNAN): Likewise.
3286 (FE_INVALID_ISI): Likewise.
3287 (FE_INVALID_IDI): Likewise.
3288 (FE_INVALID_ZDZ): Likewise.
3289 (FE_INVALID_IMZ): Likewise.
3290 (FE_INVALID_COMPARE): Likewise.
3291 (FE_INVALID_SOFTWARE): Likewise.
3292 (FE_INVALID_SQRT): Likewise.
3293 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3294 (FE_TONEAREST): Likewise.
3295 (FE_TOWARDZERO): Likewise.
3296 (FE_UPWARD): Likewise.
3297 (FE_DOWNWARD): Likewise.
3298 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3299 (FE_DIVBYZERO): Likewise.
3300 (FE_OVERFLOW): Likewise.
3301 (FE_UNDERFLOW): Likewise.
3302 (FE_INEXACT): Likewise.
3303 (FE_TONEAREST): Likewise.
3304 (FE_DOWNWARD): Likewise.
3305 (FE_UPWARD): Likewise.
3306 (FE_TOWARDZERO): Likewise.
3307 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3308 (FE_UNDERFLOW): Likewise.
3309 (FE_OVERFLOW): Likewise.
3310 (FE_DIVBYZERO): Likewise.
3311 (FE_INVALID): Likewise.
3312 (FE_TONEAREST): Likewise.
3313 (FE_TOWARDZERO): Likewise.
3314 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3315 (FE_OVERFLOW): Likewise.
3316 (FE_UNDERFLOW): Likewise.
3317 (FE_DIVBYZERO): Likewise.
3318 (FE_INEXACT): Likewise.
3319 (FE_TONEAREST): Likewise.
3320 (FE_TOWARDZERO): Likewise.
3321 (FE_UPWARD): Likewise.
3322 (FE_DOWNWARD): Likewise.
3323 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3324 (FE_DIVBYZERO): Likewise.
3325 (FE_OVERFLOW): Likewise.
3326 (FE_UNDERFLOW): Likewise.
3327 (FE_INEXACT): Likewise.
3328 (FE_TONEAREST): Likewise.
3329 (FE_DOWNWARD): Likewise.
3330 (FE_UPWARD): Likewise.
3331 (FE_TOWARDZERO): Likewise.
3332
105ca950
CM
33332012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3334
3335 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3336
a542b389
AS
33372012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3338
3339 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3340 commands. Quote $PWD.
3341 (blacklist_exports): Don't use remove_newlines. Replace "declare
3342 -x" by "export".
3343 (remove_newlines): Remove.
3344
f62c8abc
L
33452012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3346
3347 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3348 * stdlib/stdlib.h (atof): Moved to ...
3349 * include/bits/stdlib-float.h: Here. New file.
3350 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3351 * stdlib/bits/stdlib-float.h: New file.
3352 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3353 -mno-sse -mno-mmx.
3354 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3355 <xmmintrin.h>.
3356
0155d5b2
JM
33572012-11-02 Joseph Myers <joseph@codesourcery.com>
3358
a68d0680
JM
3359 * conform/conformtest.pl (@headers): Add fenv.h.
3360 * conform/data/fenv.h-data: New file.
3361 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3362 include of <math/fenv.h>.
3363
caf7f573
JM
3364 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3365 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3366 && !UNIX98]. Enables tests for XOPEN2K8.
3367 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3368 POSIX2008]: Likewise.
3369
6c073ad6
JM
3370 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3371 (struct rusage): Do not expect type or its members.
3372
0155d5b2
JM
3373 [BZ #3439]
3374 * math/math.h (FP_NAN): Define macro to integer constant usable in
3375 #if and use that to give value to enum constant.
3376 (FP_INFINITE): Likewise.
3377 (FP_ZERO): Likewise.
3378 (FP_SUBNORMAL): Likewise.
3379 (FP_NORMAL): Likewise.
3380
b5dcacb4
AS
33812012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3382
3383 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3384 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3385 arguments.
3386
f7934be8
RM
33872012-11-02 Roland McGrath <roland@hack.frob.com>
3388
3389 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3390 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3391 autoconf-time if not.
3392 * configure.in: Remove AC_PREREQ.
3393
d7d08bde
TMQMF
33942012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3395
3396 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3397 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3398 of the internal implementation.
3399
dcdae19a
JM
34002012-11-02 Joseph Myers <joseph@codesourcery.com>
3401
3402 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3403 except include of <misc/sys/syslog.h>.
3404
d6cffd3e
AS
34052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3406
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3408 function returns with a NULL context exit with zero.
3409
b3563932
TMQMF
34102012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3411
3412 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3413
b288a93d
L
34142012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3415
3416 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3417 (run_program_cmd): This.
3418 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3419 (tst_langinfo): New variable. Use it.
3420
a2421a68
SAS
34212012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3422
3423 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3424 floating point opcodes.
3425
6f796e1b
TS
34262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3427
7402596b
TS
3428 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3429 variable.
3430
d0d4f868
TS
3431 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3432
6f796e1b
TS
3433 * sysdeps/mach/hurd/powerpc: Remove directory.
3434 * sysdeps/mach/powerpc: Likewise.
3435
4da224a2
AS
34362012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3437
3438 * scripts/check-local-headers.sh: Ignore c++ headers.
3439
341dd673
TS
34402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3441
3442 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3443 __libc_cleanup_region_start argument.
3444
473611b2
JM
34452012-11-01 Joseph Myers <joseph@codesourcery.com>
3446
3447 [BZ #14784]
3448 [BZ #14785]
3449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3450 x * y using scaling, not as x * y + z.
3451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3452 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3453 * math/libm-test.inc (fma_test): Add more tests.
3454 (fma_test_towardzero): Likewise.
3455 (fma_test_downward): Likewise.
3456 (fma_test_upward): Likewise.
3457
4078da3d
TS
34582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3459
3460 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3461
903252aa
JM
34622012-10-31 Joseph Myers <joseph@codesourcery.com>
3463
3464 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3465 New variable.
3466
cbc818d0
TS
34672012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3468
3469 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3470
5a03cb1e
AS
34712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3472
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3474 Fix sort order.
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3476 Likewise.
3477
90aff2ff
TMQMF
34782012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3479
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3481 Fix the order of the list for glibc 2.17.
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3483 Likewise.
3484
1818fcb7
AS
34852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3486
3487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3488
ef82f4da
JM
34892012-10-31 Joseph Myers <joseph@codesourcery.com>
3490
16a0e2ec
JM
3491 [BZ #14610]
3492 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3493 for low part of x being zero before using __atanl (y).
3494 * math/libm-test.inc (atan2_test): Add another test.
3495
0eb69512
JM
3496 * manual/install.texi (Configuring and compiling): Document
3497 general use of test-wrapper and test-wrapper-env.
3498 * INSTALL: Regenerated.
3499
ef82f4da
JM
3500 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3501 (__fma): Do not extract and scale down low bits on after-rounding
3502 systems when result rounded to normal precision would have normal
3503 exponent.
3504 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3505 (__fmal): Do not extract and scale down low bits on after-rounding
3506 systems when result rounded to normal precision would have normal
3507 exponent.
3508 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3509 (__fmal): Do not extract and scale down low bits on after-rounding
3510 systems when result rounded to normal precision would have normal
3511 exponent.
3512 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3513 macro.
3514 (fma_test): Add more tests.
3515 (fma_test_towardzero): Likewise.
3516 (fma_test_downward): Likewise.
3517 (fma_test_upward): Likewise.
3518
954ef0d9
L
35192012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3520
3521 * sysdeps/i386/tininess.h: Renamed to ...
3522 * sysdeps/x86/tininess.h: This.
3523 * sysdeps/x86_64/tininess.h: Removed.
3524
df61ffb2
JM
35252012-10-30 Joseph Myers <joseph@codesourcery.com>
3526
3527 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3528 input. Use $(build-program-cmd).
3529 ($(objpfx)tst-array1-static.out): Likewise.
3530 ($(objpfx)tst-array2.out): Likewise.
3531 ($(objpfx)tst-array3.out): Likewise.
3532 ($(objpfx)tst-array4.out): Likewise.
3533 ($(objpfx)tst-array5.out): Likewise.
3534 ($(objpfx)tst-array5-static.out): Likewise.
3535
01767843
CM
35362012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3537
47cc1490
CM
3538 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3539 if defined.
3540
01767843
CM
3541 * nss/nsswitch.h (nss_interface_function): Provide new
3542 macro for use with NSS functions.
3543 * grp/initgroups.c: Use new macro.
3544 * nss/getXXbyYY.c: Likewise.
3545 * nss/getXXbyYY_r.c: Likewise.
3546 * nss/getXXent.c: Likewise.
3547 * nss/getXXent_r.c: Likewise.
3548 * sysdeps/posix/getaddrinfo.c: Likewise.
3549
8321aa97
AJ
35502012-10-30 Andreas Jaeger <aj@suse.de>
3551
3552 * po/ru.po: Update Russion translation from translation project.
3553
2a27fd6d
JM
35542012-10-30 Joseph Myers <joseph@codesourcery.com>
3555
8627a232
JM
3556 [BZ #14152]
3557 [BZ #14783]
3558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3559 result and shift together with sticky bit instead of replicating
3560 round-to-nearest rounding.
3561 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3562 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3563 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3564 missing underflow exceptions.
3565 (fma_test_towardzero): Add more tests.
3566 (fma_test_downward): Likewise.
3567 (fma_test_upward): Likewise.
3568
2a27fd6d
JM
3569 [BZ #14047]
3570 * sysdeps/generic/tininess.h: New file.
3571 * sysdeps/i386/tininess.h: Likewise.
3572 * sysdeps/sh/tininess.h: Likewise.
3573 * sysdeps/x86_64/tininess.h: Likewise.
3574 * stdlib/tst-strtod-underflow.c: Likewise.
3575 * stdlib/tst-tininess.c: Likewise.
3576 * stdlib/strtod_l.c: Include <tininess.h>.
3577 (round_and_return): Do not set errno for exact underflow cases.
3578 Force an underflow exception when setting errno for underflow.
3579 Determine underflow based on rounding to normal precision if
3580 TININESS_AFTER_ROUNDING.
3581 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3582 ERANGE for exact underflow cases.
3583 * stdlib/Makefile (tests): Add tst-tininess and
3584 tst-strtod-underflow.
3585 ($(objpfx)tst-tininess): Use $(link-libm).
3586 ($(objpfx)tst-strtod-underflow): Likewise.
3587
e7170363
AJ
35882012-10-30 Andreas Jaeger <aj@suse.de>
3589
e5088dc6
AJ
3590 [BZ#14767]
3591 * elf/Makefile (tests): Remove conditional for have-initfini-array
3592 since this is now always required and the variable does not exist
3593 anymore.
3594 (tests-static): Likewise.
3595 (modules-names): Likewise.
3596
e7170363 3597 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3598
3599 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3600 merged with constructor/destructor.
3601 (init_array): Likewise.
3602 * elf/tst-array2dep.c (fini_array): Likewise.
3603 (init_array): Likewise.
3604
60457d8a
MF
36052012-10-29 Mike Frysinger <vapier@gentoo.org>
3606
3607 * manual/message.texi: Delete @cartouche tags.
3608
8bece752
PT
36092012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3610
94ce799f
PT
3611 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3612 EOPNOTSUPP.
3613 * sysdeps/mach/hurd/fsync.c: Likewise.
3614
8bece752
PT
3615 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3616 [_POSIX_REALTIME_SIGNALS]: Change condition to
3617 [_POSIX_REALTIME_SIGNALS > 0].
3618
86ebe6b1
AJ
36192012-10-27 Andreas Jaeger <aj@suse.de>
3620
3621 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3622 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3624 [__WORDSIZE != 64]: Likewise.
3625
54399c08
L
36262012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3627
3628 * iconvdata/tst-table.sh: Remove ${SHELL}.
3629 * iconvdata/tst-tables.sh: Likewise.
3630
e2211bed
DM
36312012-10-25 David S. Miller <davem@davemloft.net>
3632
3633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3634 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3635 of strtoull.
3636
f303f97c
DM
3637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3638 ifunc-impl-list.c
3639 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3640 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3641 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3642 file.
3643
1e9d84cd
RM
36442012-10-25 Roland McGrath <roland@hack.frob.com>
3645
3646 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3647 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3648 __getdirentries.
3649
df381762
JM
36502012-10-25 Joseph Myers <joseph@codesourcery.com>
3651 Jim Blandy <jimb@codesourcery.com>
3652
3653 * scripts/cross-test-ssh.sh: New file.
3654 * manual/install.texi (Configuring and compiling): Document use of
3655 cross-test-ssh.sh.
3656 * INSTALL: Regenerated.
3657
bff64913
PT
36582012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3659
3660 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3661 EOPNOTSUPP.
3662
25fe8932
JM
36632012-10-25 Joseph Myers <joseph@codesourcery.com>
3664
3665 * Makeconfig (run-program-prefix): Fix comment.
3666
cc1290d0
JM
36672012-10-24 Joseph Myers <joseph@codesourcery.com>
3668 Jim Blandy <jimb@codesourcery.com>
3669
3670 * Makeconfig (test-wrapper): New variable,
3671 (test-wrapper-env): Likewise.
3672 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3673 (run-built-tests): Define to yes.
3674 (run-program-prefix): Use $(test-wrapper).
3675 (built-program-cmd): Likewise.
3676 * Rules (make-test-out): Use $(test-wrapper-env) and
3677 $(host-built-program-cmd).
3678 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3679 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3680 tst-pathopt.sh.
3681 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3682 $(test-wrapper-env) to tst-rtld-load-self.sh.
3683 ($(objpfx)order2.out): Use $(test-wrapper).
3684 ($(objpfx)tst-initorder.out): Likewise.
3685 ($(objpfx)tst-initorder2.out): Likewise.
3686 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3687 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3688 (test_wrapper_env): New variable. Use it to run ld.so.
3689 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3690 Use it to run ld.so.
3691 (test_wrapper_env): Likewise.
3692 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3693 $(test-wrapper) to run-iconv-test.sh.
3694 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3695 (ICONV): Use $test_wrapper.
3696 * posix/Makefile ($(objpfx)globtest.out): Pass
3697 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3698 globtest.sh, not $(run-program-prefix).
3699 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3700 (test_wrapper): Likewise.
3701 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3702 set together with run_via_rtld_prefix.
3703 (run_program_prefix): Define in terms of test_wrapper and
3704 run_via_rtld_prefix.
3705
6e6249d0
RM
37062012-10-24 Roland McGrath <roland@hack.frob.com>
3707
3708 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3709 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3710 Targets removed.
3711
3712 [BZ #14743]
3713 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3714 Declare __clock_getres, __clock_gettime, __clock_settime,
3715 __clock_nanosleep, and __clock_getcpuclockid.
3716 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3717 Remove librt_hidden_def (clock_gettime).
3718 * sysdeps/unix/clock_gettime.c: Likewise.
3719 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3720 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3721 * rt/clock_getres.c: Define __clock_getres as an alias.
3722 * sysdeps/posix/clock_getres.c: Likewise.
3723 * rt/clock_settime.c: Define __clock_settime as an alias.
3724 * sysdeps/unix/clock_settime.c: Likewise.
3725 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3726 * sysdeps/unix/clock_nanosleep.c: Likewise.
3727 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3728 * rt/clock-compat.c: New file.
3729 * rt/Makefile (librt-routines): Add clock-compat and move
3730 $(clock-routines) to ...
3731 (routines): ... here, new variable.
3732 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3733 Don't add get_clockfreq here.
3734 * rt/Versions (libc: GLIBC_2.17): New version set.
3735 Add clock_* symbols here.
3736 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3737 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3738 (GLIBC_2.17): Add clock_* symbols.
3739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3741 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3743 Likewise.
3744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3745 Likewise.
3746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3750 * NEWS: Mention the move.
3751
3752 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3753 Use __open, __read, __close rather than their public counterparts.
3754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3755 (__get_clockfreq_via_cpuinfo): Likewise.
3756 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3757 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3758
3759 * config.h.in (HAVE_IFUNC): New #undef.
3760 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3761 was successful.
3762 * configure: Regenerated.
3763
0cae3f4b
MF
37642012-10-24 Mike Frysinger <vapier@gentoo.org>
3765
3766 * configure.in: Move READELF check to start of file.
3767 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3768 libc_cv_asm_gnu_indirect_function in the process.
3769 * configure: Regenerated.
3770
8175a253
MF
37712012-10-24 Mike Frysinger <vapier@gentoo.org>
3772
3773 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3774 send the output to /dev/null.
3775 (libc_cv_cc_with_libunwind): Likewise.
3776 (libc_cv_as_noexecstack): Likewise.
3777 * configure: Regenerate.
3778
0708a7d1
JM
37792012-10-24 Joseph Myers <joseph@codesourcery.com>
3780
10b40d85
JM
3781 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3782
0708a7d1
JM
3783 * posix/globtest.sh (TMPDIR): Do not set.
3784 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3785 (testout): Likewise.
3786
9fddec1a
AJ
37872012-10-24 Andreas Jaeger <aj@suse.de>
3788
3a8db22f
AJ
3789 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3790 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3791 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3792 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3793 posix_fadvise64, posix_fallocate64.
3794
9fddec1a
AJ
3795 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3796 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3797 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3798 Likewise.
3799 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3800 Likewise.
3801 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3802
3803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3804 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3805 <bits/fcntl-linux.h>.
3806 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3807
3808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3809 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3810 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3811 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3812 [__WORDSIZE != 64]: Likewise.
3813
ebfd1bbd
JM
38142012-10-23 Joseph Myers <joseph@codesourcery.com>
3815
03ac099f
JM
3816 * Makeconfig (run-built-tests): New variable.
3817 * Rules [$(cross-compiling) = yes]: Change condition to
3818 [$(run-built-tests) = no].
3819 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3820 to [$(run-built-tests) = yes].
3821 * elf/Makefile [$(cross-compiling) = no]: Likewise
3822 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3823 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3824 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3825 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3826 * io/Makefile [$(cross-compiling) = no]: Likewise.
3827 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3828 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3829 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3830 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3831 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3832 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3833 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3834 * string/Makefile [$(cross-compiling) = no]: Likewise.
3835
ebfd1bbd
JM
3836 * posix/Makefile ($(objpfx)globtest.out): Pass
3837 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3838 $(rtld-installed-name).
3839 * posix/globtest.sh (elf_objpfx): Remove variable.
3840 (rtld_installed_name): Likewise.
3841 (library_path): Likewise.
3842 (run_program_prefix): New variable. Use for running globtest
3843 binary.
3844
166bca24
JB
38452012-10-23 Jim Blandy <jimb@codesourcery.com>
3846 Joseph Myers <joseph@codesourcery.com>
3847
3848 * Makeconfig (host-built-program-cmd): New variable.
3849 * elf/Makefile (tst-stackguard1-ARGS): Use
3850 $(host-built-program-cmd).
3851 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3852 (tst-spawn-ARGS): Likewise.
3853 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3854
88866099
JM
38552012-10-23 Joseph Myers <joseph@codesourcery.com>
3856 Jim Blandy <jimb@codesourcery.com>
3857
3858 * Makeconfig (run-via-rtld-prefix): New variable.
3859 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3860 (built-program-cmd): Likewise.
3861
b4b4c296
AJ
38622012-10-22 Andreas Jaeger <aj@suse.de>
3863
3864 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3865 __O_RSYNC if it exists, otherwise to O_SYNC.
3866
6fb54a22
JB
38672012-10-22 Jim Blandy <jimb@codesourcery.com>
3868 Joseph Myers <joseph@codesourcery.com>
3869
3870 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3871 /dev/null.
3872 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3873 from /dev/null
3874 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3875 /dev/null.
3876
481b90b9
AJ
38772012-10-22 Andreas Jaeger <aj@suse.de>
3878
2a0e2669
AJ
3879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3880 Define always.
3881 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3882
76e38f9a
AJ
3883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3884 bits/fcntl-linux.h.
3885
7cd37b43
AJ
3886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3887 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3888
481b90b9
AJ
3889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3890 to __O_LARGEFILE.
3891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3892 to __O_LARGEFILE.
3893
aba75984
JB
38942012-10-21 Jim Blandy <jimb@codesourcery.com>
3895 Joseph Myers <joseph@codesourcery.com>
3896
3897 * config.make.in (NM): New variable.
3898
88d4247f
AJ
38992012-10-21 Andreas Jaeger <aj@suse.de>
3900
3901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3902 definitions and declarations that are provided by
3903 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3904
f2eed205
L
39052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3906
3907 [BZ #14683]
3908 * elf/Makefile (tests-static): Add tst-leaks1-static.
3909 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3910 ($(objpfx)tst-leaks1-static): New rule.
3911 ($(objpfx)tst-leaks1-static-mem): Likewise.
3912 (tst-leaks1-static-ENV): New macro.
3913 * elf/dl-open.c (dl_open_worker): Check the main application
3914 only if SHARED is defined.
3915 * elf/tst-leaks1-static.c: New file.
3916
335e6931
AJ
39172012-10-20 Andreas Jaeger <aj@suse.de>
3918
3919 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3920 generic values for Linux.
3921 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3922 and declarations that are provided by <bits/fcntl-linux.h> and
3923 include <bits/fcntl-linux.h>.
3924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3926
ac5c94d3
RM
39272012-10-20 Roland McGrath <roland@hack.frob.com>
3928
3929 * io/fcntl.h: Move include of <bits/types.h> to the top and
3930 include it unconditionally.
3931
de54b33a
L
39322012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3933
228cfb01
L
3934 * wcsmbs/Makefile (tests-ifunc): New variable.
3935 (tests): Add $(tests-ifunc).
3936 * wcsmbs/test-wcschr-ifunc.c: New file.
3937 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3938 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3939 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3940 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3941 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3942
69f07e5f
L
3943 * string/Makefile (tests-ifunc): New variable.
3944 (tests): Add $(tests-ifunc).
3945 * string/test-memccpy.c (TEST_NAME): New macro.
3946 * string/test-memchr.c (TEST_NAME): Likewise.
3947 * string/test-memcmp.c (TEST_NAME): Likewise.
3948 * string/test-memcpy.c (TEST_NAME): Likewise.
3949 * string/test-memmem.c (TEST_NAME): Likewise.
3950 * string/test-memmove.c (TEST_NAME): Likewise.
3951 * string/test-memset.c (TEST_NAME): Likewise.
3952 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3953 * string/test-stpcpy.c (TEST_NAME): Likewise.
3954 * string/test-stpncpy.c (TEST_NAME): Likewise.
3955 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3956 * string/test-strcasestr.c (TEST_NAME): Likewise.
3957 * string/test-strcat.c (TEST_NAME): Likewise.
3958 * string/test-strchr.c (TEST_NAME): Likewise.
3959 * string/test-strcmp.c(TEST_NAME): Likewise.
3960 * string/test-strcpy.c (TEST_NAME): Likewise.
3961 * string/test-strcspn.c (TEST_NAME): Likewise.
3962 * string/test-strlen.c (TEST_NAME): Likewise.
3963 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3964 * string/test-strncmp.c (TEST_NAME): Likewise.
3965 * string/test-strncpy.c (TEST_NAME): Likewise.
3966 * string/test-strnlen.c (TEST_NAME): Likewise.
3967 * string/test-strpbrk.c (TEST_NAME): Likewise.
3968 * string/test-strrchr.c (TEST_NAME): Likewise.
3969 * string/test-strspn.c (TEST_NAME): Likewise.
3970 * string/test-strstr.c (TEST_NAME): Likewise.
3971 * string/test-bcopy-ifunc.c: New file.
3972 * string/test-bzero-ifunc.c: Likewise.
3973 * string/test-memccpy-ifunc.c: Likewise.
3974 * string/test-memchr-ifunc.c: Likewise.
3975 * string/test-memcmp-ifunc.c: Likewise.
3976 * string/test-memcpy-ifunc.c: Likewise.
3977 * string/test-memmem-ifunc.c: Likewise.
3978 * string/test-memmove-ifunc.c: Likewise.
3979 * string/test-mempcpy-ifunc.c: Likewise.
3980 * string/test-memset-ifunc.c: Likewise.
3981 * string/test-rawmemchr-ifunc.c: Likewise.
3982 * string/test-stpcpy-ifunc.c: Likewise.
3983 * string/test-stpncpy-ifunc.c: Likewise.
3984 * string/test-strcasecmp-ifunc.c: Likewise.
3985 * string/test-strcasestr-ifunc.c: Likewise.
3986 * string/test-strcat-ifunc.c: Likewise.
3987 * string/test-strchr-ifunc.c: Likewise.
3988 * string/test-strchrnul-ifunc.c: Likewise.
3989 * string/test-strcmp-ifunc.c: Likewise.
3990 * string/test-strcpy-ifunc.c: Likewise.
3991 * string/test-strcspn-ifunc.c: Likewise.
3992 * string/test-strlen-ifunc.c: Likewise.
3993 * string/test-strncasecmp-ifunc.c: Likewise.
3994 * string/test-strncat-ifunc.c: Likewise.
3995 * string/test-strncmp-ifunc.c: Likewise.
3996 * string/test-strncpy-ifunc.c: Likewise.
3997 * string/test-strnlen-ifunc.c: Likewise.
3998 * string/test-strpbrk-ifunc.c: Likewise.
3999 * string/test-strrchr-ifunc.c: Likewise.
4000 * string/test-strspn-ifunc.c: Likewise.
4001 * string/test-strstr-ifunc.c: Likewise.
4002
de54b33a
L
4003 * debug/Makefile (tests-ifunc): New variable.
4004 (tests): Add $(tests-ifunc).
4005 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4006 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4007 * debug/test-stpcpy_chk-ifunc.c: New file.
4008 * debug/test-strcpy_chk-ifunc.c: Likewise.
4009
88481c16
SP
40102012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4011
4012 [BZ #13601]
4013 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4014 header is not read in.
4015
135948bd
JM
40162012-10-19 Joseph Myers <joseph@codesourcery.com>
4017
89f1c388
JM
4018 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4019 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4020 directly. Pass built executable to script as
4021 $(built-program-cmd).
4022 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4023 $testprogram without using LD_LIBRARY_PATH and $ldso.
4024
e40a0d21
JM
4025 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4026 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4027 $(rtld-installed-name).
4028 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4029 (rtld_installed_name): Likewise.
4030 (library_path): Likewise.
4031 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4032 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4033 $(run-program-prefix) to tst-tables.sh.
4034 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4035 it to run tst-table-from and tst-table-to.
4036 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4037 Pass it to tst-table.sh.
4038 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4039 $(run-program-prefix) to tst-gettext.sh.
4040 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4041 tst-translit.sh.
4042 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4043 tst-gettext2.sh.
4044 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4045 to run tst-gettext.
4046 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4047 to run tst-gettext2.
4048 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4049 to run tst-translit.
4050 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4051 $(run-program-prefix) to tst-mtrace.sh.
4052 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4053 to run tst-mtrace.
4054 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4055 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4056 $(rtld-installed-name).
4057 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4058 (rtld_installed_name): Likewise.
4059 (run_program_prefix): New variable. Use it to run wordexp-test.
4060
728e272a
JM
4061 * Makeconfig (ARCH): Remove all definitions.
4062 (machine): Likewise.
4063 [ARCH]: Remove conditional code.
4064 [!objdir]: Give error.
4065 [!objdir] (objpfx): Remove.
4066 [!objdir] (common-objpfx): Likewise.
4067 [!objdir] (common-objdir): Likewise.
4068 * configure.in (config_makefile): Remove. Hardcode Makefile in
4069 AC_CONFIG_FILES call.
4070 * configure: Regenerated.
4071
d528cdcf
JM
4072 [BZ #13888]
4073 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4074 or TMPDIR.
4075 (testout): Likewise.
4076
135948bd
JM
4077 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4078 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4079 $(rtld-installed-name).
4080 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4081 (rtld_installed_name): Likwise.
4082 (runit): Remove function.
4083 (run_getconf): New variable, Use it for running getconf binary.
4084
38c78296
L
40852012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4086
4087 [BZ #14716]
4088 * string/test-memmem.c (check_result): New function.
4089 (do_one_test): Use it.
4090 (check1): New function.
4091 (test_main): Use it.
4092
d077f65f
MT
40932012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4094
4095 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4096
ced52c71
JM
40972012-10-18 Joseph Myers <joseph@codesourcery.com>
4098
4099 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4100 (_G_LSEEK64): Likewise.
4101 (_G_MMAP64): Likewise.
4102 (_G_FSTAT64): Likewise.
4103 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4104 (_G_LSEEK64): Likewise.
4105 (_G_MMAP64): Likewise.
4106 (_G_FSTAT64): Likewise.
4107 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4108 unconditional. Call __mmap64 directly.
4109 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4110 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4111 __lseek64 directly.
4112 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4113 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4114 __mmap64 directly.
4115 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4116 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4117 __lseek64 directly.
4118 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4119 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4120 __lseek64 directly.
4121 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4122 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4123 __lseek64 directly.
4124 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4125 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4126 __fxstat64 directly.
4127 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4128 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4129 unconditional.
4130 (freopen64) [!_G_OPEN64]: Remove conditional code.
4131 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4132 unconditional.
4133 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4134 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4135 unconditional.
4136 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4137 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4138 unconditional.
4139 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4140 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4141 unconditional.
4142 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4143 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4144 unconditional.
4145 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4146 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4147 unconditional.
4148 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4149 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4150 unconditional.
4151 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4152
b741de23
SP
41532012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4154
4155 [BZ #12140]
4156 * manual/memory.texi (Malloc Tunable Parameters): Add note
4157 about free list pointers overwriting some perturb bytes.
4158 Wording suggested by Roland McGrath.
4159
f9b9d9c9
JM
41602012-10-17 Joseph Myers <joseph@codesourcery.com>
4161
4162 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4163 (lgamma_test): Likewise.
4164 (tgamma_test): Likewise.
4165
172a631a
FW
41662012-10-16 Florian Weimer <fweimer@redhat.com>
4167
4168 [BZ #14700]
4169 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4170 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4171
e9f37252
MK
41722012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4173
4174 * NEWS: Mention BZ #14716.
4175 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4176 when removing AVAILABLE1_USES_J macro.
4177
d394eb74
L
41782012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4179
4180 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4181 (__bswap_64): __uint64_t for unsigned 64-bit int.
4182
ca38dc17
AS
41832012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4184
4185 * include/string.h (memmem): Declare libc hidden alias.
4186 * string/memmem.c (memmem): Define libc hidden alias.
4187 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4188 __read, __close instead of open, read, close.
4189
9a387d1f
L
41902012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4191
ac49ecaf
L
4192 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4193 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4194 global and hidden.
4195 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4196 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4197 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4198 Likewise.
4199 (__rawmemchr_sse2): Likewise.
4200 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4201 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4202 (__strchr_sse2): Likewise.
4203 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4204 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4205 (__strcasecmp_sse2): Likewise.
4206 (__strncasecmp_sse2): Likewise.
4207 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4208 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4209 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4210 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4211 (__strrchr_sse2): Likewise.
4212 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4213 ifunc-impl-list.c.
4214 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4215 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4216 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4217 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4218 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4219 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4220 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4221 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4222 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4223 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4224 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4225 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4226 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4227 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4228 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4229 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4230 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4231 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4232 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4233 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4234 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4235 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4236 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4237 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4238 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4239 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4240 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4241 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4242 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4243 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4244
b090e8ea
L
4245 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4246 global and hidden.
4247 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4248 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4249 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4250 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4251 Likewise.
4252 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4253 Likewise.
4254 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4255 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4256 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4257 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4258 ifunc-impl-list.c.
4259 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4260 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4261 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4262 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4263 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4264 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4265 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4266 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4267 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4268 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4269 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4270 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4271 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4272 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4273 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4274 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4275 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4276 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4277 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4278 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4279 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4280 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4281 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4282 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4283 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4284 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4285 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4286 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4287 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4288 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4289 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4290 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4291 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4292 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4293 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4294 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4295 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4296 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4297 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4298 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4299 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4300
11dd4af6
L
4301 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4302 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4303 * include/ifunc-impl-list.h: New file.
4304 * misc/ifunc-impl-list.c: Likewise.
4305 * misc/Makefile (routines): Add ifunc-impl-list.
4306 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4307 * string/test-string.h: Include <ifunc-impl-list.h>.
4308 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4309 impl_array): New variables.
4310 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4311 are defined.
4312 (test_init): Call __libc_ifunc_impl_list to initialize
4313 func_list if TEST_IFUNC and TEST_NAME are defined.
4314
9a387d1f
L
4315 * string/Makefile (strop-tests): Add bcopy and bzero.
4316 * string/test-bcopy.c: New file.
4317 * string/test-bzero.c: Likewise.
4318 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4319 defined.
4320 * string/test-memset.c: Support bzero test if TEST_BZERO is
4321 defined.
4322 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4323 __libc_memmove.
4324 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4325 __libc_memset.
4326 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4327 of memset.
4328
472371b9
JM
43292012-10-10 Joseph Myers <joseph@codesourcery.com>
4330
1e4a9536
JM
4331 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4332 * configure: Regenerated.
4333
d173d12e
JM
4334 * Makeconfig (+link-static-before-libc): Don't include
4335 $(link-static-libc).
4336
472371b9
JM
4337 * libio/libio.h (_IO_pos_t): Remove.
4338
89a3ad0b
AO
43392012-10-10 Alexandre Oliva <aoliva@redhat.com>
4340
4341 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4342 McGrath.
4343
e7451425
AO
43442012-10-10 Alexandre Oliva <aoliva@redhat.com>
4345
4346 * crypt/crypt-entry.c: Include fips-private.h.
4347 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4348 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4349 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4350 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4351
4ba74a35
AO
43522012-10-10 Alexandre Oliva <aoliva@redhat.com>
4353
4354 * crypt/crypt-private.h: Include stdbool.h.
4355 (_ufc_setup_salt_r): Return bool.
4356 * crypt/crypt-entry.c: Include errno.h.
4357 (__crypt_r): Return NULL with EINVAL for bad salt.
4358 * crypt/crypt_util.c (bad_for_salt): New.
4359 (_ufc_setup_salt_r): Check that salt is long enough and within
4360 the specified alphabet.
4361 * crypt/badsalttest.c: New file.
4362 * crypt/Makefile (tests): Add it.
4363 ($(objpfx)badsalttest): New.
4364
f96f1242
MK
43652012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4366
4367 * NEWS: Add entry for BZ #14602.
4368
0e8e0c1c
JM
43692012-10-09 Joseph Myers <joseph@codesourcery.com>
4370
4371 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4372 type-generic.
4373 * math/libm-test.inc: Update comment listing what functions and
4374 macros are tested.
4375 (isgreater_test): New function.
4376 (isgreaterequal_test): Likewise.
4377 (isless_test): Likewise.
4378 (islessequal_test): Likewise.
4379 (islessgreater_test): Likewise.
4380 (isunordered_test): Likewise.
4381 (main): Call the new functions.
4382
273edc5e
RM
43832012-10-09 Roland McGrath <roland@hack.frob.com>
4384
b8493de0
RM
4385 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4386 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4387 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4388 * sysdeps/i386/configure: Regenerated.
4389 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4390 * sysdeps/mach/configure: Regenerated.
4391 * sysdeps/mach/hurd/configure: Regenerated.
4392 * sysdeps/powerpc/configure: Regenerated.
4393 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4394 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4395 * sysdeps/s390/s390-32/configure: Regenerated.
4396 * sysdeps/s390/s390-64/configure: Regenerated.
4397 * sysdeps/sh/configure: Regenerated.
4398 * sysdeps/sparc/configure: Regenerated.
4399 * sysdeps/unix/sysv/linux/configure: Regenerated.
4400 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4401 * sysdeps/x86_64/configure: Regenerated.
4402
273edc5e
RM
4403 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4404 defined. Don't check if MAP is NULL.
4405
c8450f70
JM
44062012-10-09 Joseph Myers <joseph@codesourcery.com>
4407
4408 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4409 (_G_stat64): Likewise.
4410 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4411 (_G_stat64): Likewise.
4412 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4413 instead of struct _G_stat64.
4414 * libio/fileops.c (mmap_remap_check): Likewise.
4415 (decide_maybe_mmap): Likewise.
4416 (_IO_new_file_seekoff): Likewise.
4417 (_IO_file_stat): Likewise.
4418 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4419 _G_off64_t.
4420 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4421 instead of struct _G_stat64.
4422 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4423
57e605ba
MK
44242012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4425
4426 [BZ #14602]
4427 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4428 Replace with ...
4429 (CHECK_EOL): New macro.
4430 (two_way_short_needle): Check beginning of haystack for EOL. Use
4431 CHECK_EOL.
4432 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4433 Replace with CHECK_EOL.
4434 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4435 Replace with CHECK_EOL.
4436
ef1bb361
JM
44372012-10-08 Joseph Myers <joseph@codesourcery.com>
4438
4439 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4440 type-generic.
4441 * math/libm-test.inc: Update comment listing what functions and
4442 macros are tested.
4443 (finite_test): New function.
4444 (isinf_test): Likewise.
4445 (isnan_test): Likewise.
4446 (fpclassify_test): Test subnormal input.
4447 (isfinite_test): Likewise.
4448 (isnormal_test): Likewise.
4449 (main): Call the new functions.
4450
55f11534
JN
44512012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4452
4453 [BZ #14660]
4454 * Makerules (%.dynsym): Force C locale when running
4455 $(OBJDUMP) --dynamic-syms.
4456
1ab29350
AS
44572012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4458
4459 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4460 <stdint.h>.
4461
f1ecb7ef
DM
44622012-10-06 David S. Miller <davem@davemloft.net>
4463
4464 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4465 upper 32-bits of the length value in %o2 since we use branch-on-register
4466 tests which consider the entire 64-bit register.
4467
5d41d91a
L
44682012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4469
4470 * string/test-strstr.c (check2): Add a test for page boundary.
4471
3baddb72
DM
44722012-10-05 David S. Miller <davem@davemloft.net>
4473
4474 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4475 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4476 file.
4477 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4478 sysdep_routines.
4479 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4480 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4481 and bzero when HWCAP_SPARC_CRYPTO is present.
4482
9cee5585
L
44832012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4484
d7e0dab9
L
4485 [BZ #14602]
4486 * string/test-strstr.c (check2): New function.
4487 (test_main): Call check2.
4488
03759f47
L
4489 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4490 and bug-strchr1.
4491 * string/bug-strcasestr1.c (do_test): Moved to ...
4492 * string/test-strcasestr.c (check1): Here. New function.
4493 (do_one_test): Break out result checking code into ...
4494 (check_result): This. New function.
4495 (do_one_test): Call check_result.
4496 (test_main): Call check1.
4497 * string/bug-strchr1.c (do_test): Moved to ...
4498 * string/test-strchr.c (check1): Here. New function.
4499 (do_one_test): Break out result checking code into ...
4500 (check_result): This. New function.
4501 (do_one_test): Call check_result.
4502 (test_main): Call check1.
4503 * string/bug-strstr1.c (main): Moved to ...
4504 * string/test-strchr.c (check1): Here. New function.
4505 (do_one_test): Break out result checking code into ...
4506 (check_result): This. New function.
4507 (do_one_test): Call check_result.
4508 (test_main): Call check1.
4509 * string/bug-strcasestr1.c: Removed.
4510 * string/bug-strchr1.c: Likewise.
4511 * string/bug-strstr1.c: Likewise.
4512
53cea63e
L
4513 * elf/Makefile (dl-routines): Add hwcaps.
4514 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4515 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4516 (_dl_important_hwcaps): Moved to ...
4517 * elf/dl-hwcaps.c: Here. New file.
4518 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4519
9cee5585 4520 [BZ #14557]
bb859b06
L
4521 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4522 if IS_IN_rtld isn't defined.
4523
9cee5585
L
4524 * elf/dl-support.c (_dl_sysinfo_map): New.
4525 Include "get-dynamic-info.h" and "setup-vdso.h".
4526 (_dl_non_dynamic_init): Call setup_vdso.
4527 * elf/dynamic-link.h: Don't include <assert.h>.
4528 (elf_get_dynamic_info): Moved to ...
4529 * elf/get-dynamic-info.h: Here. New file.
4530 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4531 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4532 * elf/setup-vdso.h: Here. New file.
4533 * elf/rtld.c: Include "setup-vdso.h".
4534 (dl_main): Call setup_vdso.
4535
23c31b76
JM
45362012-10-05 Joseph Myers <joseph@codesourcery.com>
4537
28234b07
JM
4538 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4539 creal in comment listing functions tested. List finite, isinf,
4540 isnan, isless, islessequal, isgreater, isgreaterequal,
4541 islessgreater, isunordered, lgamma_r and pow10 as functions and
4542 macros not tested. Mention which functions not tested are aliases
4543 for other functions. Fix typo. Note that signs of NaNs are not
4544 tested.
4545
23c31b76
JM
4546 * scripts/config.guess: Update from config.git.
4547 * scripts/config.sub: Likewise.
4548
9043e228
RM
45492012-10-04 Roland McGrath <roland@hack.frob.com>
4550
4551 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4552 * misc/madvise.c (madvise): Renamed to __madvise.
4553 Make madvise a weak alias.
4554 * include/sys/mman.h: Declare __madvise.
4555 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4556 * sysdeps/unix/syscalls.list
4557 (madvise): Make __madvise the strong name, and madvise a weak alias.
4558 * sysdeps/unix/sysv/linux/syscalls.list
4559 (madvise, mmap): Remove redundant entries.
4560 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4561 * malloc/malloc.c (mtrim): Likewise.
4562 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4563
f57f8055
RM
45642012-10-03 Roland McGrath <roland@hack.frob.com>
4565
4566 * sysdeps/mach/hurd/dl-cache.c: File removed.
4567 * config.h.in (USE_LDCONFIG): New #undef.
4568 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4569 * configure: Regenerated.
4570 * elf/Makefile (dl-routines): Add dl-cache only under
4571 [$(use-ldconfig) = yes].
4572 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4573 cache on [USE_LDCONFIG].
4574 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4575 [USE_LDCONFIG].
4576 * elf/rtld.c (dl_main): Likewise.
4577
5bb0c10a
PT
45782012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4579
4580 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4581 _SC_LEVEL4_CACHE_LINESIZE.
4582
010188c6
RM
45832012-10-03 Roland McGrath <roland@hack.frob.com>
4584
4585 * sysdeps/unix/bsd/confstr.h: File removed.
4586
b6c5ec07
AO
45872012-10-02 Alexandre Oliva <aoliva@redhat.com>
4588
4589 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4590 sys/sdt-config.h.
4591
408223d4
RM
45922012-10-02 Roland McGrath <roland@hack.frob.com>
4593
4594 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4595 Make 'mapoff' field ElfW(Off) rather than off_t.
4596
bb9510dc
DL
45972012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4598
fc997c6e
DL
4599 * nscd/Makefile: Remove nscd-cflags and all its users.
4600 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4601 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4602
bb9510dc
DL
4603 [BZ #10631]
4604 * malloc.c (malloc_printerr): Clarify error message.
4605
05699367
L
46062012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4607
4608 [BZ #14648]
4609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4610 Set bit_FMA_Usable if FMA is supported.
4611 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4612 macro.
4613 (bit_FMA4_Usable): Updated.
4614 (index_FMA_Usable): New macro.
4615 (CPUID_FMA): Likewise
4616 (HAS_FMA): Defined with bit_FMA_Usable.
4617
51367701
RM
46182012-10-01 Roland McGrath <roland@hack.frob.com>
4619
4620 * bits/types.h (__swblk_t): Type removed.
4621 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4622 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4624 (__SWBLK_T_TYPE): Likewise.
4625 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4626 (__SWBLK_T_TYPE): Likewise.
4627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4628 (__SWBLK_T_TYPE): Likewise.
4629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4630 (__SWBLK_T_TYPE): Likewise.
4631
4d57bf63 46322012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4633 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4634
4635 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4636 (xdr_mapname): Use YPMAXMAP as maxsize.
4637 (xdr_peername): Use YPMAXPEER as maxsize.
4638 (xdr_keydat): Use YPAXRECORD as maxsize.
4639 (xdr_valdat): Use YPMAXRECORD as maxsize.
4640
93c65d43
RM
46412012-10-01 Roland McGrath <roland@hack.frob.com>
4642
497a03d6
RM
4643 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4644
93c65d43
RM
4645 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4646 * csu/init-first.c: ... here.
4647 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4648 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4649 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4650 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4651 * sysdeps/i386/init-first.c: File removed.
4652 * sysdeps/sh/init-first.c: File removed.
4653
bec749fd
JM
46542012-10-01 Joseph Myers <joseph@codesourcery.com>
4655
4656 [BZ #14645]
4657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4658 if x * y might underflow to zero and z is zero.
4659 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4661 * math/libm-test.inc (min_subnorm_value): New variable.
4662 (fma_test): Add more tests.
4663 (fma_test_towardzero): Likewise.
4664 (fma_test_downward): Likewise
4665 (fma_test_upward): Likewise.
4666 (initialize): Set min_subnorm_value.
4667
8ec5b013
JM
46682012-09-29 Joseph Myers <joseph@codesourcery.com>
4669
4670 [BZ #14638]
4671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4672 0 + 0.
4673 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4674 mode for addition resulting in exact zero.
4675 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4677 exact 0 + 0.
4678 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4680 * math/libm-test.inc (fma_test): Add more tests.
4681 (fma_test_towardzero): New function.
4682 (fma_test_downward): Likewise.
4683 (fma_test_upward): Likewise.
4684 (main): Call the new functions.
4685
b1fa802e
DM
46862012-09-28 David S. Miller <davem@davemloft.net>
4687
4688 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4689
d3b9fd9e
RM
46902012-09-28 Roland McGrath <roland@hack.frob.com>
4691
ea4d37b3
RM
4692 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4693 instead of SIGALRM.
4694
ac51c949
RM
4695 * sysdeps/gnu/_G_config.h: Moved to ...
4696 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4697 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4698 * sysdeps/generic/_G_config.h: ... here.
4699
28c195f7
RM
4700 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4701
848917f9
RM
4702 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4703
6bacf05b
RM
4704 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4705 Conditionalize target on [libnss_test1.so-version].
4706
91363dbb
RM
4707 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4708
cc87f7d8
RM
4709 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4710 (elfobjdir): Move out of conditionals.
4711
b1c608fe
RM
4712 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4713 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4714 (__nss_lookup_function): Conditionalize label remove_from_tree on
4715 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4716
1d9a6d96
DM
47172012-09-28 David S. Miller <davem@davemloft.net>
4718
4719 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4720 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4721 file.
4722 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4723 sysdep_routines.
4724 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4726 when HWCAP_SPARC_CRYPTO is present.
4727
72581615
PT
47282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4729
4730 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4731
715a900c
JL
47322012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4733
4734 [BZ #6530]
4735 * stdio-common/vfprintf.c (process_string_arg): Revert
4736 2000-07-22 change.
4737
47382011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4739
4740 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4741 for testcase.
4742 * stdio-common/tst-sprintf.c: Include <locale.h>
4743 (main): Test sprintf's handling of incomplete multibyte
4744 characters.
4745
9bac1d86
L
47462012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 * elf/dl-runtime.c (VERSYMIDX): Removed.
4749 * elf/dl-version.c (VERSYMIDX): Likewise.
4750 * elf/do-rel.h (VERSYMIDX): Likewise.
4751 (VALIDX): Likewise.
4752 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4753 * elf/rtld.c (VALIDX): Likewise.
4754 (ADDRIDX): Likewise.
9bac1d86
L
4755 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4756 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4757 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4758 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4759 (VALIDX): Likewise.
4760 (ADDRIDX): Likewise.
9bac1d86 4761
b31606c0
PT
47622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4763
4764 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4765
11541177
JL
47662012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4767
4768 [BZ #11438]
4769 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4770 to global scope.
4771 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4772 addresses are in the same scope as 192.0.2/24.
4773 * posix/gai.conf: Document new scope table defaults.
4774
adb26fae
SP
47752012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4776
4777 [BZ #5298]
4778 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4779 for ftell. Compute offsets from write pointers instead.
4780 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4781
4573c6b0
SP
47822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4783
4784 [BZ #14543]
4785 * libio/Makefile (tests): New test case tst-fseek.
4786 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4787 combination works in wide mode.
4788 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4789 state when the external buffer state changes.
4790
aa9bbfe6
DM
47912012-09-27 David S. Miller <davem@davemloft.net>
4792
4793 [BZ #14376]
4794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4795 pass reloc->r_addend in as the 'high' argument to
4796 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4797
784421e7
DM
4798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4799
c39bc8b8
PT
48002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4801
4802 * rt/tst-aio2.c: Include <pthread.h>.
4803 * rt/tst-aio3.c: Likewise.
4804
1ccc2399
SE
48052012-09-27 Steve Ellcey <sellcey@mips.com>
4806
4807 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4808
31ed4153
L
48092012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4810
25f5f885
L
4811 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4812 contents on [SHARED].
31ed4153 4813
b7bfe116
MP
48142012-09-26 Marek Polacek <polacek@redhat.com>
4815
4816 [BZ #14530]
4817 [BZ #13741]
4818 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4819 for C++ and GCC <4.3 as well as for non GCC compilers.
4820
43c4edba
MT
48212012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4822
4823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4824
6a1bf82f
RM
48252012-09-25 Roland McGrath <roland@hack.frob.com>
4826
4827 * Makefile.in (all, install): Declare with .PHONY.
4828 Reported by Michael Hope <michael.hope@linaro.org>.
4829
8ad11b9a
TMQMF
48302012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4831
4832 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4833 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4834 system header.
4835 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4836 Likewise.
4837 (sydep_routines): Add the new and the internal functions.
4838 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4839 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4841 (GLIBC_2.17): Add the new function.
4842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4843 (GLIBC_2.17): Likewise.
4844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4845 (GLIBC_2.17): Likewise.
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4847 (GLIBC_2.17): Likewise.
4848 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4849
7e2fca8d
AM
48502012-09-25 Alan Modra <amodra@gmail.com>
4851
4852 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4853 Add release barrier before setting once_control to say
4854 initialisation is done. Add hints on lwarx. Use macro in
4855 place of isync.
4856 (clear_once_control): Add release barrier.
4857
b87c4b24
JM
48582012-09-25 Joseph Myers <joseph@codesourcery.com>
4859
d032e0d2
JM
4860 [BZ #13629]
4861 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4862 specially.
4863 * math/s_clog10.c (__clog10): Likewise.
4864 * math/s_clog10f.c (__clog10f): Likewise.
4865 * math/s_clog10l.c (__clog10l): Likewise.
4866 * math/s_clogf.c (__clogf): Likewise.
4867 * math/s_clogl.c (__clogl): Likewise.
4868 * math/Makefile (libm-calls): Add x2y2m1.
4869 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4870 (__x2y2m1): Likewise.
4871 (__x2y2m1l): Likewise.
4872 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4873 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4874 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4875 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4876 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4877 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4878 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4879 * sysdeps/i386/fpu/libm-test-ulps: Update.
4880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4881
b87c4b24
JM
4882 [BZ #14621]
4883 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4884 int as type of variable DEPTH.
4885 (glob): Use size_t instead of int as type of variables NEWCOUNT
4886 and OLD_PATHC.
4887
6d3bf199
LD
48882012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4889
22bf5c17
LD
4890 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4891 Add s_sincosf-sse2.
4892 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4893 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4894 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4895 macros for using routine as __sincosf_ia32.
4896 Use macro for function declaration and weak_alias.
4897 * sysdeps/i386/fpu/libm-test-ulps: Update.
4898
4899 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4901
4902 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4903 subnormal argument.
4904 * math/s_cexpf.c (__cexpf): Likewise.
4905 * math/s_csinf.c (__csinf): Likewise.
4906 * math/s_csinhf.c (__csinhf): Likewise.
4907 * math/s_ctanf.c (__ctanf): Likewise.
4908 * math/s_ctanhf.c (__ctanhf): Likewise.
4909 * math/s_ccosh.c (__ccoshf): Likewise.
4910 * math/s_cexp.c (__cexpl): Likewise.
4911 * math/s_csin.c (__csin): Likewise.
4912 * math/s_csinh.c (__csinh): Likewise.
4913 * math/s_ctan.c (__ctan): Likewise.
4914 * math/s_ctanh.c (ctanh): Likewise.
4915 * math/s_ccoshl.c (__ccoshl): Likewise.
4916 * math/s_cexpl.c (__cexpl): Likewise.
4917 * math/s_csinl.c (__csinl): Likewise.
4918 * math/s_csinhl.c (__csinhl): Likewise.
4919 * math/s_ctanl.c (__ctanl): Likewise.
4920 * math/s_ctanhl.c (__ctanhl): Likewise.
4921
203e5603
JM
49222012-09-25 Joseph Myers <joseph@codesourcery.com>
4923
4924 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4925 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4926 (_IO_off_t): Define to __off_t, not _G_off_t.
4927 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4928 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4929 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4930 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4931 type of __dummy and __dummy2 fields.
4932 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4933 (_G_ssize_t): Likewise.
4934 (_G_off_t): Likewise.
4935 (_G_pid_t): Likewise.
4936 (_G_uid_t): Likewise.
4937 (_G_wchar_t): Likewise.
4938 (_G_wint_t): Likewise.
4939 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4940 (_G_ssize_t): Likewise.
4941 (_G_off_t): Likewise.
4942 (_G_pid_t): Likewise.
4943 (_G_uid_t): Likewise.
4944 (_G_wchar_t): Likewise.
4945 (_G_wint_t): Likewise.
4946 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4947 (_G_ssize_t): Likewise.
4948 (_G_off_t): Likewise.
4949 (_G_pid_t): Likewise.
4950 (_G_uid_t): Likewise.
4951 (_G_wchar_t): Likewise.
4952 (_G_wint_t): Likewise.
4953
9fab36eb
SP
49542012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4955
4956 * malloc/arena.c: Include malloc-sysdep.h.
4957 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4958 is sufficient to shrink the heap or an unmap is needed.
4959 * sysdeps/generic/malloc-sysdep.h: New file. Define
4960 new function check_may_shrink_heap.
4961 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4962 new function check_may_shrink_heap.
4963
2b4f00d1
SP
49642012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4965
4966 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4967 comments.
4968
9a9028b1
DL
49692012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4970
57c69bef
DL
4971 * catgets/test-gencat.sh: Add "set -e".
4972 * elf/tst-pathopt.sh: Likewise.
4973 * grp/tst_fgetgrent.sh: Likewise.
4974 * iconvdata/run-iconv-test.sh: Likewise.
4975 * intl/tst-gettext.sh: Likewise.
4976 * intl/tst-gettext2.sh: Likewise.
4977 * intl/tst-gettext4.sh: Likewise.
4978 * intl/tst-gettext6.sh: Likewise.
4979 * intl/tst-translit.sh: Likewise.
4980 * io/ftwtest-sh: Likewise.
4981 * libio/test-freopen.sh: Likewise.
4982 * malloc/tst-mtrace.sh: Likewise.
4983 * posix/globtest.sh: Likewise.
4984 * posix/tst-getconf.sh: Likewise.
4985 * posix/wordexp-tst.sh: Likewise.
4986 * stdio-common/tst-printf.sh: Likewise.
4987 * stdio-common/tst-unbputc.sh: Likewise.
4988 * stdlib/tst-fmtmsg.sh: Likewise.
4989 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4990 * catgets/Makefile: Do not specify -e option when running
4991 testsuite shell scripts.
4992 * elf/Makefile: Likewise.
4993 * grp/Makefile: Likewise.
4994 * iconvdata/Makefile: Likewise.
4995 * intl/Makefile: Likewise.
4996 * io/Makefile: Likewise.
4997 * libio/Makefile: Likewise.
4998 * malloc/Makefile: Likewise.
4999 * posix/Makefile: Likewise.
5000 * stdio-common/Makefile: Likewise.
5001 * stdlib/Makefile: Likewise.
5002 * sysdeps/x86_64/Makefile: Likewise.
5003
9a9028b1
DL
5004 * io/ftwtest-sh: Add copyright header.
5005 * posix/globtest.sh: Likewise.
5006 * posix/tst-getconf.sh: Likewise.
5007 * posix/wordexp-tst.sh: Likewise.
5008 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5009
ced6f16e
L
50102012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5011
94b32c39
L
5012 [BZ #13679]
5013 * Makeconfig (+link): Defined as $(+link-static) if
5014 $(build-shared) isn't yes.
5015 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5016 isn't yes.
5017 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5018
189e935b
L
5019 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5020
ced6f16e
L
5021 [BZ #14562]
5022 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5023 new chunk size with MALLOC_ALIGN_MASK.
5024
a9f8e53a
JM
50252012-09-24 Joseph Myers <joseph@codesourcery.com>
5026
5027 [BZ #5044]
5028 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5029 <rounding-mode.h>.
5030 (__printf_fphex): Determine rounding using get_rounding_mode and
5031 round_away.
5032 * stdio-common/tst-printf-round.c (struct hex_test): New
5033 structure.
5034 (hex_tests): New variable.
5035 (test_hex_in_one_mode): New function.
5036 (do_test): Also run tests for hex float output.
5037
43153109
JM
50382012-09-21 Joseph Myers <joseph@codesourcery.com>
5039
5040 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5041 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5042 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5043 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5044 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5045 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5046 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5047 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5048
8a26625d
JM
50492012-09-20 Joseph Myers <joseph@codesourcery.com>
5050
5051 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5052 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5053 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5054 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5055
f3fd569c
DL
50562012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5057
5058 [BZ #14579]
5059 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5060 mode only.
5061 * elf/tst-rtld-load-self.sh: New test.
5062 * elf/Makefile: Run it.
5063
63bbedd4
JM
50642012-09-18 Joseph Myers <joseph@codesourcery.com>
5065
5066 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5067 (tst-writev-ENV): Remove.
5068 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5069
626f8b6a
CM
50702012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5071
5072 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5073
b7aaa4d6
JM
50742012-09-17 Joseph Myers <joseph@codesourcery.com>
5075
5076 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5077 unconditional.
5078 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5079 Likewise.
5080 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5081 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5082 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5083 Likewise.
5084
65513990
L
50852012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5086
5087 [BZ #14587]
5088 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5089 * config.make.in (have-cpp-asm-debuginfo): Removed.
5090 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5091 * configure: Regenerated.
5092
784761be
JM
50932012-09-14 Joseph Myers <joseph@codesourcery.com>
5094
5095 [BZ #5044]
5096 * stdio-common/printf_fp.c: Include <stdbool.h> and
5097 <rounding-mode.h>.
5098 (___printf_fp): Determine rounding using get_rounding_mode and
5099 round_away.
5100 * stdio-common/tst-printf-round.c: New file.
5101 * stdio-common/Makefile (tests): Add tst-printf-round.
5102 (link-libm): New variable.
5103 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5104
9503345f
L
51052012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5106
5107 [BZ #14576]
5108 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5109 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5110 Likewise.
5111 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5112 Likewise.
5113
ad35fc00
JM
51142012-09-13 Joseph Myers <joseph@codesourcery.com>
5115
5116 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5117 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5118 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5119 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5120
6c9b0f68
JM
51212012-09-12 Joseph Myers <joseph@codesourcery.com>
5122
5123 [BZ #14518]
5124 * include/rounding-mode.h: New file.
5125 * sysdeps/generic/get-rounding-mode.h: Likewise.
5126 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5127 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5128 (MAX_VALUE): New macro.
5129 (MIN_VALUE): Likewise.
5130 (overflow_value): New function.
5131 (underflow_value): Likewise.
5132 (round_and_return): Use overflow_value and underflow_value to
5133 determine return values in overflow and underflow cases. Use
5134 round_away to determine rounding depending on rounding mode.
5135 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5136 determine return values in overflow and underflow cases.
5137 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5138 (struct test_results): New structure.
5139 (struct test): Use struct test_results to store expected results
5140 for all rounding modes.
5141 (TEST): Include expected results for all rounding modes.
5142 (test_in_one_mode): New function.
5143 (do_test): Use test_in_one_mode to compute and check results.
5144 Check results for all rounding modes.
5145 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5146 $(link-libm).
5147
19fcedd5
AM
51482012-12-09 Allan McRae <allan@archlinux.org>
5149
1e9d84cd 5150 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5151
8bbfd2f1
JM
51522012-09-11 Joseph Myers <joseph@codesourcery.com>
5153
5154 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5155 (_G_int32_t): Likewise.
5156 (_G_uint16_t): Likewise.
5157 (_G_uint32_t): Likewise.
5158 (_G_HAVE_BOOL): Likewise.
5159 (_G_HAVE_ATEXIT): Likewise.
5160 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5161 (_G_HAVE_IO_FILE_OPEN): Likewise.
5162 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5163 (_G_int32_t): Likewise.
5164 (_G_uint16_t): Likewise.
5165 (_G_uint32_t): Likewise.
5166 (_G_HAVE_BOOL): Likewise.
5167 (_G_HAVE_ATEXIT): Likewise.
5168 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5169 (_G_HAVE_IO_FILE_OPEN): Likewise.
5170 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5171 (_G_int32_t): Likewise.
5172 (_G_uint16_t): Likewise.
5173 (_G_uint32_t): Likewise.
5174 (_G_HAVE_BOOL): Likewise.
5175 (_G_HAVE_ATEXIT): Likewise.
5176 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5177 (_G_HAVE_IO_FILE_OPEN): Likewise.
5178
b1dc5912
L
51792012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5180
5181 * csu/libc-tls.c: Update copyright years.
5182
0e886ef9
JM
51832012-09-10 Joseph Myers <joseph@codesourcery.com>
5184
28361c5e
JM
5185 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5186 [!_G_USING_THUNKS]: Remove conditional code.
5187 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5188 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5189
0e886ef9
JM
5190 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5191 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5192 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5193 (_G_VTABLE_LABEL_PREFIX): Likewise.
5194 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5195 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5196 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5197 (_G_VTABLE_LABEL_PREFIX): Likewise.
5198 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5199 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5200 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5201 (_G_VTABLE_LABEL_PREFIX): Likewise.
5202 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5203
bcba7aa2
L
52042012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5205
5206 * libio/Makefile: Include ../Makeconfig before tests.
5207 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5208 only if $(build-shared) is yes.
5209
06585ee8
L
5210 * iconv/gconv_db.c: Update copyright years.
5211
80ccd52c
LD
52122012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5213
5214 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5215 unwind info if defined PIC. Fix special cases description.
5216 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5217
5218 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5219 DP_HI_MASK entry.
5220 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5221
691bc9c1
L
52222012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5223
3d9b46b3
L
5224 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5225
de2139a9
L
5226 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5227 is NULL.
5228
5ca78dd0
L
5229 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5230 (LDLIBS-tst-chk4): This.
5231 (LDFLAGS-tst-chk5): Renamed to ...
5232 (LDLIBS-tst-chk5): This.
5233 (LDFLAGS-tst-chk6): Renamed to ...
5234 (LDLIBS-tst-chk6): This.
5235 (LDFLAGS-tst-lfschk4): Renamed to ...
5236 (LDLIBS-tst-lfschk4): This.
5237 (LDFLAGS-tst-lfschk5): Renamed to ...
5238 (LDLIBS-tst-lfschk5): This.
5239 (LDFLAGS-tst-lfschk6): Renamed to ...
5240 (LDLIBS-tst-lfschk6): This.
5241
691bc9c1
L
5242 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5243 on $(common-objpfx)soversions.mk.
5244
65cafb1c
JM
52452012-09-07 Joseph Myers <joseph@codesourcery.com>
5246
5247 [BZ #10014]
5248 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5249 example host name.
5250
c78ab094
SP
52512012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5252
5253 * malloc/arena.c (arena_get_retry): New function that gets
5254 another arena for the caller to try its request on.
5255 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5256 current arena cannot fulfill the request.
5257 (__libc_memalign): Likewise.
5258 (__libc_memalign): Likewise.
5259 (__libc_pvalloc): Likewise.
5260 (__libc_calloc): Likewise.
5261
01f49f59
JT
52622012-09-05 John Tobey <john.tobey@gmail.com>
5263
5264 [BZ #13542]
5265 * manual/arith.texi (Operations on Complex): Fix description
5266 of carg branch cut.
5267
4c23fed5
JM
52682012-09-06 Joseph Myers <joseph@codesourcery.com>
5269
1d3c8572
JM
5270 [BZ #10014]
5271 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5272 host name.
5273
4c23fed5
JM
5274 [BZ #10038]
5275 * manual/memory.texi (Memory): Make order of menu items match
5276 order of sections.
5277
04570aaa
L
52782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5279
5280 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5281 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5282 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5283
b80af2f4
L
52842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5285
5286 * csu/libc-tls.c (static_dtv): Renamed to ...
5287 (_dl_static_dtv): This. Make it global.
5288 (_dl_initial_dtv): Removed.
5289 (__libc_setup_tls): Updated.
5290 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5291 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5292 DL_INITIAL_DTV.
5293
2abe9f15
PM
52942012-09-06 Petr Machata <pmachata@redhat.com>
5295
5296 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5297 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5298 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5299 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5300
0948c3af
L
53012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5302
5303 [BZ #14545]
5304 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5305 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5306 freeing dtv[-1].
5307
a5055ad1
L
53082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5309
5310 [BZ #14544]
5311 * Makeconfig (link-static-before-libc): Replace $(+prector)
5312 with $(+prectorT).
5313 (link-static-after-libc): Replace $(+postctor) with
5314 $(+postctorT).
5315 (link-bounded): Replace $(+prector)/$(+postctor) with
5316 $(+prectorT)/$(+postctorT).
5317 (+prectorT): New macro.
5318 (+postctorT): Likewise.
5319
ed8c2ecd
JM
53202012-09-06 Joseph Myers <joseph@codesourcery.com>
5321
5322 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5323 (round_str): Handle values above the maximum for IBM long double
5324 as inexact.
5325 * stdlib/tst-strtod-round.c (tests): Regenerated.
5326
14c996c8
AK
53272012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5328
5329 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5330 assembler flag.
5331 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5332 zarch_nohighgprs around the zarch optimized routines.
5333 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5334 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5335 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5336 for zarch.
5337
430d6ce6
DM
53382012-09-05 David S. Miller <davem@davemloft.net>
5339
5340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5341
ff04dda4
DM
5342 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5343 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5344 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5345 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5346 entries.
5347
24d4e01b
AO
53482012-09-05 Alexandre Oliva <aoliva@redhat.com>
5349
5350 * malloc/arena.c: Fold copyright years.
5351 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5352
61d58174
AO
53532012-09-05 Alexandre Oliva <aoliva@redhat.com>
5354
5355 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5356
20196a5e
AO
53572012-09-05 Alexandre Oliva <aoliva@redhat.com>
5358
5359 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5360
5c447383
AO
53612012-09-05 Alexandre Oliva <aoliva@redhat.com>
5362
5363 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5364 change internal state upon failure.
5365
fad64255
AO
53662012-09-05 Alexandre Oliva <aoliva@redhat.com>
5367
5368 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5369 * malloc/memusage.c (mmap): Likewise.
5370 (mmap64, mremap): Likewise. Adjust name in comment.
5371
1ffb8c90
SP
53722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5373
5374 * libio/fileops.c: Fix typos in comments.
5375 * libio/oldfileops.c: Likewise.
5376 * libio/wfileops.c: Likewise.
5377
6ef9cc37
SP
53782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5379
5380 [BZ #1349]
5381 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5382 (tst-malloc-usable-ENV): Set environment for test case.
5383 * malloc/hooks.c (malloc_check_get_size): New function to get
5384 requested size.
5385 * malloc/malloc.c (musable): Use malloc_check_get_size.
5386 * malloc/tst-malloc-usable.c: New test case.
5387
4d038ae3
AS
53882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5389
5390 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5391
c4e85184
AM
53922012-09-05 Allan McRae <allan@archlinux.org>
5393
b9dafc56 5394 [BZ #13966]
c4e85184
AM
5395 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5396 determine header location.
5397 * configure: Regenerated.
5398
e1343020
AS
53992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5400
5401 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5402 float format.
5403 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5404 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5405 format.
e1343020
AS
5406 (test): Regenerate.
5407
0a9f1987
DM
54082012-09-04 David S. Miller <davem@davemloft.net>
5409
5410 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5411 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5412 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5413
29237804
FW
54142012-09-04 Florian Weimer <fweimer@redhat.com>
5415
5416 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5417 failures.
5418
edb3cb88
FW
5419 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5420
60160d83
JM
54212012-09-04 Joseph Myers <joseph@codesourcery.com>
5422
5423 [BZ #9914]
5424 * libio/iogetdelim.c: Include <limits.h>.
5425 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5426 + len + 1 would overflow.
5427
bcd6c8dc
AJ
54282012-09-03 Andreas Jaeger <aj@suse.de>
5429
5430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5431 * sysdeps/i386/fpu/libm-test-ulps: Update.
5432
4ffffbd2
LD
54332012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5434
5435 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5436 Add s_sinf-sse2, s_conf-sse2.
5437
5438 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5439 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5440 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5441 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5442
5443 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5444 for using routine as __sinf_ia32.
5445 Use macro for function declaration and weak_alias.
5446 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5447 for using routine as __cosf_ia32.
5448 Use macro for function declaration and weak_alias.
5449
5450 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5451 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5452
5453 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5454 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5456
5457 * math/libm-test.inc (cos_test): Add more test cases.
5458 (sin_test): Likewise.
5459 (sincos_test): Likewise.
5460
511fa286
AK
54612012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5462
5463 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5464 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5465 hidden.
5466 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5467
5f30cfec
L
54682012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5469
5470 [BZ #14538]
5471 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5472 first element of the GOT.
5473 (elf_machine_load_address): Return the difference between
5474 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5475
0786794f
AM
54762012-09-01 Allan McRae <allan@archlinux.org>
5477
5f30cfec
L
5478 [BZ #13412]
5479 * configure.in (AWK): Require gawk version 3.0 or later.
5480 * configure: Regenerated.
0786794f 5481
26889eac
JM
54822012-09-01 Joseph Myers <joseph@codesourcery.com>
5483
5484 * sysdeps/unix/sysv/linux/kernel-features.h
5485 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5486 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5487 [__NR_clock_getres]: Make code unconditional.
5488 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5489 (clock_getcpuclockid): Remove code left unreachable by removal of
5490 conditionals.
5491 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5492 code unconditional.
5493 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5494 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5495 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5496 Make code unconditional.
5497 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5498 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5499 * sysdeps/unix/sysv/linux/clock_settime.c
5500 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5501 conditional code.
5502 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5503 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5504
d22e28b0
L
55052012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5506
5507 [BZ #14476]
5508 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5509 scripts/test-installation.pl.
5510
5511 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5512 and $ld_so_version if it is set.
5513
050af9c4
SP
55142012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5515
5516 [BZ #14516]
5517 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5518 failure if reading from procfs failed.
5519 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5520
ad845c0b
JM
55212012-08-27 Joseph Myers <joseph@codesourcery.com>
5522
5523 * sysdeps/unix/sysv/linux/kernel-features.h
5524 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5525 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5526 Remove conditional code.
5527 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5528 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5529 Remove conditional code.
5530 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5531 * sysdeps/unix/sysv/linux/i386/fxstat.c
5532 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5533 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5534 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5535 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5536 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5537 * sysdeps/unix/sysv/linux/i386/lxstat.c
5538 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5539 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5540 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5541 Remove conditional code.
5542 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5543 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5544 Remove conditional code.
5545 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5546 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5547 <kernel-features.h>.
5548 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5549 Remove.
5550 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5551 Remove conditional code.
5552 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5553 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5554 Remove conditional.
5555
5dbf56af
MF
55562012-08-27 Mike Frysinger <vapier@gentoo.org>
5557
5558 [BZ #5400]
5559 * NEWS: Add fixed bug number.
5560
d6e70f43
JM
55612012-08-27 Joseph Myers <joseph@codesourcery.com>
5562
7efb4737
JM
5563 [BZ #14519]
5564 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5565 underflowing exponent in case of negative sign.
5566 * stdlib/tst-strtod-round-data: Add more tests.
5567 * stdlib/tst-strtod-round.c (tests): Regenerated.
5568
af92131a
JM
5569 [BZ #3479]
5570 * stdlib/strtod_l.c (NDIG): Remove.
5571 (HEXNDIG): Likewise.
5572 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5573 smallest representable value.
5574 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5575 lie within an exact representation of 1/2 ulp of the result.
5576 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5577 unconditionally.
5578 (TENS_P9_IDX): Define unconditionally.
5579 (TENS_P9_SIZE): Likewise.
5580 (TENS_P10_IDX): Likewise.
5581 (TENS_P10_SIZE): Likewise.
5582 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5583 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5584 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5585 entries for 10^2^13 and 10^2^14.
5586 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5587 (TENS_P13_IDX): Define.
5588 (TENS_P13_SIZE): Likewise.
5589 (TENS_P14_IDX): Likewise.
5590 (TENS_P14_SIZE): Likewise.
5591 (_fpioconst_pow10): Change array size to
5592 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5593 unconditional.
5594 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5595 1024]: Add entries for 10^2^13 and 10^2^14.
5596 [LAST_POW10 > _LAST_POW10]: Remove #error.
5597 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5598 (_fpioconst_pow10): Change array size to
5599 FPIOCONST_POW10_ARRAY_SIZE.
5600 * stdlib/gen-fpioconst.c: New file.
5601 * stdlib/gen-tst-strtod-round.c: Likewise.
5602 * stdlib/tst-strtod-round-data: Likewise.
5603 * stdlib/tst-strtod-round.c: Likewise.
5604 * stdlib/Makefile (tests): Add tst-strtod-round.
5605
d6e70f43
JM
5606 [BZ #14459]
5607 * stdlib/strtod_l.c: Include <stdint.h>.
5608 (NDEBUG): Do not define.
5609 (round_and_return): Change EXPONENT parameter to type intmax_t.
5610 Rearrange calculations to avoid internal overflow possibilities.
5611 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5612 Rearrange calculations to avoid internal overflow possibilities.
5613 Assert that number fits inside MPNSIZE limbs.
5614 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5615 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5616 calculations and add assertions to avoid internal overflow
5617 possibilities. Add casts to avoid signed/unsigned operations.
5618 * stdlib/tst-strtod-overflow.c: New file.
5619 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5620
1f529f7d
MP
56212012-08-25 Marek Polacek <polacek@redhat.com>
5622
5623 * time/time.h: Fix some typos in comments.
5624
59a629f1
RM
56252012-08-23 Roland McGrath <roland@hack.frob.com>
5626
5627 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5628 * posix/tst-rfc3484-2.c: Likewise.
5629 * posix/tst-rfc3484-3.c: Likewise.
5630
d3bafbc9
SM
56312012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5632
5633 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5634 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5635
4efcc022
JM
56362012-08-23 Joseph Myers <joseph@codesourcery.com>
5637
5638 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5639 #include of fxstatat64.c.
5640
3cc3ef96
RM
56412012-08-22 Roland McGrath <roland@hack.frob.com>
5642
f04e2132
RM
5643 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5644 * shadow/getspent_r.c: Likewise.
5645 * shadow/getspnam.c: Likewise.
5646 * shadow/getspnam_r.c: Likewise.
5647 * gshadow/getsgent.c: Likewise.
5648 * gshadow/getsgent_r.c: Likewise.
5649 * gshadow/getsgnam.c: Likewise.
5650 * gshadow/getsgnam_r.c: Likewise.
5651 * inet/getnetbyad.c: Likewise.
5652 * inet/getnetbyad_r.c: Likewise.
5653 * inet/getnetbynm.c: Likewise.
5654 * inet/getnetbynm_r.c: Likewise.
5655 * inet/getnetent.c: Likewise.
5656 * inet/getnetent_r.c: Likewise.
5657 * inet/getproto.c: Likewise.
5658 * inet/getproto_r.c: Likewise.
5659 * inet/getprtent.c: Likewise.
5660 * inet/getprtent_r.c: Likewise.
5661 * inet/getprtname.c: Likewise.
5662 * inet/getprtname_r.c: Likewise.
5663 * inet/getrpcbyname.c: Likewise.
5664 * inet/getrpcbyname_r.c: Likewise.
5665 * inet/getrpcbynumber.c: Likewise.
5666 * inet/getrpcbynumber_r.c: Likewise.
5667 * inet/getrpcent.c: Likewise.
5668 * inet/getrpcent_r.c: Likewise.
5669 * inet/getaliasent.c: Likewise.
5670 * inet/getaliasent_r.c: Likewise.
5671 * inet/getaliasname.c: Likewise.
5672 * inet/getaliasname_r.c: Likewise.
5673 * nscd/getgrgid_r.c: Likewise.
5674 * nscd/getgrnam_r.c: Likewise.
5675 * nscd/gethstbyad_r.c: Likewise.
5676 * nscd/gethstbynm3_r.c: Likewise.
5677 * nscd/getpwnam_r.c: Likewise.
5678 * nscd/getpwuid_r.c: Likewise.
5679 * nscd/getsrvbynm_r.c: Likewise.
5680 * nscd/getsrvbypt_r.c: Likewise.
5681 * nscd/gai.c: Likewise.
5682
c53d909c
RM
5683 * configure.in (build_nscd): New substituted variable, set
5684 by --disable-build-nscd and defaults to $use_nscd.
5685 * configure: Regenerated.
5686 * config.make.in (build-nscd): New substituted variable.
5687 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5688 Change conditional to require [$(build-nscd) = yes] as well.
5689 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5690
3cc3ef96
RM
5691 [BZ# 13696]
5692 * configure.in (use_nscd): New substituted variable, set by
5693 --disable-nscd. If enabled, define USE_NSCD.
5694 * configure: Regenerated.
5695 * config.h.in: Add USE_NSCD.
5696 * config.make.in (use-nscd): New substituted variable.
5697 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5698 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5699 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5700 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5701 (CFLAGS-getgrnam_r.c): Likewise.
5702 (CFLAGS-initgroups.c): Likewise.
5703 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5704 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5705 Variables removed.
5706 * inet/getnetgrent_r.c
5707 (nscd_setnetgrent): New function, broken out of ...
5708 (setnetgrent): ... here. Call it.
5709 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5710 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5711 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5712 * nscd/Makefile (routines, aux): Move definitions after include of
5713 Makeconfig. Conditionalize on [$(use-nscd) != no].
5714 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5715 Conditionalize on [USE_NSCD].
5716 (is_nscd, nscd_init_cb): Likewise.
5717 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5718 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5719 * nss/nss_db/db-init.c: Likewise.
5720 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5721 [USE_NSCD].
5722 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5723 (make_request): Use it.
5724 (cache_valid_p): New function.
5725 (__check_pf): Use it.
5726 * NEWS: Add item for --disable-nscd.
5727
07e51550
DL
57282012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5729
5730 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5731 to support sed >= 4.2.1-20-ga9bf076.
5732 * configure: Regenerated.
5733
35a5b08b
RM
57342012-08-22 Roland McGrath <roland@hack.frob.com>
5735
5736 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5737 Conditionalize whole body on [IREL].
5738
8479f23a
JL
57392012-08-22 Jeff Law <law@redhat.com>
5740
5741 [BZ #14505]
5742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5743 if the family is PF_UNSPEC.
5744
48da0b21
MF
57452012-08-22 Mike Frysinger <vapier@gentoo.org>
5746
5747 * Makerules (lib-version): Rename from V.
5748 (install-lib-nosubdir): Change V to lib-version.
5749
15d0da8c
WS
57502012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5751
5752 [BZ #14252]
5753 * powerpc32/power6/wcschr.c: New file.
5754 * powerpc32/power6/wcscpy.c: New file.
5755 * powerpc32/power6/wcsrchr.c: New file.
5756 * powerpc64/power6/wcschr.c: New file.
5757 * powerpc64/power6/wcscpy.c: New file.
5758 * powerpc64/power6/wcsrchr.c: New file.
5759
bcca0895
MK
57602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5761
5762 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5763 (two_way_short_needle): Use it.
5a4aaa33
RM
5764 * string/strstr.c (AVAILABLE1_USES_J): Define.
5765 * string/strcasestr.c: Likewise.
99677e57
MK
5766
5767 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5768 array references.
5769 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5770
400726de
MK
5771 [BZ #11607]
5772 * NEWS: Add an entry.
5773 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5774 define their defaults.
5775 (two_way_short_needle): Detect end-of-string on-the-fly.
5776 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5777 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5778 * string/bug-strcasestr1.c: New test.
5779 * string/Makefile: Run it.
5780
20a71f2c
MK
57812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5782
5783 [BZ #11607]
5784 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5785 the first character.
5786
21ad0558
RM
57872012-08-21 Roland McGrath <roland@hack.frob.com>
5788
5789 * csu/elf-init.c (__libc_csu_irel): Function removed.
5790 * csu/libc-start.c (apply_irel): New function.
5791 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5792
0e1d9911
JM
57932012-08-21 Joseph Myers <joseph@codesourcery.com>
5794
5795 * sysdeps/unix/sysv/linux/kernel-features.h
5796 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5797 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5798 <kernel-features.h>.
5799 [__NR_fadvise64_64]: Make code unconditional.
5800 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5801 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5802 !__NR_fadvise64_64)]: Likewise.
5803 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5804 !__NR_fadvise64_64))]: Likewise.
5805 [__NR_fadvise64]: Make code unconditional.
5806 [!__NR_fadvise64]: Remove conditional code.
5807 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5808 <kernel-features.h>.
5809 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5810 unconditional.
5811 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5812 conditional code.
5813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5814 not include <kernel-features.h>.
5815 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5816 unconditional.
5817 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5818 conditional code.
5819 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5820 include <kernel-features.h>.
5821 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5822 unconditional.
5823 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5824 conditional code.
5825
14a50c9d
WS
58262012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5827
5828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5829 slight instruction rearrangements per scrollpipe analysis.
5830 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5831
c0f4faf0
RM
58322012-08-20 Roland McGrath <roland@hack.frob.com>
5833
696da859
RM
5834 * manual/syslog.texi (syslog; vsyslog, closelog):
5835 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5836 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5837
c0f4faf0
RM
5838 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5839 DSOCAPS to match condition on defining it.
5840
348363b2
JM
58412012-08-20 Joseph Myers <joseph@codesourcery.com>
5842
a35cbf28
JM
5843 * sysdeps/unix/sysv/linux/kernel-features.h
5844 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5846 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5847 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5849 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5850 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5852 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5853 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5854
445f7ecd
JM
5855 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5856 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5857
348363b2
JM
5858 * sysdeps/unix/sysv/linux/kernel-features.h
5859 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5860 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5861 unconditional.
5862 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5863 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5864 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5865 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5866 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5867 Make code unconditional.
5868 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5869 (__mmap64) [!__NR_mmap2]: Likewise.
5870 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5871 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5872 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5873 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5874 [__NR_mmap2]: Make code unconditional.
5875 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5876 (__mmap64) [!__NR_mmap2]: Likewise.
5877
bc5bc0e5
AK
58782012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5879
5880 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5881
88d506de
AJ
58822012-08-18 Andreas Jaeger <aj@suse.de>
5883
5884 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5885
493387d2
MF
58862012-08-18 Mike Frysinger <vapier@gentoo.org>
5887
5888 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5889 * include/unistd.h (__have_sock_cloexec): Likewise.
5890 (__have_pipe2): Likewise.
5891 (__have_dup3): Likewise.
5892
a277af22
MF
58932012-08-18 Mike Frysinger <vapier@gentoo.org>
5894
5895 [BZ #9685]
5896 * include/unistd.h (__have_pipe2): Change define into an extern int.
5897 (__have_dup3): Likewise.
5898 * socket/have_sock_cloexec.c: Include fcntl.h.
5899 (__have_pipe2): New variable.
5900 (__have_dup3): Likewise.
5901
fdab8fd3
MF
59022012-08-17 Mike Frysinger <vapier@gentoo.org>
5903
5904 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5905
31035e80
MP
59062012-08-17 Marek Polacek <polacek@redhat.com>
5907
5908 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5909 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5910
3bd9e993
RM
59112012-08-17 Roland McGrath <roland@hack.frob.com>
5912
c91c505f
RM
5913 * configure.in: Add AC_SUBST for sysheaders.
5914 * configure: Regenerated.
5915 * config.make.in (sysheaders): New substituted variable.
5916
7c6f9d53
RM
5917 * sysdeps/unix/mkfifo.c: Moved ...
5918 * sysdeps/posix/mkfifo.c: ... here.
5919 * sysdeps/unix/mkfifoat.c: Moved ...
5920 * sysdeps/posix/mkfifoat.c: ... here.
5921
5922 * sysdeps/unix/utime.c: Moved ...
5923 * sysdeps/posix/utime.c: ... here.
5924
5925 * sysdeps/unix/time.c: Moved ...
5926 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5927 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5928 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5929
5930 * sysdeps/unix/nice.c: Moved ...
5931 * sysdeps/posix/nice.c: ... here.
5932
5933 * sysdeps/unix/alarm.c: Moved ...
5934 * sysdeps/posix/alarm.c: ... here.
5935
3bd9e993
RM
5936 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5937
d1f09384
JL
59382012-08-17 Jeff Law <law@redhat.com>
5939
5940 * intl/Makefile (codeset_mo): New variable.
5941 ($(codeset_mo)): New target.
5942 (tst-codeset.out): Depend on that. Remove explicit rule.
5943 (tst-gettext3.out, tst-gettext5.out): Likewise.
5944 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5945 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5946 * intl/tst-codeset.sh: Remove.
5947 * intl/tst-gettext3.sh: Likewise.
5948 * intl/tst-gettext5.sh: Likewise.
5949
2ae1ae5c
RM
59502012-08-17 Roland McGrath <roland@hack.frob.com>
5951
c31fdb83
RM
5952 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5953 * sysdeps/unix/syscalls.list: ... here.
5954
a0844057
RM
5955 * sysdeps/posix/getaddrinfo.c
5956 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5957 (gaiconf_init, gaiconf_reload): Use them.
5958 [!_STATBUF_ST_NSEC]
5959 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5960 Define using time_t rather than struct timespec.
5961
750c1f2a
RM
5962 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5963 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5964 Macros removed.
5965 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5966 [!NO_THREADS].
5967 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5968 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5969 Likewise.
5970
2ae1ae5c
RM
5971 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5972 __libc_cleanup_push argument.
5973
e66a42f5
RM
5974 * bits/param.h: New file.
5975 * misc/sys/param.h: New file.
5976 * include/sys/param.h: New file.
5977 * misc/Makefile (headers): Add bits/param.h.
5978 * sysdeps/generic/sys/param.h: File removed.
5979 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5980 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5981 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5982 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5983
b7c08a66
RM
5984 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5985 last change.
5986
b2e1c562
RM
5987 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5988 [_IO_MTSAFE_IO].
5989 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5990 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5991 New macros.
5992
c75ccd4c
RM
5993 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5994 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5995 rather than -D_IO_MTSAFE_IO conditionally.
5996 * stdio-common/Makefile (CPPFLAGS): Likewise.
5997 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5998 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5999 Use $(libio-mtsafe).
6000 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6001 of -D_IO_MTSAFE_IO.
6002 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6003 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6004 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6005 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6006 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6007 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6008 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6009 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6010 (CFLAGS-fread_u_chk.c): Likewise.
6011 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6012 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6013 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6014 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6015 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6016 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6017 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6018 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6019 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6020
6021 * libio/Makefile: Test [$(libc-reentrant) = yes]
6022 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6023
6024 * Makeconfig
6025 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6026 * sysdeps/pthread/configure: File removed.
6027 * sysdeps/pthread/Makeconfig: New file.
6028 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6029 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6030
d9195db8
GB
60312012-08-16 Gary Benson <gbenson@redhat.com>
6032
6033 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6034 unmapping the first object in a namespace.
6035
86466cd9
RM
60362012-08-16 Roland McGrath <roland@hack.frob.com>
6037
6038 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6039 (__internal_setnetgrent): ... this. Add internal_function to
6040 definition. Add libc_hidden_def.
6041 (setnetgrent): Update caller.
6042 (internal_endnetgrent): Renamed to ...
6043 (__internal_endnetgrent): ... this. Add internal_function to
6044 definition. Add libc_hidden_def.
6045 (endnetgrent): Update caller.
6046 (internal_getnetgrent_r): Renamed to ...
6047 (__internal_getnetgrent_r): ... this. Add internal_function to
6048 definition. Add libc_hidden_def.
6049 (__getnetgrent_r): Update caller.
6050 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6051
c3c8283c
JM
60522012-08-16 Joseph Myers <joseph@codesourcery.com>
6053
6054 * stdlib/longlong.h: Update from GCC.
6055
db1ee0a8
RM
60562012-08-16 Roland McGrath <roland@hack.frob.com>
6057
6058 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6059 on _QL, which is set by umul_ppmm but never used.
6060 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6061 variables, which are set by GMP macros but never used.
6062 * stdio-common/_itowa.c (_itowa): Likewise.
6063 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6064 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6065
30f69637
CD
60662012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6067
6068 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6069 struct La_sh_regs is not constant.
6070 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6071 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6072 and struct La_sparc64_regs are not constant.
6073
93a78ac4
JM
60742012-08-16 Joseph Myers <joseph@codesourcery.com>
6075
6076 * sysdeps/unix/sysv/linux/kernel-features.h
6077 (__ASSUME_POSIX_TIMERS): Remove.
6078 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6079 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6080 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6081 Make code unconditional.
6082 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6083 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6084 Make code unconditional.
6085 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6086 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6087 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6088 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6089 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6090 Make code unconditional.
6091 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6092 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6093 (__libc_missing_posix_timers): Remove.
6094
dd924cd7
RM
60952012-08-15 Roland McGrath <roland@hack.frob.com>
6096
4b4f2771
RM
6097 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6098 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6099
601c888b
RM
6100 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6101
176790a7
RM
6102 * elf/dl-sym.c: Include <stdlib.h>.
6103
329bc018
RM
6104 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6105 constants, which avoids warnings in 32-bit builds.
6106
e04e272d
RM
6107 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6108 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6109
952bf94a
RM
6110 * misc/lseek.c: File moved to ...
6111 * io/lseek.c: ... here.
6112
7c99b50a
RM
6113 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6114
dd924cd7
RM
6115 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6116 shifting LEN more than 31 bits at once.
6117
b3f479a8
LD
61182012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6119
6120 [BZ #14195]
8c4ae0d4
RM
6121 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6122 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6123 * string/test-strncasecmp.c (check1): Renamed to...
6124 (bz12205): ...this.
6125 (bz14195): Add new testcase for two empty input strings and N > 0.
6126 (test_main): Call new testcase, adapt for renamed function.
6127
9c55864e
AJ
61282012-08-15 Andreas Jaeger <aj@suse.de>
6129
6130 [BZ #14090]
6131 * crypt/md5test2.c: New test, based on test supplied by Serge
6132 Belyshev <belyshev@depni.sinp.msu.ru>.
6133 * crypt/Makefile (xtests): Add md5test-giant..
6134 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6135
02dcb6c5
PE
61362012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6137
6138 [BZ #14090]
6139 * crypt/md5.c (md5_process_block): Don't assume the buffer
6140 length is less than 2**32.
6141 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6142 length is less than 2**64.
6143
a3f95dcc
RM
61442012-08-15 Roland McGrath <roland@hack.frob.com>
6145
be75d758
RM
6146 * string/str-two-way.h: Include <sys/param.h>.
6147 (MAX): Macro removed.
6148
7312ca90
RM
6149 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6150 Move #define and #undef of memmove to just before and after
6151 including <string.h>.
6152
9a0a5486
RM
6153 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6154 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6155 and after including <string.h>. Move declarations of
6156 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6157 to before #include "string/memmove.c".
6158
67cc348d
RM
6159 * include/dirent.h: Declare __getdirentries.
6160
a3f95dcc
RM
6161 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6162 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6163
ca98e171
MF
61642012-08-14 Mike Frysinger <vapier@gentoo.org>
6165
6166 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6167 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6168 * sysdeps/i386/configure: Regenerated.
6169 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6170 STABS_CURRENT_FILE, and STABS_FUN.
6171 (END): Remove call to STABS_FUN_END.
6172 (STABS_CURRENT_FILE1): Delete.
6173 (STABS_CURRENT_FILE): Likewise.
6174 (STABS_FUN): Likewise.
6175 (STABS_FUN_END): Likewise.
6176 (STABS_FUN2): Likewise.
6177 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6178 * sysdeps/x86_64/configure: Regenerated.
6179
5908bf46
RM
61802012-08-14 Roland McGrath <roland@hack.frob.com>
6181
6182 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6183 * elf/dl-lookup.c: Likewise.
5908bf46 6184
f2c05b9e
JM
61852012-08-14 Joseph Myers <joseph@codesourcery.com>
6186
6187 * sysdeps/unix/sysv/linux/kernel-features.h
6188 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6189 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6190 unconditionally.
6191 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6192 unconditionally.
6193 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6194 condition on __ASSUME_CLONE_THREAD_FLAGS.
6195
e11f5155
AJ
61962012-08-14 Andreas Jaeger <aj@suse.de>
6197
6198 * sysdeps/i386/fpu/libm-test-ulps: Update.
6199
51a9ba86
MK
62002012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6201
2fdd4f78
AJ
6202 * include/atomic.h (atomic_exchange_and_add): Split into ...
6203 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6204 New atomic macros.
51a9ba86 6205
ba6cba9e
MT
62062012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6207
6208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6209
42443a47
JL
62102012-08-13 Jeff Law <law@redhat.com>
6211
6212 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6213 null byte in the output string.
6214
121dce05
JM
62152012-08-10 Joseph Myers <joseph@codesourcery.com>
6216
6217 * sysdeps/unix/sysv/linux/kernel-features.h
6218 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6219 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6220 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6221 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6222 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6223 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6224 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6225
bf51f568
JL
62262012-08-09 Jeff Law <law@redhat.com>
6227
6228 [BZ #13939]
6229 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6230 When avoid_arena is set, don't retry in the that arena. Pick the
6231 next one, whatever it might be.
6232 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6233 (arena_lock): Pass in new parameter to arena_get2.
6234 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6235 arena_get2.
6236 (__libc_malloc): Unify retrying after main arena failure with
6237 __libc_memalign version.
6238 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6239
f85fa270
L
62402012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6241
6242 [BZ #14166]
6243 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6244 to __redirect_strstr.
6245 (__strstr_sse42): Use typeof __redirect_strstr.
6246 (__strstr_ia32): Likewise.
6247 (__libc_strstr): New prototype.
6248 (strstr): Renamed to ...
6249 (__libc_strstr): This.
6250 (strstr): New strong alias of __libc_strstr.
6251 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6252 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6253 __redirect_time.
6254 Include <time.h>.
6255 (__libc_time): New prototype.
6256 (time_ifunc): Replace time with __libc_time.
6257 (time): New strong alias and hidden definition of __libc_time.
6258 (__GI_time): Remove strong alias.
6259 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6260 Include <stddef.h>.
6261 (memmove): Redefined to __redirect_memmove.
6262 (__memmove_sse2): Use typeof __redirect_memmove.
6263 (__memmove_ssse3): Likewise.
6264 (__memmove_ssse3_back): Likewise.
6265 (__libc_memmove): New prototype.
6266 (memmove): Renamed to ...
6267 (__libc_memmove): This.
6268 (memmove): New strong alias of __libc_memmove.
6269
33b4a91e
MS
62702012-08-08 Mark Salter <msalter@redhat.com>
6271
6272 * elf/elf.h
6273 (R_MN10300_TLS_GD): Define.
6274 (R_MN10300_TLS_LD): Likewise.
6275 (R_MN10300_TLS_LDO): Likewise.
6276 (R_MN10300_TLS_GOTIE): Likewise.
6277 (R_MN10300_TLS_IE): Likewise.
6278 (R_MN10300_TLS_LE): Likewise.
6279 (R_MN10300_TLS_DTPMOD): Likewise.
6280 (R_MN10300_TLS_DTPOFF): Likewise.
6281 (R_MN10300_TLS_TPOFF): Likewise.
6282 (R_MN10300_SYM_DIFF): Likewise.
6283 (R_MN10300_ALIGN): Likewise.
6284 (R_MN10300_NUM): Update.
6285
b36137f1
JM
62862012-08-08 Joseph Myers <joseph@codesourcery.com>
6287
6288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6289 Remove.
6290
cdd915fd
RM
62912012-08-08 Roland McGrath <roland@hack.frob.com>
6292
a2433aac
RM
6293 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6294
cdd915fd
RM
6295 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6296 sysdeps/unix -> sysdeps/posix move.
6297 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6298
bf9b740a
AM
62992012-08-07 Allan McRae <allan@archlinux.org>
6300
6301 [BZ #14303]
6302 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6303 (SUNOS_CPP): Likewise.
6304 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6305 not found.
6306 (open_input): Call CPP using execvp.
6307
93df14ee
JM
63082012-08-07 Joseph Myers <joseph@codesourcery.com>
6309
6310 * sysdeps/unix/sysv/linux/kernel-features.h
6311 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6312 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6313 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6314 (__ASSUME_WAITID_SYSCALL): Likewise.
6315 * sysdeps/unix/sysv/linux/dl-execstack.c
6316 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6317 code unconditional.
6318 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6319 conditional code.
6320 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6321 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6322 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6323 code.
6324 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6325 unconditional.
6326 [__ASSUME_WAITID_SYSCALL]: Likewise.
6327 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6328
d34689de
RM
63292012-08-07 Roland McGrath <roland@hack.frob.com>
6330
a281decc
RM
6331 * sysdeps/unix/closedir.c: Renamed to ...
6332 * sysdeps/posix/closedir.c: ... here.
6333 * sysdeps/unix/dirfd.c: Renamed to ...
6334 * sysdeps/posix/dirfd.c: ... here.
6335 * sysdeps/unix/dirstream.h: Renamed to ...
6336 * sysdeps/posix/dirstream.h: ... here.
6337 * sysdeps/unix/fdopendir.c: Renamed to ...
6338 * sysdeps/posix/fdopendir.c: ... here.
6339 * sysdeps/unix/opendir.c: Renamed to ...
6340 * sysdeps/posix/opendir.c: ... here.
6341 * sysdeps/unix/readdir.c: Renamed to ...
6342 * sysdeps/posix/readdir.c: ... here.
6343 * sysdeps/unix/readdir_r.c: Renamed to ...
6344 * sysdeps/posix/readdir_r.c: ... here.
6345 * sysdeps/unix/rewinddir.c: Renamed to ...
6346 * sysdeps/posix/rewinddir.c: ... here.
6347 * sysdeps/unix/seekdir.c: Renamed to ...
6348 * sysdeps/posix/seekdir.c: ... here.
6349 * sysdeps/unix/telldir.c: Renamed to ...
6350 * sysdeps/posix/telldir.c: ... here.
6351 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6352 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6353 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6354 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6355
22895b47
RM
6356 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6357 * bits/fcntl.h: ... here.
6358
707a53b6
RM
6359 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6360 not 0.
6361 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6362 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6363 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6364 (struct flock): Move l_start, l_len to the beginning.
6365 Use __pid_t for l_pid.
6366 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6367 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6368 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6369 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6370 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6371 [__USE_LARGEFILE64] (struct flock64): New type.
6372 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6373
f0bd3e25
RM
6374 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6375 * bits/dirent.h: ... here.
6376
d34689de
RM
6377 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6378 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6379
6dad2c06
JM
63802012-08-07 Joseph Myers <joseph@codesourcery.com>
6381
6382 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6383 Change from 2.6.0 to 2.6.16.
6384 * sysdeps/unix/sysv/linux/configure: Regenerated.
6385 * sysdeps/unix/sysv/linux/kernel-features.h
6386 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6387 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6388 version.
6389 (__ASSUME_UTIMES): Likewise.
6390 (__ASSUME_CLONE_STOPPED): Remove.
6391 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6392 architectures, not kernel version.
6393 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6394 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6395 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6396 (__ASSUME_WAITID_SYSCALL): Likewise.
6397 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6398 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6399 * README: State 2.6.16 as minimum Linux kernel version. Do not
6400 refer to older versions.
6401
03af9520
RM
64022012-08-06 Roland McGrath <roland@hack.frob.com>
6403
8e49df1d
RM
6404 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6405 Define alphasort64 as an alias.
6406 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6407 Define versionsort64 as an alias.
6408 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6409 Define scandir64 as an alias.
6410 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6411 Define scandirat64 as an alias.
6412 * dirent/alphasort64.c (alphasort64):
6413 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6414 * dirent/versionsort64.c: Likewise.
6415 * dirent/scandir64.c: Likewise.
6416 * dirent/scandirat64.c: Likewise.
6417 * sysdeps/wordsize-64/alphasort.c: File removed.
6418 * sysdeps/wordsize-64/alphasort64.c: File removed.
6419 * sysdeps/wordsize-64/scandir.c: File removed.
6420 * sysdeps/wordsize-64/scandir64.c: File removed.
6421 * sysdeps/wordsize-64/scandirat.c: File removed.
6422 * sysdeps/wordsize-64/scandirat64.c: File removed.
6423 * sysdeps/wordsize-64/versionsort.c: File removed.
6424 * sysdeps/wordsize-64/versionsort64.c: File removed.
6425 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6426 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6427 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6428 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6429 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6430 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6431 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6432 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6433
6434 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6436 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6438 [defined __arch64__ || defined __sparcv9]
6439 (__INO_T_MATCHES_INO64_T): New macro.
6440 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6441 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6442 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6443 * sysdeps/unix/sysv/linux/bits/dirent.h
6444 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6445 (_DIRENT_MATCHES_DIRENT64): New macro.
6446
03af9520
RM
6447 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6448 Define lockf64 as an alias.
6449 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6450 Define fseeko64 as an alias.
6451 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6452 Define ftello64 as an alias.
6453 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6454 Define _IO_fgetpos64 and fgetpos64 as aliases.
6455 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6456 Define _IO_fsetpos64 and fsetpos64 as aliases.
6457 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6458 Conditionalize body on this.
6459 * libio/fseeko64.c: Likewise.
6460 * libio/ftello64.c: Likewise.
6461 * libio/iofgetpos64.c: Likewise.
6462 * libio/iofsetpos64.c: Likewise.
6463 * sysdeps/wordsize-64/lockf.c: File removed.
6464 * sysdeps/wordsize-64/lockf64.c: File removed.
6465 * sysdeps/wordsize-64/fseeko.c: File removed.
6466 * sysdeps/wordsize-64/fseeko64.c: File removed.
6467 * sysdeps/wordsize-64/ftello.c: File removed.
6468 * sysdeps/wordsize-64/ftello64.c: File removed.
6469 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6470 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6471 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6472 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6473 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6474 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6475 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6476 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6477 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6478 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6479 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6480 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6481 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6482 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6483
6484 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6486 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6487 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6488 [defined __arch64__ || defined __sparcv9]
6489 (__OFF_T_MATCHES_OFF64_T): New macro.
6490 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6491 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6492 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6493 (__OFF_T_MATCHES_OFF64_T): New macro.
6494
c5757acd
L
64952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6496
6497 * stdlib/secure-getenv.c (__secure_getenv): Replace
6498 GLIBC_2_16 with GLIBC_2_17.
6499
3a31811e
L
65002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6501
6502 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6503 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6504
faa2bccb
DM
65052012-08-03 David S. Miller <davem@davemloft.net>
6506
6507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6508
85fe1997
JM
65092012-08-03 Joseph Myers <joseph@codesourcery.com>
6510
6511 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6512 Remove.
6513 (__ASSUME_CORRECT_SI_PID): Likewise.
6514 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6515 (__ASSUME_TMPFS_NAME): Likewise.
6516 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6517 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6518 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6519 (HAVE_AUX_SECURE): Make definition unconditional.
6520 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6521 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6522
4f75b7a0
RM
65232012-08-03 Roland McGrath <roland@hack.frob.com>
6524
6525 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6526 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6527 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6528 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6529 __eloop_threshold instead of SYMLOOP_MAX.
6530
6531 * sysdeps/generic/eloop-threshold.h: New file.
6532 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6533 of MAXSYMLINKS.
6534 * elf/chroot_canon.c (chroot_canon): Likewise.
6535
7aab07e4
JM
65362012-08-03 Joseph Myers <joseph@codesourcery.com>
6537
6538 [BZ #13717]
6539 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6540 Change to 2.6.0 everywhere.
6541 * sysdeps/unix/sysv/linux/configure: Regenerated.
6542 * sysdeps/unix/sysv/linux/kernel-features.h
6543 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6544 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6545 kernel versions.
6546 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6547 (__ASSUME_FUTEX_REQUEUE): Remove.
6548 (__ASSUME_STATFS64): Define unconditionally.
6549 (__ASSUME_AT_SECURE): Likewise.
6550 (__ASSUME_CORRECT_SI_PID): Likewise.
6551 (__ASSUME_TGKILL): Define without depending on kernel version for
6552 i386.
6553 (__ASSUME_UTIMES): Likewise.
6554 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6555 kernel version.
6556 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6557 (__ASSUME_TMPFS_NAME): Likewise.
6558 * README: Update reference to Linux kernel versions.
6559
b67e9372
MP
65602012-08-02 Marek Polacek <polacek@redhat.com>
6561
1f529f7d 6562 [BZ# 14150]
b67e9372
MP
6563 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6564 libc_cv_asm_type_prefix with %.
6565 * configure: Regenerated.
d2441631
RM
6566 * include/libc-symbols.h: Remove comment about
6567 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6568 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6569 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6570 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6571 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6572 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6573 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6574 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6575 * elf/tst-unique2mod1.c: Likewise.
6576 * elf/tst-unique1mod2.c: Likewise.
6577 * elf/tst-unique1mod1.c: Likewise.
6578 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6579 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6580 Replace ASM_TYPE_DIRECTIVE with .type.
6581 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6582 * sysdeps/i386/sysdep.h: Likewise.
6583 * sysdeps/x86_64/sysdep.h: Likewise.
6584 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6586 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6587 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6588 * sysdeps/powerpc/powerpc32/sysdep.h:
6589 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6590 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6591 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6592 * sysdeps/i386/fpu/e_powf.S: Likewise.
6593 * sysdeps/i386/fpu/e_expl.S: Likewise.
6594 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6595 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6596 * sysdeps/i386/fpu/e_pow.S: Likewise.
6597 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6598 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6599 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6600 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6601 * sysdeps/i386/fpu/e_log2.S: Likewise.
6602 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6603 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6604 * sysdeps/i386/fpu/e_powl.S: Likewise.
6605 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6606 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6607 * sysdeps/i386/fpu/e_logl.S: Likewise.
6608 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6609 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6610 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6611 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6612 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6613 * sysdeps/i386/fpu/e_log.S: Likewise.
6614 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6615 * sysdeps/i386/fpu/e_logf.S: Likewise.
6616 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6617 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6618 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6619 * sysdeps/i386/fpu/e_log10.S: Likewise.
6620 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6621 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6622 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6623 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6624 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6625 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6626 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6627 * sysdeps/i386/i686/strtok.S: Likewise.
6628 * sysdeps/i386/i386-mcount.S: Likewise.
6629 * sysdeps/i386/strtok.S: Likewise.
6630 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6631 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6632 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6633 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6634 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6635 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6636 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6637 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6638 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6639 * sysdeps/x86_64/_mcount.S: Likewise.
6640 * sysdeps/x86_64/strtok.S: Likewise.
6641 * sysdeps/sh/_mcount.S: Likewise.
6642
2747bf9a
RM
66432012-08-01 Roland McGrath <roland@hack.frob.com>
6644
6645 * libio/iofopen.c: Include <fcntl.h>.
6646 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6647 (_IO_fopen64, fopen64): Define as aliases.
6648 * libio/iofopen64.c: Include <fcntl.h>.
6649 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6650 Conditionalize body on this.
6651 * sysdeps/wordsize-64/iofopen.c: File removed.
6652 * sysdeps/wordsize-64/iofopen64.c: File removed.
6653
3fb791b8
MP
66542012-08-01 Marek Polacek <polacek@redhat.com>
6655
6656 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6657 Use dlfcn directly instead of a variable.
6658 (binfmt-subdir): Do not define.
6659 (dlfcn): Likewise.
6660
a9f1039f
JM
66612012-08-01 Joseph Myers <joseph@codesourcery.com>
6662
23bddc06
JM
6663 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6664 Remove all definitions.
6665 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6666 <kernel-features.h>.
6667 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6668 (miss_F_GETOWN_EX): Remove all definitions.
6669 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6670 macro definition.
6671 [!__ASSUME_FCNTL64]: Remove conditional code.
6672 [__ASSUME_FCNTL64]: Make code unconditional.
6673 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6674 <kernel-features.h>.
6675 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6676 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6677 (lockf64) [__NR_fcntl64]: Make code unconditional.
6678 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6679
a9f1039f
JM
6680 * sysdeps/unix/sysv/linux/kernel-features.h
6681 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6682 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6683 Make code unconditional.
6684 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6685 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6687 [__NR_vfork]: Make code unconditional.
6688 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6689 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6691 [__NR_vfork]: Make code unconditional.
6692 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6693 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6694
09c0ee5f
RM
66952012-08-01 Roland McGrath <roland@hack.frob.com>
6696
48aec5b9
RM
6697 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6698 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6699
cd97c966
RM
6700 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6701 Define mkstemp64 as an alias.
3f55550c
RM
6702 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6703 Define mkstemps64 as an alias.
cd97c966
RM
6704 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6705 Define mkostemp64 as an alias.
b8625cfc
RM
6706 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6707 Define mkostemps64 as an alias.
cd97c966
RM
6708 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6709 Conditionalize body on this.
6710 * misc/mkostemp64.c: Likewise.
b8625cfc 6711 * misc/mkostemps64.c: Likewise.
3f55550c 6712 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6713 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6714 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6715 * sysdeps/wordsize-64/mkostemp.c: File removed.
6716 * sysdeps/wordsize-64/mkstemp.c: File removed.
6717 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6718 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6719 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6720 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6721
09c0ee5f
RM
6722 [BZ #14138]
6723 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6724 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6725 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6726 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6727
6728 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6729 compat_symbol macros from <shlib-compat.h> rather than the underlying
6730 default_symbol_version and symbol_version macros, so that DEFAULT
6731 lines in shlib-versions are respected.
6732 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6733
7e66ee51
FW
67342012-08-01 Florian Weimer <fweimer@redhat.com>
6735
6736 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6737 Declare with warn_unused_result.
6738 (setgid, setregid, setegid, setresgid): Likewise.
6739 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6740 Likewise.
6741 * WUR-REPORT: Remove set*id functions.
6742
d2a54255
PT
67432012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6744
6745 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6746
7ecdb005
RM
67472012-07-31 Roland McGrath <roland@hack.frob.com>
6748
789bd351
RM
6749 * include/sys/socket.h (__libc_accept, __libc_accept4):
6750 Add attribute_hidden.
6751 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6752
40ce302d
RM
6753 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6754 use of PTR_MANGLE.
6755 * inet/getnetgrent_r.c (setup): Likewise.
6756
7ecdb005
RM
6757 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6758
e2eabb2c
DM
67592012-07-31 David S. Miller <davem@davemloft.net>
6760
6761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6762
d0419dbf
JM
67632012-07-31 Joseph Myers <joseph@codesourcery.com>
6764
6765 [BZ #13629]
6766 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6767 value between 1.0 and 2.0 and smaller part has absolute value less
6768 than 1.0.
6769 * math/s_clog10.c (__clog10): Likewise.
6770 * math/s_clog10f.c (__clog10f): Likewise.
6771 * math/s_clog10l.c (__clog10l): Likewise.
6772 * math/s_clogf.c (__clogf): Likewise.
6773 * math/s_clogl.c (__clogl): Likewise.
6774 * math/libm-test.inc (clog_test): Add more tests.
6775 (clog10_test): Likewise.
6776 * sysdeps/i386/fpu/libm-test-ulps: Update.
6777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6778
2bc13872
FW
67792012-07-31 Florian Weimer <fweimer@redhat.com>
6780
6781 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6782 Exit with zero in case no suitable GID is found, and write a
6783 message to standard error.
6784
bea9b193
RM
67852012-07-30 Roland McGrath <roland@hack.frob.com>
6786
6787 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6788 rather than to 1.
6789 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6790 (MAXPATHLEN): Removed.
6791 (NOGROUP, NODEV): New macros.
6792 (setbit, clrbit, isset, isclr): New macros.
6793 (howmany, roundup, powerof2): New macros.
6794 (DEV_BSIZE): New macro.
6795
6796 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6797 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6798
6799 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6800 definition on [!__NO_LONG_DOUBLE_MATH].
6801
6802 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6803 PTR_MANGLE and PTR_DEMANGLE.
6804
6805 * socket/accept4.c (accept4): Rename to __libc_accept4.
6806 Define accept4 as a weak alias.
6807
6808 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6809 on [_DIRENT_HAVE_D_TYPE].
6810 * io/ftw.c (ftw_dir): Likewise.
6811
6812 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6813
6814 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6815
6816 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6817 Use the BSD numbers rather than the arbitrary ones we had.
6818 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6819 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6820 (SIGXCPU, SIGXFSZ): New macros.
6821 (_NSIG): Now 32.
6822
6823 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6824 initializer on [_LIBC_REENTRANT].
6825
6826 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6827 definitions inside [_POSIX_MAPPED_FILES].
6828
6829 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6830
6831 * dirent/opendir.c: Include <fcntl.h>.
6832
6833 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6834 (__libc_getspecific): Likewise.
6835 (__libc_key_create): Likewise.
6836
6837 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6838 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6839 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6840 (tmpfile64): Define as alias.
6841 * sysdeps/wordsize-64/tmpfile.c: File removed.
6842 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6843 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6844 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6845
6846 * stdio-common/vfscanf.c: Include <stdbool.h>.
6847 * nss/makedb.c: Likewise.
6848 * stdio-common/_i18n_number.h: Likewise.
6849 * argp/argp-help.c: Likewise.
6850 * posix/wordexp.c: Likewise.
6851 * sysdeps/posix/spawni.c: Likewise.
6852 * nss/nss_files/files-initgroups.c: Likewise.
6853 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6854 * nss/nss_files/files-initgroups.c: Likewise.
6855 * nss/nss_db/db-netgrp.c: Likewise.
6856 * nss/nss_db/db-initgroups.c: Likewise.
6857 * io/fchmodat.c: Include <sys/stat.h>.
6858
6859 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6860 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6861
6862 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6863 [HAVE_MMAP].
6864
6865 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6866 Add multiple inclusion protection.
6867
e5abc686
DM
68682012-07-27 David S. Miller <davem@davemloft.net>
6869
6870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6871
815e6fa3
GB
68722012-07-27 Gary Benson <gbenson@redhat.com>
6873
6874 [BZ #14298]
6875 * elf/rtld.c: Include <stap-probe.h>.
6876 (dl_main): Added static probes "init_start" and "init_complete".
6877 * elf/dl-load.c: Include <stap-probe.h>.
6878 (lose): Take new parameter "nsid".
6879 Added static probe "map_failed".
6880 (_dl_map_object_from_fd): Pass namespace id to lose.
6881 Added static probe "map_start".
6882 (open_verify): Pass namespace id to lose.
6883 * elf/dl-open.c: Include <stap-probe.h>.
6884 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6885 and "reloc_complete".
6886 * elf/dl-close.c: Include <stap-probe.h>.
6887 (_dl_close_worker): Added static probes "unmap_start" and
6888 "unmap_complete".
6889 * elf/rtld-debugger-interface.txt: New file documenting the above.
6890
9f98c16c
RM
68912012-07-26 Roland McGrath <roland@hack.frob.com>
6892
6893 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6894 rather than a string variable.
6895 * sunrpc/rpc_main.c (h_output): Likewise.
6896 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6897
f3c22df3
PT
68982012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6899
6900 * inet/check_native.c: New file.
6901
3129cfc6
JM
69022012-07-26 Joseph Myers <joseph@codesourcery.com>
6903
da865e95
JM
6904 [BZ #13629]
6905 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6906 if larger part has absolute value 1.0.
6907 * math/s_clog10.c (__clog10): Likewise.
6908 * math/s_clog10f.c (__clog10f): Likewise.
6909 * math/s_clog10l.c (__clog10l): Likewise.
6910 * math/s_clogf.c (__clogf): Likewise.
6911 * math/s_clogl.c (__clogl): Likewise.
6912 * math/libm-test.inc (clog_test): Add more tests.
6913 (clog10_test): Likewise.
6914 * sysdeps/i386/fpu/libm-test-ulps: Update.
6915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6916
3129cfc6
JM
6917 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6918 (pltexit): Likewise.
6919 (La_regs): Likewise.
6920 (La_retval): Likewise.
6921 (int_retval): Likewise.
6922 Update #error for removed macros to refer only to definitions in
6923 tst-audit.h.
6924 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6925 macro.
6926 (pltexit): Likewise.
6927 (La_regs): Likewise.
6928 (La_retval): Likewise.
6929 (int_retval): Likewise.
6930 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6931 macro.
6932 (pltexit): Likewise.
6933 (La_regs): Likewise.
6934 (La_retval): Likewise.
6935 (int_retval): Likewise.
6936 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6937 macro.
6938 (pltexit): Likewise.
6939 (La_regs): Likewise.
6940 (La_retval): Likewise.
6941 (int_retval): Likewise.
6942 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6943 macro.
6944 (pltexit): Likewise.
6945 (La_regs): Likewise.
6946 (La_retval): Likewise.
6947 (int_retval): Likewise.
6948 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6949 macro.
6950 (pltexit): Likewise.
6951 (La_regs): Likewise.
6952 (La_retval): Likewise.
6953 (int_retval): Likewise.
6954 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6955 macro.
6956 (pltexit): Likewise.
6957 (La_regs): Likewise.
6958 (La_retval): Likewise.
6959 (int_retval): Likewise.
6960 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6961 macro definitions in tst-audit.h.
6962 * sysdeps/i386/tst-audit.h: New file.
6963 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6964 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6965 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6966 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6967 * sysdeps/sh/tst-audit.h: Likewise.
6968 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6969 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6970 * sysdeps/x86_64/tst-audit.h: Likewise.
6971
bfc07087
AJ
69722012-07-26 Andreas Jaeger <aj@suse.de>
6973
b1b2aaf8
AJ
6974 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6975 ptrace.
6976
6977 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6978 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6979 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6980 PTRACE_O_MASK.
6981 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6982 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6983 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6984
bfc07087
AJ
6985 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6986 value.
6987
6988 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6989 _sigsys.
6990 (si_call_addr, si_syscall, si_arch): Define new macro.
6991 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6992 _sigsys.
6993 (si_call_addr, si_syscall, si_arch): Define new marcro.
6994 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6995 _sigsys.
6996 (si_call_addr, si_syscall, si_arch): Define new macro.
6997 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6998 _sigsys.
6999 (si_call_addr, si_syscall, si_arch): Define new macro.
7000
89b4b02f
JM
70012012-07-25 Joseph Myers <joseph@codesourcery.com>
7002
7003 [BZ #13717]
7004 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7005 Change to 2.4.21 where previously 2.4.1.
7006 * sysdeps/unix/sysv/linux/configure: Regenerated.
7007 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7008 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7009 Linux kernel version.
7010 (__ASSUME_STD_AUXV): Remove.
7011 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7012 kernel version.
7013 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7014 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7015 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7016 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7017 (__ASSUME_NETLINK_SUPPORT): Likewise.
7018 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7019 (__no_netlink_support): Remove conditional definition.
7020 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7021 Remove.
7022 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7023 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7024 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7025 (if_nameindex_ioctl): Remove.
7026 (if_nameindex_netlink): Do not handle __no_netlink_support.
7027 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7028 code.
7029 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7030 Remove conditional code.
7031 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7032 code.
7033 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7034 unconditional.
7035 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7036 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7037 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7038 Remove.
7039 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7040 [!__ASSUME_STD_AUXV]: Remove conditional code.
7041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7042 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7043 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7045 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7046 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7047 code.
7048 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7050 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7051 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7052 conditional code.
7053 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7055 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7056 code.
7057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7058 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7059 conditional code.
7060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7061 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7062 code unconditional.
7063 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7064 conditional code.
7065 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7066 unconditional.
7067 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7068 conditional code.
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7070 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7071 unconditional.
7072 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7073 conditional code.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7075 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7076 code unconditional.
7077 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7078 conditional code.
7079 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7080 unconditional.
7081 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7082 conditional code.
7083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7084 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7085 code unconditional.
7086 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7087 conditional code.
7088 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7089 unconditional.
7090 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7091 conditional code.
7092
842a39cd
AS
70932012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7094
7095 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7096 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7097 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7098 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7099 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7100 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7101 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7102 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7103 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7104 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7105 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7106 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7107 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7108 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7109 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7110 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7111 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7112 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7113 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7115 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7116 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7117 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7118
84b3fd84
FW
71192012-07-25 Florian Weimer <fweimer@redhat.com>
7120
7121 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7122 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7123 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7124 Introduce __libc_secure_getenv.
0c7936d5
FW
7125 * stdlib/Versions (2.17): Add secure_getenv
7126 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7127 * stdlib/secure-getenv.c: Rename __secure_getenv to
7128 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7129 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7130 * stdlib/tst-secure-getenv.c: New.
7131 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7132 * manual/startup.texi (Environment Access): Document
7133 secure_getenv.
84b3fd84
FW
7134 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7135 __libc_secure_getenv.
7136 * inet/ruserpass.c (ruserpass): Likewise.
7137 * malloc/mtrace.c (mtrace): Likewise.
7138 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7139 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7140 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7141 * sysdeps/posix/tempname.c: Likewise. Evaluate
7142 HAVE_SECURE_GETENV.
7143 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7144 __secure_getenv to __libc_secure_getenv.
84b3fd84 7145 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7147 Likewise.
7148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7149 Likewise.
7150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7152 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7157
56e49b71
JM
71582012-07-25 Joseph Myers <joseph@codesourcery.com>
7159
7160 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7161 (struct La_i86_retval): Likewise.
7162 (struct La_x86_64_regs): Likewise.
7163 (struct La_x86_64_retval): Likewise.
7164 (struct La_x32_regs): Likewise.
7165 (struct La_x32_retval): Likewise.
7166 (struct La_ppc32_regs): Likewise.
7167 (struct La_ppc32_retval): Likewise.
7168 (struct La_ppc64_regs): Likewise.
7169 (struct La_ppc64_retval): Likewise.
7170 (struct La_sh_regs): Likewise.
7171 (struct La_sh_retval): Likewise.
7172 (struct La_s390_32_regs): Likewise.
7173 (struct La_s390_32_retval): Likewise.
7174 (struct La_s390_64_regs): Likewise.
7175 (struct La_s390_64_retval): Likewise.
7176 (struct La_sparc32_regs): Likewise.
7177 (struct La_sparc32_retval): Likewise.
7178 (struct La_sparc64_regs): Likewise.
7179 (struct La_sparc64_retval): Likewise.
7180 (struct audit_ifaces): Remove architecture-specific pltenter and
7181 pltexit members.
7182 * sysdeps/i386/ldsodefs.h: New file.
7183 * sysdeps/powerpc/ldsodefs.h: Likewise.
7184 * sysdeps/s390/ldsodefs.h: Likewise.
7185 * sysdeps/sh/ldsodefs.h: Likewise.
7186 * sysdeps/sparc/ldsodefs.h: Likewise.
7187 * sysdeps/x86_64/ldsodefs.h: Likewise.
7188
354691b7
MP
71892012-07-25 Marek Polacek <polacek@redhat.com>
7190
7191 [BZ #6808]
7192 * math/libm-test.inc (yn_test): Add another test.
7193 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7194 to ERANGE when the result is +-Inf.
7195 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7196 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7197 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7198 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7199
bf9e2071
JM
72002012-07-24 Joseph Myers <joseph@codesourcery.com>
7201
7202 * conform/data/time.h-data (NULL): Use macro-constant. Require
7203 equal to 0.
7204 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7205 clock_t.
7206 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7207
57633811
TS
72082012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7209
7210 * configure.in <sysdeps resolving>: Correct printing
7211 Implies_before.
7212 * configure: Regenerate.
7213
c23c33b0
TS
72142012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7215
7216 * math/w_ilogb.c: Include <limits.h>.
7217 * math/w_ilogbl.c: Likewise.
7218
b5982523
JM
72192012-07-20 Joseph Myers <joseph@codesourcery.com>
7220
7221 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7222 va_copy. Document allowing for unavailable va_copy only as
7223 pre-C99 compatibility.
7224 * manual/string.texi (Copying and Concatenation): Use va_copy
7225 instead of __va_copy in concat example.
7226
ac4ea442
PT
72272012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7228
7229 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7230 (__sendto): Use create_address_port. Initialize APORT and deallocate
7231 it if not null.
7232
f98eafbd
PT
7233 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7234 with O_NOLINK passed to __file_name_lookup.
7235
898c7aab
PT
7236 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7237 with O_NOLINK passed to __file_name_lookup.
7238
0ced335a
PT
7239 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7240 negative N or less than NGIDS.
7241
b3404dbd
PT
7242 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7243 type to string_t. Set ERANGE as errno and return it if NAME is not big
7244 enough. Use memcpy instead of strncpy.
7245
0f48659e
JM
72462012-07-20 Joseph Myers <joseph@codesourcery.com>
7247
7248 * elf/Makefile (check-data): Remove.
7249 (localplt.data): New vpath directive.
7250 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7251 instead of $(check-data).
7252 * scripts/data/localplt-generic.data: Move to ...
7253 * sysdeps/generic/localplt.data: ... here.
7254 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7255 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7256 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7258 ... here.
7259 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7261 ... here.
7262 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7264 ... here.
7265 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7267 ... here.
7268 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7270 ... here.
7271 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7273 ... here.
7274
d37cbdaa
AZ
72752012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7276
7277 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7278 PPC32 and PPC64 files.
7279 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7280 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7281
46f85fc2
AK
72822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7283
7284 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7285 __makecontext_ret to ...
7286 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7287 ... here and call exit if uc_link is NULL. New file.
7288 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7289 __makecontext_ret.S.
7290 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7291 __makecontext_ret to ...
7292 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7293 ... here and call exit if uc_link is NULL. New file.
7294 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7295 __makecontext_ret.S.
7296
08f43f9b
AK
72972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7298
7299 * elf/elf.h (R_390_IRELATIVE): New definition.
7300 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7301 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7302 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7303 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7304 (elf_machine_lazy_rel): Likewise.
7305 * sysdeps/s390/dl-irel.h: New file.
7306 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7307 * sysdeps/s390/s390-64/memset.S: New asm code.
7308 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7309 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7310 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7311 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7312 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7313 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7314 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7315 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7316 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7317 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7318 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7319 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7320 * sysdeps/s390/s390-32/memset.S: New asm code.
7321 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7322
3b05db33
MP
73232012-07-17 Marek Polacek <polacek@redhat.com>
7324
7325 [BZ #14349]
7326 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7327 * sysdeps/s390/s390-64/configure.in: Likewise.
7328 * sysdeps/sparc/configure.in: Likewise.
7329 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7330 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7331 * sysdeps/i386/configure.in: Likewise.
7332 * sysdeps/x86_64/configure.in: Likewise.
7333 * sysdeps/sh/configure.in: Likewise.
7334 * sysdeps/s390/s390-32/configure: Regenerated.
7335 * sysdeps/s390/s390-64/configure: Likewise.
7336 * sysdeps/x86_64/configure: Likewise.
7337 * sysdeps/sh/configure: Likewise.
7338 * sysdeps/powerpc/powerpc64/configure: Likewise.
7339 * sysdeps/powerpc/powerpc32/configure: Likewise.
7340 * sysdeps/sparc/configure: Likwise.
7341 * sysdeps/i386/configure: Likewise.
7342
a66877c6
MP
7343 * elf/dl-open.c: Comment fixes.
7344
cfc82fd8
JM
73452012-07-17 Joseph Myers <joseph@codesourcery.com>
7346
bd29910a
JM
7347 * Makefile [CXX] (check-data): Remove.
7348 [CXX] (c++-types.data): New vpath directive.
7349 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7350 vpath. Do not allow for C++ type data being missing.
7351 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7352 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7353 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7354 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7355 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7356 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7357 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7359 ... here.
7360 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7362 ... here.
7363 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7365 ... here.
7366 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7368 ... here.
7369 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7371 ... here.
7372 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7374 ... here.
7375 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7377 ... here.
7378 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7380
cfc82fd8
JM
7381 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7382 definitions to architecture-specific files.
7383 (TLS_IE): Likewise.
7384 (TLS_LD): Likewise.
7385 (TLS_GD): Likewise.
7386 * sysdeps/i386/tls-macros.h: New file.
7387 * sysdeps/powerpc/tls-macros.h: Likewise.
7388 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7389 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7390 * sysdeps/sh/tls-macros.h: Likewise.
7391 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7392 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7393 * sysdeps/x86_64/tls-macros.h: Likewise.
7394
f7db3170
TS
73952012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7396
07cbfc23
TS
7397 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7398 zero value for regular exit case.
7399
f7db3170
TS
7400 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7401 (__start_context): Preserve zero value for regular exit case.
7402
dc97c227
TS
74032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7404 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7405
7406 * manual/setjmp.texi (setcontext): Clarify normal process
7407 termination when uc_link is the null pointer.
7408 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7409 exit call.
7410
d0cd7d02
AS
74112012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7412
7413 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7414 preprocessor. Test for each exception mask separately.
7415
dd318934
AJ
74162012-07-16 Andreas Jaeger <aj@suse.de>
7417
7418 * po/ru.po: Update from translation team.
7419
8048311a
JM
74202012-07-15 Joseph Myers <joseph@codesourcery.com>
7421
7422 * conform/data/string.h-data (NULL): Use macro-constant. Require
7423 equal to 0.
7424 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7425 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7426 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7427 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7428 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7429
b637d46e
AJ
74302012-07-13 Andreas Jaeger <aj@suse.de>
7431
7432 * po/fr.po: Update from translation team.
7433
541428fe
MP
74342012-07-12 Marek Polacek <polacek@redhat.com>
7435
7436 [BZ #14173]
7437 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7438 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7439 loop condition.
7440
ec332e94
JM
74412012-07-12 Joseph Myers <joseph@codesourcery.com>
7442
7443 [BZ #13717]
7444 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7445 Change to 2.4.1 where previously 2.4.0.
7446 * sysdeps/unix/sysv/linux/configure: Regenerated.
7447 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7448 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7449 version.
7450 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7451 (__ASSUME_AT_CLKTCK): Remove.
7452 (__ASSUME_AT_PAGESIZE): Likewise.
7453 (__ASSUME_AT_XID): Likewise.
7454 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7455 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7456 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7457 unconditionally.
7458 (HAVE_AUX_PAGESIZE): Likewise.
7459 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7460 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7461 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7462
7b6e99be
JB
74632012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7464
7465 [BZ #14307]
7466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7467 the temporary buffer used to invoke __gethostbyname2_r,
7468 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7469 host_data / struct gaih_addrtuple.
7470 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7471 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7472 header file nss/nsswitch.h.
7473 * nss/nsswitch.h (global scope): Add definition of implementation
7474 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7475 resolv/nss_dns/dns-host.c).
7476
608404eb
AJ
74772012-07-11 Andreas Jaeger <aj@suse.de>
7478
7479 * po/fr.po: Update from translation team.
7480
71220aca
AJ
7481 * po/sv.po: Update from translation team
7482 * po/fr.po: Another update from translation team.
7483
28cfe843
AZ
74842012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7485
7486 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7487 for subnormals or multiply small sinh result by itself.
7488 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7490
6b90f981
DM
74912012-07-11 David S. Miller <davem@davemloft.net>
7492
7493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7494
c6825772
AS
74952012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7496
7497 [BZ #14347]
7498 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7499 (INTERNAL_MARK): Shift it here.
7500
7b8e0d49
MP
75012012-07-10 Marek Polacek <polacek@redhat.com>
7502
7503 [BZ #14151]
7504 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7505 libc_cv_asm_global_directive with .globl.
7506 * configure: Regenerated.
7507 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7508 with .globl.
7509 * sysdeps/i386/configure: Regenerated.
7510 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7511 with .globl.
7512 * sysdeps/x86_64/configure: Regenerated.
7513 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7514 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7515 * elf/tst-unique2mod2.c: Likewise.
7516 * elf/tst-unique2mod1.c: Likewise.
7517 * elf/tst-unique1mod2.c: Likewise.
7518 * elf/tst-unique1mod1.c: Likewise.
7519 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7520 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7521 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7522 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7523 * sysdeps/mach/sysdep.h: Likewise.
7524 * sysdeps/i386/sysdep.h: Likewise.
7525 * sysdeps/i386/i386-mcount.S: Likewise.
7526 * sysdeps/x86_64/_mcount.S: Likewise.
7527 * sysdeps/x86_64/sysdep.h: Likewise.
7528 * sysdeps/sh/_mcount.S: Likewise.
7529 * sysdeps/sh/sysdep.h: Likewise.
7530 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7531 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7532 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7533 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7534 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7535 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7536 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7537 * locale/localeinfo.h: Likewise.
7538 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7539 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7540
6c55cda3
RM
75412012-07-09 Roland McGrath <roland@hack.frob.com>
7542
7543 [BZ #14336]
7544 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7545 system".
7546 * manual/message.texi (The Uniforum approach): Likewise.
7547 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7548 (glibc iconv Implementation): Likewise.
7549
638a572e
JM
75502012-07-09 Joseph Myers <joseph@codesourcery.com>
7551
7552 [BZ #14337]
7553 * math/s_clog.c (__clog): Avoid scaling a value down where that
7554 could result in underflow.
7555 * math/s_clog10.c (__clog10): Likewise.
7556 * math/s_clog10f.c (__clog10f): Likewise.
7557 * math/s_clog10l.c (__clog10l): Likewise.
7558 * math/s_clogf.c (__clogf): Likewise.
7559 * math/s_clogl.c (__clogl): Likewise.
7560 * math/libm-test.inc (clog_test): Add more tests.
7561 (clog10_test): Likewise.
7562 * sysdeps/i386/fpu/libm-test-ulps: Update.
7563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7564
261f4859
AS
75652012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7566
0abaf3e4
AS
7567 [BZ #14283]
7568 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7569 by 7 not 8 to examine high bit of fractional part.
7570
261f4859
AS
7571 [BZ #14042]
7572 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7573 for call to __mcount_internal.
7574 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7575 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7576 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7577
f17ac40d
JM
75782012-07-06 Joseph Myers <joseph@codesourcery.com>
7579
9ad63c23
JM
7580 [BZ #14154]
7581 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7582 approximation for values within 0x1p-13f of an odd multiple of
7583 pi/4.
7584 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7585 exception. Add more tests.
7586 * sysdeps/i386/fpu/libm-test-ulps: Update.
7587
f17ac40d
JM
7588 [BZ #6778]
7589 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7590 inputs and return -1 for them. Do not check for +Inf in case not
7591 reachable for +Inf.
7592 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7593 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7594 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7595 and return -1 for them. Do not check for +Inf in case not
7596 reachable for +Inf.
7597 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7598 define.
7599 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7600 and return -1 for them. Do not check for +Inf in case not
7601 reachable for +Inf.
7602 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7603 spurious underflow.
7604 * sysdeps/i386/fpu/libm-test-ulps: Update.
7605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7606
fb21f89b
MF
76072012-07-06 Mike Frysinger <vapier@gentoo.org>
7608
7609 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7610
cdfe2c5e
JM
76112012-07-05 Joseph Myers <joseph@codesourcery.com>
7612
7613 [BZ #14157]
7614 [BZ #14331]
7615 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7616 could result in spurious underflow. Scale down values above
7617 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7618 * math/s_csqrtf.c (__csqrtf): Likewise.
7619 * math/s_csqrtl.c (__csqrtl): Likewise.
7620 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7621 spurious underflow.
7622 * sysdeps/i386/fpu/libm-test-ulps: Update.
7623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7624
70d35b67
AS
76252012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7626
704bc459
AS
7627 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7628 xopen-msg.sed.
7629 * catgets/xopen-msg.awk: New file.
7630 * catgets/xopen-msg.sed: Removed.
7631
70d35b67
AS
7632 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7633 po2text.sed.
7634 * intl/po2test.awk: New file.
7635 * intl/po2test.sed: Removed.
7636
ca61cf32
JM
76372012-07-04 Joseph Myers <joseph@codesourcery.com>
7638
7639 [BZ #14328]
7640 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7641 or multiply small sinh result by itself.
7642 * math/s_ctanf.c (__ctanf): Likewise.
7643 * math/s_ctanh.c (__ctanh): Likewise.
7644 * math/s_ctanhf.c (__ctanhf): Likewise.
7645 * math/s_ctanhl.c (__ctanhl): Likewise.
7646 * math/s_ctanl.c (__ctanl): Likewise.
7647 * math/libm-test.inc (ctan_test_tonearest): New function.
7648 (ctan_test_towardzero): Likewise.
7649 (ctan_test_downward): Likewise.
7650 (ctan_test_upward): Likewise.
7651 (ctanh_test_tonearest): Likewise.
7652 (ctanh_test_towardzero): Likewise.
7653 (ctanh_test_downward): Likewise.
7654 (ctanh_test_upward): Likewise.
7655 (main): Call these new functions.
7656 * sysdeps/i386/fpu/libm-test-ulps: Update.
7657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7658
ca48a46a
MF
76592012-07-03 Mike Frysinger <vapier@gentoo.org>
7660
7661 * .gitignore: Delete /ports entry.
7662
9d63d37d
AJ
76632012-07-03 Andreas Jaeger <aj@suse.de>
7664
7665 * po/bg.po: Update from translation team.
7666 * po/cs.po: Likewise.
7667 * po/de.po: Likewise.
7668 * po/hr.po: Likewise.
7669 * po/nl.pl: Likewise.
7670 * po/pl.po: Likewise.
7671 * po/vi.po: Likewise.
7672
370ca3d2
JM
76732012-07-03 Joseph Myers <joseph@codesourcery.com>
7674
95f5a9a8
JM
7675 * Makeconfig [!+link] (+link-before-libc): New variable.
7676 [!+link] (+link-after-libc): Likewise.
7677 [!+link] (+link-tests): Likewise.
7678 [!+link] (+link): Define in terms of $(+link-before-libc) and
7679 $(+link-after-libc).
7680 [!+link-static] (+link-static-before-libc): New variable.
7681 [!+link-static] (+link-static-after-libc): Likewise.
7682 [!+link-static] (+link-static-tests): Likewise.
7683 [!+link-static] (+link-static): Define in terms of
7684 $(+link-static-before-libc) and $(+link-static-after-libc).
7685 [build-shared] (link-libc-before-gnulib): New variable.
7686 [build-shared] (link-libc-tests): Likewise.
7687 [build-shared] (link-libc): Define in terms of
7688 $(link-libc-before-gnulib).
7689 [!build-shared] (link-libc-tests): New variable.
7690 (link-libc-static-tests): New variable.
7691 [!gnulib] (gnulib-arch): New variable.
7692 [!gnulib] (gnulib-tests): Likewise.
7693 [!gnulib] (static-gnulib-arch): Likewise.
7694 [!gnulib] (static-gnulib-tests): Likewise.
7695 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7696 Define with "=" instead of ":=".
7697 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7698 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7699 * Rules (binaries-all-notests): New variable.
7700 (binaries-all-tests): Likewise.
7701 (binaries-static-notests): Likewise.
7702 (binaries-static-tests): Likewise.
7703 (binaries-all): Define using $(binaries-all-notests) and
7704 $(binaries-all-tests).
7705 (binaries-static): Define using $(binaries-static-notests) and
7706 $(binaries-static-tests).
7707 (binaries-shared-tests): New variable.
7708 (binaries-shared-notests): Likewise.
7709 (binaries-shared): Remove variable.
7710 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7711 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7712 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7713 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7714 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7715 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7716 * elf/Makefile (sln-modules): New variable.
7717 (extra-objs): Add $(sln-modules:=.o).
7718 (ldconfig-modules): Add static-stubs.
7719 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7720 * elf/static-stubs.c: New file.
7721
7a845b2c
JM
7722 [BZ #14283]
7723 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7724 by 7 not 8 to examine high bit of fractional part. Use volatile
7725 variables when splitting into final array of floats if
7726 __FLT_EVAL_METHOD__ != 0.
7727 * math/libm-test.inc (cos_test): Add another test.
7728 (sin_test): Likewise.
7729 * sysdeps/i386/fpu/libm-test-ulps: Update.
7730
e2283f38
JM
7731 [BZ #14273]
7732 * math/libm-test.inc (cosh_test): Add more tests.
7733
370ca3d2
JM
7734 * version.h (RELEASE): Set to "development".
7735 (VERSION): Set to "2.16.90".
7736
ee9247c3
CD
77372012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7738
7739 * NEWS: Update copyright. Remove last-updated date.
7740 Mention math library bug fixes and timezone data changes.
7741 * README: Mention GNU/Hurd, x32, and HPPA support status.
7742
4648c381
TS
77432012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7744
7745 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7746
aac78a43
AJ
77472012-06-27 Andreas Jaeger <aj@suse.de>
7748
7749 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7750
ed3dbfad
AJ
77512012-06-25 Andreas Jaeger <aj@suse.de>
7752
7753 * sysdeps/s390/fpu/libm-test-ulps: Update.
7754
4d0ee855
AS
77552012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7756 Thomas Schwinge <thomas@codesourcery.com>
7757
7758 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7759 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7761 fanotify_mark.
7762
af1bce34
TS
77632012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7764
a9fa33ba
TS
7765 * sysdeps/mach/start.c: Remove file.
7766 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7767 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7768 * sysdeps/sh/init-first.c: Likewise.
7769
58f902b8
TS
7770 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7771 registers for frame unwinding purposes, add CFI directives.
7772 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7773 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7774 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7775 Likewise.
7776
1518f58b
TS
7777 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7778 __fortify_fail returning.
7779 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7780
db9b5059
TS
7781 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7782 sysdeps/sh/____longjmp_chk.S.
7783 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7784 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7785 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7786 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7787
967705fe
TS
7788 * sysdeps/sh/abort-instr.h: New file.
7789 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7790 process in case exit returns.
7791
a9def8c4
TS
7792 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7793 initialize the GOT register before use.
7794
2a649725
TS
7795 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7796 calculation of ARGC > 4.
7797
af1bce34
TS
7798 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7799 meaningful names to some local labels.
7800
d230f50a
KK
78012012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7802 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7803
7804 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7805 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7806 (__arch_compare_and_exchange_val_16_acq): Likewise.
7807 (__arch_compare_and_exchange_val_32_acq): Likewise.
7808 (atomic_exchange_and_add): Fix gUSA sequence.
7809 (atomic_add): Likewise.
7810 (atomic_add_negative): Likewise.
7811 (atomic_add_zero): Likewise.
7812 (atomic_bit_test_set): Likewise.
7813
0479b305
AS
78142012-06-22 Andreas Schwab <schwab@redhat.com>
7815
7816 [BZ #13579]
7817 * include/link.h (struct link_map): Add l_free_initfini.
7818 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7819 l_initfini.
7820 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7821 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7822 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7823 set.
7824
0e3933b9
CD
78252012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7826
7827 * configure.in: Use AC_LANG_SOURCE.
7828 * configure: Regenerate.
7829
4248b1b1
RM
78302012-06-22 Roland McGrath <roland@hack.frob.com>
7831
7832 * configure.in (libc_cv_localstatedir): New substituted variable.
7833 * configure: Regenerated.
7834 * config.make.in (localstatedir): New variable, substituted from
7835 libc_cv_localstatedir.
7836 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7837 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7838 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7839 * sysdeps/gnu/configure: Regenerated.
7840
006dd861
JL
78412012-06-21 Jeff Law <law@redhat.com>
7842
7843 [BZ #14277]
7844 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7845 free. Simplify list management for _LIBC case.
7846
79662d42
JM
78472012-06-21 Joseph Myers <joseph@codesourcery.com>
7848
b7abb4bf
JM
7849 [BZ #14273]
7850 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7851 Clear sign bit of 64-bit integer value before comparing against
7852 overflow value.
7853
79662d42
JM
7854 * sysdeps/mach/configure: Regenerated.
7855
1f150908
L
78562012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7857
7858 [BZ #14278]
7859 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7860
28363bbf
JL
78612012-06-21 Jeff Law <law@redhat.com>
7862
7863 [BZ #13882]
7864 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7865 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7866 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7867 * elf/dl-open.c (dl_open_worker): Likewise.
7868
09615db4
CD
78692012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7870
7871 * scripts/list-sources.sh: Scan PORTS for translations.
7872 * po/libc.pot: Regenerated.
7873
2174c6dd
AJ
78742012-06-21 Andreas Jaeger <aj@suse.de>
7875
7876 [BZ #12194]
7877 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7878 warning.
7879 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7880 * bits/byteswap-16.h (__bswap_16): Likewise.
7881 * bits/byteswap.h (__bswap_constant_16): Likewise.
7882
3ee947b1
L
78832012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7884
7885 [BZ #14117]
a2f34833
L
7886 * sysdeps/i386/fpu_control.h: Removed.
7887 * sysdeps/x86_64/fpu_control.h: Moved to ...
7888 * sysdeps/x86/fpu_control.h: Here.
7889
3ee947b1
L
7890 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7891 (_FPU_SETCW): Likewise.
7892
ed1825f8
L
78932012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7894
25f1282a
L
7895 [BZ #14117]
7896 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7897 * sysdeps/x86/fpu/bits/mathinline.h: This.
7898 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7899
ed1825f8
L
7900 [BZ #14050]
7901 [BZ #14117]
7902 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7903 functions if __x86_64__ is defined.
7904
36d54b74
CLT
79052012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7906
7907 * string/endian.h: Add !__ASSEMBLER__ condition for including
7908 conversion interfaces.
7909
10285c21
JM
79102012-06-15 Joseph Myers <joseph@codesourcery.com>
7911
7912 [BZ #14241]
7913 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7914 of ABS(x) in calculating zero to negative powers other than odd
7915 integers.
7916 * math/libm-test.inc (pow_test): Add more tests.
7917
06c5abbd
AJ
79182012-06-15 Andreas Jaeger <aj@suse.de>
7919
7920 * manual/contrib.texi (Contributors): Update entry of Liubov
7921 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7922 Machado Filho.
7923
a3aeac40
CH
79242012-06-15 Cyril Hrubis <metan@ucw.cz>
7925
7926 * string/string.h: Add __wur to GNU version of strerror_r.
7927
49bdf4c1
L
79282012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7929
7930 [BZ #14229]
7931 * string/Makefile (tests): Add tst-strtok_r.
7932 * string/tst-strtok_r.c: New file.
7933 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7934 RAX_LP/RDX_LP on SAVE_PTR.
7935
834f9b8d
RM
79362012-06-14 Roland McGrath <roland@hack.frob.com>
7937
7938 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7939
75fa1921
JM
79402012-06-14 Joseph Myers <joseph@codesourcery.com>
7941
7942 * libm_test.inc (csqrt_test): Allow more spurious underflow
7943 exceptions.
7944 (j0_test): Likewise.
7945 (j1_test): Likewise.
7946 (y0_test): Likewise.
7947 (y1_test): Likewise.
7948
771766df
CD
79492012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7950
7951 * po/Makefile (libc.pot): Use UTF-8 charset.
7952
ceb9e56b
PP
79532012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7954
7955 [BZ #14210]
7956 Suppress sign-conversion warning from FD_SET.
7957 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7958 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7959 not unsigned long int.
7960 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7961
ddb28975
L
79622012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7963
7964 [BZ #14050]
7965 [BZ #14117]
7966 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7967 __extern_always_inline instead of __extern_inline.
7968 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7969 (__signbit): Likewise.
7970 (__signbitl): Support C++ namespace.
7971 (lrintf): New inline function.
7972 (lrint): Likewise.
7973 (llrintf): Likewise.
7974 (llrint): Likewise.
7975 (fmaxf): Likewise.
7976 (fmax): Likewise.
7977 (fminf): Likewise.
7978 (fmin): Likewise.
7979 (rint): Likewise.
7980 (rintf): Likewise.
7981 (ceil): Likewise.
7982 (ceilf): Likewise.
7983 (floor): Likewise.
7984 (floorf): Likewise.
7985 (nearbyint): Likewise.
7986 (nearbyintf): Likewise.
7987
d7b4fb26
TS
79882012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7989
7990 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7991 non-default versions.
7992
eb55f5c2
RM
79932012-06-11 Roland McGrath <roland@hack.frob.com>
7994
7995 [BZ #14218]
7996 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7997
366af02c
TS
79982012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7999
99ff6e5c
TS
8000 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8001 (FE_UPWARD, FE_DOWNWARD): Don't define.
8002 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8003 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8004
366af02c
TS
8005 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8006 reading it.
8007 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8008 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8009
793ea851
KK
80102012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8011
8012 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8013 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8014 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8015 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8016
a728a38f
L
80172012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8018
8019 [BZ #14117]
c08010c7
L
8020 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8021 * sysdeps/i386/fpu/Implies: New file.
8022 * sysdeps/x86_64/fpu/Implies: Likewise.
8023 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8024 * sysdeps/x86/fpu/bits/fenv.h: This.
8025
a728a38f
L
8026 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8027 __SSE_MATH__.
8028
6e230d11
SP
80292012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8030
8031 [BZ #14134]
8032 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8033 character 0xffff that matches the last element of the
8034 conversion table.
8035
1b671feb
AZ
80362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8037
8038 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8039 fmodl commit.
8040
6043738b
AZ
80412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8042
8043 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8044 values higher than 25.6283.
8045
34ae0b32
AZ
80462012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8047
8048 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8049 subnormal exponent extraction and add some __builtin_expect.
8050 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8051 Fix for subnormal mantissa calculation.
8052
1214ec8f
MF
80532012-06-04 Mike Frysinger <vapier@gentoo.org>
8054
8055 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8056 cpu2 is -1 and errno is not ENOSYS.
8057
f3d1f93c
L
80582012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8059
8060 [BZ #14117]
0e4a3cd7
L
8061 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8062 * sysdeps/x86/bits/string.h: This.
8063 * sysdeps/x86_64/bits/string.h: Removed.
8064
6704c645
L
8065 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8066 if not compiling for x86-64, but compiling for >= i486.
8067
48495318
L
8068 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8069 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8070
14adcbfc
L
8071 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8072 New macro from Linux kernel 3.4.0.
8073 (FP_XSTATE_MAGIC2): Likewise.
8074 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8075 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8076 (struct _fpx_sw_bytes): New struct.
8077 (struct _xsave_hdr): Likewise.
8078 (struct _ymmh_state): Likewise.
8079 (struct _xstate): Likewise.
8080
68e408ab
L
8081 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8082 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8083 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8084 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8085 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8086 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8087
f3d1f93c
L
8088 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8089 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8090 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8091 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8092 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8093 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8094
d9dc34cd
TMQMF
80952012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8096
8097 [BZ #13743]
8098 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8099 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8100 (sysdep_headers): Include sys/platform/ppc.h.
8101 * sysdeps/powerpc/test-gettimebase.c: Test for
8102 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8103 * manual/Makefile (appendices): Include platform.texi.
8104 * manual/contrib.texi (Contributors): Update @node pointers.
8105 * manual/maint.texi (Maintenance): Likewise.
8106 (Platform): New node.
8107 * manual/platform.texi: New file. Document the new features.
8108
4af3879c
SP
81092012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8110 Jakub Jelinek <jakub@redhat.com>
8111
8112 [BZ #14188]
8113 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8114 where __builtin_expect is unavailable.
8115
2fd6ff13
DM
81162012-06-03 David S. Miller <davem@davemloft.net>
8117
8118 * stdlib/longlong.h: Updated from GCC.
8119
173f7220
AS
81202012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8121
8122 [BZ #14042]
8123 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8124 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8125 __mcount_internal.
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8127 (GLIBC_2.16): Likewise.
8128
f34a1c6f
L
81292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8130
8131 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8132
88a4576f
JM
81332012-06-01 Joseph Myers <joseph@codesourcery.com>
8134
ea32bcdd
JM
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8136 (default-abi): New variable.
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8138 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8139 variable.
8140 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8141 Likewise.
8142 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8143 Likewise.
8144 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8145 Likewise.
8146
88a4576f
JM
8147 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8148 definition. Document in comment.
8149
402fe938
DM
81502012-06-01 David S. Miller <davem@davemloft.net>
8151
8152 * stdlib/longlong.h: Updated from GCC.
8153
3553723f
L
81542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8155
8156 [BZ #14117]
3bd872c4
L
8157 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8158 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8159 sys/debugreg.h sys/io.h here.
8160 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8161 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8162 sys/io.h.
8163 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8164 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8165 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8166 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8167 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8168 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8169
3553723f
L
8170 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8171 Define only if __x86_64__ is defined.
8172
4842e4fe
JM
81732012-06-01 Joseph Myers <joseph@codesourcery.com>
8174
c5bfe3d5
JM
8175 [BZ #14048]
8176 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8177 Use int64_t for variable i.
8178 * math/libm-test.inc (fmod_test): Add more tests.
8179
4842e4fe
JM
8180 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8181 z computation is not scheduled after fetestexcept.
8182 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8183 Use math_force_eval instead of asm to ensure calculation scheduled
8184 before exception test.
8185 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8186 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8187
efb73488
AJ
81882012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8189
8190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8191 computation is not scheduled after fetestexcept.
8192
29bcce7c
L
81932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8194
8195 [BZ #14117]
8196 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8197 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8198
73a68f94
AZ
81992012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8200
8201 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8202 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8203
67b6df78
L
82042012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8205
edf2933a 8206 [BZ #14117]
ebc64a18
L
8207 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8208 <bits/wordsize.h>.
8209 (__WCHAR_MIN): Support __WORDSIZE == 64.
8210 (__WCHAR_MAX): Likewise.
8211
edf2933a
L
8212 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8213 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8214
57c6cf40
L
8215 [BZ #14183]
8216 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8217 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8218
67b6df78 8219 [BZ #14117]
8eb6281e
L
8220 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8221 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8222
aac639f4
L
8223 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8224 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8225
67b6df78
L
8226 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8227 Defined to 1 if __x86_64__ isn't defined.
8228 (_STAT_VER_LINUX_OLD): New.
8229 (st_atime): Remove duplicate.
8230 (st_mtime): Likewise.
8231 (st_ctime): Likewise.
8232
1c2cfe81
DM
82332012-05-31 David S. Miller <davem@davemloft.net>
8234
8235 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8236 entries.
8237
5be8418c
AS
82382012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8239
e7725326
AS
8240 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8241 gen-libm-test.pl.
8242
5be8418c
AS
8243 [BZ #14132]
8244 * elf/dl-reloc.c: Include <_itoa.h>.
8245 (_dl_reloc_bad_type): Remove use of INTUSE.
8246 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8247 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8248 * stdio-common/psiginfo.c (psiginfo): Likewise.
8249 * stdio-common/psignal.c (psignal): Likewise.
8250 * string/strsignal.c (strsignal): Likewise.
8251 * include/signal.h (_sys_siglist): Declare hidden proto.
8252 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8253 INTVARDEF with libc_hidden_data_def.
8254 * stdio-common/itoa-udigits.c: Likewise.
8255 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8256 (_itoa_lower_digits_internal): Remove declaration.
8257 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8258 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8259 (_sys_sigabbrev_internal): Remove aliases.
8260 (_sys_siglist): Define hidden alias.
8261
507352f1
MT
82622012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8263
8264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8265 bits/sysctl.h.
8266
42bbb1c3
L
82672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8268
8269 [BZ #14117]
6bd784b6
L
8270 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8271 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8272
8bca20f0
L
8273 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8274 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8275 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8276 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8277 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8278 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8279
f9e890a9
L
8280 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8281 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8282 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8283
471101a1
L
8284 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8285 with __addr.
8286 (insw): Likewise.
8287 (insl): Likewise.
8288 (outsb): Likewise.
8289 (outsw): Likewise.
8290 (outsl): Likewise.
8291
6451c862
L
8292 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8293 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8294 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8295
a254b8c9
L
8296 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8297 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8298 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8299 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8300 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8301 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8302
b8dfdd92
L
8303 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8304 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8305
578cd270
L
8306 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8307 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8308
de662f5f
L
8309 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8311 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8312
25653439
L
8313 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8314 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8315 to ...
8316 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8317
6bad24a0
L
8318 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8319 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8320 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8321
42bbb1c3
L
8322 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8323 for x86-64.
8324 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8325
2d10d547
JM
83262012-05-31 Joseph Myers <joseph@codesourcery.com>
8327
8328 * math/math.h (M_El): Use two more decimal places.
8329 (M_LOG2El): Likewise.
8330 (M_LOG10El): Likewise.
8331 (M_LN2l): Likewise.
8332 (M_LN10l): Likewise.
8333 (M_PIl): Likewise.
8334 (M_PI_2l): Likewise.
8335 (M_PI_4l): Likewise.
8336 (M_1_PIl): Likewise.
8337 (M_2_PIl): Likewise.
8338 (M_2_SQRTPIl): Likewise.
8339 (M_SQRT2l): Likewise.
8340 (M_SQRT1_2l): Likewise.
8341
f230c29b
DM
83422012-05-31 David S. Miller <davem@davemloft.net>
8343
8344 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8345 values between float registers.
8346 * sysdeps/sparc/sparc64/memset.S: Likewise.
8347 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8348
fed806c3
MF
83492012-05-31 Mike Frysinger <vapier@gentoo.org>
8350
8351 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8352 -D_FORTIFY_SOURCE=1.
8353 (CPPFLAGS-tst-longjmp_chk.c): Define.
8354 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8355 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8356 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8357 CFLAGS-tst-wchar-h.c.
8358
30917259
MP
83592012-05-31 Marek Polacek <polacek@redhat.com>
8360
8361 [BZ #14132]
8362 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8363 __endmntent_internal): Remove declaration.
8364 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8365 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8366 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8367
1c58d5dc
DM
83682012-05-30 David S. Miller <davem@davemloft.net>
8369
8370 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8371 (___Q_simulate_exceptions): Use real FP ops rather than writing
8372 into the %fsr.
8373 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8374 Likewise.
8375
7dc00e0d
L
83762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 [BZ #14117]
0bd53985
L
8379 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8380 * sysdeps/x86/bits/xtitypes.h: This.
8381
3a257e66
L
8382 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8383 * sysdeps/x86/bits/wordsize.h: This.
8384
62f62904
L
8385 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8386 * sysdeps/x86/bits/huge_vall.h: This.
8387
404fe9d9
L
8388 * sysdeps/i386/bits/select.h: Removed.
8389 * sysdeps/x86_64/bits/select.h: Renamed to ...
8390 * sysdeps/x86/bits/select.h: This.
8391
d48d0446
L
8392 * sysdeps/i386/bits/setjmp.h: Removed.
8393 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8394 * sysdeps/x86/bits/setjmp.h: This.
8395
7dc00e0d
L
8396 * sysdeps/i386/bits/mathdef.h: Removed.
8397 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8398 * sysdeps/x86/bits/mathdef.h: This.
8399
03277f8f
AS
84002012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8401
8402 [BZ #14132]
8403 * include/sys/socket.h (__connect_internal)
8404 (__libc_sa_len_internal): Remove declaration.
8405 (__connect, __libc_sa_len): Declare hidden_proto.
8406 (SA_LEN): Remove use of INTUSE.
8407 * socket/connect.c: Add libc_hidden_def.
8408 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8409 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8410 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8411 alias.
8412 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8413 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8414 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8415 of adding _internal alias.
8416
13764867
L
84172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8418
8419 [BZ #14117]
6bd97696
L
8420 * sysdeps/i386/bits/link.h: Removed.
8421 * sysdeps/i386/bits/linkmap.h: Likewise.
8422 * sysdeps/x86_64/bits/link.h: Renamed to ...
8423 * sysdeps/x86/bits/link.h: This.
8424 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8425 * sysdeps/x86/bits/linkmap.h: This.
8426
f726f0bb
L
8427 * sysdeps/i386/bits/endian.h: Removed.
8428 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8429 * sysdeps/x86/bits/endian.h: This.
8430
13764867
L
8431 * sysdeps/i386/bits/byteswap.h: Removed.
8432 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8433 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8434 * sysdeps/x86/bits/byteswap.h: This.
8435 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8436 * sysdeps/x86/bits/byteswap-16.h: This.
8437 * sysdeps/i386/Implies: Add x86.
8438 * sysdeps/x86_64/Implies: Likewise.
8439
ae251b0b
DM
84402012-05-30 David S. Miller <davem@davemloft.net>
8441
8442 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8443 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8444 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8445 (FP_TRAPPING_EXCEPTIONS): Define.
8446 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8447 (FP_TRAPPING_EXCEPTIONS): Define.
8448 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8449 subnormals only when inexact has been signalled or underflow
8450 exceptions are enabled.
8451 (_FP_PACK_CANONICAL): Likewise.
8452
d5c90867
L
84532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8454
8455 [BZ #14183]
8456 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8457 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8458
63f1549e
RH
84592012-05-30 Richard Henderson <rth@twiddle.net>
8460
8d8f2279
RH
8461 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8462 with #ifndef NOT_IN_libc.
8463
63f1549e
RH
8464 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8465 marked to avoid plt entry.
8466
0ab0291b
L
84672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8468
8469 [BZ #14112]
8470 * Makeconfig (default-abi): New macro.
8471 (abi-includes): Likewise.
8472 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8473 $(abi-$(default-abi)-lib-soname) for soname if defined.
8474 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8475 abi-variants.
8476 * Makefile (installed-stubs): Likewise.
8477 * include/stubs-biarch.h: Removed.
8478 * scripts/lib-names.awk: Only handle one library at a time.
8479 * scripts/soversions.awk: Remove WORDSIZE support.
8480 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8481 entries.
8482 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8483 Removed.
8484 (syscall-list-default-condition): Likewise.
8485 (syscall-list-default-condition): Likewise.
8486 (syscall-list-includes): Likewise.
8487 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8488 syscall-list-* with abi-*. Handle undefined abi-variants.
8489 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8490 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8491 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8492 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8493 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8494 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8495 Removed.
8496 (syscall-list-32-options): Likewise.
8497 (syscall-list-32-condition): Likewise.
8498 (syscall-list-64-options): Likewise.
8499 (syscall-list-64-condition): Likewise.
8500 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8501 macro.
8502 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8503 Renamed to ...
8504 (abi-*): This.
8505 (abi-64-ld-soname): New macro.
8506 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8507 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8508 Renamed to ...
8509 (abi-*): This.
8510 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8511 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8512
4da0431d
JM
85132012-05-30 Joseph Myers <joseph@codesourcery.com>
8514
3a85279c
JM
8515 * sysdeps/unix/sysv/linux/kernel-features.h
8516 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8517 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8518 include <kernel-features.h>.
8519 [!__NR_ftruncate64]: Remove conditional code.
8520 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8521 [__NR_ftruncate64]: Make code unconditional.
8522 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8523 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8524 include <kernel-features.h>.
8525 [!__NR_ftruncate64]: Remove conditional code.
8526 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8527 [__NR_ftruncate64]: Make code unconditional.
8528 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8530 include <kernel-features.h>.
8531 [!__NR_ftruncate64]: Remove conditional code.
8532 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8533 [__NR_ftruncate64]: Make code unconditional.
8534 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8536 include <kernel-features.h>.
8537 [!__NR_ftruncate64]: Remove conditional code.
8538 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8539 [__NR_ftruncate64]: Make code unconditional.
8540 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8541
4da0431d
JM
8542 * configure.in (libc_cv_fpie): Weaken to a compile test using
8543 LIBC_TRY_CC_OPTION.
8544 * configure: Regenerated.
8545
11ef492c
AK
85462012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8547
8548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8552 Refreshed.
8553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8559 Refreshed.
8560
d66ef399
DM
85612012-05-27 David S. Miller <davem@davemloft.net>
8562
8563 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8564 (___Q_zero): New.
8565 (__Q_simulate_exceptions): Return void. Change to simulate
8566 exceptions by writing into the %fsr.
8567 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8568 (__Qp_handle_exceptions): Likewise.
8569 (numbers): Delete.
8570 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8571 __Qp_handle_exceptions.
8572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8573 __Qp_handle_exceptions.
8574 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8575 as unused and give dummy FP_RND_NEAREST initializer.
8576 (FP_INHIBIT_RESULTS): Define.
8577 (___Q_simulate_exceptions): Update declaration.
8578 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8579 formatting.
8580 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8581 as unused and give dummy FP_RND_NEAREST initializer.
8582 (__Qp_handle_exceptions): Update declaration.
8583 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8584 formatting.
8585
04fb54b5
TS
85862012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8587
8588 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8589 the temporary FPU control word.
8590 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8591 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8592 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8593 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8594 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8595 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8596 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8597 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8598 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8599 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8600 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8601
3f99608f
KK
86022012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8603
8604 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8605 fields.
8606
65a4de4e
CLT
86072012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8608
8609 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8610 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8611 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8612 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8613 Likewise.
8614 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8615 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8616 Likewise.
8617
15749d40
UD
86182012-05-27 Ulrich Drepper <drepper@gmail.com>
8619
8620 * po/h.po: Update from translation team.
8621
25dbcb27
AS
86222012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8623
3d3f8e55
AS
8624 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8625
25dbcb27
AS
8626 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8627 handling of denormals.
8628 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8629 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8630 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8631 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8632 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8635 Likewise.
8636
7ad47a80 86372012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8638
8639 [BZ #14152]
8640 * math/libm-test.inc (fma_test): Don't always expect underflow
8641 exception.
8642
9c6ea9fa
SP
86432012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8644
8645 [BZ #12416]
8646 * elf/tst-execstack.c: Include stackinfo.h.
8647 (do_test): Adjust test case to ensure that pthread_getattr_np
8648 behaviour remains the same after marking stack executable.
8649
a8239222
JM
86502012-05-25 Joseph Myers <joseph@codesourcery.com>
8651
8652 * sysdeps/unix/sysv/linux/kernel-features.h
8653 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8654 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8655 kernel-features.h.
8656 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8657 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8658 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8659 kernel-features.h.
8660 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8661 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8662
918b5606
L
86632012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8664
8665 * configure.in: Define the default includes to being none.
8666 * configure: Regenerated.
8667
3a097cc7
RM
86682012-05-25 Roland McGrath <roland@hack.frob.com>
8669
8422c9a5
RM
8670 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8671 * sysdeps/x86_64/setjmp.S: Likewise.
8672 * sysdeps/i386/bsd-setjmp.S: Likewise.
8673 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8674 * sysdeps/i386/setjmp.S: Likewise.
8675 * sysdeps/i386/__longjmp.S: Likewise.
8676 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8677 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8678
3a097cc7
RM
8679 * include/stap-probe.h: New file.
8680 * configure.in: Handle --enable-systemtap.
8681 * configure: Regenerated.
8682 * config.h.in (USE_STAP_PROBE): New #undef.
8683 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8684 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8685 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8686
21708942
JM
86872012-05-25 Joseph Myers <joseph@codesourcery.com>
8688
8689 [BZ #13717]
8690 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8691 to 2.4.0 where earlier.
8692 * sysdeps/unix/sysv/linux/configure: Regenerated.
8693 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8694 <kernel-features.h>.
8695 [__ASSUME_32BITUIDS]: Make code unconditional.
8696 [!__ASSUME_32BITUIDS]: Remove conditional code.
8697 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8698 <kernel-features.h>.
8699 [__ASSUME_32BITUIDS]: Make code unconditional.
8700 [!__ASSUME_32BITUIDS]: Remove conditional code.
8701 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8702 [__ASSUME_32BITUIDS]: Make code unconditional.
8703 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8704 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8705 <kernel-features.h>.
8706 [__ASSUME_32BITUIDS]: Make code unconditional.
8707 [!__ASSUME_32BITUIDS]: Remove conditional code.
8708 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8709 <kernel-features.h>.
8710 [__ASSUME_32BITUIDS]: Make code unconditional.
8711 [!__ASSUME_32BITUIDS]: Remove conditional code.
8712 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8713 <kernel-features.h>.
8714 [__ASSUME_32BITUIDS]: Make code unconditional.
8715 [!__ASSUME_32BITUIDS]: Remove conditional code.
8716 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8717 <kernel-features.h>.
8718 [__ASSUME_32BITUIDS]: Make code unconditional.
8719 [!__ASSUME_32BITUIDS]: Remove conditional code.
8720 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8721 <kernel-features.h>.
8722 [__ASSUME_32BITUIDS]: Make code unconditional.
8723 [!__ASSUME_32BITUIDS]: Remove conditional code.
8724 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8725 <kernel-features.h>.
8726 [__ASSUME_32BITUIDS]: Make code unconditional.
8727 [!__ASSUME_32BITUIDS]: Remove conditional code.
8728 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8729 <kernel-features.h>.
8730 [__ASSUME_32BITUIDS]: Make code unconditional.
8731 [!__ASSUME_32BITUIDS]: Remove conditional code.
8732 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8733 <kernel-features.h>.
8734 [__ASSUME_32BITUIDS]: Make code unconditional.
8735 [!__ASSUME_32BITUIDS]: Remove conditional code.
8736 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8737 <kernel-features.h>.
8738 [__ASSUME_32BITUIDS]: Make code unconditional.
8739 [!__ASSUME_32BITUIDS]: Remove conditional code.
8740 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8741 <kernel-features.h>.
8742 [__ASSUME_32BITUIDS]: Make code unconditional.
8743 [!__ASSUME_32BITUIDS]: Remove conditional code.
8744 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8745 <kernel-features.h>.
8746 [__NR_setresgid] (__setresgid): Do not declare.
8747 [__ASSUME_32BITUIDS]: Make code unconditional.
8748 [!__ASSUME_32BITUIDS]: Remove conditional code.
8749 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8750 <kernel-features.h>.
8751 [__NR_setresuid] (__setresuid): Do not declare.
8752 [__ASSUME_32BITUIDS]: Make code unconditional.
8753 [!__ASSUME_32BITUIDS]: Remove conditional code.
8754 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8755 <kernel-features.h>.
8756 [__ASSUME_32BITUIDS]: Make code unconditional.
8757 [!__ASSUME_32BITUIDS]: Remove conditional code.
8758 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8759 <kernel-features.h>.
8760 [__ASSUME_32BITUIDS]: Make code unconditional.
8761 [!__ASSUME_32BITUIDS]: Remove conditional code.
8762 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8763 <kernel-features.h>.
8764 [__ASSUME_32BITUIDS]: Make code unconditional.
8765 [!__ASSUME_32BITUIDS]: Remove conditional code.
8766 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8767 <kernel-features.h>.
8768 [__ASSUME_32BITUIDS]: Make code unconditional.
8769 [!__ASSUME_32BITUIDS]: Remove conditional code.
8770 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8771 <kernel-features.h>.
8772 [__ASSUME_32BITUIDS]: Make code unconditional.
8773 [!__ASSUME_32BITUIDS]: Remove conditional code.
8774 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8775 <kernel-features.h>.
8776 [__ASSUME_32BITUIDS]: Make code unconditional.
8777 [!__ASSUME_32BITUIDS]: Remove conditional code.
8778 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8779 <kernel-features.h>.
8780 [__ASSUME_32BITUIDS]: Make code unconditional.
8781 [!__ASSUME_32BITUIDS]: Remove conditional code.
8782 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8783 <kernel-features.h>.
8784 [__ASSUME_32BITUIDS]: Make code unconditional.
8785 [!__ASSUME_32BITUIDS]: Remove conditional code.
8786 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8787 <kernel-features.h>.
8788 [__ASSUME_32BITUIDS]: Make code unconditional.
8789 [!__ASSUME_32BITUIDS]: Remove conditional code.
8790 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8791 <kernel-features.h>.
8792 [__ASSUME_32BITUIDS]: Make code unconditional.
8793 [!__ASSUME_32BITUIDS]: Remove conditional code.
8794 * sysdeps/unix/sysv/linux/kernel-features.h
8795 (__ASSUME_SETRESUID_SYSCALL): Remove.
8796 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8797 (__ASSUME_32BITUIDS): Likewise.
8798 (__ASSUME_LDT_WORKS): Likewise.
8799 (__ASSUME_O_DIRECTORY): Likewise.
8800 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8801 architecture but not kernel version.
8802 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8803 (__ASSUME_MMAP2_SYSCALL): Likewise.
8804 (__ASSUME_STAT64_SYSCALL): Likewise.
8805 (__ASSUME_IPC64): Likewise.
8806 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8807 <kernel-features.h>.
8808 [__ASSUME_32BITUIDS]: Make code unconditional.
8809 [!__ASSUME_32BITUIDS]: Remove conditional code.
8810 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8811 <kernel-features.h>.
8812 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8813 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8814 132096]: Remove conditional code.
8815 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8816 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8817 <kernel-features.h>.
8818 [__ASSUME_32BITUIDS]: Make code unconditional.
8819 [!__ASSUME_32BITUIDS]: Remove conditional code.
8820 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8821 <kernel-features.h>.
8822 [__ASSUME_32BITUIDS]: Make code unconditional.
8823 [!__ASSUME_32BITUIDS]: Remove conditional code.
8824 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8825 <kernel-features.h>.
8826 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8827 unconditional.
8828 (__setresgid): Do not declare.
8829 [__ASSUME_32BITUIDS]: Make code unconditional.
8830 [!__ASSUME_32BITUIDS]: Remove conditional code.
8831 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8832 <kernel-features.h>.
8833 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8834 unconditional.
8835 (__setresuid): Do not declare.
8836 [__ASSUME_32BITUIDS]: Make code unconditional.
8837 [!__ASSUME_32BITUIDS]: Remove conditional code.
8838 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8839 <kernel-features.h>.
8840 [__ASSUME_32BITUIDS]: Make code unconditional.
8841 [!__ASSUME_32BITUIDS]: Remove conditional code.
8842 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8843 <kernel-features.h>.
8844 [__ASSUME_32BITUIDS]: Make code unconditional.
8845 [!__ASSUME_32BITUIDS]: Remove conditional code.
8846
a386f1cc
RH
88472012-05-25 Richard Henderson <rth@twiddle.net>
8848
8849 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8850 dl_hwcap to ifunc resolver.
8851 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8852 elf_ifunc_invoke.
8853 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8854 dl_hwcap to ifunc resolver.
8855 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8856
b6550497
JM
88572012-05-24 Joseph Myers <joseph@codesourcery.com>
8858
8859 [BZ #14153]
8860 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8861 for |x| <= 2**-26, not 2**-57.
8862 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8863 exception.
8864
b0bc23a1
JL
88652012-05-24 Jeff Law <law@redhat.com>
8866
8867 * stdio-common/Makefile (tests): Add bug25.
8868 * stdio-common/bug25.c: New test.
8869
347c92e9
L
88702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8871
8872 [BZ #13576]
8873 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8874 multiple of MALLOC_ALIGNMENT in size.
8875 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8876
6bcc8b3f
JM
88772012-05-24 Joseph Myers <joseph@codesourcery.com>
8878
8879 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8880 Require >= 256.
8881 (FILENAME_MAX): Use macro-int-constant.
8882 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8883 (_IOFBF): Use macro-int-constant.
8884 (_IOLBF): Likewise.
8885 (_IONBF): Likewise.
8886 (SEEK_CUR): Likewise.
8887 (SEEK_END): Likewise.
8888 (SEEK_SET): Likewise.
8889 (TMP_MAX): Likewise.
8890 (EOF): Use macro-int-constant. Require < 0.
8891 (NULL): Use macro-constant. Require == 0.
8892 (stdin): Require type to be FILE *.
8893 (stdout): Likewise.
8894 (stderr): Likewise.
8895 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8896 macro-int-constant.
8897 (EXIT_SUCCESS): Likewise.
8898 (NULL): Use macro-constant. Require == 0.
8899 (RAND_MAX): Use macro-int-constant.
8900 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8901 [C99-based standards] (strtof): Require function.
8902 [C99-based standards] (strtold): Likewise.
8903 [C99-based standards] (strtoll): Likewise.
8904 [C99-based standards] (strtoull): Likewise.
8905 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8906 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8907 [ISO || ISO99 || ISO11] (math.h): Likewise.
8908 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8909 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8911
d18ea0c5
AS
89122012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8913
8914 [BZ #14132]
56d25bb8
AS
8915 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8916 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8917 * intl/dgettext.c (DCGETTEXT): Likewise.
8918 * intl/gettext.c (DCGETTEXT): Likewise.
8919 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8920 * posix/regex_internal.h (gettext): Likewise.
8921 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8922 Remove declaration.
8923 * include/argz.h (__argz_count_internal)
8924 (__argz_stringify_internal): Remove declaration.
8925 (__argz_count, __argz_stringify): Declare hidden proto.
8926 * intl/dcgettext.c: Remove use of INTDEF.
8927 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8928 * string/argz-stringify.c: Likewise.
8929 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8930 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8931 Declare hidden proto.
d18ea0c5
AS
8932 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8933 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8934 Declare hidden proto.
8935 * include/stdio.h (__asprintf_internal): Don't declare.
8936 (__asprintf): Don't define as macro. Declare hidden proto.
8937 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8938 (__fsetlocking): Declare hidden proto.
8939 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8940 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8941 hidden proto.
8942 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8943 (_IO_setlinebuf): Remove use of INTUSE.
8944 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8945 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8946 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8947 Remove declaration.
8948 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8949 (_IO_do_flush): Remove use of INTUSE.
8950 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8951 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8952 (_IO_adjust_column, _IO_least_wmarker)
8953 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8954 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8955 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8956 (_IO_default_doallocate, _IO_wdefault_doallocate)
8957 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8958 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8959 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8960 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8961 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8962 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8963 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8964 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8965 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8966 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8967 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8968 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8969 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8970 proto.
8971 (_IO_flush_all_internal, _IO_adjust_column_internal)
8972 (_IO_default_uflow_internal, _IO_default_finish_internal)
8973 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8974 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8975 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8976 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8977 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8978 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8979 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8980 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8981 (_IO_file_close_internal, _IO_file_close_it_internal)
8982 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8983 (_IO_file_init_internal, _IO_file_attach_internal)
8984 (_IO_file_fopen_internal, _IO_file_read_internal)
8985 (_IO_file_sync_internal, _IO_file_seek_internal)
8986 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8987 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8988 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8989 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8990 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8991 (_IO_list_all_internal, _IO_link_in_internal)
8992 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8993 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8994 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8995 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8996 (_IO_do_write_internal, _IO_padn_internal)
8997 (_IO_getline_info_internal, _IO_getline_internal)
8998 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8999 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9000 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9001 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9002 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9003 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9004 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9005 with libc_hidden_ver, remove use of INTUSE.
9006 * libio/genops.c: Likewise.
9007 * libio/freopen.c: Likewise.
9008 * libio/freopen64.c: Likewise.
9009 * libio/iofclose.c: Likewise.
9010 * libio/iofdopen.c: Likewise.
9011 * libio/iofflush.c: Likewise.
9012 * libio/iofflush_u.c: Likewise.
9013 * libio/iofgets.c: Likewise.
9014 * libio/iofgets_u.c: Likewise.
9015 * libio/iofopen.c: Likewise.
9016 * libio/iofopncook.c: Likewise.
9017 * libio/iofread.c: Likewise.
9018 * libio/iofread_u.c: Likewise.
9019 * libio/ioftell.c: Likewise.
9020 * libio/iofwrite.c: Likewise.
9021 * libio/iogetline.c: Likewise.
9022 * libio/iogets.c: Likewise.
9023 * libio/iogetwline.c: Likewise.
9024 * libio/iopadn.c: Likewise.
9025 * libio/iopopen.c: Likewise.
9026 * libio/ioseekoff.c: Likewise.
9027 * libio/ioseekpos.c: Likewise.
9028 * libio/iosetbuffer.c: Likewise.
9029 * libio/iosetvbuf.c: Likewise.
9030 * libio/ioungetc.c: Likewise.
9031 * libio/ioungetwc.c: Likewise.
9032 * libio/iovdprintf.c: Likewise.
9033 * libio/iovsprintf.c: Likewise.
9034 * libio/iovsscanf.c: Likewise.
9035 * libio/memstream.c: Likewise.
9036 * libio/obprintf.c: Likewise.
9037 * libio/oldfileops.c: Likewise.
9038 * libio/oldiofclose.c: Likewise.
9039 * libio/oldiofdopen.c: Likewise.
9040 * libio/oldiofopen.c: Likewise.
9041 * libio/oldiopopen.c: Likewise.
9042 * libio/oldstdfiles.c: Likewise.
9043 * libio/putc.c: Likewise.
9044 * libio/setbuf.c: Likewise.
9045 * libio/setlinebuf.c: Likewise.
9046 * libio/stdfiles.c: Likewise.
9047 * libio/strops.c: Likewise.
9048 * libio/vasprintf.c: Likewise.
9049 * libio/vscanf.c: Likewise.
9050 * libio/vsnprintf.c: Likewise.
9051 * libio/vswprintf.c: Likewise.
9052 * libio/wfiledoalloc.c: Likewise.
9053 * libio/wfileops.c: Likewise.
9054 * libio/wgenops.c: Likewise.
9055 * libio/wmemstream.c: Likewise.
9056 * libio/wstrops.c: Likewise.
9057 * libio/__fpurge.c: Likewise.
9058 * libio/__fsetlocking.c: Likewise.
9059 * assert/assert.c: Likewise.
9060 * debug/fgets_chk.c: Likewise.
9061 * debug/fgets_u_chk.c: Likewise.
9062 * debug/fread_chk.c: Likewise.
9063 * debug/fread_u_chk.c: Likewise.
9064 * debug/gets_chk.c: Likewise.
9065 * debug/obprintf_chk.c: Likewise.
9066 * debug/vasprintf_chk.c: Likewise.
9067 * debug/vdprintf_chk.c: Likewise.
9068 * debug/vsnprintf_chk.c: Likewise.
9069 * debug/vsprintf_chk.c: Likewise.
9070 * malloc/mtrace.c: Likewise.
9071 * misc/error.c: Likewise.
9072 * misc/syslog.c: Likewise.
9073 * stdio-common/asprintf.c: Likewise.
9074 * stdio-common/fxprintf.c: Likewise.
9075 * stdio-common/getw.c: Likewise.
9076 * stdio-common/isoc99_fscanf.c: Likewise.
9077 * stdio-common/isoc99_scanf.c: Likewise.
9078 * stdio-common/isoc99_vfscanf.c: Likewise.
9079 * stdio-common/isoc99_vscanf.c: Likewise.
9080 * stdio-common/isoc99_vsscanf.c: Likewise.
9081 * stdio-common/printf-prs.c: Likewise.
9082 * stdio-common/printf_fp.c: Likewise.
9083 * stdio-common/printf_fphex.c: Likewise.
9084 * stdio-common/printf_size.c: Likewise.
9085 * stdio-common/putw.c: Likewise.
9086 * stdio-common/scanf.c: Likewise.
9087 * stdio-common/sprintf.c: Likewise.
9088 * stdio-common/tmpfile.c: Likewise.
9089 * stdio-common/vfprintf.c: Likewise.
9090 * stdio-common/vfscanf.c: Likewise.
9091 * stdlib/strfmon_l.c: Likewise.
9092 * sunrpc/openchild.c: Likewise.
9093 * sunrpc/xdr_stdio.c: Likewise.
9094 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9095 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9096
d6c33fda
RM
90972012-05-24 Roland McGrath <roland@hack.frob.com>
9098
c1487492
RM
9099 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9100
9101 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9102 in the third column, to generate for the shared library an IFUNC
9103 that uses _dl_vdso_vsym.
9104 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9105 * Makeconfig (object-suffixes-noshared): New variable.
9106
9107 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9108 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9109 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9110 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9111
d6c33fda
RM
9112 [BZ #14132]
9113 * include/sys/time.h (__gettimeofday): Remove macro.
9114 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9115 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9116 Remove INTDEF.
9117 (__gettimeofday): Add libc_hidden_def.
9118 (gettimeofday): Add libc_hidden_weak.
9119 * sysdeps/mach/gettimeofday.c: Likewise.
9120 * sysdeps/posix/gettimeofday.c: Likewise.
9121 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9122 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9123 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9124 (__gettimeofday_internal): Remove strong_alias.
9125 (__gettimeofday): Add libc_hidden_def.
9126 (gettimeofday): Add libc_hidden_weak.
9127 * sysdeps/unix/syscalls.list (gettimeofday):
9128 Remove __gettimeofday_internal alias.
9129
b5a2bbe6
L
91302012-05-24 Daniel Jacobowitz <drow@false.org>
9131 H.J. Lu <hongjiu.lu@intel.com>
9132
9133 [BZ #12495]
9134 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9135 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9136 (largebin_index_32_big): New.
9137 (largebin_index): Use it for 16-byte alignment.
9138 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9139 correction with front_misalign.
9140
cfba4fda
L
91412012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9142
7f907421
L
9143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9145 Likewise.
9146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9147 Likewise.
9148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9149 Likewise.
9150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9151 Likewise.
9152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9153 Likewise.
9154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9155 Likewise.
9156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9157 Likewise.
9158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9159 Likewise.
9160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9161 Likewise.
9162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9163 Likewise.
9164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9165 Likewise.
9166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9167 Likewise.
9168
cfba4fda
L
9169 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9170 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9171
80bad0cc
JM
91722012-05-24 Joseph Myers <joseph@codesourcery.com>
9173
7a25eb06
JM
9174 [BZ #10846]
9175 [BZ #14036]
9176 * math/libm-test.inc (exp_test): Add test from bug 14036.
9177 (pow_test): Add test from bug 10846.
9178
795405f9
JM
9179 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9180 and other flags.
9181 (special_function): Do not include flags in test name.
9182 (parse_args): Likewise.
9183 * sysdeps/i386/fpu/libm-test-ulps: Update.
9184 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9185 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9186 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9188
80bad0cc
JM
9189 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9190 exceptions.
9191 * math/libm-test.inc ("Philosophy"): Update comment about
9192 exception testing.
9193 (UNDERFLOW_EXCEPTION): New macro.
9194 (UNDERFLOW_EXCEPTION_OK): Likewise.
9195 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9196 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9197 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9198 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9199 (INVALID_EXCEPTION_OK): Update value.
9200 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9201 (OVERFLOW_EXCEPTION_OK): Likewise.
9202 (IGNORE_ZERO_INF_SIGN): Likewise.
9203 (test_exceptions): Handle underflow exceptions.
9204 (acos_test): Update for underflow exception expectations.
9205 (cexp_test): Likewise.
9206 (clog_test): Likewise.
9207 (clog10_test): Likewise.
9208 (csqrt_test): Likewise.
9209 (ctan_test): Likewise.
9210 (ctanh_test): Likewise.
9211 (exp_test): Likewise.
9212 (exp10_test): Likewise.
9213 (exp2_test): Likewise.
9214 (expm1_test): Likewise.
9215 (fma_test): Likewise.
9216 (j0_test): Likewise.
9217 (jn_test): Likewise.
9218 (nexttoward_test): Likewise.
9219 (pow_test): Likewise.
9220 (scalbn_test): Likewise.
9221 (scalbln_test): Likewise.
9222 (tan_test): Likewise.
9223 (y1_test): Likewise.
9224 * sysdeps/i386/fpu/libm-test-ulps: Update.
9225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9226
9e0e3d0b
DM
92272012-05-23 David S. Miller <davem@davemloft.net>
9228
9229 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9230 (__libc_sigaction): Remove unused local variables.
9231
ccd0a08f
L
92322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9233
9234 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9235
62bdf9a6
PE
92362012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9237
f8591f80
PE
9238 mktime: avoid signed integer overflow
9239 * time/mktime.c (__mktime_internal): Do not mishandle the case
9240 where diff == INT_MIN.
9241
94c7d826
PE
9242 mktime: simplify computation of average
9243 * time/mktime.c (ranged_convert): Use new time_t_avg function
9244 instead of rolling our own (probably-slower) code.
9245
ce73d683
PE
9246 mktime: do not assume signed right shift propagates sign bit
9247 * time/mktime.c (isdst_differ): New static function.
9248 (__mktime_internal): No need to normalize tm_isdst now.
9249 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9250 tm_isdst values.
9251
72a22e59
PE
9252 mktime: merge another wrapv change from gnulib
9253 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9254 from some compilers.
9255
68605433
PE
9256 mktime: remove incorrect attempt at unusual arithmetics
9257 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9258 The code didn't really work on such machines anyway.
9259 (TYPE_MINIMUM): Assume two's complement.
9260 (twos_complement_arithmetic): Verify that long_int and time_t
9261 are two's complement (or unsigned, in the latter case).
9262
03cf7fe3
PE
9263 mktime: check signed shifts on long_int and time_t, too
9264 * time/mktime.c (SHR): Check that shifts work as desired
9265 on the types long_int and time_t too, as SHR is used on
9266 such types.
9267
f04dfbc2
PE
9268 mktime: do not assume 'long' is wide enough
9269 * time/mktime.c (verify): Move decl up.
9270 (long_int): New type.
9271 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9272 to remove assumption in the code that 'long' is wide enough to
9273 store year values. This assumption is not true on x32 and on
9274 some non-glibc platforms.
9275
62bdf9a6
PE
9276 mktime: merge wrapv change from gnulib
9277 * time/mktime.c (WRAPV): New macro.
9278 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9279 (guess_time_tm, __mktime_internal): Do not assume that signed
9280 integer overflow wraps around; modern compilers generate code
9281 where this assumption is no longer valid.
9282
5e292e4f
L
92832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9284
9285 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9286 Replace "jmp L(pseudo_end)" with "ret".
9287 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9288 Likewise.
9289
8caf8c87
AJ
92902012-05-23 Andreas Jaeger <aj@suse.de>
9291
9292 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9293 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9294
1a09dc56
AJ
92952012-05-23 Andreas Jaeger <aj@suse.de>
9296 Maximilian Attems <max@stro.at>
9297
9298 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9299 New macros.
9300
1c87aba0
L
93012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9302
9303 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9304 code so that pseudo_end is just ret and the stack pointer is
9305 correct also for static library in error case.
9306
40e45bd5
JM
93072012-05-23 Joseph Myers <joseph@codesourcery.com>
9308
c2670533
JM
9309 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9310 move to syscalls.list.
9311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9315
40e45bd5
JM
9316 * manual/install.texi (Running make install): Do not mention Linux
9317 kernel version for which pt_chown is not needed.
9318 (Linux): Do not mention problems with nscd with 2.0 kernels.
9319 * INSTALL: Regenerated.
9320
be08eda5
AJ
93212012-05-23 Andreas Jaeger <aj@suse.de>
9322
9323 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9324 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9325 macro.
9326 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9327 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9328 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9329 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9330 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9331 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9332 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9333 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9334 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9335 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9336 * sysdeps/unix/sysv/linux/bits/in.h
9337 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9338
a6a056bb
RM
93392012-05-22 Roland McGrath <roland@hack.frob.com>
9340
9341 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9342 (PREPARE_VERSION): Just use assert instead, it will be elided
9343 under [NDEBUG] anyway.
9344
c9009328
L
93452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9346
9347 * sysdeps/unix/sysv/linux/Makefile: Include
9348 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9349 (sysdep_routines): Remove sysctl.
c9009328
L
9350 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9351 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9352 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9353 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9354 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9355
73338355
AJ
93562012-05-22 Andreas Jaeger <aj@suse.de>
9357
9358 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9359 that pseudo_end is just ret and the stack pointer is correct also
9360 for static library in error case.
9361
d44638b0
PP
93622012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9363
9364 [BZ #14122]
9365 * nss/nsswitch.c (defconfig_entries): New variable.
9366 (__nss_database_lookup): Don't leak defconfig entries.
9367 (nss_parse_service_list): Don't leak on error paths.
9368 (free_database_entries): New function.
9369 (free_defconfig): New function.
9370 (free_mem): Move common code to free_database_entries.
9371
31a39bd8
L
93722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9373
da0331a8
L
9374 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9375 Add arch_prctl.
9376 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9377
31a39bd8
L
9378 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9379 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9380 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9381 New macro.
9382 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9383 (INTERNAL_SYSCALL_TYPES): Likewise.
9384 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9385 (LOAD_REGS_TYPES_[1-6]): Likewise.
9386 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9387 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9388
45470df3
AZ
93892012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9390
9391 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9392 copysignl for GLIBC_2_0.
9393 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9394 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9395 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9396 logbl for GLIBC_2_0.
9397 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9398 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9399
98a61bcb
L
94002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9401
a4f6e481
L
9402 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9403 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9404
f63d5db6
L
9405 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9406 Use "neg %eax".
9407
98a61bcb
L
9408 * time/mktime.c: Update copyright years.
9409
95770f14
PE
94102012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9411
6226efbd
PE
9412 mktime: merge comment-quoting-style change from gnulib
9413 * time/mktime.c: Quote 'like this' in comments.
9414 The GNU coding standards suggest that we no longer quote `like this',
9415 as "`" and "'" are typically rendered asymmetrically nowadays.
9416 The typical gnulib style is to quote 'like this' when quoting
9417 code, and "like this" when quoting English.
9418
b99e4f78
PE
9419 * time/mktime.c (compile-command): Add "-I.".
9420
643e01e6
PE
9421 mktime: merge mktime-internal.h change from gnulib
9422 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9423
2554247d
PE
9424 mktime: merge time_r change from gnulib
9425 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9426
826dd0ab
PE
9427 mktime: merge DEBUG change from gnulib
9428 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9429 case system <time.h> has a #define.
9430
bd83aabe
PE
9431 mktime: merge <sys/types.h> change from gnulib
9432 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9433 since <time.t> is now guaranteed to define time_t.
9434
95770f14
PE
9435 mktime: merge HAVE_CONFIG_H change from gnulib
9436 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9437
5e1a27a9
L
94382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9439
0e44a77e
L
9440 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9441 Use "neg %eax".
9442
5e1a27a9
L
9443 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9444 __rlim_t cast.
9445 (struct rusage): Use anonymous union to pad each field to
9446 __syscall_slong_t.
9447
46259bec
DM
94482012-05-21 David S. Miller <davem@davemloft.net>
9449
9450 * Makefules (o-iterator): Remove .s cases.
9451 (compile-command.s): Delete.
9452 (COMPILE.s): Delete.
9453 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9454
59f0c22e
JM
94552012-05-21 Joseph Myers <joseph@codesourcery.com>
9456
9457 * configure.in (libc_cv_predef_stack_protector): Only consider
9458 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9459 * configure: Regenerated.
9460
20c07380
L
94612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9462
bbb3154b
L
9463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9464 New macro. Use R*LP on int and pointer.
9465 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9466 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9467 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9468 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9469
20c07380
L
9470 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9471 [__WORDSIZE_TIME64_COMPAT32] instead of
9472 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9473 (struct utmp): Likewise.
9474 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9475 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9476 Renamed to ...
9477 (__WORDSIZE_TIME64_COMPAT32): This.
9478 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9479 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9480 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9481 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9482 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9483 (__WORDSIZE_TIME64_COMPAT32): New macro.
9484
d8d1017e
AJ
94852012-05-21 Andreas Jaeger <aj@suse.de>
9486
9487 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9488 only if [SHARED]. Add prototype for __wcschr_ia32.
9489
6c7fb145
RM
94902012-05-21 Roland McGrath <roland@hack.frob.com>
9491
9492 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9493 of %rbp unmolested in the jmp_buf while mangling the low bits.
9494 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9495 unmolested high bits of %rbp while demangling the low bits.
9496 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9497
66274218
AJ
94982012-05-21 Andreas Jaeger <aj@suse.de>
9499
07c58f8f
AJ
9500 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9501 * sunrpc/svc_simple.c: Use it for registerrpc.
9502 * sunrpc/xcrypt.c: Use it for passwd2des.
9503
66274218
AJ
9504 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9505
61f65140
L
95062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9507
9508 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9509 Don't define if [__SYSCALL_WORDSIZE != 32].
9510 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9511 New macro.
9512
5fefb436
AJ
95132012-05-21 Bruno Haible <bruno@clisp.org>
9514 Andreas Jaeger <aj@suse.de>
9515
9516 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9517 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9518 inptr and inend for must_buffer_ch.
9519 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9520 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9521 * stdio-common/Makefile (tests): Remove bug15.
9522 (bug15-ENV): Remove macro.
9523 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9524 anymore.
9525
d8e272ab
AJ
95262012-05-19 Andreas Jaeger <aj@suse.de>
9527 Roland McGrath <roland@hack.frob.com>
9528
9529 * manual/contrib.texi: Completely rewritten. It contains now an
9530 alphabetical list of contributors and their contributions.
9531
4a56a162
RH
95322012-05-21 Richard Henderson <rth@twiddle.net>
9533
9534 * misc/getauxval.c (__getauxval): Use unsigned long int.
9535 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9536 (getauxval): Use unsigned long int.
9537
d024d23c
L
95382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9539
9540 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9541
cbc00a03
RM
95422012-05-21 Roland McGrath <roland@hack.frob.com>
9543
9544 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9545 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9546 __alignof__ (long double).
9547
478143fa
AZ
95482012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9549
9550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9551
c7683a6d
RH
95522012-05-20 Richard Henderson <rth@twiddle.net>
9553
9554 * misc/getauxval.c: New file.
9555 * misc/sys/auxv.h: New file.
9556 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9557 (routines): Add getauxval.
9558 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9559 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9560 * elf/dl-sysdep.c (_dl_auxv): Remove.
9561 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9562 * elf/dl-support.c (_dl_auxv): New variable.
9563 (_dl_aux_init): Initialize it.
9564 * manual/startup.texi (Auxiliary Vector): New node.
9565 * sysdeps/generic/bits/hwcap.h: New file.
9566 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9567 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9568 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9569 * sysdeps/sparc/sysdep.h: ... here. Include it.
9570 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9571 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9573 Update.
c7683a6d
RH
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9577 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9582
a6f1845d
AZ
95832012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9584
9585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9586
cbcbe830
DM
95872012-05-19 David S. Miller <davem@davemloft.net>
9588
9589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9590
e0b16cc2
JM
95912012-05-19 Joseph Myers <joseph@codesourcery.com>
9592
9593 [BZ #14123]
9594 * math/s_ccosh.c: Include <float.h>
9595 (__ccosh): Avoid internal overflow calculating sinh and cosh
9596 values before multiplying by sin and cos values.
9597 * math/s_ccoshf.c: Likewise.
9598 * math/s_ccoshl.c: Likewise.
9599 * math/s_csin.c: Likewise.
9600 * math/s_csinf.c: Likewise.
9601 * math/s_csinl.c: Likewise.
9602 * math/s_csinh.c: Likewise.
9603 * math/s_csinhf.c: Likewise.
9604 * math/s_csinhl.c: Likewise.
9605 * math/libm-test.inc (ccos_test): Add more tests.
9606 (ccosh_test): Likewise.
9607 (csin_test): Likewise.
9608 (csinh_test): Likewise.
9609 * sysdeps/i386/fpu/libm-test-ulps: Update.
9610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9611
6ad13e08
L
96122012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9613
f66f0ce8
L
9614 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9615 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9616
6ad13e08
L
9617 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9618
b1d072a7
JM
96192012-05-19 Joseph Myers <joseph@codesourcery.com>
9620
9621 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9622 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9623 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9624 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9625 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9626 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9627 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9628 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9629 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9630 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9631 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9632 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9633 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9634 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9635 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9636 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9637 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9638 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9639 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9640 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9641 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9642 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9643 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9644 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9645 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9646 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9647 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9648 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9649 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9650 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9651 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9652
9eae47cb
AJ
96532012-05-18 Andreas Jaeger <aj@suse.de>
9654
9655 * csu/.gitignore: Delete.
9656
bb07f69f
L
96572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9658
9659 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9660 (timex): Use __syscall_slong_t.
9661
e6bdb741
AJ
96622012-05-18 Andreas Jaeger <aj@suse.de>
9663 Carlos O'Donell <carlos_odonell@mentor.com>
9664
9665 * manual/install.texi (Configuring and compiling): Update
9666 description about files modified in the source directory.
d6c33fda 9667 * INSTALL: Regenerated.
e6bdb741 9668
1b74487e
L
96692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9670
9671 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9672 value. Use "or" to set return value to -1.
9673 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9674 negate return value.
9675
a88b64b9
TMQMF
96762012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9677
9678 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9679 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9680 failure if the compiler has Graphite support disabled.
9681 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9682 Likewise.
9683 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9684 CFLAGS-memmove.c): Likewise.
9685 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9686 Likewise.
9687
3707636e
L
96882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9689
610b8622
L
9690 * sysdeps/x86_64/x32/_itoa.h: New file.
9691
7cd195df
L
9692 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9693 getdents system call only if kernel and user dirents have the
9694 same d_ino and d_off.
9695
94b07d20
L
9696 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9697 LLONG_MAX != LONG_MAX.
9698 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9699 (_fitoa_word): Likewise.
9700
18298070
L
9701 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9702 years.
9703 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9704 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9705 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9706
553c7ea4
L
9707 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9708 include <bits/wordsize.h>. Check __x86_64__ instead of
9709 __WORDSIZE.
9710 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9711 if __x86_64__ is defined. Use anonymous union on fpstate.
9712
3707636e
L
9713 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9714 anonymous union.
9715
b53ef01a
AS
97162012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9717
37fb1dc0
AS
9718 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9719 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9720 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9721 Refer to _rtld_local_ro instead of _rtld_global_ro.
9722 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9723 Likewise.
9724 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9725 Likewise.
9726 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9727 Likewise.
9728 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9729 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9730 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9731
b53ef01a
AS
9732 * sysdeps/powerpc/powerpc32/dl-machine.c
9733 (__elf_machine_runtime_setup) [PROF]: Don't reference
9734 _dl_prof_resolve.
9735
7a185db2
AJ
97362012-05-18 Andreas Jaeger <aj@suse.de>
9737
9738 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9739 function only available for GCCs before 3.4 since GCC 3.4
9740 introduced a builtin.
9741 (lrint): Likewise.
9742 (llrintf): Likewise.
9743 (llrint): Likewise.
9744 (fmaxf): Likewise.
9745 (fmax): Likewise.
9746 (fminf): Likewise.
9747 (fmin): Likewise.
9748 (rint): Likewise.
9749 (rintf): Likewise.
9750 (nearbyint): Likewise.
9751 (nearbyintf): Likewise.
9752 (ceil): Likewise.
9753 (ceilf): Likewise.
9754 (floor): Likewise.
9755 (floorf): Likewise.
9756
3e5aef87
L
97572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9758
428bd707
L
9759 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9760 on both fields and cast pointer to __syscall_ulong_t.
9761
3e5aef87
L
9762 * bits/types.h (__fsword_t): New type.
9763 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9764 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9766 (__FSWORD_T_TYPE): Likewise.
9767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9768 (__FSWORD_T_TYPE): Likewise.
9769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9770 (__FSWORD_T_TYPE): Likewise.
9771 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9772 (__FSWORD_T_TYPE): Likewise.
9773 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9774 __SWORD_TYPE with __fsword_t.
9775 (statfs64): Likewise.
9776
1ba7c3dc
DM
97772012-05-17 David S. Miller <davem@davemloft.net>
9778
9779 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9780
59910343
AJ
97812012-05-17 Andreas Jaeger <aj@suse.de>
9782
9783 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9784 warning.
9785
2e4c1e9e
L
97862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9787
9788 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9789
de7f5ce7
AJ
97902012-05-17 Andreas Jaeger <aj@suse.de>
9791
9792 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9793 when it is used.
9794
286abc3d
CM
97952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9796
9797 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9798
477cc68e
L
97992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9800
9801 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9802 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9803
1a0994f5
CD
98042012-05-17 Andreas Jaeger <aj@suse.de>
9805 Carlos O'Donell <carlos_odonell@mentor.com>
9806
9807 [BZ #14059]
9808 * sysdeps/x86_64/multiarch/init-arch.h
9809 (bit_YMM_Usable): Rename to...
9810 (bit_AVX_Usable): ... this.
9811 (bit_FMA4_Usable): New macro.
9812 (bit_XMM_state): New macro.
9813 (bit_YMM_state): New macro.
9814 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9815 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9816 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9817 (CPUID_OSXSAVE): New macro.
9818 (CPUID_AVX): New macro.
9819 (CPUID_FMA4): New macro.
9820 (index_YMM_Usable): Rename to...
9821 (index_AVX_Usable): ... this.
9822 (HAS_AVX): Use HAS_ARCH_FEATURE.
9823 (HAS_FMA4): Likewise.
9824 (HAS_YMM_USABLE): Remove.
9825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9826 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9827 are present.
9828 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9829 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9830 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9831 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9832 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9833
0af797de
CM
98342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9835
9836 * math/libm-test.c: Support platforms without multiple rounding modes.
9837 * math/bug-nextafter.c: Support platforms without FP exceptions.
9838 * math/bug-nexttoward.c: Likewise.
9839 * math/test-fenv.c: Likewise.
9840 * math/test-misc.c: Likewise.
9841 * stdlib/bug-getcontext.c: Likewise.
9842
e39745ff
AJ
98432012-05-17 Andreas Jaeger <aj@suse.de>
9844
9845 * manual/examples/search.c (critter_cmp): Change signature to
9846 avoid warnings.
9847 * manual/string.texi (Collation Functions): Likewise.
9848
48970aba
L
98492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9850
9851 * bits/types.h: Fold copyright years.
9852 * bits/typesizes.h: Likewise.
9853 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9857 * time/time.h: Likewise.
9858
bedee953
PP
98592012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9860
9861 [BZ #208]
9862 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9863 in instead of returning them. Return void.
9864 (__libc_mallinfo): Accumulate over all arenas.
9865 (__malloc_stats): Adjust for change in int_mallinfo interface.
9866
61653dfb
RM
98672012-05-16 Roland McGrath <roland@hack.frob.com>
9868
30b99d79
RM
9869 [BZ #10375]
9870 * configure.in (NM): Add AC_CHECK_TOOL for it.
9871 (libc_extra_cflags): New substituted variable.
9872 Check for -fstack-protector being used implicitly.
9873 * configure: Regenerated.
9874 * config.make.in (config-extra-cflags): New variable,
9875 gets @libc_extra_cflags@.
9876 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9877
61653dfb
RM
9878 [BZ #10375]
9879 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9880 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9881 * configure: Regenerated.
9882 * config.make.in (CPPUNDEFS): New substituted variable.
9883 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9884 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9885 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9886
661768bb
L
98872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9888
9889 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9890 (mq_attr): Use __syscall_slong_t.
9891
d4261567
L
98922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9893
9894 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9895 Check __x86_64__ instead of __WORDSIZE.
9896 (_STAT_VER_LINUX): Likewise.
9897 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9898 __syscall_ulong_t and __syscall_slong_t.
9899 (stat64): Likewise.
9900
cf3ff365
L
99012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9902
9903 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9904
76cf3e4d
L
99052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9906
9907 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9908
a637753a
L
99092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9910
9911 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9912 __syscall_ulong_t.
9913
d5e05119
L
9914 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9915 include <bits/wordsize.h>. Check __x86_64__ instead of
9916 __WORDSIZE.
9917 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9918 defined.
9919 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9920
f62ee380
L
9921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9922 include <bits/wordsize.h>. Check __x86_64__ instead of
9923 __WORDSIZE.
9924 (user_regs_struct): Use "__extension__ unsigned long long"
9925 instead of "unsigned long" if __x86_64__ is defined.
9926 (user): Likewise. Pad after pointer field if __ILP32__ is
9927 defined.
9928
4e124ced
JM
99292012-05-16 Joseph Myers <joseph@codesourcery.com>
9930
6a3951a0
JM
9931 * configure.in (makeinfo): Require version 4.5 or later. Allow
9932 versions 5 to 9.
9933 * configure: Regenerated.
9934 * manual/install.texi (texinfo): Increase version requirement to
9935 4.5 or later.
9936 * INSTALL: Regenerated.
9937
4e124ced
JM
9938 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9939
953ca31a
L
99402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9941
9942 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9943
617aca05
L
9944 * sysdeps/x86_64/x32/ffs.c: New file.
9945
5762f7ae
L
9946 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9947 __syscall_ulong_t.
9948 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9949 defined. Use __syscall_ulong_t.
9950 (shminfo): Use __syscall_ulong_t.
9951 (shm_info): Likewise.
9952
a26b6856
L
9953 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9954 __syscall_ulong_t.
9955
cb2b9ef7
L
9956 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9957 <bits/wordsize.h>.
9958 (msgqnum_t): Use __syscall_ulong_t.
9959 (msglen_t): Likewise.
9960 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9961 __syscall_ulong_t.
9962
34683bb0
L
9963 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9964 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9965
84a68786
L
9966 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9967
48baa5f1
L
9968 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9969 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9970
180be88b
L
9971 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9972 __syscall_slong_t.
9973
5e90c8ad
L
9974 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9975 include <bits/wordsize.h>. Check __x86_64__ instead of
9976 __WORDSIZE.
9977
23dfb58b
L
9978 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9979 "unsigned long long int" if __x86_64__ is defined.
9980 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9981
ce5d54b0
L
9982 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9983 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9984 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9985
13dc9eac
L
9986 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9987 <stdint.h>.
9988 (GET_PC): Cast to uintptr_t first.
9989 (GET_FRAME): Likewise.
9990 (GET_STACK): Likewise.
9991
a7895d15
L
9992 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9993 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9994 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9995 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9996 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9997 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9998 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9999 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10000 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10001 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10002 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10003 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10004 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10005 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10006 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10007 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10008 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10009 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10010 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10011 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10012 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10013 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10014 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10015 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10016 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10017 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10018 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10019 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10020 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10021
656416c9
AS
100222012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10023
5bd66283
AS
10024 * Makerules (+depfiles): Also collect depfiles from .oS in
10025 $(extra-objs).
10026 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10027 .oS, $(libnldbl-routines)).
10028
656416c9
AS
10029 * Makerules (native-compile-mkdep-flags): Define.
10030 * sunrpc/Makefile (extra-objs): Add $(addprefix
10031 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10032 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10033 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10034 calling $(make-target-directory).
10035
a46f2169
L
100362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10037
10038 * bits/types.h (__snseconds_t): Removed.
10039 * time/time.h (struct timespec): Replace __snseconds_t with
10040 __syscall_slong_t.
10041 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10042 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10043 Likewise.
10044 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10045 (__SNSECONDS_T_TYPE): Likewise.
10046 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10047 (__SNSECONDS_T_TYPE): Likewise.
10048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10049 (__SNSECONDS_T_TYPE): Likewise.
10050
6af6528b
L
100512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10052
10053 * sysdeps/mach/hurd/bits/typesizes.h
10054 (__SYSCALL_SLONG_TYPE): New macro.
10055 (__SYSCALL_ULONG_TYPE): Likewise.
10056
de986b56
L
100572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10058
10059 * bits/types.h (__syscall_slong_t): New type.
10060 (__syscall_ulong_t): Likewise.
10061
10062 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10063 (__SYSCALL_ULONG_TYPE): Likewise.
10064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10065 (__SYSCALL_SLONG_TYPE): Likewise.
10066 (__SYSCALL_ULONG_TYPE): Likewise.
10067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10068 (__SYSCALL_SLONG_TYPE): Likewise.
10069 (__SYSCALL_ULONG_TYPE): Likewise.
10070 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10071 (__SYSCALL_SLONG_TYPE): Likewise.
10072 (__SYSCALL_ULONG_TYPE): Likewise.
10073
85736dc7
L
100742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10075
10076 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10077 Add sigaltstack-offsets.sym.
10078 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10079 <sigaltstack-offsets.h>.
10080 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10081 longjmp_msg pointer.
10082 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10083 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10084 signal stack.
10085 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10086
cc03b296
JM
100872012-05-15 Joseph Myers <joseph@codesourcery.com>
10088
a9538892
JM
10089 * elf/stackguard-macros.h: Remove file.
10090 * sysdeps/generic/stackguard-macros.h: New file.
10091 * sysdeps/i386/stackguard-macros.h: Likewise.
10092 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10093 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10094 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10095 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10096 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10097 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10098 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10099 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10100 <elf/stackguard-macros.h>.
10101
cc03b296
JM
10102 [BZ #14109]
10103 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10104 __aligned__ in attribute.
10105 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10106 (gregset_t): Likewise.
10107
93171016
L
101082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10109
10110 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10111 * sysdeps/x86_64/64/Implies-after: Here. New file.
10112 * sysdeps/x86_64/x32/Implies-after: New file.
10113
d86813a0
L
101142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10115
10116 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10117 and access return value for _dl_profile_fixup. Use R10_LP to
10118 load frame size.
10119
2953ec75
L
101202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10121
10122 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10123
3b550e9e
L
101242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10125
10126 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10127 * sysdeps/x86_64/x32/sysdep.h: New file.
10128
eda41706
L
101292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10130
10131 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10132 * sysdeps/x86_64/setjmp.S: Likewise.
10133
9ea01d93
AZ
101342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10135
10136 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10137 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10138 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10139 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10140 remove unused global constant.
10141
02a91938
CM
101422012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10143
10144 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10145 include of <not-cancel.h>.
10146
6540185f
RM
101472012-05-15 Roland McGrath <roland@hack.frob.com>
10148
10149 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10150
509072a0
AJ
101512012-05-15 Jeff Law <law@redhat.com>
10152 Andreas Jaeger <aj@suse.de>
10153
10154 [BZ #13594]
10155 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10156 out from...
10157 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10158 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10159 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10160 code changing __hst_map_handle.map.
10161
ba75122d
RM
101622012-05-15 Roland McGrath <roland@hack.frob.com>
10163
10164 * configure.in (sysnames): Look for Implies-before and Implies-after
10165 files.
10166 * configure: Regenerated.
10167
890d8bd8
L
101682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10169
10170 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10171 8-byte data alignment with LP_SIZE alignment.
10172
f6ee6623
L
101732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10174
10175 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10176 into R10_LP.
10177
ea2626f6
L
101782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10179
10180 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10181
085f715e
L
101822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10183
10184 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10185 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10186 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10187 Likewise.
10188 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10189
be8498fc
L
101902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10191
10192 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10193 (stackinfo_sub_sp): Likewise.
10194
70bc83b9
L
101952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10196
10197 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10198 RAX_LP.
10199
9bc0b730
L
102002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10201
10202 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10203 into R*_LP.
10204
6d2850e7
L
102052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10206
10207 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10208 sizes into R*_LP.
10209
3cb84561
L
102102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10211
10212 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10213
54e2ed81
L
102142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10215
10216 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10217 into R11_LP and load __x86_64_shared_cache_size_half into
10218 R8_LP.
10219
8a17f349
L
102202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10221
10222 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10223 R8_LP.
10224
777b1eea
AZ
102252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10226
10227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10228 logb for POWER7.
10229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10230 logbf for POWER7.
10231 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10232 logbl for POWER7.
10233 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10234 powerpc32/power7/fpu/s_logb.c via #include.
10235 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10236 powerpc32/power7/fpu/s_logbf.c via #include.
10237 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10238 powerpc32/power7/fpu/s_logbl.c via #include.
10239
d20d4ac2
JM
102402012-05-15 Joseph Myers <joseph@codesourcery.com>
10241
10242 * README.libm: Remove file.
10243
6cdef1ab
L
102442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10245
10246 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10247 count for x32. Use R*_LP and omit operand-size suffix.
10248
0b254d8f
L
102492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10250
10251 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10252 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10253 * sysdeps/x86_64/x32/shlib-versions: New file.
10254
ceb809dc
RM
102552012-05-14 Roland McGrath <roland@hack.frob.com>
10256
10257 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10258 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10259 Use _dl_fatal_printf instead.
10260
37f1abd4
JM
102612012-05-14 Joseph Myers <joseph@codesourcery.com>
10262
10263 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10264 set if not set by the user. Do not allow for being unset.
10265 * sysdeps/unix/sysv/linux/configure: Regenerated.
10266
11de3a33
L
102672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10268
10269 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10270 the `q' suffix from lea and replace .quad with ASM_ADDR.
10271
e02f153a
L
102722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10273
10274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10275 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10276 instead of $17.
10277 (PTR_DEMANGLE): Likewise.
10278
520ae0fd
L
102792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10280
10281 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10282 (LP_OP): Likewise.
10283 (ASM_ADDR): Likewise.
10284 (RAX_LP): Likewise.
10285 (RBP_LP): Likewise.
10286 (RBX_LP): Likewise.
10287 (RCX_LP): Likewise.
10288 (RDI_LP): Likewise.
10289 (RSI_LP): Likewise.
10290 (RSP_LP): Likewise.
10291 (R8_LP): Likewise.
10292 (R9_LP): Likewise.
10293 (R10_LP): Likewise.
10294 (R10_LP): Likewise.
10295 (R11_LP): Likewise.
10296 (R12_LP): Likewise.
10297 (R13_LP): Likewise.
10298 (R14_LP): Likewise.
10299 (R15_LP): Likewise.
10300
b985be81
L
103012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10302
10303 * sysdeps/x86_64/x32/dl-machine.h: New file.
10304
6a4888ff
AJ
103052012-05-14 Andreas Jaeger <aj@suse.de>
10306
10307 * manual/Makefile (subdir): Remove export of subdir.
10308 (all): Remove target.
10309 (.PHONY): Remove all from list.
10310 (mkinstalldirs): Remove.
10311 (.PHONY): Remove installdirs from list.
10312 ($(inst_infodir)/libc.info): Use make-target-directory.
10313 (installdirs): Remove.
10314 (subdir_%): Remove.
10315 (glibc-targets): Remove.
10316 (lib): Remove.
10317 (stubs): Remove.
10318 ($(objpfx)stubs ../po/manual.pot): Remove.
10319 ($(objpfx)stamp%): Remove.
10320 (make-target-directory): Remove.
10321 (subdir_install): Remove.
10322 (routines): Remove.
10323 (aux): Remove.
10324 (sources): Remove.
10325 (objects): Remove.
10326 (headers): Remove.
10327
10328 [BZ #13750]
10329 * manual/.gitignore: Remove, it's not needed anymore.
10330 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10331 all files in it.
10332 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10333 directory.
10334 (texis): Renamed to $(objpfx)texis.
10335 (texis-path): New, contains path to generated files.
10336 (chapters.%): Use texis-path for complete path, add extra argument
10337 libc-texinfo.sh.
10338 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10339 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10340 (summary,texi, stamp-summary): Use complete path of
10341 files. Generate files in build dir.
10342 (dir-add.texi): Build in build dir.
10343 (libm-err.texi,stamp-libm-err): Likewise.
10344 (version.texi, stamp-version): Likewise.
10345 (.%c.texi): Likewise.
10346 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10347 (mostlyclean): Remove target.
10348 (realclean): Remove target.
10349 (generated): Add new variable with contents from mostlyclean and
10350 realclean, remove entries duplicated in common-mostlyclean, add
10351 stamp-libm-err and stamp-version.
10352 (generated-dirs): Add libc directory.
10353 ($(inst_infodir)/libc.info): Install files from build dir.
10354
10355 * manual/install.texi (Configuring and compiling): Adjust since
10356 the info files are not part of the tar ball anymore.
10357
7ac77294
AJ
103582012-05-14 Andreas Jaeger <aj@suse.de>
10359
10360 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10361 variable.
10362
ffb7875d
JM
103632012-05-14 Joseph Myers <joseph@codesourcery.com>
10364
10365 [BZ #13717]
10366 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10367 to 2.2.0 where earlier.
10368 * sysdeps/unix/sysv/linux/configure: Regenerated.
10369 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10370 Remove conditional code.
10371 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10372 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10373 Remove conditional code.
10374 [!__NR_lchown]: Likewise.
10375 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10376 [__NR_lchown]: Likewise.
10377 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10378 comment referencing __ASSUME_LCHOWN_SYSCALL.
10379 * sysdeps/unix/sysv/linux/i386/sigaction.c
10380 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10381 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10382 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10383 Remove conditional code.
10384 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10385 (__protocol_available): Remove #if 0 code.
10386 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10387 conditional code.
10388 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10389 * sysdeps/unix/sysv/linux/kernel-features.h
10390 (__ASSUME_GETCWD_SYSCALL): Don't define.
10391 (__ASSUME_REALTIME_SIGNALS): Likewise.
10392 (__ASSUME_PREAD_SYSCALL): Likewise.
10393 (__ASSUME_PWRITE_SYSCALL): Likewise.
10394 (__ASSUME_POLL_SYSCALL): Likewise.
10395 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10396 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10397 non-SPARC.
10398 (__ASSUME_SIOCGIFNAME): Don't define.
10399 (__ASSUME_MSG_NOSIGNAL): Likewise.
10400 (__ASSUME_SENDFILE): Define unconditionally.
10401 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10402 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10403 conditional code.
10404 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10405 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10406 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10407 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10408 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10409 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10410 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10412 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10413 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10415 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10416 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10418 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10419 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10421 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10424 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10427 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10430 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10431 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10433 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10435 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10436 Remove conditional code.
10437 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10438 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10439 Remove conditional code.
10440 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10441 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10442 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10443 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10444 Remove conditional code.
10445 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10446 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10447 Remove conditional code.
10448 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10449 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10450 Remove conditional code.
10451 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10452 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10453 Remove conditional code.
10454 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10455 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10456 Remove conditional code.
10457 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10458 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10459 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10460 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10461 * sysdeps/unix/sysv/linux/sigaction.c
10462 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10463 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10464 * sysdeps/unix/sysv/linux/sigpending.c
10465 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10466 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10467 * sysdeps/unix/sysv/linux/sigprocmask.c
10468 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10469 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10470 * sysdeps/unix/sysv/linux/sigsuspend.c
10471 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10472 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10473 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10474 (__libc_missing_rt_sigs): Remove.
10475 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10476 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10477 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10478 Remove conditional code.
10479 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10480 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10481 return 1.
10482 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10483 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10484 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10485 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10486
1bfb7291
AJ
104872012-05-14 Andreas Jaeger <aj@suse.de>
10488
caae5a81
AJ
10489 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10490 it's not used in glibc.
10491 (__coshm1): Likewise.
10492 (__acosh1p): Likewise.
10493 (__sgn): Likewise.
10494
1bfb7291
AJ
10495 * manual/string.texi (Copying and Concatenation): Add missing
10496 variable in concat example.
10497 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10498
c044d724
L
104992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10500
144c5467 10501 [BZ #14103]
c044d724
L
10502 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10503 __builtin_clzl with __builtin_clzll.
10504
2523c62b
L
105052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10506
10507 [BZ #14104]
10508 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10509 libc_freeres_ptr.
10510
d7bb4c42
LD
105112012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10512
10513 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10514 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10515 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10516 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10517
9dc4e1fb
MF
105182012-05-14 Mike Frysinger <vapier@gentoo.org>
10519
10520 * NEWS: Update ia64 info.
10521
c7df0112
AS
105222012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10523
10524 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10525 used as bcopy.
10526
dc70356c
TS
105272012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10528
10529 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10530 * sysdeps/unix/syscalls.list (dup3): Likewise.
10531 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10532 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10533
9fb1a21f
L
105342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10535
10536 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10537 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10538
4822a2a5
L
105392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10540
10541 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10542 thread pointer.
10543 (TLS_IE): Use mov/add instead of movq/addq to load thread
10544 pointer.
10545 (TLS_GD_PREFIX): New.
10546 (TLS_GD): Use it.
10547
842b81d6
DM
105482012-05-11 David S. Miller <davem@davemloft.net>
10549
10550 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10551 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10552 (_FPU_SETCW): Likewise.
10553
1cf463cd
L
105542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10555
10556 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10557 is 32-byte aligned.
10558
60cc4a18
AS
105592012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10560
10561 [BZ #11837]
10562 * iconvdata/gb18030.c: Update tables.
10563 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10564 characters specially.
10565 (BODY for TO_LOOP): Add encoding of missing ranges.
10566
febb44a4
TS
105672012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10568
10569 [BZ #13673]
10570 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10571 * sysdeps/mach/hurd/dup3.c: Likewise.
10572 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10573 * sysdeps/powerpc/memmove.c:: Likewise.
10574
0a10fb9e
L
105752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10576
10577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10578 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10579
df8a552f
L
105802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10581
10582 * elf/elf.h (R_X86_64_RELATIVE64): New.
10583 (R_X86_64_NUM): Updated.
10584 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10585 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10586 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10587 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10588 tst-quad1pie tst-quad2pie
10589 (modules-names): Add tst-quadmod1 tst-quadmod2.
10590 ($(objpfx)tst-quad1): New dependency.
10591 ($(objpfx)tst-quad2): Likewise.
10592 ($(objpfx)tst-quad1pie): Likewise.
10593 ($(objpfx)tst-quad2pie): Likewise.
10594 * sysdeps/x86_64/tst-quad1.c: New file.
10595 * sysdeps/x86_64/tst-quad1pie.c: New file.
10596 * sysdeps/x86_64/tst-quad2.c: Likewise.
10597 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10598 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10599 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10600 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10601 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10602
f34d6f84
ST
106032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10604
f42d41d1
ST
10605 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10606 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10607 * streams/stropts.h (t_scalar_t): Define type.
10608
3c3571fc
ST
10609 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10610 (_PATH_PRESERVE): Set to "/var/lib".
10611 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10612
61f06bd3
ST
10613 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10614 instead of int.
10615
918d4d71
ST
10616 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10617 if __dir_mkfile succeeded.
10618
f34d6f84
ST
10619 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10620 checking for _hurd_dtablesize. Unlock it right after having
10621 finished _hurd_dtable allocation.
10622
10589b4a
TS
106232012-05-10 Thomas Schwinge <thomas@schwinge.name>
10624
674cdbc7
TS
10625 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10626 * sysdeps/mach/hurd/configure: Regenerated.
10627 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10628 special-casing to...
10629 * sysdeps/gnu/configure.in: ... this new file.
10630 * sysdeps/unix/sysv/linux/configure: Regenerated.
10631 * sysdeps/gnu/configure: New generated file.
10632
8e41b99f
TS
10633 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10634 for Linux: use nsec instead of usec, as well as:
10635 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10636 members of type struct timespec.
10637 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10638 New macros.
10639 (struct stat64): Likewise.
10640 (_STATBUF_ST_NSEC): New macro.
10641 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10642
10589b4a
TS
10643 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10644 __strtoul_internal rather than strtoul.
10645
63643c85
PT
106462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10647
10648 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10649 and reject them.
10650
3faebe6a
ST
106512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10652
10653 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10654 which preserves existing values.
10655 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10656
c6474b07
PT
106572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10658
10659 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10660 TIMEOUT values. Return EINVAL for NFDS values either negative or
10661 greater than FD_SETSIZE.
10662
1043890b
ST
106632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10664
10665 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10666 allocated, call __vm_protect to finish enabling the existing space, and
10667 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10668 allocate the remainder.
10669
37ed8b9b
PT
106702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10671
10672 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10673 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10674
db653660
ST
106752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10676
37ed8b9b
PT
10677 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10678 sysdeps/mach/hurd/readlink.c.
b29d4053 10679
db653660
ST
10680 * posix/tst-sysconf.c (posix_options): Only use
10681 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10682 _POSIX_SYNCHRONIZED_IO when they are defined
10683 * sysdeps/mach/hurd/bits/posix_opt.h:
10684 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10685 (_XOPEN_REALTIME): Undefine macro.
10686 (_XOPEN_REALTIME_THREADS): Undefine macro.
10687 (_XOPEN_SHM): Undefine macro.
10688 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10689 macro to -1.
10690 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10691 macro to -1.
10692 (_POSIX_ASYNC_IO): Undefine macro.
10693 (_POSIX_PRIORITIZED_IO): Undefine macro.
10694 (_POSIX_SPIN_LOCKS): Define macro to -1.
10695
ee16e894
ST
10696 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10697 SA_NODEFER, SA_RESETHAND.
10698 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10699 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10700 F_DUPFD_CLOEXEC.
10701
6103ae3b
TS
107022012-05-10 Thomas Schwinge <thomas@schwinge.name>
10703
10704 * elf/Makefile (pldd-modules): Define unconditionally.
10705
80b4e5f3
TS
107062012-05-10 Thomas Schwinge <thomas@schwinge.name>
10707
10708 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10709
edadcbd6
ST
107102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10711
10712 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10713 Return ENOENT when name is empty.
10714 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10715
80694780
TS
107162012-05-10 Thomas Schwinge <thomas@schwinge.name>
10717
1792c087
TS
10718 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10719
80694780
TS
10720 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10721
6b645f0d
ST
107222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10723
80694780
TS
10724 Fix mlock in all cases except non-readable pages.
10725 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10726 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10727
6b645f0d
ST
10728 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10729 (__mkdir): When path is `/', just fail with EEXIST.
10730 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10731
e468f8a3
TS
107322012-05-10 Thomas Schwinge <thomas@schwinge.name>
10733
10734 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10735 <sys/uio.h> (for writev).
10736 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10737 and <sys/param.h> (for MIN).
10738
a4186cff
PT
107392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10740
10741 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10742 REQUESTED_TIME. Properly set the remaining time and return EINTR
10743 if interrupted.
10744
510bbf14
TS
107452012-05-10 Thomas Schwinge <thomas@schwinge.name>
10746
10747 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10748 Depend on against $(link-rpcuserlibs).
10749
5d5722e8
ST
107502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10751
a4186cff
PT
10752 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10753 (__libc_stack_end): Do not use attribute_relro.
10754 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10755 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10756 to libthread-provided value.
a4186cff
PT
10757 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10758 attribute_relro.
5d5722e8 10759
37233df9
TS
107602012-05-10 Thomas Schwinge <thomas@schwinge.name>
10761
be971a2b
TS
10762 [BZ #3748]
10763 * bits/libc-lock.h (__libc_once_get): New macro.
10764 * sysdeps/mach/bits/libc-lock.h: Likewise.
10765 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10766 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10767 instead of using implementation details.
10768
37233df9
TS
10769 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10770 * libio/freopen.c: Likewise.
10771 * libio/freopen64.c: Likewise.
10772 * misc/syslog.c: Likewise.
10773 * nscd/connections.c: Likewise.
10774 * nscd/netgroupcache.c: Likewise.
10775 * sysdeps/posix/getcwd.c: Likewise.
10776
38de94a5
RM
107772012-05-10 Roland McGrath <roland@hack.frob.com>
10778
10779 * math/w_ilogbf.c: Add #include <limits.h>.
10780
67530489
ST
107812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10782
a4186cff 10783 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10784 path instead of returning without unlocking.
10785
67530489
ST
10786 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10787 immediate-write ioctls.
10788 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10789
5aa3a74a
TS
107902012-05-10 Thomas Schwinge <thomas@schwinge.name>
10791
18bad2ae
TS
10792 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10793 __builtin_frame_address instead of making assumptions about the
10794 location of the return address relative to DATA. Force early load of
10795 the return address.
10796 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10797 __builtin_frame_address.
10798
5aa3a74a
TS
10799 dup3 for GNU Hurd.
10800 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10801 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10802 implement dup3 and do some further code clean-ups.
10803 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10804 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10805
ecd0de9a
ST
108062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10807
cd9fa985
ST
10808 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10809
a4186cff
PT
10810 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10811 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10812 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10813 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10814 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10815 d->port.lock.
802ca5a5 10816
a4186cff
PT
10817 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10818 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10819 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10820
bcf55240
TS
108212012-05-10 Thomas Schwinge <thomas@schwinge.name>
10822
6960eb42
TS
10823 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10824 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10825 definitions.
10826
eb43375f
TS
10827 accept4 for GNU Hurd.
10828 * include/sys/socket.h (__libc_accept4): New prototype.
10829 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10830 to implement __libc_accept4.
10831 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10832 __libc_accept4.
10833 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10834
bcf55240
TS
10835 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10836 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10837 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10838 signal-defines.sym.
10839
6178c55b
ST
108402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10841
a4186cff 10842 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10843
6f080c2f
TS
108442012-05-10 Thomas Schwinge <thomas@schwinge.name>
10845
10846 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10847 assertion on O_CLOEXEC flag.
10848 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10849 * hurd/intern-fd.c: Likewise.
10850 * hurd/port2fd.c: Likewise.
10851
bcfe3a54
ST
108522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10853
10854 [BZ #3906]
10855 * bits/in.h (IPV6_PKTINFO): Define new macro.
10856 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10857
89c9aa49
AZ
108582012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10859
10860 [BZ #13954]
10861 [BZ #13955]
10862 [BZ #13956]
10863 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10864 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10865 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10866 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10868 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10869 * math/libm-test.inc (logb_test) : Additional logb tests.
10870
021db4be
AJ
108712012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10872 Andreas Jaeger <aj@suse.de>
10873
10874 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10875 * configure: Regenerated.
10876 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10877 * config.make.in (link-obsolete-rpc): New substituted variable.
10878 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10879 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10880 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10881 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10882 so that libc.a contains the symbols.
10883 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10884 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10885 * sunrpc/auth_none.c: Likewise.
10886 * sunrpc/auth_unix.c: Likewise.
10887 * sunrpc/authdes_prot.c: Likewise.
10888 * sunrpc/authuxprot.c: Likewise.
10889 * sunrpc/clnt_gen.c: Likewise.
10890 * sunrpc/clnt_perr.c: Likewise.
10891 * sunrpc/clnt_raw.c: Likewise.
10892 * sunrpc/clnt_simp.c: Likewise.
10893 * sunrpc/clnt_tcp.c: Likewise.
10894 * sunrpc/clnt_udp.c: Likewise.
10895 * sunrpc/clnt_unix.c: Likewise.
10896 * sunrpc/des_crypt.c: Likewise.
10897 * sunrpc/des_soft.c: Likewise.
10898 * sunrpc/get_myaddr.c: Likewise.
10899 * sunrpc/key_call.c: Likewise.
10900 * sunrpc/key_prot.c: Likewise.
10901 * sunrpc/netname.c: Likewise.
10902 * sunrpc/pm_getmaps.c: Likewise.
10903 * sunrpc/pm_getport.c: Likewise.
10904 * sunrpc/pmap_clnt.c: Likewise.
10905 * sunrpc/pmap_prot.c: Likewise.
10906 * sunrpc/pmap_prot2.c: Likewise.
10907 * sunrpc/pmap_rmt.c: Likewise.
10908 * sunrpc/publickey.c: Likewise.
10909 * sunrpc/rpc_cmsg.c: Likewise.
10910 * sunrpc/rpc_common.c: Likewise.
10911 * sunrpc/rpc_dtable.c: Likewise.
10912 * sunrpc/rpc_prot.c: Likewise.
10913 * sunrpc/rpc_thread.c: Likewise.
10914 * sunrpc/rtime.c: Likewise.
10915 * sunrpc/svc.c: Likewise.
10916 * sunrpc/svc_auth.c: Likewise.
10917 * sunrpc/svc_raw.c: Likewise.
10918 * sunrpc/svc_run.c: Likewise.
10919 * sunrpc/svc_tcp.c: Likewise.
10920 * sunrpc/svc_udp.c: Likewise.
10921 * sunrpc/svc_unix.c: Likewise.
10922 * sunrpc/svcauth_des.c: Likewise.
10923 * sunrpc/xcrypt.c: Likewise.
10924 * sunrpc/xdr.c: Likewise.
10925 * sunrpc/xdr_array.c: Likewise.
10926 * sunrpc/xdr_float.c: Likewise.
10927 * sunrpc/xdr_intXX_t.c: Likewise.
10928 * sunrpc/xdr_mem.c: Likewise.
10929 * sunrpc/xdr_rec.c: Likewise.
10930 * sunrpc/xdr_ref.c: Likewise.
10931 * sunrpc/xdr_sizeof.c: Likewise.
10932 * sunrpc/xdr_stdio.c: Likewise.
10933
b5c086a2
RM
109342012-05-10 Roland McGrath <roland@hack.frob.com>
10935
10936 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10937 change. Update copyright years.
10938
6d74dd09
JM
109392012-05-10 Joseph Myers <joseph@codesourcery.com>
10940
10941 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10942
28e72501
MK
109432012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10944 Joseph Myers <joseph@codesourcery.com>
10945 Paul Pluzhnikov <ppluzhnikov@google.com>
10946
10947 [BZ #14012]
10948 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10949 requiring rpcgen.
10950 [cross-compiling] (extra-libs): Likewise.
10951 [cross-compiling] (extra-libs-others): Likewise.
10952 [cross-compiling] (librpcsvc-routines): Likewise.
10953 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10954 [cross-compiling] (omit-deps): Likewise.
10955 (sunrpc-CPPFLAGS): New variable.
10956 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10957 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10958 (cross-rpcgen-objs): New variable.
10959 (extra-objs): Append $(cross-rpcgen-objs).
10960 ($(cross-rpcgen-objs)): New rule.
10961 ($(objpfx)cross-rpcgen): Likewise.
10962 (rpcgen-cmd): Define to use $(built-program-file). Expand
10963 comment.
10964 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10965 ($(objpfx)x%.stmp): Likewise.
10966 * sunrpc/proto.h [IS_IN_build] (_): Define.
10967 [IS_IN_build] (_libc_intl_domainname): Likewise.
10968
c8c59454
L
109692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10970
10971 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10972 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10973 and R_X86_64_TPOFF64.
10974
6f27cd16
JM
109752012-05-10 Joseph Myers <joseph@codesourcery.com>
10976
10977 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10978 sysdeps/unix/sysv/syscalls.list.
10979 (stime): Likewise.
10980 (utime): Likewise.
10981 * sysdeps/unix/sysv/syscalls.list: Remove file.
10982
02467e1c
PE
109832012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10984
10985 [BZ #3440]
10986 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10987 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10988 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10989 (__LC_IDENTIFICATION): Make these macros useful in #if
10990 expressions, as required by C99.
10991
da392631
AS
109922012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10993
10994 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10995 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10996 after this.
10997
8115f29b
L
109982012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10999
11000 * stdlib/longlong.h: Updated from GCC.
11001
bdd74070
AJ
110022012-05-09 Andreas Jaeger <aj@suse.de>
11003
edfe0dbe
AJ
11004 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11005 default is first entry.
11006 (run_mode): Set type.
11007 (main): Remove informal message about syslog.
11008 (options): Fix typo.
11009
bcfe3a54
ST
11010 [BZ #14053]
11011 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11012 to asm.
bcfe3a54
ST
11013 (lrint): Likewise.
11014 (llrintf): Likewise.
11015 (llrint): Likewise.
11016 (rint): Likewise.
11017 (rintf): Likewise.
11018 (nearbyint): Likewise.
11019 (nearbyintf): Likewise.
bdd74070 11020
91d8d69e
AJ
110212012-05-09 Andreas Jaeger <aj@suse.de>
11022 Pedro Alves <palves@redhat.com>
11023
11024 * nscd/nscd.c (run_mode): Use enum.
11025 (main): Cleanup coding style issue.
11026
bb90b80b
AJ
110272012-05-09 Alexandre Oliva <aoliva@redhat.com>
11028 Andreas Jaeger <aj@suse.de>
11029
bcfe3a54
ST
11030 * nscd/nscd.c (go_background): Replaced with...
11031 (run_mode): ... this.
bb90b80b 11032 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11033 (options): Add -F --foreground.
11034 (main): Implement it.
11035 (parse_opt): Parse it.
bb90b80b 11036
1a4b75a1
AJ
110372012-05-09 Andreas Jaeger <aj@suse.de>
11038
11039 [BZ #14083]
11040 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11041 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11042 -Wconversion warning.
11043 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11044 Likewise.
11045
b1cc2472
JM
110462012-05-09 Joseph Myers <joseph@codesourcery.com>
11047
11048 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11049 == 0.
11050 (LC_ALL): Use macro-int-constant.
11051 (LC_COLLATE): Likewise.
11052 (LC_CTYPE): Likewise.
11053 (LC_MESSAGES): Likewise.
11054 (LC_MONETARY): Likewise.
11055 (LC_NUMERIC): Likewise.
11056 (LC_TIME): Likewise.
11057 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11058 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11059 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11060 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11061 Specify type.
11062 [C99-based standards] (float_t): Expect type.
11063 [C99-based standards] (double_t): Expect type.
11064 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11065 type.
11066 [C99-based standards] (HUGE_VALL): Likewise.
11067 [C99-based standards] (INFINITY): Likewise.
11068 [C99-based standards] (NAN): Likewise.
11069 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11070 [C99-based standards] (FP_NAN): Likewise.
11071 [C99-based standards] (FP_NORMAL): Likewise.
11072 [C99-based standards] (FP_SUBNORMAL): Likewise.
11073 [C99-based standards] (FP_ZERO): Likewise.
11074 [C99-based standards] (FP_FAST_FMA): Use
11075 optional-macro-int-constant. Specify type. Require == 1.
11076 [C99-based standards] (FP_FAST_FMAF): Likewise.
11077 [C99-based standards] (FP_FAST_FMAL): Likewise.
11078 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11079 [C99-based standards] (FP_ILOGBNAN): Likewise.
11080 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11081 Specify type.
11082 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11083 [C99-based standards] (math_errhandling): Specify type.
11084 [ISO99 || ISO11] (signgam): Do not allow.
11085 [non-C99-based standards] (copysignf): Do not allow.
11086 [non-C99-based standards] (exp2f): Likewise.
11087 [non-C99-based standards] (log2f): Likewise.
11088 [non-C99-based standards] (modff): Allow.
11089 [non-C99-based standards] (erff): Do not allow.
11090 [non-C99-based standards] (erfcf): Likewise.
11091 [non-C99-based standards] (gammaf): Likewise.
11092 [non-C99-based standards] (hypotf): Likewise.
11093 [non-C99-based standards] (j0f): Likewise.
11094 [non-C99-based standards] (j1f): Likewise.
11095 [non-C99-based standards] (jnf): Likewise.
11096 [non-C99-based standards] (lgammaf): Likewise.
11097 [non-C99-based standards] (tgammaf): Likewise.
11098 [non-C99-based standards] (y0f): Likewise.
11099 [non-C99-based standards] (y1f): Likewise.
11100 [non-C99-based standards] (ynf): Likewise.
11101 [non-C99-based standards] (isnanf): Likewise.
11102 [non-C99-based standards] (acoshf): Likewise.
11103 [non-C99-based standards] (asinhf): Likewise.
11104 [non-C99-based standards] (atanhf): Likewise.
11105 [non-C99-based standards] (cbrtf): Likewise.
11106 [non-C99-based standards] (expm1f): Likewise.
11107 [non-C99-based standards] (ilogbf): Likewise.
11108 [non-C99-based standards] (log1pf): Likewise.
11109 [non-C99-based standards] (logbf): Likewise.
11110 [non-C99-based standards] (nextafterf): Likewise.
11111 [non-C99-based standards] (remainderf): Likewise.
11112 [non-C99-based standards] (rintf): Likewise.
11113 [non-C99-based standards] (scalbf): Likewise.
11114 [non-C99-based standards] (copysignl): Likewise.
11115 [non-C99-based standards] (exp2l): Likewise.
11116 [non-C99-based standards] (log2l): Likewise.
11117 [non-C99-based standards] (modfl): Allow.
11118 [non-C99-based standards] (erfl): Do not allow.
11119 [non-C99-based standards] (erfcl): Likewise.
11120 [non-C99-based standards] (gammal): Likewise.
11121 [non-C99-based standards] (hypotl): Likewise.
11122 [non-C99-based standards] (j0l): Likewise.
11123 [non-C99-based standards] (j1l): Likewise.
11124 [non-C99-based standards] (jnl): Likewise.
11125 [non-C99-based standards] (lgammal): Likewise.
11126 [non-C99-based standards] (tgammal): Likewise.
11127 [non-C99-based standards] (y0l): Likewise.
11128 [non-C99-based standards] (y1l): Likewise.
11129 [non-C99-based standards] (ynl): Likewise.
11130 [non-C99-based standards] (isnanl): Likewise.
11131 [non-C99-based standards] (acoshl): Likewise.
11132 [non-C99-based standards] (asinhl): Likewise.
11133 [non-C99-based standards] (atanhl): Likewise.
11134 [non-C99-based standards] (cbrtl): Likewise.
11135 [non-C99-based standards] (expm1l): Likewise.
11136 [non-C99-based standards] (ilogbl): Likewise.
11137 [non-C99-based standards] (log1pl): Likewise.
11138 [non-C99-based standards] (logbl): Likewise.
11139 [non-C99-based standards] (nextafterl): Likewise.
11140 [non-C99-based standards] (remainderl): Likewise.
11141 [non-C99-based standards] (rintl): Likewise.
11142 [non-C99-based standards] (scalbl): Likewise.
11143 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11144 [non-C99-based standards] (FP_*): Do not allow.
11145 [C99-based standards] (FP_*): Change to
11146 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11147 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11148 allow.
11149 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11150 (SIG_ERR): Likewise.
11151 [X/Open-based standards] (SIG_HOLD): Likewise.
11152 (SIG_IGN): Likewise.
11153 (SIGABRT): Use macro-int-constant. Specify type. Require
11154 positive value.
11155 (SIGFPE): Likewise.
11156 (SIGILL): Likewise.
11157 (SIGINT): Likewise.
11158 (SIGSEGV): Likewise.
11159 (SIGTER): Likewise.
11160 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11161 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11162 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11163 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11164 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11165 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11166 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11167 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11168 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11169 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11170 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11171 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11172 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11173 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11174 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11175 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11176 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11177 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11178 [X/Open-based standards] (SIGTRAP): Likewise.
11179 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11180 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11181 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11182 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11183 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11184 allow.
11185
b9f1922d
IW
111862012-05-08 Ian Wienand <ianw@vmware.com>
11187
11188 [BZ #14080]
11189 * time/tzset.c (__tzset_parse_tz): Update default rules for
11190 daylight time changes in the Energy Policy Act of 2005.
11191
1db86e88
AJ
111922012-05-09 Andreas Jaeger <aj@suse.de>
11193
11194 [BZ #13983]
11195 * elf/ldconfig.c (parse_conf): Change string to make clear that
11196 ldconfig only issued a warning if ld.so.conf does not exist.
11197
dee4a4e3
DM
111982012-05-08 David S. Miller <davem@davemloft.net>
11199
ee0db190
DM
11200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11201 movxtod instead of popping the value on the stack.
11202
dee4a4e3
DM
11203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11204
6a43ec98
CD
112052012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11206
11207 * config.h.in: Add HAVE_ARM_PCS_VFP.
11208
05c2c961
RMG
112092012-05-08 Roland Mc Grath <roland@hack.frob.com>
11210
bcfe3a54
ST
11211 [BZ #13979]
11212 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11213 checking but the checks are disabled for any reason.
05c2c961 11214
4b30f61a
L
112152012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11216
11217 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11218 and ELF64_R_TYPE with ELFW(R_TYPE).
11219
eee2bc67
JM
112202012-05-08 Joseph Myers <joseph@codesourcery.com>
11221
7ea5391a
JM
11222 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11223 (ulimit): Likewise.
11224
eee2bc67
JM
11225 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11226 (settimeofday): Likewise.
11227
abb66a67
MF
112282012-05-08 Mike Frysinger <vapier@gentoo.org>
11229
11230 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11231 a struct th_u2 inside the union, and move tu_block/tu_code into
11232 a new th_u3 union of tu_block/tu_code inside of that. Move
11233 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11234 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11235 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11236 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11237 (th_stuff): Change to th_u1.tu_stuff.
11238 (th_data): Define.
11239 (th_msg): Change to th_u1.th_u2.tu_data.
11240
7f18b530
DM
112412012-05-07 David S. Miller <davem@davemloft.net>
11242
05760585
DM
11243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11244
7f18b530
DM
11245 [BZ #14074]
11246 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11247 (SETUP_PIC_REG): Use it.
11248 (SETUP_PIC_REG_LEAF): Use it.
11249
495fd99f
JM
112502012-05-07 Joseph Myers <joseph@codesourcery.com>
11251
11252 [BZ #13885]
11253 [BZ #13923]
11254 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11255 USE_AS_EXPM1L.
11256 (EXPL_FINITE): Likewise.
11257 (FLDLOG): Likewise.
11258 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11259 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11260 e_expl.S.
11261 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11262 USE_AS_EXPM1L.
11263 (EXPL_FINITE): Likewise.
11264 (FLDLOG): Likewise.
11265 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11266 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11267 e_expl.S.
11268 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11269 test of -max_value argument for long double.
11270 * sysdeps/i386/fpu/libm-test-ulps: Update.
11271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11272
6693d694
DM
112732012-05-06 David S. Miller <davem@davemloft.net>
11274
11275 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11276 quad soft-float symbols whose references which are compiler
11277 generated.
11278 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11279
6c23e11c
JM
112802012-05-06 Joseph Myers <joseph@codesourcery.com>
11281
d8b82cad
JM
11282 [BZ #13884]
11283 [BZ #13914]
11284 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11285 USE_AS_EXP10L.
11286 (EXPL_FINITE): Likewise.
11287 (FLDLOG): Likewise.
11288 (c0): Likewise.
11289 (c1): Likewise.
11290 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11291 Adjust comments for base varying.
11292 (__expl_finite): Change alias to EXPL_FINITE.
11293 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11294 e_expl.S.
11295 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11296 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11298 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11299 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11300 USE_AS_EXP10L.
11301 (EXPL_FINITE): Likewise.
11302 (FLDLOG): Likewise.
11303 (c0): Likewise.
11304 (c1): Likewise.
11305 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11306 Adjust comments for base varying.
11307 (__expl_finite): Change alias to EXPL_FINITE.
11308 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11309 tests for bugs.
11310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11311
6c23e11c
JM
11312 [BZ #14064]
11313 * math/libm-test.inc (check_float_internal): Correct ulp
11314 calculation for subnormal expected results.
11315
29ba805c
AJ
113162012-05-06 Andreas Jaeger <aj@suse.de>
11317
11318 * Makeconfig (+math-flags): New, set to -frounding-math.
11319 (+cflags): Add +math-flags so that all of glibc gets compiled with
11320 it.
11321
11322 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11323
7b17aeda
JM
113242012-05-05 Joseph Myers <joseph@codesourcery.com>
11325
5779f134
JM
11326 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11327 Disable one test.
11328
41498f4d
JM
11329 [BZ #13787]
11330 [BZ #13922]
11331 [BZ #14036]
11332 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11333 (__ieee754_expl): Allow for and saturate large arguments.
11334 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11335 (u_threshold): Likewise.
11336 (__exp): Call __ieee754_exp before checking for overflow and
11337 underflow.
11338 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11339 (u_threshold): Likewise.
11340 (__expf): Call __ieee754_expf before checking for overflow and
11341 underflow.
11342 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11343 (u_threshold): Likewise.
11344 (__expl): Call __ieee754_expl before checking for overflow and
11345 underflow.
11346 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11347 (__ieee754_expl): Allow for and saturate large arguments.
11348 * math/libm-test.inc (exp_test): Add another test. Do not allow
11349 missing overflow exception on overflow.
11350 (expm1_test): Do not allow missing overflow exception on overflow.
11351
6698b8bf
JM
11352 * sysdeps/i386/fpu/e_expl.c: Move to ...
11353 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11354 rather than using inline asm.
11355 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11356 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11357 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11358
7b17aeda
JM
11359 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11360 (nice): Likewise.
11361 (poll): Likewise.
11362 (signal): Likewise.
11363 (time): Likewise.
11364 (times): Likewise.
11365
f7c85819
JM
113662012-05-04 Joseph Myers <joseph@codesourcery.com>
11367
11368 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11369 sysdeps/unix/common/syscalls.list.
11370 (fchmod): Likewise.
11371 (fchown): Likewise.
11372 (ftruncate): Likewise.
11373 (getrusage): Likewise.
11374 (gettimeofday): Likewise.
11375 (setpgid): Likewise.
11376 (setregid): Likewise.
11377 (setreuid): Likewise.
11378 (sigaction): Likewise.
11379 (truncate): Likewise.
11380 (vhangup): Likewise.
11381 * sysdeps/unix/common/syscalls.list: Remove file.
11382 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11383 * sysdeps/unix/sysv/linux/Implies: Likewise.
11384
336270d0
L
113852012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11386
11387 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11389 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11390 Moved to ...
11391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11392 Here.
11393 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11394 to ...
11395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11396 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11397 to ...
11398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11399 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11400 to ...
11401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11402 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11403 to ...
11404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11405 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11406 to ...
11407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11408 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11409 to ...
11410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11411 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11412 to ...
11413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11414 Here.
11415 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11416 to ...
11417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11418 Here.
11419 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11420 to ...
11421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11422 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11423 Moved to ...
11424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11425 Here.
11426 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11427 to ...
11428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11429
d128e450
JM
114302012-05-04 Joseph Myers <joseph@codesourcery.com>
11431
fa8ee516
JM
11432 * sysdeps/unix/common/bits/dirent.h: Remove file.
11433 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11434
d128e450
JM
11435 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11436 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11437 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11438 * sysdeps/unix/bsd/isatty.c: Likewise.
11439 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11440 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11441 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11442
ff8faaf0 114432012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11444
62881be4 11445 [BZ #13563]
31dc8730
AZ
11446 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11447 long double comparison inaccuracies.
11448 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11450
6fef930c
AS
114512012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11452
11453 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11454 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11455
8f203e6c
JM
114562012-05-04 Joseph Myers <joseph@codesourcery.com>
11457
11458 [BZ #14049]
11459 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11460 nonzero digits before rounding a hex value.
11461 * stdlib/tst-strtod.c (tests): Add another test.
11462
5197d9c2
AK
114632012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11464
11465 * sysdeps/s390/fpu/libm-test-ulps: Update.
11466
f0c1dedf
AJ
114672012-05-03 Andreas Jaeger <aj@suse.de>
11468
11469 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11470 does not get optimized out.
11471 (malloc_opt_barrier): New.
11472
a65ef2ae 114732012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11474 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11475
2b942cb7 11476 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11477 intermediate file deletion.
2b942cb7 11478 (generated): Add .symlist files.
a65ef2ae 11479
54b71e02
JM
114802012-05-03 Joseph Myers <joseph@codesourcery.com>
11481
11482 [BZ #13775]
11483 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11484 Redirect under this condition.
11485 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11486 [__USE_GNU] (__dprintf_chk): Not under this condition.
11487 [__USE_GNU] (__vdprintf_chk): Likewise.
11488 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11489 under this condition.
11490 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11491 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11492 [__USE_XOPEN2K8] (vdprintf): Likewise.
11493 [__USE_GNU] (__dprintf_chk): Not under this condition.
11494 [__USE_GNU] (__vdprintf_chk): Likewise.
11495 [__USE_GNU] (dprintf): Likewise.
11496 [__USE_GNU] (vdprintf): Likewise.
11497
d3dfcc41
RM
114982012-05-03 Roland McGrath <roland@hack.frob.com>
11499
11500 * elf/Makefile (common-generated): Set this instead of generated for
11501 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11502 $(all-built-dso)-derived lists.
11503
7ac30cc5
AJ
115042012-05-03 Andreas Jaeger <aj@suse.de>
11505
0c51e550
AJ
11506 * sysdeps/i386/fpu/libm-test-ulps: Update.
11507
7ac30cc5
AJ
11508 * FAQ: Removed.
11509 * FAQ.in: Likewise.
11510 * scripts/gen-FAQ.pl: Likewise.
11511 * manual/install.texi (Installation): Point to online location of
11512 FAQ.
11513 * Makefile (files-for-dist): Remove FAQ.
11514 (FAQ): Remove.
11515
d4c2917f
AM
115162012-05-02 Allan McRae <allan@archlinux.org>
11517
11518 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11519 (LDFLAGS-reldepmod5.so): Likewise.
11520 (LDFLAGS-reldep6mod1.so): Likewise.
11521 (LDFLAGS-reldep6mod4.so): Likewise.
11522 (LDFLAGS-reldep8mod3.so): Likewise.
11523 (LDFLAGS-unload4mod1.so): Likewise.
11524 (LDFLAGS-unload4mod2.so): Likewise.
11525 (LDFLAGS-tst-initorder): Likewise.
11526 (LDFLAGS-tst-initordera2.so): Likewise.
11527 (LDFLAGS-tst-initordera3.so): Likewise.
11528 (LDFLAGS-tst-initordera4.so): Likewise.
11529 (LDFLAGS-tst-initorderb2.so): Likewise.
11530 (LDFLAGS-noload): Likewise.
11531 (LDFLAGS-next): Likewise.
11532 (LDFLAGS-order2mod1.so): Likewise.
11533 (LDFLAGS-order2mod2.so): Likewise.
11534 (LDFLAGS-tst-initorder2): Likewise.
11535 (LDFLAGS-tst-initorder2a.so): Likewise.
11536 (LDFLAGS-tst-initorder2b.so): Likewise.
11537 (LDFLAGS-tst-initorder2c.so): Likewise.
11538 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11539
d77f993f
DM
115402012-05-02 David S. Miller <davem@davemloft.net>
11541
11542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11543
171a70b4
PP
115442012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11545
11546 [BZ #14055]
11547 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11548
0be196ad
AJ
115492012-05-02 Andreas Jaeger <aj@suse.de>
11550
11551 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11552 since we manipulate rounding mode.
11553 (CPPFLAGS-test-idouble.c): Likewise.
11554 (CPPFLAGS-test-ifloat.c): Likewise.
11555 (CFLAGS-test-ldouble.c): Likewise.
11556 (CFLAGS-test-double.c): Likewise.
11557 (CFLAGS-test-float.c): Likewise.
11558 (CFLAGS-test-misc.c): Likewise.
11559 (CFLAGS-test-test-fenv.c): Likewise.
11560
4f9d04aa
AZ
115612012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11562
2b942cb7
RM
11563 [BZ #2550]
11564 [BZ #2570]
11565 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11566 comparisons to determine direction to adjust input.
4f9d04aa 11567
82a79e7d
RM
115682012-05-01 Roland McGrath <roland@hack.frob.com>
11569
f5a01ca9
RM
11570 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11571 output to the target.
11572
90fe4186
RM
11573 * scripts/localplt.awk: New file.
11574 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11575 (check-localplt-CFLAGS): Variable removed.
11576 ($(all-built-dso:=.jmprel)): New static pattern rule.
11577 (generated): Add those targets.
11578 (localplt-built-dso): New variable.
11579 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11580
11581 * elf/check-localplt.c: File removed.
11582
82397ed6
RM
11583 * scripts/check-execstack.awk: New file.
11584 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11585 (check-execstack-CFLAGS): Variable removed.
11586 ($(objpfx)check-execstack.h): Target removed.
11587 ($(objpfx)execstack-default): New target.
11588 (generated): Add that instead of check-execstack.h.
11589 ($(all-built-dso:=.phdr)): New static pattern rule.
11590 (generated): Add those targets.
11591 * elf/check-execstack.c: File removed.
11592
82a79e7d
RM
11593 * scripts/check-textrel.awk: New file.
11594 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11595 (check-textrel-CFLAGS): Variable removed.
11596 (all-built-dso): Use := to define.o
11597 ($(all-built-dso:=.dyn)): New static pattern rule.
11598 (generated): Add those targets.
11599 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11600 * config.make.in (READELF): New substituted variable.
11601 * elf/check-textrel.c: File removed.
11602
62fde54f 116032012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11604
615605c9
JM
11605 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11606 allow.
11607 * conform/data/ctype.h-data [C99-based standards] (isblank):
11608 Expect function.
11609 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11610 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11611 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11612 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11613 Specify type. Require positive value.
11614 (EILSEQ): Likewise.
11615 (ERANGE): Likewise.
11616 [ISO || POSIX] (EILSEQ): Do not expect.
11617 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11618 Specify type. Require positive value.
11619 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11620 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11621 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11622 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11623 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11624 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11625 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11626 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11627 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11628 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11629 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11630 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11631 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11632 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11633 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11634 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11635 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11636 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11637 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11638 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11639 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11640 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11641 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11642 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11643 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11644 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11645 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11646 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11647 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11648 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11649 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11650 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11651 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11652 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11653 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11654 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11655 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11656 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11657 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11658 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11659 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11660 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11661 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11662 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11663 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11664 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11665 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11666 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11667 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11668 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11669 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11670 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11671 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11672 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11673 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11674 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11675 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11676 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11677 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11678 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11679 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11680 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11681 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11682 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11683 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11684 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11685 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11686 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11687 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11688 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11689 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11690 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11691 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11692 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11693 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11694 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11695 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11696 Require >= 2.
11697 (FLT_ROUNDS): Expect as macro, not constant.
11698 (FLT_MANT_DIG): Use macro-int-constant.
11699 (DBL_MANT_DIG): Likewise.
11700 (LDBL_MANT_DIG): Likewise.
11701 (FLT_DIG): Likewise.
11702 (DBL_DIG): Likewise.
11703 (LDBL_DIG): Likewise.
11704 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11705 (DBL_MIN_EXP): Likewise.
11706 (LDBL_MIN_EXP): Likewise.
11707 (FLT_MAX_EXP): Use macro-int-constant.
11708 (DBL_MAX_EXP): Likewise.
11709 (LDBL_MAX_EXP): Likewise.
11710 (FLT_MAX_10_EXP): Likewise.
11711 (DBL_MAX_10_EXP): Likewise.
11712 (LDBL_MAX_10_EXP): Likewise.
11713 (FLT_MAX): Use macro-constant.
11714 (DBL_MAX): Likewise.
11715 (LDBL_MAX): Likewise.
11716 (FLT_EPSILON): Use macro-constant. Give upper bound.
11717 (DBL_EPSILON): Likewise.
11718 (LDBL_EPSILON): Likewise.
11719 (FLT_MIN): Likewise.
11720 (DBL_MIN): Likewise.
11721 (LDBL_MIN): Likewise.
11722 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11723 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11724 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11725 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11726 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11727 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11728 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11729 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11730 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11731 [ISO11] (FLT_TRUE_MIN): Likewise.
11732 [ISO11] (LDBL_TRUE_MIN): Likewise.
11733 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11734 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11735 (SCHAR_MIN): Use macro-int-constant. Specify type.
11736 (SCHAR_MAX): Likewise.
11737 (UCHAR_MAX): Likewise.
11738 (CHAR_MIN): Likewise.
11739 (CHAR_MAX): Likewise.
11740 (MB_LEN_MAX): Use macro-int-constant.
11741 (SHRT_MIN): Use macro-int-constant. Specify type.
11742 (SHRT_MAX): Likewise.
11743 (USHRT_MAX): Likewise.
11744 (INT_MAX): Likewise.
11745 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11746 bound negative.
11747 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11748 bound with "U".
11749 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11750 bound with "L".
11751 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11752 bound negative. Suffix upper bound with "L".
11753 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11754 bound with "UL".
11755 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11756 Specify type.
11757 [C99-based standards] (LLONG_MAX): Likewise.
11758 [C99-based standards] (ULLONG_MAX): Likewise.
11759 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11760 == 0.
11761 [ISO11] (max_align_t): Require type.
11762 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11763
c9140a62
JM
11764 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11765 from $CFLAGS, without defining away __attribute__ calls.
11766 (checknamespace): Use $CFLAGS_namespace.
11767
9af0bf29
JM
11768 * conform/conformtest.pl (@keywords): Only include C99 keywords
11769 for standards based on C99 or C11.
11770
343222a2
JM
11771 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11772 Disable tests.
11773 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11774 UNIX98]: Likewise.
11775
661f8cf0
JM
11776 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11777 usability of symbols in #if.
11778
ee74b9cb
JM
11779 * conform/conformtest.pl: If macro or constant types start
11780 "promoted:", expect the symbol to be of the following type
11781 promoted by the integer promotions.
62fde54f 11782
aafc49b3
JM
11783 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11784 in one place. Also handle "macro-constant".
11785
fefdf574
JM
11786 * conform/conformtest.pl: Only accept expected macro values with
11787 "==". Parse all "macro" lines in one place.
11788 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11789
f2d922fe
JM
11790 * conform/conformtest.pl: Handle braced types on "constant" lines
11791 instead of handling "typed-constant".
11792 * conform/data/signal.h-data: Use "constant" instead of
11793 "typed-constant".
11794
d22956c9
JM
11795 * conform/conformtest.pl: Handle "optional-" at start of lines in
11796 one place rather than duplicating several cases. Handle each
11797 format of "macro" line with initial "optional-".
11798
028e2e38
JM
11799 * conform/conformtest.pl: Only accept expected constant or
11800 optional-constant values with "==". Parse all "constant" lines in
11801 one place. Parse all "optional-constant" lines in one place.
11802 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11803 * conform/data/fmtmsg.h-data: Likewise.
11804 * conform/data/netinet/in.h-data: Likewise.
11805 * conform/data/tar.h-data: Likewise.
11806 * conform/data/limits.h-data: Use "==" form on "constant" and
11807 "optional-constant" lines.
11808
1b8f2850
JM
11809 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11810 Use -std=c99 for XOPEN2K.
11811 (@knownproblems): Remove.
11812 (newtoken): Don't check %isknown.
11813
a05a144b
JM
11814 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11815 Do not expect macro.
11816 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11817 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11818 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11819 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11820 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11821 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11822 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11823 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11824 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11825 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11826 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11827 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11828 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11829 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11830 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11831 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11832 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11833 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11834 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11835 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11836 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11837 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11838 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11839 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11840 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11841 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11842 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11843 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11844 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11845 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11846 [XPG3] (acosh): Likewise.
11847 [XPG3] (asinh): Likewise.
11848 [XPG3] (atanh): Likewise.
11849 [XPG3] (cbrt): Likewise.
11850 [XPG3] (expm1): Likewise.
11851 [XPG3] (ilogb): Likewise.
11852 [XPG3] (log1p): Likewise.
11853 [XPG3] (logb): Likewise.
11854 [XPG3] (nextafter): Likewise.
11855 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11856 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11857 [XPG3] (remainder): Likewise.
11858 [XPG3] (rint): Likewise.
11859 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11860 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11861 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11862 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11863 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11864 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11865 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11866 [UNIX98 || XOPEN2K] (scalb): Expect.
11867 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11868 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11869 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11870 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11871 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11872 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11873 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11874 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11875 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11876 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11877 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11878 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11879 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11880 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11881 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11882 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11883 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11884 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11885 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11886 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11887 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11888 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11889 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11890 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11891 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11892 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11893 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11894 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11895 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11896 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11897 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11898 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11899 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11900 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11901 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11902 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11903 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11904 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11905 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11906 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11907 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11908 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11909 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11910 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11911 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11912 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11913 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11914 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11915 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11916 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11917 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11918 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11919 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11920 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11921 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11922 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11923 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11924 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11925 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11926 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11927 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11928 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11929 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11930 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11931 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11932 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11933 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11934 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11935 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11936 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11937 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11938 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11939 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11940 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11941 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11942 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11943 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11944 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11945 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11946 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11947 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11948 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11949 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11950 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11951 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11952 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11953 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11954 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11955 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11956 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11957 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11958 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11959 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11960 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11961 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11962 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11963 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11964 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11965 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11966 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11967 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11968 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11969 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11970 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11971 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11972 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11973 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11974 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11975 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11976 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11977 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11978 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11979 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11980 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11981 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11982 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11983 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11984 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11985 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11986 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11987 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11988 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11989 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11990 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11991 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11992 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11993 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11994 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11995 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11996 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11997 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11998 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11999 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12000 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12001 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12002 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12003 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12004
73c5ebe3
JM
12005 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12006 _XOPEN_SOURCE_EXTENDED for XPG4.
12007
39c33b6c
JM
12008 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12009
62fde54f
JM
12010 * Makeconfig (localtime): Remove variable.
12011 (inst_localtime-file): Likewise.
12012
0741d64c
AS
120132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12014
12015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12016 Update.
12017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12018 Update.
12019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12020 Update.
12021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12022 Update.
12023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12024 Update.
12025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12026 Update.
12027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12028 Update.
12029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12030 Update.
12031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12032 Update.
12033
7cb029ee
JM
120342012-05-01 Joseph Myers <joseph@codesourcery.com>
12035
12036 [BZ #2550]
12037 [BZ #2570]
12038 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12039 comparisons to determine direction to adjust input.
12040 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12041 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12042 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12043 Likewise.
12044 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12045 Likewise.
12046 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12047 Likewise.
12048 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12049 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12050 Likewise.
12051 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12052 Likewise.
12053 * math/libm-test.inc (nexttoward_test): Add more tests.
12054
412bd966
AS
120552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12056
12057 [BZ #14040]
12058 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12059 in version GLIBC_2.1, not GLIBC_2.0.
12060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12061 Likewise.
12062
9568c0c2
JM
120632012-04-30 Joseph Myers <joseph@codesourcery.com>
12064
adfbc8ac
JM
12065 [BZ #13942]
12066 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12067 (1 - x) * (1 + x).
12068 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12069 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12070 * math/libm-test.inc (acos_test): Add more tests.
12071 (asin_test): Likewise.
12072 * sysdeps/i386/fpu/libm-test-ulps: Update.
12073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12074
5ba3cc69
JM
12075 [BZ #14034]
12076 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12077 of square root.
12078 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12079 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12080 * math/libm-test.inc (acos_test_tonearest): New function.
12081 (acos_test_towardzero): Likewise.
12082 (acos_test_downward): Likewise.
12083 (acos_test_upward): Likewise.
12084 (asin_test_tonearest): Likewise.
12085 (asin_test_towardzero): Likewise.
12086 (asin_test_downward): Likewise.
12087 (asin_test_upward): Likewise.
12088 (main): Call the new functions.
12089 * sysdeps/i386/fpu/libm-test-ulps: Update.
12090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12091
9568c0c2
JM
12092 [BZ #13884]
12093 [BZ #13924]
12094 * math/e_exp10.c: Include <float.h>.
12095 (__ieee754_exp10): Handle underflow here rather than multiplying
12096 large negative argument by M_LN10.
12097 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12098 of __ieee754_expf.
12099 * math/e_exp10l.c: Include <float.h>.
12100 (__ieee754_exp10l): Handle underflow here rather than multiplying
12101 large negative argument by M_LN10l.
12102 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12103 spurious overflow exception on underflow.
12104
5ac3ea17
MP
121052012-04-29 Marek Polacek <polacek@redhat.com>
12106
12107 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12108 (__fortify_function): New macro.
12109 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12110 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12111 __extern_always_inline.
12112 * libio/bits/stdio2.h: Likewise.
12113 * libio/bits/stdio.h: Likewise.
12114 * string/string.h: Likewise.
12115 * string/bits/string3.h: Likewise.
12116 * include/stdio.h: Likewise.
12117 * stdlib/bits/stdlib.h: Likewise.
12118 * stdlib/stdlib.h: Likewise.
12119 * rt/bits/mqueue2.h: Likewise.
12120 * rt/mqueue.h: Likewise.
12121 * posix/bits/unistd.h: Likewise.
12122 * posix/unistd.h: Likewise.
12123 * io/bits/poll2.h: Likewise.
12124 * io/bits/fcntl2.h: Likewise.
12125 * io/fcntl.h: Likewise.
12126 * io/sys/poll.h: Likewise.
12127 * misc/bits/syslog.h: Likewise.
12128 * misc/bits/syslog-ldbl.h: Likewise.
12129 * misc/sys/syslog.h: Likewise.
12130 * socket/bits/socket2.h: Likewise.
12131 * socket/sys/socket.h: Likewise.
12132 * debug/tst-chk1.c: Likewise.
12133 * wcsmbs/bits/wchar2.h: Likewise.
12134 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12135 * wcsmbs/wchar.h: Likewise.
12136
ecf0ebfb
AJ
121372012-04-29 Andreas Jaeger <aj@suse.de>
12138
12139 * Makerules (tests): Remove enable-check-abi protection.
12140 (check-abi-warn): Remove.
12141 (check-abi-%): Remove check-abi-warn usage.
12142
12143 * configure.in: Remove check-abi configure option.
12144 * configure: Regenerated.
12145 * config.make.in (enable-check-abi): Remove.
12146
6d5c57fa
AS
121472012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12148
24c5d07e 12149 [BZ #14033]
ded5180a
AS
12150 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12151 double functions to double *_finite functions.
12152
7e0d315d
AS
12153 [BZ #13941]
12154 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12155 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12156 LDBL_MIN_EXP.
12157 * stdio-common/Makefile (tests): Add tst-sprintf3.
12158 * stdio-common/tst-sprintf3.c: New file.
12159
6d5c57fa
AS
12160 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12161 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12162
0749ff8b
JM
121632012-04-28 Joseph Myers <joseph@codesourcery.com>
12164
12165 * conform/conformtest.pl: Remove duplicate typed-constant
12166 handling.
12167
8dbd5d7b
DM
121682012-04-28 David S. Miller <davem@davemloft.net>
12169
12170 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12171 (check-abi-%): Remove AWK script prerequisite and explicit
12172 abilist directory.
12173 (check-abi): Rewrite to just diff the symlist with the abilist.
12174 (config-tls, config-abi-config): Delete, no longer used.
12175 (update-abi-%): Remove AWK script and explicit abilist directory.
12176 (update-abi): Rewrite to simply compare and conditionally copy the
12177 symlist and the sysdep abilist file. Remove update-abi-config
12178 checks.
12179 * abilist/ld.abilist: Remove.
12180 * abilist/libBrokenLocale.abilist: Remove.
12181 * abilist/libanl.abilist: Remove.
12182 * abilist/libcrypt.abilist: Remove.
12183 * abilist/libdl.abilist: Remove.
12184 * abilist/librt.abilist: Remove.
12185 * abilist/libthread_db.abilist: Remove.
12186 * abilist/libutil.abilist: Remove.
12187 * scripts/extract-abilist.awk: Remove.
12188 * scripts/merge-abilist.awk: Remove.
12189 * sysdeps/generic/libcidn.abilist: New file.
12190 * sysdeps/generic/libnss_compat.abilist: New file.
12191 * sysdeps/generic/libnss_db.abilist: New file.
12192 * sysdeps/generic/libnss_dns.abilist: New file.
12193 * sysdeps/generic/libnss_files.abilist: New file.
12194 * sysdeps/generic/libnss_hesiod.abilist: New file.
12195 * sysdeps/generic/libnss_nis.abilist: New file.
12196 * sysdeps/generic/libnss_nisplus.abilist: New file.
12197 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12198 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12199 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12200 file.
12201 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12202 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12203 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12204 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12205 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12206 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12207 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12208 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12209 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12210 file.
12211 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12212 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12213 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12214 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12215 file.
12216 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12217 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12218 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12219 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12220 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12221 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12222 file.
12223 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12224 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12225 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12226 file.
12227 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12229 New file.
12230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12231 New file.
12232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12233 New file.
12234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12235 New file.
12236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12237 New file.
12238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12239 New file.
12240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12241 New file.
12242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12243 New file.
12244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12245 New file.
12246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12247 New file.
12248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12249 New file.
12250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12251 New file.
12252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12253 New file.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12255 file.
12256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12257 New file.
12258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12259 New file.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12261 file.
12262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12263 New file.
12264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12265 New file.
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12267 file.
12268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12269 New file.
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12271 New file.
12272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12273 New file.
12274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12275 New file.
12276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12277 New file.
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12279 New file.
12280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12282 file.
12283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12284 New file.
12285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12286 file.
12287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12288 file.
12289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12290 file.
12291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12292 file.
12293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12294 file.
12295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12296 New file.
12297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12298 file.
12299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12300 file.
12301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12302 New file.
12303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12304 file.
12305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12307 file.
12308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12309 New file.
12310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12311 file.
12312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12313 file.
12314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12315 file.
12316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12317 file.
12318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12319 file.
12320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12321 New file.
12322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12323 file.
12324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12325 file.
12326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12327 New file.
12328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12329 file.
12330 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12331 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12332 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12333 file.
12334 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12335 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12336 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12337 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12338 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12339 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12340 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12341 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12342 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12343 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12346 file.
12347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12348 New file.
12349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12350 file.
12351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12352 file.
12353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12354 file.
12355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12356 file.
12357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12358 file.
12359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12360 New file.
12361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12362 New file.
12363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12364 file.
12365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12366 New file.
12367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12368 file.
12369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12371 file.
12372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12373 New file.
12374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12375 file.
12376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12377 file.
12378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12379 file.
12380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12381 file.
12382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12383 file.
12384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12385 New file.
12386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12387 New file.
12388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12389 file.
12390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12391 New file.
12392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12393 file.
12394
41d73a1b
JM
123952012-04-28 Joseph Myers <joseph@codesourcery.com>
12396
12397 * conform/conformtest.pl: Fix typo in handling typed-constant from
12398 allow-header.
12399
28aeeda4
JM
124002012-04-27 Joseph Myers <joseph@codesourcery.com>
12401
adae8f5e
JM
12402 * README: Cut down references to pre-2.6 Linux kernels and
12403 Linuxthreads. Update lists of configurations in libc and ports
12404 and sort alphabetically. Say "or newer" with Linux kernel version
12405 requirements.
12406
28aeeda4
JM
12407 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12408
a462cb63
RA
124092012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12410
12411 [BZ #887]
12412 * math/libm-test.inc (logb_test_downward): New test to expose
12413 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12414 rounding mode.
12415
6ad3493e
JM
124162012-04-27 Joseph Myers <joseph@codesourcery.com>
12417
12418 [BZ #14027]
12419 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12420 to be done.
12421 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12422 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12423
2ce4f015
JM
124242012-04-26 Joseph Myers <joseph@codesourcery.com>
12425
5aeb141a
JM
12426 * sysdeps/unix/i386/brk.S: Remove file.
12427 * sysdeps/unix/i386/dl-brk.S: Likewise.
12428 * sysdeps/unix/i386/pipe.S: Likewise.
12429 * sysdeps/unix/i386/sigreturn.S: Likewise.
12430 * sysdeps/unix/i386/syscall.S: Likewise.
12431 * sysdeps/unix/i386/vfork.S: Likewise.
12432 * sysdeps/unix/i386/wait.S: Likewise.
12433
7143acae
JM
12434 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12435 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12436
2ce4f015
JM
12437 * configure.in (arm*-none*): Do not allow without
12438 --enable-hacker-mode.
12439 (netbsd*): Remove case setting base_os.
12440 (386bsd*): Likewise.
12441 (freebsd*): Likewise.
12442 (bsdi*): Likewise.
12443 (osf*): Likewise.
12444 (sunos*): Likewise.
12445 (ultrix*): Likewise.
12446 (newsos*): Likewise.
12447 (dynix*): Likewise.
12448 (*bsd*): Likewise.
12449 (sysv*): Likewise.
12450 (isc*): Likewise.
12451 (esix*): Likewise.
12452 (sco*): Likewise.
12453 (minix*): Likewise.
12454 (irix4*): Likewise.
12455 (irix6*): Likewise.
12456 (solaris[2-9]*): Likewise.
12457 (none): Likewise.
12458 * configure: Regenerated.
12459
0ac229c8
AZ
124602012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12461
12462 [BZ #11521]
12463 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12464 overflow or cancellation in calculating denominator.
12465 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12466 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12467 down expression to avoid unexpected rounding in newer GCCs.
12468 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12469
33f244f4
DM
124702012-04-26 David S. Miller <davem@davemloft.net>
12471
12472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12473 long-double compat symbols.
12474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12487
cfa1f3e8
DM
124882012-04-25 David S. Miller <davem@davemloft.net>
12489
12490 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12491 HWCAP_* values only after the memory barriers have been defined.
12492 (atomic_full_barrier): Define.
12493 (atomic_read_barrier): Define.
12494 (atomic_write_barrier): Define.
12495
6e236b92
SP
124962012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12497
12498 * shlib-versions: Add libgcc_s version information.
12499 * sysdeps/generic/libgcc_s.h: Remove.
12500 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12501 libgcc_s.h.
12502 * sysdeps/gnu/unwind-resume.c: Likewise.
12503 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12504
aab39a09
DM
125052012-04-25 David S. Miller <davem@davemloft.net>
12506
12507 * sysdeps/unix/sparc/brk.S: Delete.
12508 * sysdeps/unix/sparc/dl-brk.S: Delete.
12509 * sysdeps/unix/sparc/pipe.S: Delete.
12510 * sysdeps/unix/sparc/sysdep.S: Delete.
12511 * sysdeps/unix/sparc/sysdep.h: Delete.
12512 * sysdeps/unix/sparc/vfork.S: Delete.
12513 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12514 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12515 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12516 ret_ERRVAL, r0, r1, MOVE): Define.
12517 (JUMPTARGET): Remove.
12518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12519 sysdeps/unix/sparc/sysdep.h
12520 (ENTRY, END): Remove.
12521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12522
a3cc4f48
JM
125232012-04-25 Joseph Myers <joseph@codesourcery.com>
12524
2ed8cda2
JM
12525 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12526 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12527 -DIS_IN_build.
12528
35d76d59
JM
12529 * timezone/README: Update upstream location and email address for
12530 tzcode and tzdata.
12531 * timezone/zdump.c: Update from tzcode 2012b.
12532 * timezone/zic.c: Likewise.
12533
a3cc4f48
JM
12534 * configure.in (libc_cv_as_needed): Remove test.
12535 * configure: Regenerated.
12536 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12537 conditional definition.
12538 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12539 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12540 * config.make.in (have-as-needed): Remove variable.
12541
ceab42c3
SP
125422012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12543 Paul Pluzhnikov <ppluzhnikov@google.com>
12544
12545 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12546 strings correctly.
12547
3ce2865f
CLT
125482012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12549
12550 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12551 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12552 * sysdeps/sh/strlen.S: Likewise.
12553
f37e0d68
JM
125542012-04-24 Joseph Myers <joseph@codesourcery.com>
12555
ae186e9a
JM
12556 * sysdeps/unix/fork.S: Remove file.
12557 * sysdeps/unix/i386/fork.S: Likewise.
12558 * sysdeps/unix/sparc/fork.S: Likewise.
12559
b96914af
JM
12560 * sysdeps/unix/system.c: Remove file.
12561 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12562
f37e0d68
JM
12563 * sysdeps/unix/getegid.S: Remove file.
12564 * sysdeps/unix/geteuid.S: Likewise.
12565
87ef29ca
RM
125662012-04-24 Roland McGrath <roland@hack.frob.com>
12567
83bcd236
RM
12568 * scripts/check-localplt.awk: New file.
12569 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12570 of diff.
12571 * scripts/data/localplt-generic.data: Add a comment.
12572
87ef29ca
RM
12573 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12574 NODE when __dir_mkfile failed.
12575 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12576 Reported by Ludovic Courtès <ludo@gnu.org>.
12577
e5a6e567
AJ
125782012-04-24 Andreas Jaeger <aj@suse.de>
12579
12580 * Makerules (common-clean): Also remove gen-as-const-headers
12581 files.
12582
c1820385
JM
125832012-04-24 Joseph Myers <joseph@codesourcery.com>
12584
12585 * Makerules (native-compile): Do not change working directory for
12586 build. Use $(OUTPUT_OPTION) in command.
12587 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12588
94e02fc4
AZ
125892012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12590
12591 [BZ #13886]
12592 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12593 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12594 * math/libm-test.inc (floor_test): Add more tests.
12595 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12596
3a533ca3
JM
125972012-04-24 Joseph Myers <joseph@codesourcery.com>
12598
940ab4b3
JM
12599 * sysdeps/unix/getdents.c: Remove file.
12600 * sysdeps/unix/sysv/getdents.c: Likewise.
12601 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12602
90e037bd
JM
12603 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12604 sysdeps/unix/mman/syscalls.list.
12605 (mmap): Likewise.
12606 (mprotect): Likewise.
12607 (msync): Likewise.
12608 (munmap): Likewise.
12609 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12610 * sysdeps/unix/mman/syscalls.list: Remove.
12611 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12612
3a533ca3
JM
12613 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12614 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12615 * configure: Regenerated.
12616 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12617 $(libgcc_s_suffix).
12618 * config.make.in (libgcc_s_suffix): Remove variable.
12619
1ad743de
JM
126202012-04-23 Joseph Myers <joseph@codesourcery.com>
12621
4ad451e2
JM
12622 * sysdeps/unix/sysv/gethostname.c: Move to ...
12623 * sysdeps/posix/gethostname.c: ... here.
12624
5e37ce39
JM
12625 * sysdeps/unix/execve.S: Remove file.
12626
1ad743de
JM
12627 * sysdeps/unix/_exit.S: Remove file.
12628
4e681b5b
AJ
126292012-04-23 Andreas Jaeger <aj@suse.de>
12630
12631 [BZ #13739]
12632 * manual/Makefile: Remove make dist support, there's no
12633 need for a stand-alone documentation tar ball.
12634 (TEXI2DVI): Define always, it's not in Makeconfig.
12635 (dist): Removed.
12636 (tar-it): Removed.
12637 (edition): Removed.
12638 (glibc-doc-$(edition).tar): Removed
12639 (%.Z): Removed.
12640 (%.gz): Removed.
12641 (%.uu): Removed.
12642 (ETAGS): Remove, it's in Makeconfig.
12643 (move-if-change): Remove, it's in Makeconfig.
12644
38686a03 126452012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12646
12647 [BZ #13970]
12648 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12649 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12650 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12651 (strtod_l, strtof_l, strtold_l): Remove __wur.
12652 It is not necessarily an error to ignore strtol's return value.
12653 One can reliably look at the stored endptr to decide whether
12654 the number had valid syntax.
12655
7c0616fa
AJ
126562012-04-21 Andreas Jaeger <aj@suse.de>
12657
803cb6b7 12658 [BZ #13739]
7c0616fa
AJ
12659 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12660
b0fe253f
JM
126612012-04-21 Joseph Myers <joseph@codesourcery.com>
12662
12663 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12664 * sysdeps/unix/sysv/Versions: Remove file.
12665
8280f22d
MT
126662012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12667
12668 [BZ #13927]
12669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12670
75ce411f 126712012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12672
12673 [BZ #7064]
12674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12675 version from __vm86.
12676
097d59fa
JM
126772012-04-20 Joseph Myers <joseph@codesourcery.com>
12678
a90f3bcb
JM
12679 * sysdeps/unix/common/lxstat.c: Remove file.
12680 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12681
edc7ea78
JM
12682 * sysdeps/unix/sysv/Makefile: Remove file.
12683
cb78c221
JM
12684 * sysdeps/unix/sysv/direct.h: Remove file.
12685
efa6a45f
JM
12686 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12687 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12688 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12689 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12690 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12691 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12692 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12693
9c9f2d0c
JM
12694 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12695
4541c83b
JM
12696 * sysdeps/unix/xmknod.c: Remove file.
12697 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12698
f5d153a0
JM
12699 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12700
aa746595
JM
12701 * sysdeps/unix/sysv/i386/time.S: Remove file.
12702
cce5905e
JM
12703 * sysdeps/unix/fxstat.c: Remove file.
12704 * sysdeps/unix/xstat.c: Likewise.
12705 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12706
37fa3841
JM
12707 * sysdeps/unix/sysv/sigaction.c: Remove file.
12708
ff1962a3
JM
12709 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12710 (sysdep_headers): Remove variable.
12711 [termio.h not in sysdep_headers] (generated): Likewise.
12712 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12713 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12714 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12715 * sysdeps/unix/sysv/tcflow.c: Likewise.
12716 * sysdeps/unix/sysv/tcflush.c: Likewise.
12717 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12718 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12719 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12720 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12721 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12722
e7740d31
JM
12723 * sysdeps/unix/siglist.c: Remove file.
12724
ee06f18b
JM
12725 * sysdeps/unix/getppid.S: Remove file.
12726
097d59fa
JM
12727 * sysdeps/unix/mkdir.c: Remove file.
12728 * sysdeps/unix/rmdir.c: Likewise.
12729
ff3d51ec
AS
127302012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12731
12732 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12733 ERR_MAX value.
12734 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12735 errlist-compat value.
12736
50f81fd7
DM
127372012-04-18 David S. Miller <davem@davemloft.net>
12738
12739 * sysdeps/generic/memcopy.h (reg_char): Delete.
12740 * debug/strcat_chk.c: Use char, not reg_char.
12741 * debug/strcpy_chk.c: Likewise.
12742 * debug/strncat_chk.c: Likewise.
12743 * debug/strncpy_chk.c: Likewise.
12744 * string/memchr.c: Likewise.
12745 * string/memrchr.c: Likewise.
12746 * string/rawmemchr.c: Likewise.
12747 * string/strcat.c: Likewise.
12748 * string/strchr.c: Likewise.
12749 * string/strchrnul.c: Likewise.
12750 * string/strcmp.c: Likewise.
12751 * string/strcpy.c: Likewise.
12752 * string/strncat.c: Likewise.
12753 * string/strncmp.c: Likewise.
12754 * string/strncpy.c: Likewise.
12755
8ff41c46
WS
127562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12757
12758 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12759 __builtin_memcopy is called when src and dest ranges are known to not
12760 overlap.
12761
6b652f46
WS
127622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12763
12764 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12765 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12766 fwd_align_merge macro call.
12767 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12768 bwd_align_merge macro call.
12769 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12770
b282631e
WS
127712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12772
12773 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12774 bwd_align_merge macros.
12775 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12776 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12777 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12778
95aa737c
DM
127792012-04-18 David S. Miller <davem@davemloft.net>
12780
12781 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12782
7a99a614
AJ
127832012-04-18 Andreas Jaeger <aj@suse.de>
12784
12785 [BZ# 6794]
12786 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12787 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12788 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12789
12790 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12791 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12792 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12793
12794 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12795 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12796 Adjust for changed ldbl-128 files.
12797
12798 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12799 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12800 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12801
e5270c23
DM
128022012-04-17 David S. Miller <davem@davemloft.net>
12803
12804 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12805
fb5e92c9
AS
128062012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12807
12808 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12809 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12810 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12811 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12812 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12813 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12814
76da7265
AZ
128152012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12816
12817 [BZ #6794]
12818 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12819 * math/libm-test.inc: Add ilogb errno and exception tests.
12820 * math/w_ilogb.c: New file: ilogb wrapper.
12821 * math/w_ilogbf.c: New file: ilogbf wrapper.
12822 * math/w_ilogbl.c: New file: ilogbl wrapper.
12823 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12824 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12825 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12826 exception being thrown with 0.0 as argument.
12827 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12828 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12829 exception being thrown with 0.0 as argument.
12830 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12831 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12832 exception being thrown with 0.0 as argument.
12833 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12834 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12835 exception being thrown with 0.0 as argument.
12836 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12837 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12838 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12839 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12840 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12841 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12842 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12843 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12844 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12845
0396e69d
PB
128462012-04-17 Petr Baudis <pasky@ucw.cz>
12847
12848 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12849 with altivec.
12850
750b5926
MP
128512012-04-16 Marek Polacek <polacek@redhat.com>
12852
12853 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12854
751728a1
MP
128552012-04-16 Marek Polacek <polacek@redhat.com>
12856
12857 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12858 operands of fdivp instruction.
12859
34a27407
L
128602012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12861
12862 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12863 * elf/tst-auditmod3b.c: Likewise.
12864 * elf/tst-auditmod4b.c: Likewise.
12865 * elf/tst-auditmod5b.c: Likewise.
12866 * elf/tst-auditmod6b.c: Likewise.
12867 * elf/tst-auditmod6c.c: Likewise.
12868 * elf/tst-auditmod7b.c: Likewise.
12869 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12870 * sysdeps/x86_64/preconfigure.in: Likewise.
12871 * sysdeps/x86_64/preconfigure: Regenerated.
12872
7e73e17d
L
128732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12874
12875 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12876 __ILP32__.
12877
c7a6ab72
AB
128782012-04-13 Antoine Balestrat <merkil33@gmail.com>
12879
12880 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12881 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12882
a9e8e0e0
CL
128832012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12884
12885 [BZ #13973]
12886 * locale/iso-639.def: Fix gl language name. Spotted by
12887 Yaron Shahrabani.
12888
ec98af7d
RM
128892012-04-12 Roland McGrath <roland@hack.frob.com>
12890
12891 [BZ #2074]
12892 * libio/libio.h (__io_write_fn): Update comment.
12893
247c3ede
PB
128942012-04-12 Petr Baudis <pasky@ucw.cz>
12895
12896 [BZ #2074]
12897 * stdio.texi (Hook Functions): The user provided writer function
12898 is not allowed to return -1.
12899
55939d6d
DM
129002012-04-11 David S. Miller <davem@davemloft.net>
12901
12902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12903
90020f5a
MF
129042012-04-11 Mike Frysinger <vapier@gentoo.org>
12905
12906 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12907 Add a leading slash to rtkaio.
12908
288f9098
JM
129092012-04-11 Jim Meyering <meyering@redhat.com>
12910
90020f5a
MF
12911 [BZ #11959]
12912 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12913 It is not necessarily an error to ignore fwrite's return
12914 value. One can reliably use ferror to test for errors after
12915 the fact.
288f9098 12916
4be2b570
L
129172012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12918
12919 * bits/types.h (__snseconds_t): New type.
12920 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12921
12922 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12923 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12924 (__SNSECONDS_T_TYPE): Likewise.
12925 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12926 (__SNSECONDS_T_TYPE): Likewise.
12927 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12928 (__SNSECONDS_T_TYPE): Likewise.
12929
288f9098 129302012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12931
12932 [BZ #2636]
12933 * manual/time.texi (Processor Time): Return type of times is
12934 elapsed real time since an arbitrary point in the past.
12935 (CPU Time): Move CLK_TCK from here...
12936 (Processor Time): ...to here. Correct description.
12937 * manual/conf.texi (Constants for Sysconf): Correct description of
12938 _SC_CLK_TCK.
12939
d7dd4413
DM
129402012-04-10 David S. Miller <davem@davemloft.net>
12941
12942 [BZ #13967]
12943 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12944 where the is a gap between DT_REL(A) and DT_JMPREL.
12945
b46068fc
L
129462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12947
12948 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12949 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12950 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12951
73d65cc3
SP
129522012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12953
12954 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12955 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12956 (dl_main): Handle --inhibit-cache.
12957 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12958 _dl_inhibit_cache.
12959 * elf/dl-load.c (_dl_map_object): Use it.
12960 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12961
bcc8d661
JM
129622012-04-09 Joseph Myers <joseph@codesourcery.com>
12963
8f9a2fae
JM
12964 [BZ #13872]
12965 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12966 (__ieee754_powl): Saturate large exponents rather than testing for
12967 overflow of y*log2(x).
12968 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12969 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12970 exceptions.
12971
bcc8d661
JM
12972 [BZ #11521]
12973 * math/s_ctan.c: Include <float.h>.
12974 (__ctan): Avoid internal overflow or cancellation in calculating
12975 denominator.
12976 * math/s_ctanf.c: Likewise.
12977 * math/s_ctanl.c: Likewise.
12978 * math/s_ctanh.c: Likewise.
12979 * math/s_ctanhf.c: Likewise.
12980 * math/s_ctanhl.c: Likewise.
12981 * math/libm-test.inc (ctan_test): Add more tests.
12982 (ctanh_test): Likewise.
12983 * sysdeps/i386/fpu/libm-test-ulps: Update.
12984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12985
823fbbb4
AJ
129862012-04-09 Andreas Jaeger <aj@suse.de>
12987
03879793
AJ
12988 [BZ #6894]
12989 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12990 is an optional BSD extension.
12991
823fbbb4
AJ
12992 [BZ #10254]
12993 * manual/stdio.texi (Opening Streams): Document additional fopen
12994 parameters.
12995
8de131cb
RM
129962012-04-09 Roland McGrath <roland@hack.frob.com>
12997
12998 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12999 %eax without telling the compiler.
13000
c0ed9d7d
CD
130012012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13002
13003 [BZ # 13963]
13004 * manual/install.texi: Use sourceware.org.
13005
c483f6b4
JM
130062012-04-09 Joseph Myers <joseph@codesourcery.com>
13007
d7dd9453
JM
13008 [BZ #13873]
13009 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13010 (__ieee754_pow): Generate overflow and underflow using huge*huge
13011 and tiny*tiny rather than just returning constant infinity or zero
13012 for large exponents.
13013 * math/libm-test.inc (pow_test): Require overflow exceptions for
13014 applicable cases of large exponents.
13015
c483f6b4
JM
13016 [BZ #706]
13017 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13018 (__ieee754_pow): Use iterative multiplication algorithm only for
13019 integer exponents with absolute value below 1024. Check for odd
13020 integer exponents when using algorithm for real exponents.
13021 * math/libm-test.inc (pow_test): Add more tests.
13022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13023
d2de7579
JM
130242012-04-08 Joseph Myers <joseph@codesourcery.com>
13025
13026 [BZ #13705]
13027 * math/libm-test.inc (exp_test): Do not allow overflow exception
13028 on underflow test.
13029
f77f1232
AJ
130302012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13031
13032 [BZ #13705]
13033 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13034 instead of __kernel_standard_f.
13035
3884932b
MF
130362012-04-08 Mike Frysinger <vapier@gentoo.org>
13037
13038 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13039 * sysdeps/x86_64/memset_chk.S: Likewise.
13040
54472e9c
AJ
130412012-04-08 Andreas Jaeger <aj@suse.de>
13042
6ab0fbfc
AJ
13043 [BZ #10153]
13044 * manual/startup.texi (Environment Access): Describe return value
13045 for putenv and setenv.
13046
61efba8c
AJ
13047 [BZ #6895]
13048 * manual/filesys.texi (Directory Entries): Add description for
13049 DT_LNK.
13050
95c3f29a
AJ
13051 [BZ #6890]
13052 * manual/filesys.texi (Directory Entries): Clarify that it's file
13053 system not operating system in the description of DT_UNKNOWN.
13054
54472e9c
AJ
13055 [BZ #6578]
13056 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13057
624254b1
SC
130582012-04-08 Stephen Compall <s11@member.fsf.org>
13059
13060 [BZ #6649]
13061 * manual/llio.texi (Opening and Closing Files): Add cross
13062 reference to explain mode argument.
13063
1e4920e0
MF
130642012-04-07 Mike Frysinger <vapier@gentoo.org>
13065
13066 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13067 * sysdeps/x86_64/memset_chk.S: Likewise.
13068
5ed848f3
DM
130692012-04-07 David S. Miller <davem@davemloft.net>
13070
13071 * elf/elf.h (R_SPARC_WDISP10): Define.
13072 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13073 R_SPARC_SIZE32.
13074 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13075 R_SPARC_SIZE64 and R_SPARC_H34.
13076
96154cd8
CD
130772012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13078
13079 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13080 conditions and remove no longer applicable assertion.
13081
9904dc47
L
130822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13083
13084 * bits/byteswap.h: Include <features.h>.
13085 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13086 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13087
f8887d0a
L
130882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13089
13090 * bits/byteswap.h (__bswap_16): Removed.
13091 Include <bits/byteswap-16.h> to get __bswap_16.
13092 * sysdeps/i386/bits/byteswap.h: Likewise.
13093 * sysdeps/s390/bits/byteswap.h: Likewise.
13094 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13095 * bits/byteswap-16.h: New file.
13096 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13097 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13098 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13099 * string/Makefile (headers): Add bits/byteswap-16.h.
13100
62470f60
PP
131012012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13102
13103 [BZ #13895]
13104 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13105 extra indirection.
13106 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13107 * nss/tst-nss-static.c: New.
13108
4dad7bab
RM
131092012-04-06 Robert Millan <rmh@gnu.org>
13110
13111 [BZ #6486]
13112 * manual/llio.texi (File Position Primitive): lseek
13113 refers to WHENCE when it really means OFFSET.
13114
e9142a17
AJ
131152012-04-06 Andreas Jaeger <aj@suse.de>
13116
2c040eff
AJ
13117 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13118 strncmp declarations.
13119
e9142a17
AJ
13120 * abilist/libc.abilist: Add __poll and __ppoll.
13121
ff9f1c5f
DM
131222012-04-05 David S. Miller <davem@davemloft.net>
13123
dcd2ae90
DM
13124 * scripts/check-local-headers.sh: Accept a host triplet in the
13125 path matched by the exclude regexp.
13126
993eb054
DM
13127 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13128 definition.
13129 * sysdeps/powerpc/powerpc32/dl-machine.h
13130 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13131 * sysdeps/s390/s390-32/dl-machine.h
13132 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13133 * sysdeps/sparc/sparc32/dl-machine.h
13134 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13135 * sysdeps/sparc/sparc64/dl-machine.h
13136 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13137
ff9f1c5f
DM
13138 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13139 lazy binding.
48e2e132 13140 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13141 undefined symbol errors.
13142
48e2e132 13143 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13144 DT_NEEDED entries.
13145
e80d6f94
MM
131462012-04-05 Michael Matz <matz@suse.de>
13147
13148 [BZ #13592]
13149 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13150
349fa79f
AJ
131512012-04-05 Andreas Jaeger <aj@suse.de>
13152
13153 [BZ #13908]
13154 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13155 comment.
13156
f402708f
KK
131572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13158
13159 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13160 which ROUND is no valid rounding mode.
13161
2ecccfc9
KK
131622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13163
13164 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13165 read again.
13166 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13167
8a53f50f
KK
131682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13169
13170 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13171 an exception using FPU order intentionally.
13172
131732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13174
13175 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13176 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13177 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13178 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13179
d653abb7
SJ
131802012-04-05 Simon Josefsson <simon@josefsson.org>
13181
13182 [BZ #12340]
13183 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13184 EINVAL when BUFLEN is too smal.
13185
c3b1bf7d
TS
131862012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13187
13188 [BZ #13553]
13189 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13190 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13191
b1aa60f3
AJ
131922012-04-03 Andreas Jaeger <aj@suse.de>
13193
c3b1bf7d 13194 [BZ #13938]
67f60a26
AJ
13195 * manual/setjmp.texi (System V contexts): Fix sentence.
13196
b1aa60f3
AJ
13197 [BZ #13926]
13198 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13199 New macro for this case.
13200 [!__GNUC__] (__bswap_64): New inline function for this case.
13201 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13202 * bits/byteswap.h: Likewise.
13203 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13204 ull, guard with __GLIBC_HAVE_LONG_LONG.
13205
13206 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13207 __GLIBC_HAVE_LONG_LONG.
13208
13209 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13210 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13211
39c59c35
TMQMF
132122012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13213
13214 [BZ #13691]
13215 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13216 inptr and inend, rather than using last_ch.
13217
135ffda8
DM
132182012-04-02 David S. Miller <davem@davemloft.net>
13219
13220 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13221 * stdio-common/printf-parse.h (read_int): Change return type to
13222 'int', return -1 on INT_MAX overflow.
13223 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13224 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13225 overflows INT_MAX. Check for overflow of in-format-string precision
13226 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13227 SIZE_MAX not INT_MAX for integer overflow test.
13228 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13229 skip the construct in the format string but do not record anything.
13230 * stdio-common/bug22.c: Adjust to test both width/prevision
13231 INT_MAX overflow as well as total length INT_MAX overflow. Check
13232 explicitly for proper errno values.
13233
228c019e
TS
132342012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13235
302cadd3
TS
13236 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13237 CHAR_MAX.
13238 * string/test-strcmp.c [! WIDE]: Likewise.
13239 * time/tst-mktime2.c: Likewise for INT_MAX.
13240 * string/test-string.h: #include <sys/param.h> for MIN.
13241
228c019e
TS
13242 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13243 * sysdeps/i386/init-first.c (init): Likewise.
13244 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13245 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13246 * sysdeps/sh/init-first.c (init): Likewise.
13247
cfa633f5
UD
132482012-04-01 Ulrich Drepper <drepper@gmail.com>
13249
13250 * po/ru.po: Update from translation team.
d1635ef8 13251 * po/vi.po: Likewise.
cfa633f5 13252
6cd0a5ea
SP
132532012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13254
13255 * resolv/nss_dns/dns-host.c: Merge copyright years.
13256
4b43400f
LD
132572012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13258
13259 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13260 Optimize memcpy with prefetch if
13261 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13262 src, dst pointers have unequal 16 byte alignments.
13263
48c41d04
SP
132642012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13265
13266 [BZ #13928]
13267 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13268 from a CNAME entry and return the minimum ttl for the query.
13269 (gaih_getanswer_slice): Likewise.
13270
b8dc394d
JL
132712012-03-30 Jeff Law <law@redhat.com>
13272
13273 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13274 due to long keys.
13275 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13276 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13277
2f5a5ed0
JL
13278 * resolv/nss_dns/dns-host.c: Update copyright year.
13279
1d39e359
UD
132802012-03-30 Ulrich Drepper <drepper@gmail.com>
13281
c030f70c 13282 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13283 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13284
1d39e359
UD
13285 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13286 comments for sendmmsg.
13287
132882012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13289
13290 [BZ #13691]
13291 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13292 with only 1 character between 0x0041 and 0x01b0.
13293 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13294 * wcsmbs/tst-mbsnrtowcs.c: New file.
13295
20fde227
DM
132962012-03-29 David S. Miller <davem@davemloft.net>
13297
13298 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13299 small copies by hand.
13300
984a4237
JL
133012012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13302
13303 [BZ #13761]
13304 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13305 _nss_compat_initgroups_dyn): Fall back to malloc/free
13306 for large group memberships.
13307
18c9d62b
DM
133082012-03-28 David S. Miller <davem@davemloft.net>
13309
88d85d4f
DM
13310 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13311 that branches into memcpy.
13312 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13313 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13314 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13315 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13316 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13317 bits.
13318 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13319 implementation too.
13320 * sysdeps/sparc/mempcpy.S: New file.
13321
e5aa83e1
DM
13322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13323 the IFUNC routine in the libc case.
13324 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13325
88570753
DM
13326 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13327 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13328 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13329 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13330 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13331 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13332 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13333 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13334
249d7567
DM
13335 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13336 loop to 256 bytes instead of 64 bytes and fix test signedness.
13337
18c9d62b
DM
13338 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13339 * sysdeps/sparc/sparc32/Makefile: rather than here...
13340 * sysdeps/sparc/sparc64/Makefile: and here.
13341
05f3d1f6
UD
133422012-03-28 Ulrich Drepper <drepper@gmail.com>
13343
13344 * malloc/mallocbug.c: Avoid warnings about unused variables.
13345
86ae07a8
JL
133462012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13347
13348 [BZ #13760]
13349 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13350 in the right place. Discard and retry query if response is
13351 larger than input buffer size.
13352
41bf21a1
JM
133532012-03-28 Joseph Myers <joseph@codesourcery.com>
13354
d6270972
JM
13355 [BZ #369]
13356 [BZ #2678]
13357 [BZ #3866]
13358 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13359 x for large integer exponent.
13360 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13361 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13362 sign of result as needed afterwards.
13363 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13364 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13365 result for underflowing pow the same as for overflow.
13366 (__kernel_standard_l): Handle powl overflow and underflow here
13367 rather than calling __kernel_standard.
13368 * math/libm-test.inc (pow_test): Add more tests.
13369
414fca03 13370 [BZ #3868]
41bf21a1
JM
13371 [BZ #13879]
13372 [BZ #13910]
13373 [BZ #13911]
13374 [BZ #13912]
13375 [BZ #13913]
13376 [BZ #13915]
13377 [BZ #13916]
13378 [BZ #13917]
13379 [BZ #13918]
13380 [BZ #13919]
13381 [BZ #13920]
13382 [BZ #13921]
13383 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13384 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13385 (__kernel_standard_l): New function.
13386 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13387 __kernel_standard.
13388 * math/w_acosl.c (__acosl): Likewise.
13389 * math/w_asinl.c (__asinl): Likewise.
13390 * math/w_atan2l.c (__atan2l): Likewise.
13391 * math/w_atanhl.c (__atanhl): Likewise.
13392 * math/w_coshl.c (__coshl): Likewise.
13393 * math/w_exp10l.c (__exp10l): Likewise.
13394 * math/w_exp2l.c (__exp2l): Likewise.
13395 * math/w_fmodl.c (__fmodl): Likewise.
13396 * math/w_hypotl.c (__hypotl): Likewise.
13397 * math/w_j0l.c (__j0l, __y0l): Likewise.
13398 * math/w_j1l.c (__j1l, __y1l): Likewise.
13399 * math/w_jnl.c (__jnl, __ynl): Likewise.
13400 * math/w_lgammal.c (__lgammal): Likewise.
13401 * math/w_log10l.c (__log10l): Likewise.
13402 * math/w_log2l.c (__log2l): Likewise.
13403 * math/w_logl.c (__logl): Likewise.
13404 * math/w_powl.c (__powl): Likewise.
13405 * math/w_remainderl.c (__remainderl): Likewise.
13406 * math/w_scalbl.c (sysv_scalbl): Likewise.
13407 * math/w_sinhl.c (__sinhl): Likewise.
13408 * math/w_sqrtl.c (__sqrtl): Likewise.
13409 * math/w_tgammal.c (__tgammal): Likewise.
13410 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13411 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13412 * math/libm-test.inc (acos_test): Add more tests.
13413 (acosh_test): Likewise.
13414 (asin_test): Likewise.
13415 (atanh_test): Likewise.
13416 (exp_test): Likewise.
13417 (exp10_test): Likewise.
13418 (exp2_test): Likewise.
13419 (expm1_test): Likewise.
13420 (lgamma_test): Likewise.
13421 (log_test): Likewise.
13422 (log10_test): Likewise.
13423 (log1p_test): Likewise.
13424 (log2_test): Likewise.
13425 (pow_test): Do not allow some spurious overflow exceptions.
13426 (sqrt_test): Add more tests.
13427 (tgamma_test): Likewise.
13428 (y0_test): Likewise.
13429 (y1_test): Likewise.
13430 (yn_test): Likewise.
13431
dd62fda6
AB
134322012-03-27 Anton Blanchard <anton@samba.org>
13433
13434 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13435 MAP_HUGETLB.
13436 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13437 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13438 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13439
1e3cdfda
AJ
134402012-03-27 David S. Miller <davem@davemloft.net>
13441
b855ab85
DM
13442 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13443
1e3cdfda
AJ
13444 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13445 have-as-vis3 check.
13446
134472012-03-27 Andreas Jaeger <aj@suse.de>
13448
13449 * sysdeps/x86_64/elf/configure.in: Moved to ...
13450 * sysdeps/x86_64/configure.in: ... here.
13451 * sysdeps/x86_64/elf/start.S: Moved to ...
13452 * sysdeps/x86_64/start.S: ... here.
13453 * sysdeps/x86_64/elf/configure: Delete.
13454
13455 * sysdeps/x86_64/configure.in: Merge contents from
13456 sysdeps/i386/configure.in (without i686 check).
13457
13458 * sysdeps/i386/elf/Versions: Merge into ...
13459 * sysdeps/i386/Versions: ... this.
13460 * sysdeps/i386/elf/Versions: Delete file.
13461 * sysdeps/i386/elf/start.S: Moved to ...
13462 * sysdeps/i386/start.S: ...here.
13463 * sysdeps/i386/elf/configure.in: Merge into...
13464 * sysdeps/i386/configure.in: ...here.
13465 * sysdeps/i386/elf/configure.in: Delete file.
13466 * sysdeps/i386/elf/configure: Delete file.
13467
13468 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13469 * debug/backtracesyms.c: ... here.
13470 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13471 * debug/backtracesymsfd.c: ... here.
13472 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13473 * sysdeps/generic/ifunc-sel.h: ... here.
13474
13475 * sysdeps/unix/i386/start.c: Delete file.
13476 * sysdeps/unix/sparc/start.c: Delete file.
13477 * sysdeps/unix/start.c: Delete file.
13478
13479 * sysdeps/sh/elf/configure.in: Moved to ...
13480 * sysdeps/sh/configure.in: ... here.
13481 * sysdeps/sh/elf/start.S: Moved to ...
13482 * sysdeps/sh/start.S: ... here.
13483 * sysdeps/sh/elf/configure: Delete file.
13484
13485 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13486 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13487 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13488 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13489 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13490 * sysdeps/powerpc/powerpc64/start.S: here.
13491 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13492 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13493 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13494 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13495 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13496
13497 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13498 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13499 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13500 * sysdeps/powerpc/powerpc32/start.S: ... here.
13501 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13502 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13503 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13504
13505 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13506 * sysdeps/powerpc/ifunc-sel.h: ... here.
13507 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13508 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13509
13510 * sysdeps/sparc/elf/configure.in: Moved to ...
13511 * sysdeps/sparc/configure.in: ... here.
13512 * sysdeps/sparc/elf/configure: Delete file.
13513 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13514 * sysdeps/sparc/sparc32/start.S: ... here.
13515 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13516 * sysdeps/sparc/sparc64/start.S: ... here.
13517 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13518 * sysdeps/sparc/sparc32/Makefile: ... this.
13519 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13520 * sysdeps/sparc/sparc64/Makefile: ... this.
13521
13522 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13523 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13524 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13525 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13526 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13527 * sysdeps/s390/s390-32/setjmp.S: ... here.
13528 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13529 * sysdeps/s390/s390-32/configure.in: ... here.
13530 * sysdeps/s390/s390-32/elf/configure: Delete file.
13531 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13532 * sysdeps/s390/s390-32/start.S: ... here.
13533
13534 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13535 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13536 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13537 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13538 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13539 * sysdeps/s390/s390-64/setjmp.S: ... here.
13540 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13541 * sysdeps/s390/s390-64/configure.in: ... here
13542 * sysdeps/s390/s390-64/elf/configure: Delete file.
13543 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13544 * sysdeps/s390/s390-64/start.S: ... here.
13545 * sysdeps/s390/s390-64/elf/configure: Delete.
13546
13547 * configure.in: Remove support for elf directories in sysdeps.
13548
13549 * configure: Regenerated.
13550 * sysdeps/i386/configure: Regenerated.
13551 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13552 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13553 * sysdeps/s390/s390-32/configure: Regenerated.
13554 * sysdeps/s390/s390-64/configure: Regenerated.
13555 * sysdeps/sh/configure: Regenerated.
13556 * sysdeps/sparc/configure: Regenerated.
13557 * sysdeps/x86_64/configure: Regenerated.
13558
a3f61311
AS
135592012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13560
c876e002
AS
13561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13562
a3f61311
AS
13563 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13564 denormal result into account.
13565
ac4c54f0
RM
135662012-03-25 Roland McGrath <roland@hack.frob.com>
13567
13568 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13569 Reported by Allan McRae <allan@archlinux.org>.
13570
6a9b9c02
JL
135712012-03-23 Jeff Law <law@redhat.com>
13572
13573 * nss/getnssent.c (__nss_getent): Fix typo.
13574
4c42a0c1
DM
135752012-03-23 David S. Miller <davem@davemloft.net>
13576
13577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13578
1532c7ac
L
135792012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13580
13581 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13582 to pad to uint64_t for each field.
13583 (dl_tls_index): Replace unsigned long with uint64_t.
13584
3ff42526
PP
135852012-03-23 Daniel Jacobowitz <dmj@google.com>
13586 Paul Pluzhnikov <ppluzhnikov@google.com>
13587
13588 [BZ #6528]
13589 * grp/Makefile (otherlibs): Don't set it.
13590 * inet/Makefile (otherlibs): Likewise.
13591 * login/Makefile (otherlibs): Likewise.
13592 * nscd/Makefile (otherlibs): Likewise.
13593 * posix/Makefile (otherlibs): Likewise.
13594 * pwd/Makefile (otherlibs): Likewise.
13595 * rt/Makefile (otherlibs): Likewise.
13596 * sunrpc/Makefile (otherlibs): Likewise.
13597 * nss/Makefile (otherlibs): Likewise.
13598 Add libnss_files to routines and static-only-routines.
13599 ($(objpfx)getent): Remove rule.
13600 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13601 static-only-routines.
13602
7c69cd14
JM
136032012-03-22 Joseph Myers <joseph@codesourcery.com>
13604
13605 [BZ #13892]
13606 * math/s_cexp.c: Include <float.h>.
13607 (__cexp): Handle exp result overflowing not necessarily
13608 overflowing both real and imaginary parts of result.
13609 * math/s_cexpf.c: Likewise.
13610 * math/s_cexpl.c: Likewise.
13611 * math/libm-test.inc (cexp_test): Add more tests.
13612 * sysdeps/i386/fpu/libm-test-ulps: Update.
13613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13614
81b035fe
L
136152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13616
13617 * include/link.h (ELFW): New macro.
13618 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13619 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13620
1da7940c
L
136212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13622
13623 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13624 with uint64_t.
13625
b749dbb9
L
136262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13627
13628 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13629 declaration.
13630 (struct La_x32_retval): Likewise.
13631
2ff87f3f
L
136322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13633
13634 * sysdeps/x86_64/preconfigure.in: New file.
13635 * sysdeps/x86_64/preconfigure: New generated file.
13636
c0df8e69
JM
136372012-03-22 Joseph Myers <joseph@codesourcery.com>
13638
48e44791
JM
13639 [BZ #13824]
13640 * math/e_exp2l.c: Include <float.h>.
13641 (__ieee754_exp2l): Handle overflow and underflow cases
13642 separately. Only pass fractional part of argument to
13643 __ieee754_expl.
13644 * math/libm-test.inc (exp2_test): Add more tests.
13645
c0df8e69
JM
13646 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13647 negating x to take absolute value.
13648 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13649 Likewise.
13650 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13651 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13652 Likewise.
13653 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13654 computing low part if x was negated.
13655 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13656
c8e43ba7
L
136572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13658
13659 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13660 la_x32_gnu_pltexit.
13661 (pltexit): Cast int_retval to ptrdiff_t.
13662 * elf/tst-auditmod3b.c: Likewise.
13663 * elf/tst-auditmod4b.c: Likewise.
13664 * elf/tst-auditmod5b.c: Likewise.
13665 * elf/tst-auditmod6b.c: Likewise.
13666 * elf/tst-auditmod6c.c: Likewise.
13667 * elf/tst-auditmod7b.c: Likewise.
13668
13669 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13670 and x32_gnu_pltexit.
13671
13672 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13673 __ELF_NATIVE_CLASS.
13674 (La_x32_regs): New macro.
13675 (La_x32_retval): Likewise.
13676 (la_x32_gnu_pltenter): New function prototype.
13677 (la_x32_gnu_pltexit): Likewise.
13678
7998fa78
AS
136792012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13680
dcb33988
AS
13681 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13682 exponent.
13683
233fc563
AS
13684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13685
7998fa78
AS
13686 * configure.in (libc_cv_cc_nofma): Check for option to disable
13687 generation of FMA instructions.
13688 * configure: Regenerate.
13689 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13690 * sysdeps/ieee754/dbl-64/Makefile: New file.
13691 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13692 Remove brandred-fma4.
13693 (CFLAGS-brandred-fma4.c): Remove.
13694 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13695 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13696 define.
13697 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13698 define.
13699
8e95c99a
L
137002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13701
13702 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13703 LLONG_MAX != LONG_MAX.
13704 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13705 (_fitoa_word): Likewise.
13706 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13707 LLONG_MAX != LONG_MAX.
13708 * stdio-common/_itowa.h: Include <_itoa.h>.
13709 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13710 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13711 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13712 only if not defined.
13713 (_ITOA_WORD_TYPE): Likewise.
13714 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13715 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13716
6f4db457
DM
137172012-03-21 David S. Miller <davem@davemloft.net>
13718
13719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13720
7785fe5a
L
137212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13722
13723 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13724 of x86_64 when setting libc_cv_slibdir, libdir and
13725 libc_cv_localedir.
13726 * sysdeps/unix/sysv/linux/configure: Regenerated.
13727
4535cd55
JM
137282012-03-21 Joseph Myers <joseph@codesourcery.com>
13729
13730 * manual/lang.texi (Old Varargs): Remove section.
13731 (How Variadic): Update menu.
13732 (va_start): Do not mention varargs.h.
13733
17228132
TS
137342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13735 Joseph Myers <joseph@codesourcery.com>
13736
13737 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13738 link test.
13739 * configure: Regenerated.
13740
8149f976
TS
137412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13742
05f3d1f6
UD
13743 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13744 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13745 conformtest.pl
8149f976 13746
1a4ac776
JM
137472012-03-21 Joseph Myers <joseph@codesourcery.com>
13748
be22ce65
JM
13749 * NOTES: Remove.
13750 * Makefile (files-for-dist): Remove NOTES.
13751 (NOTES): Remove rule.
13752 * README: Don't refer to NOTES.
13753 * manual/creature.texi: Don't include macros.texi.
13754 * manual/intro.texi (creature.texi): Remove comment referring to
13755 NOTES.
13756
40b601fb
JM
13757 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13758 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13759 * configure: Regenerated.
13760 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13761 LIBC_TRY_CC_OPTION.
13762 (libc_cv_as_i686): Likewise.
13763 (libc_cv_cc_avx): Likewise.
13764 (libc_cv_cc_sse2avx): Likewise.
13765 (libc_cv_cc_fma4): Likewise.
13766 (libc_cv_cc_novzeroupper): Likewise.
13767 * sysdeps/i386/configure: Regenerated.
13768
1a4ac776
JM
13769 [BZ #13883]
13770 * sysdeps/i386/fpu/s_cexp.S: Remove.
13771 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13772 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13773 * math/libm-test.inc (cexp_test): Add more tests.
13774 * sysdeps/i386/fpu/libm-test-ulps: Update.
13775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13776
a458e7fe
AM
137772012-03-21 Allan McRae <allan@archlinux.org>
13778
13779 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13780
0cb7efc5
JM
137812012-03-21 Joseph Myers <joseph@codesourcery.com>
13782
13783 [BZ #13871]
13784 * math/w_exp2.c: Do not include <float.h>.
13785 (o_threshold, u_threshold): Remove.
13786 (__exp2): Calculate result before checking finiteness and calling
13787 __kernel_standard.
13788 * math/w_exp2f.c: Likewise.
13789 * math/w_exp2l.c: Likewise.
13790 * math/libm-test.inc (exp2_test): Require overflow exception for
13791 1e6 input.
2460d3aa
JM
13792
13793 [BZ #3866]
13794 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13795 range of signed 64-bit integers before using fistpll. Remove
13796 checks for whether integers fit in mantissa bits.
13797 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13798 the range of signed 32-bit integers before using fistpl. Remove
13799 checks for whether integers fit in mantissa bits.
13800 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13801 (__ieee754_powl): Test for y outside the range of signed 64-bit
13802 integers before using fistpll. Reduce 64-bit values to 63-bit
13803 ones as needed.
13804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13805 divide-by-zero is raised for zero to large negative powers.
13806 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13807 (__ieee754_powl): Test for y outside the range of signed 64-bit
13808 integers before using fistpll. Reduce 64-bit values to 63-bit
13809 ones as needed.
13810 * math/libm-test.inc (pow_test): Add more tests.
13811
eb96ffb0
L
138122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13813
13814 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13815 <stdio-common/_itoa.h>.
13816 * debug/segfault.c: Likewise.
13817 * elf/dl-cache.c: Likewise.
13818 * elf/dl-minimal.c: Likewise.
13819 * elf/dl-misc.c: Likewise.
13820 * elf/dl-sysdep.c: Likewise.
13821 * elf/dl-version.c: Likewise.
13822 * elf/rtld.c: Likewise.
13823 * hurd/hurdsock.c: Likewise.
13824 * hurd/lookup-retry.c: Likewise.
13825 * malloc/malloc.c: Likewise.
13826 * malloc/mtrace.c: Likewise.
13827 * nscd/nscd_getgr_r.c: Likewise.
13828 * nscd/nscd_getpw_r.c: Likewise.
13829 * nscd/nscd_getserv_r.c: Likewise.
13830 * posix/getopt_init.c: Likewise.
13831 * posix/wordexp.c: Likewise.
13832 * stdio-common/_itoa.c: Likewise.
13833 * stdio-common/printf_fphex.c: Likewise.
13834 * stdio-common/vfprintf.c: Likewise.
13835 * string/_strerror.c: Likewise.
13836 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13837 * sysdeps/i386/i686/hp-timing.h: Likewise.
13838 * sysdeps/mach/_strerror.c: Likewise.
13839 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13840 * sysdeps/mach/hurd/sethostid.c: Likewise.
13841 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13842 * sysdeps/mach/xpg-strerror.c: Likewise.
13843 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13844 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13845 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13846 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13847 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13848 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13849 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13850 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13851 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13852 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13853 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13854 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13855 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13856 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13857 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13858 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13859 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13860 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13861 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13862 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13863 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13864
13865 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13866
13867 * stdio-common/_itoa.h: Moved to ...
13868 * sysdeps/generic/_itoa.h: Here.
13869
13870 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13871
13872 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13873 instead of "_itoa.h" and "_itowa.h".
13874 * stdio-common/vfprintf.: Likewise.
13875
d1af992d
L
138762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13877
13878 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13879 <bits/wordsize.h>.
13880 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13881 (__signbit): Likwise.
13882 (llrintf): Likwise.
13883 (llrint): Likwise.
13884
114883e0
L
138852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13886
13887 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13888 __WORDSIZE != 64.
13889
c135cc1b
JM
138902012-03-20 Joseph Myers <joseph@codesourcery.com>
13891
13892 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13893 OVERFLOW_EXCEPTION_OK.
13894 * math/libm-test.inc ("Philosophy"): Update comment about
13895 exception testing.
13896 (OVERFLOW_EXCEPTION): Define.
13897 (OVERFLOW_EXCEPTION_OK): Likewise.
13898 (INVALID_EXCEPTION_OK): Renumber.
13899 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13900 (IGNORE_ZERO_INF_SIGN): Likewise.
13901 (test_exceptions): Handle FE_OVERFLOW.
13902 (exp10_test): Expect overflow exceptions.
13903 (exp2_test): Likewise.
13904 (expm1_test): Likewise.
13905 (nextafter_test): Likewise.
13906 (pow_test): Likewise.
13907 (scalbn_test): Likewise.
13908 (scalbln_test): Likewise.
13909
95443d88
L
139102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13911
13912 * sysdeps/x86_64/bits/atomic.h
13913 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13914 64bit integer.
13915 (atomic_exchange_acq): Likewise.
13916 (__arch_exchange_and_add_body): Likewise.
13917 (__arch_add_body): Likewise.
13918 (atomic_add_negative): Likewise.
13919 (atomic_add_zero): Likewise.
13920
490df6c4
L
139212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13922
c2722551 13923 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13924 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13925
5e52b189
L
139262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13927
13928 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13929 Check __x86_64__ instead of __WORDSIZE.
13930
a9879d4c
L
139312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13932
13933 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13934
5df98260
DM
139352012-03-19 David S. Miller <davem@davemloft.net>
13936
e1497744
DM
13937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13938
5df98260
DM
13939 * sysdeps/sparc/fpu/fenv_private.h: New file.
13940 * sysdeps/sparc/fpu/math_private.h: Use it.
13941 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13942 Remove.
13943 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13944 (libc_feholdexcept_setroundl): Remove.
13945 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13946 Remove.
13947 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13948 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13949
b4c35121
L
139502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13951
13952 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13953 int64_t instead of long int.
13954 (INSERT_WORDS64): Likwise.
13955
56965fd7
L
139562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13957
13958 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13959 _Unwind_GetCFA return to _Unwind_Ptr first.
13960
83d1aec8
JM
139612012-03-19 Joseph Myers <joseph@codesourcery.com>
13962
1897ad44
JM
13963 [BZ #13629]
13964 * math/s_clog.c: Include <float.h>.
13965 (__clog): Scale large or subnormal inputs.
13966 * math/s_clogf.c: Likewise.
13967 * math/s_clogl.c: Likewise.
13968 * math/s_clog10.c: Include <float.h>.
13969 (M_LOG10_2): Define.
13970 (__clog10): Scale large or subnormal inputs.
13971 * math/s_clog10f.c: Likewise.
13972 * math/s_clog10l.c: Likewise.
13973 * math/libm-test.inc (clog_test): Add more tests.
13974 (clog10_test): Likewise.
13975 * sysdeps/i386/fpu/libm-test-ulps: Update.
13976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13977
7726d6a9
JM
13978 [BZ #11451]
13979 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13980 x and y.
13981 * math/libm-test.inc (atan2_test): Add another test.
13982
83d1aec8
JM
13983 * Makerules (common-objdir-compile): Remove.
13984 * sysdeps/unix/Makefile (config-generated): Do not add
13985 $(unix-generated) to variable.
13986 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13987 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13988 Remove rule.
13989 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13990 Likewise.
13991 [generic bits/local_lim.h] (before-compile): Do not append to
13992 variable.
13993 [generic bits/local_lim.h] (common-generated): Likewise.
13994 [generic sys/param.h] (before-compile): Do not append to variable.
13995 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13996 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13997 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13998 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13999 include.
14000 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14001 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14002 [generic sys/param.h] ($(addprefix
14003 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14004 [generic sys/param.h] (common-generated): Do not append to
14005 variable.
14006 [generic sys/param.h] (sysdep_headers): Likewise.
14007 [generic bits/errno.h] (before-compile): Do not append to
14008 variable.
14009 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14010 rule.
14011 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14012 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14013 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14014 [generic bits/errno.h] (common-generated): Do not append to
14015 variable.
14016 [generic bits/ioctls.h] (before-compile): Do not append to
14017 variable.
14018 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14019 rule.
14020 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14021 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14022 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14023 rule.
14024 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14025 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14026 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14027 [generic bits/ioctls.h] (common-generated): Do not append to
14028 variable.
14029 [generic sys/syscall.h] (syscall.h): Remove variable.
14030 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14031 rule.
14032 [generic sys/syscall.h] (before-compile): Do not append to
14033 variable.
14034 [generic sys/syscall.h] (common-generated): Likewise.
14035 * sysdeps/unix/errnos-tmpl.c: Remove file.
14036 * sysdeps/unix/errnos.awk: Likewise.
14037 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14038 * sysdeps/unix/ioctls.awk: Likewise.
14039 * sysdeps/unix/mk-local_lim.c: Likewise.
14040 * sysdeps/unix/snarf-ioctls: Likewise.
14041
4851a949
RH
140422012-03-19 Richard Henderson <rth@twiddle.net>
14043
bd37f2ee
RH
14044 * sysdeps/i386/fpu/fenv_private.h: New file.
14045 * sysdeps/i386/fpu/math_private.h: Use it.
14046 (math_opt_barrier, math_force_eval): Remove.
14047 (libc_feholdexcept_setround_53bit): Remove.
14048 (libc_feupdateenv_53bit): Remove.
14049 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14050 (math_opt_barrier, math_force_eval): Remove.
14051 (libc_feholdexcept): Remove.
14052 (libc_feholdexcept_setround): Remove.
14053 (libc_fetestexcept, libc_fesetenv): Remove.
14054 (libc_feupdateenv_test): Remove.
14055 (libc_feupdateenv, libc_feholdsetround): Remove.
14056 (libc_feresetround): Remove.
14057
d0adc922
RH
14058 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14059 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14060
0fe0f1f8
RH
14061 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14062 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14063 (libc_feupdateenv_testl): New.
14064 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14065 (libc_feupdateenv_testf): New.
14066 (libc_feupdateenv): Use libc_feupdateenv_test.
14067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14068 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14069
eb92c487
RH
14070 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14071 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14072 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14073 (libc_feresetround_noex): New.
14074 (libc_feresetround_noexf): New.
14075 (libc_feresetround_noexl): New.
14076 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14077 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14078 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14079 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14080 SET_RESTORE_ROUND.
14081 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14082 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14083 (__cos): Likewise.
14084 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14085 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14086 SET_RESTORE_ROUND_NOEX.
14087 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14088 SET_RESTORE_ROUND_NOEXF.
14089 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14090 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14091 (libc_feholdsetroundf): New.
14092 (libc_feresetround, libc_feresetroundf): New.
14093
7d2e8012
RH
14094 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14095 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14096 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14097
b4dabbb4
RH
14098 * sysdeps/generic/math_private.h: Include <fenv.h>.
14099 (default_libc_feholdexcept): New.
14100 (default_libc_feholdexcept_setround): New.
14101 (default_libc_fesetenv, default_libc_feupdateenv): New.
14102 (libc_feholdexcept): Only define if undefined.
14103 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14104 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14105 (libc_feholdexcept_setroundl): Likewise.
14106 (libc_feholdexcept_setround_53bit): Likewise.
14107 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14108 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14109 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14110 (libc_feupdateenv_53bit): Likewise.
14111 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14112 (libc_feholdexcept): Convert from macro to inline function.
14113 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14114 (libc_fesetenv, libc_feupdateenv): Likewise.
14115
4851a949
RH
14116 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14117 not previously defined.
14118 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14119 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14120 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14121 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14122 * sysdeps/ieee754/flt-32/math_private.h: New file.
14123 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14124 math_private.h below SET_FLOAT_WORD.
14125 (__isnan, __isinf_ns, __finite): Remove.
14126 (__isnanf, __isinf_nsf, __finitef): Remove.
14127
e79d442e
AS
141282012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14129
14130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14131
90b80344
DM
141322012-03-17 David S. Miller <davem@davemloft.net>
14133
14134 [BZ #6471]
14135 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14136 for 2.16.
14137
edc21804
DM
141382012-03-16 David S. Miller <davem@davemloft.net>
14139
77e927af
DM
14140 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14141 warnings.
14142
374976dd
DM
14143 [BZ #6471]
14144 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14145 properly.
14146 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14147 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14148 sysdep_routines when subdir is sysvipc.
14149 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14150 __getshmlba helper.
14151
edc21804
DM
14152 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14153
473c3ef3
L
141542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14155
14156 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14157 [__LP64__].
14158
eb0f39b6
L
141592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14160
14161 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14162 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14163 (__lround): Renamed to ...
14164 (__llround): This. Replace long int with long long int.
14165 Define lround functions as aliases of llround functions.
14166 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14167
6b6cd74b
L
141682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14169
14170 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14171 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14172 adresses to uintptr_t. Replace "long int" and "unsigned long
14173 int" with "greg_t" on va_arg.
14174
f1a77b01
L
141752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14176
14177 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14178 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14179
14180 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14181 Move e_machine check before EI_CLASS check. Handle x32
14182 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14183 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14184 SKIP_EM_IA_64 and include
14185 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14186
14187 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14188 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14189 (add_system_dir): New macro.
14190
14191 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14192 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14193
11b90b9f
JM
141942012-03-16 Joseph Myers <joseph@codesourcery.com>
14195
c36e1d23
JM
14196 [BZ #2551]
14197 [BZ #2552]
14198 [BZ #2553]
14199 [BZ #2554]
14200 [BZ #2562]
14201 [BZ #2563]
14202 [BZ #2565]
14203 [BZ #2566]
14204 [BZ #2576]
14205 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14206 (y0): Likewise.
14207 * math/w_j0f.c (j0f): Likewise.
14208 (y0f): Likewise.
14209 * math/w_j0l.c (__j0l): Likewise.
14210 (__y0l): Likewise.
14211 * math/w_j1.c (j1): Likewise.
14212 (y1): Likewise.
14213 * math/w_j1f.c (j1f): Likewise.
14214 (y1f): Likewise.
14215 * math/w_j1l.c (__j1l): Likewise.
14216 (__y1l): Likewise.
14217 * math/w_jn.c (jn): Likewise.
14218 (yn): Likewise.
14219 * math/w_jnf.c (jnf): Likewise.
14220 (ynf): Likewise.
14221 * math/w_jnl.c (__jnl): Likewise.
14222 (__ynl): Likewise.
14223 * math/libm-test.inc (j0_test): Add more tests.
14224 (j1_test): Likewise.
14225 (jn_test): Likewise. Add trailing semicolon to existing test.
14226 (y0_test): Likewise.
14227 (y1_test): Likewise.
14228 * sysdeps/i386/fpu/libm-test-ulps: Update.
14229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14230
11b90b9f
JM
14231 [BZ #13851]
14232 [BZ #13854]
14233 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14234 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14235 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14236 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14237 (__tanl): Set errno for infinite argument.
14238 * sysdeps/i386/fpu/mptan.c: Remove.
14239 * sysdeps/i386/fpu/s_tan.S: Likewise.
14240 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14241 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14242 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14243 * math/libm-test.inc (tan_test): Add more tests and enable more
14244 tests for double and long double.
14245 * sysdeps/i386/fpu/libm-test-ulps: Update.
14246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14247
6a1bd2a1
JK
142482012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14249
14250 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14251 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14252
10a803e0
RM
142532012-03-16 Roland McGrath <roland@hack.frob.com>
14254
14255 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14256 * configure.in: Use it for both main tree and add-ons.
14257 * configure: Regenerated.
14258
f196c7f7
L
142592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14260
14261 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14262
8848d99d
JM
142632012-03-16 Joseph Myers <joseph@codesourcery.com>
14264
96cbe7f4
JM
14265 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14266 in comment.
14267
8848d99d
JM
14268 [BZ #13851]
14269 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14270 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14271 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14272 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14273 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14274 infinite argument.
14275 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14276 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14277 != 0 for prec == 2.
14278 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14279 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14280 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14281 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14282 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14283 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14284 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14285 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14286 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14287 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14288 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14289 * math/libm-test.inc (cos_test): Add more tests and enable more
14290 tests for long double.
14291 (sin_test): Likewise.
14292 (sincos_test): Likewise.
14293 * sysdeps/i386/fpu/libm-test-ulps: Update.
14294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14295
dd7f4703
DM
142962012-03-16 David S. Miller <davem@davemloft.net>
14297
14298 * sysdeps/sparc/fpu/math_private.h: New file.
14299
006f1daa
DM
143002012-03-15 David S. Miller <davem@davemloft.net>
14301
c0c83bc8
DM
14302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14303 file.
e6a62e18 14304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14306 file.
e6a62e18
DM
14307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14312 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14313 sysdep routines.
14314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14315
88cb87d9
DM
14316 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14317 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14318
006f1daa 14319 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14321 sparc-ifunc.h
006f1daa 14322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14324 Likewise.
14325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14326 Likewise.
006f1daa
DM
14327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14331 Likewise.
006f1daa
DM
14332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14337 Likewise.
14338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14339 Likewise.
006f1daa
DM
14340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14346 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14347 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14359 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14361 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14363 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14364
11e0098e
AS
143652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14366
14367 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14368 scaling.
14369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14370
e85b09d0
AJ
143712012-03-15 Andreas Jaeger <aj@suse.de>
14372
14373 [BZ #13852]
14374 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14375 ieee754/flt-32 implementation for sin, cos and sincos.
14376 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14377 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14378 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14379 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14380 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14381 ieee754/flt-32 implementation for tan.
14382
14383 * math/libm-test.inc (cos_test): Enable some large input tests for
14384 float as well
14385 (sin_test): Likewise.
14386 (sincos_test): Likewise.
14387 (tan_test): Add tests for large input.
14388
14389 * sysdeps/i386/fpu/libm-test-ulps: Update.
14390
81c64153
AJ
143912012-03-15 Andreas Jaeger <aj@suse.de>
14392
14393 [BZ #13658]
14394 * math/libm-test.inc (cos_test): Add more test cases.
14395 (sin_test): Likewise.
14396 (sincos_test): Likewise.
14397
7bbfa5c6
AJ
143982012-03-15 Andreas Jaeger <aj@suse.de>
14399
14400 [BZ #13837]
14401 * math/libm-test.inc (cos_test): Add a test case for large input
14402 value.
14403 (sin_test): Likewise.
14404 (sincos_test): Likewise.
14405
144062012-03-15 Andreas Jaeger <aj@suse.de>,
14407 Joseph Myers <joseph@codesourcery.com>
14408
14409 [BZ #13658]
0671f479 14410 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14411 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14412 * sysdeps/i386/fpu/branred.c: Likewise.
14413 * sysdeps/i386/fpu/dosincos.c: Likewise.
14414 * sysdeps/i386/fpu/mpa.c: Likewise.
14415 * sysdeps/i386/fpu/s_cos.S: Likewise.
14416 * sysdeps/i386/fpu/s_sin.S: Likewise.
14417 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14418 * sysdeps/i386/fpu/sincos32.c: Likewise.
14419
14420 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14421 Define.
14422 (libc_feupdateenv_53bit): Define.
14423 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14424 Define.
14425 (libc_feupdateenv_53bit): Define.
14426
14427 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14428 53 bit (without extend i386 double precision).
14429
14430 * math/libm-test.inc (sincos_test): Add tests for large input.
14431 (sin): Likewise.
14432 (cos): Likewise.
14433
14434 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14435
9cad04ea
AS
144362012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14437
14438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14439
f7062b9a
DM
144402012-03-15 David S. Miller <davem@davemloft.net>
14441
14442 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14443 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14444 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14445 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14458 file.
f7062b9a 14459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14461 file.
f7062b9a 14462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14464 file.
f7062b9a 14465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14467 file.
f7062b9a
DM
14468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14469 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14470 fmin/fmax sysdep routines.
14471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14472
7bd951ff
DM
144732012-03-14 David S. Miller <davem@davemloft.net>
14474
559398ab
DM
14475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14479 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14481 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14482 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14486 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14496 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14502 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14504 routines.
14505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14506 file.
559398ab 14507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14509 file.
559398ab 14510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14512 file.
559398ab 14513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14515 file.
559398ab 14516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14518 file.
559398ab 14519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14521 file.
14522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14523 file.
14524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14525 file.
14526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14527 file.
14528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14529 New file.
14530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14531 file.
14532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14533 file.
559398ab 14534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14536 file.
559398ab 14537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14539 file.
559398ab 14540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14542 file.
559398ab 14543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14545 VIS3 routines.
559398ab
DM
14546
14547 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14548 New file.
14549
5a1c1e32
DM
14550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14551
eae47a36
DM
14552 * sysdeps/sparc/configure.in: New file.
14553 * sysdeps/sparc/configure: Generate.
14554 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14555 * configure: Regenerate.
14556 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14557 * config.make.in (have-as-vis3): New.
14558 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14559 available use -Av9d instead of -Av9a.
14560 * sysdeps/sparc/sparc64/Makefile: Likewise.
14561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14563 New file.
14564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14565 file.
14566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14567 New file.
14568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14569 file.
eae47a36
DM
14570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14573 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14574 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14575
c0c83bc8
DM
14576 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14577 fzeros/fnegs to load 0x80000000 into a float register instead of
14578 using the stack.
7bd951ff
DM
14579 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14580
bd951ccb
JM
145812012-03-14 Joseph Myers <joseph@codesourcery.com>
14582
14583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14584 bits/syscall.h.
14585 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14586 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14587 ($(inst_includedir)/bits/syscall.h): Remove rule.
14588 ($(objpfx)bits/syscall.d): Include instead of
14589 $(objpfx)syscall-list.d.
14590 (generated): Change syscall-list.h and syscall-list.d to
14591 bits/syscall.h and bits/syscall.d.
14592
bb4e6db2
RM
145932012-03-14 Roland McGrath <roland@hack.frob.com>
14594
14595 [BZ #13846]
14596 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14597
aa4a2ae1
JM
145982012-03-14 Joseph Myers <joseph@codesourcery.com>
14599
e456826d
JM
14600 [BZ #13841]
14601 * math/s_csqrt.c: Include <float.h>.
14602 (__csqrt): Scale large or subnormal inputs.
14603 * math/s_csqrtf.c: Likewise.
14604 * math/s_csqrtl.c: Likewise.
14605 * math/libm-test.inc (csqrt_test): Add more tests.
14606 * sysdeps/i386/fpu/libm-test-ulps: Update.
14607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14608
aa4a2ae1
JM
14609 [BZ #13840]
14610 * math/libm-test.inc (hypot_test): Add more tests.
14611
7c10fd35
DM
146122012-03-13 David S. Miller <davem@davemloft.net>
14613
14614 [BZ #13840]
14615 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14616 double-precision for the calculation instead of scaling.
14617
f453b98b
JM
146182012-03-13 Joseph Myers <joseph@codesourcery.com>
14619
14620 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14621 manipulate bits before adding and subtracting TWO52[sx].
14622 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14623 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14624 Likewise.
14625 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14626
09a3453f
DM
146272012-03-13 David S. Miller <davem@davemloft.net>
14628
8e59da90
DM
14629 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14630 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14631 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14632 rtld-global-offsets.h
14633 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14634
2a8ab7f2
DM
14635 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14636 large parameters.
14637
10f62770
DM
14638 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14639
5f0bdb18
DM
14640 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14641 'err' in the ifdef scope in which it is actually used.
14642
09a3453f
DM
14643 * nss/nss_db/db-init.c: Include string.h
14644
b4b2eb5e
DM
146452012-03-12 David S. Miller <davem@davemloft.net>
14646
98bb2f1c
DM
14647 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14648 masking out of the most significant byte of random value used.
14649 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14650 Fix coding style in previous change.
14651
b4b2eb5e
DM
14652 * sysdeps/unix/sysv/linux/kernel-features.h
14653 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14654 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14655 expression.
14656 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14657 later.
14658
6e226b09
DM
146592012-03-11 David S. Miller <davem@davemloft.net>
14660
a1bcbd40
DM
14661 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14662 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14663 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14664 for 'resultvar' otherwise things get truncated on 64-bit.
14665
cb9d6174
DM
14666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14667 Fix masking out of the most significant byte of random value used.
14668
6e226b09
DM
14669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14670
058c132d
AS
146712012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14672
14673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14674
2d2cd515
DM
146752012-03-09 David S. Miller <davem@davemloft.net>
14676
14677 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14678 variables with appropriate CPP guards.
14679 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14680 frame pointer, not the stack pointer. Correct layout comments. Fix test
14681 on resulting framesize and the management of the outregs buffer for pltexit.
14682 Preserve floating point return values across _dl_call_pltexit call.
14683 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14684 framesize and the management of the outregs buffer for pltexit.
14685 Preserve floating point return values across _dl_call_pltexit
14686 call.
14687 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14688 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14689 (print_exit): Fix format string for return register value.
14690
9a07f9d0
JM
146912012-03-10 Joseph Myers <joseph@codesourcery.com>
14692
14693 * sunrpc/Makefile (others): Add rpcgen.
14694 ($(objpfx)rpcgen): Remove special build rule and dependency on
14695 libc.
14696 * sunrpc/rpcgen.c: New file.
14697
547b5e30
PE
146982012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14699
c524201a
PE
14700 [BZ #13673]
14701 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14702 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14703 * sysdeps/i386/crti.S: Likewise.
14704 * sysdeps/i386/crtn.S: Likewise.
14705 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14706 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14707 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14708 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14709 * sysdeps/sh/crti.S: Likewise.
14710 * sysdeps/sh/crtn.S: Likewise.
14711 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14712
7b6235f2
PE
14713 [BZ #13673]
14714 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14715 with URL.
14716 * locale/programs/locfile-kw.gperf: Likewise.
14717 * locale/programs/charmap-kw.h: Regenerated.
14718 * locale/programs/locfile-kw.h: Likewise.
14719
547b5e30
PE
14720 [BZ #13673]
14721 * intl/plural.y: Replace FSF snail mail address with URL.
14722 * intl/plural.c: Regenerated.
14723
5f0a5dae
RH
147242012-03-09 Richard Henderson <rth@twiddle.net>
14725
14726 * include/math_private.h: Remove file.
14727 * math/math_private.h: Move file ...
14728 * sysdeps/generic/math_private.h: ... here.
14729
b8c03620
RH
14730 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14731 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14732 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14733
4e234f5d 14734 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14735 and <math_private.h>.
14736 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14737 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14738 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14739 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14740 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14741 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14742 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14743 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14744 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14745 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14746 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14747 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14748 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14749 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14751 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14752 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14754 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14755 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14757 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14758 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14759 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14760 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14761 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14762 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14763 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14764 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14765 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14766 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14769 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14773 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14774 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14776 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14777 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14778 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14779 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14781 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14782 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14783 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14784 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14786 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14792 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14793 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14795 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14798 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14801 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14802 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14803 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14804 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14805 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14806 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14807 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14808 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14824 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14825 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14826 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14827 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14828 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14829 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14830 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14831 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14832 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14833 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14834 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14835 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14836 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14837 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14838 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14839 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14840 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14841 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14842 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14843 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14844 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14845 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14846 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14847 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14848 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14849 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14850 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14851 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14852 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14853 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14854 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14855 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14856 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14857 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14858 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14859 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14860 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14861 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14862 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14863 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14864 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14865 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14866 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14867 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14868 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14869 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14870 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14871 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14872 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14873 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14874 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14875 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14876 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14877 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14878 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14879 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14880 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14881 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14882 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14883 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14884 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14885 * sysdeps/ieee754/k_standard.c: Likewise.
14886 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14887 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14888 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14889 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14890 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14891 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14893 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14894 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14895 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14896 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14897 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14898 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14899 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14900 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14901 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14902 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14903 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14904 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14905 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14906 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14907 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14908 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14909 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14910 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14911 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14913 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14914 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14915 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14916 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14917 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14918 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14919 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14920 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14922 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14924 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14927 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14928 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14929 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14936 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14938 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14939 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14940 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14941 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14942 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14943 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14944 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14945 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14946 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14948 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14955 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14958 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14959 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14960 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14966 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14969 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14999 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15001 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15005 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15006 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15008 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15010 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15011 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15013 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15014 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15016 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15017 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15018 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15020 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15022 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15023 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15024 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15026 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15027 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15029 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15031 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15032 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15033 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15034 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15035 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15036 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15037 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15039 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15040 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15044 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15045 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15046 * sysdeps/ieee754/s_lib_version.c: Likewise.
15047 * sysdeps/ieee754/s_matherr.c: Likewise.
15048 * sysdeps/ieee754/s_signgam.c: Likewise.
15049 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15050 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15051 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15052 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15053 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15054 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15055 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15056 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15057 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15058 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15059 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15060 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15061 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15062 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15063 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15064 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15065 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15066 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15067 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15069 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15070
1991fa03
JM
150712012-03-09 Joseph Myers <joseph@codesourcery.com>
15072
15073 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15074 * sunrpc/rpc_main.c: Likewise.
15075 * sunrpc/rpc_svcout.c: Likewise.
15076
60d6f5a6
DM
150772012-03-09 David S. Miller <davem@davemloft.net>
15078
15079 * include/math_private.h: New file.
15080
4962050e
JM
150812012-03-09 Joseph Myers <joseph@codesourcery.com>
15082
02a6f887
JM
15083 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15084 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15085 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15086 from <bits/socket_type.h>.
15087 (enum __socket_type): Don't define here.
15088 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15090 bits/socket_type.h.
15091
c6e013c1
JM
15092 [BZ #13566]
15093 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15094 checking __USE_GNU.
15095
4962050e
JM
15096 * Makerules ($(inst_includedir)/%.h): New rule.
15097 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15098 (install-others): Remove variable setting.
15099 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15100
38842f45
RH
151012012-03-08 Richard Henderson <rth@twiddle.net>
15102
67bb6da6
RH
15103 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15104 from macro to inline function; merge with the
15105 !__LIBC_INTERNAL_MATH_INLINES version.
15106 (__ieee754_sqrtf): Likewise.
15107
15194b4b
RH
15108 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15109 to inline function.
15110 (__rintf, __floor, __floorf): Likewise.
15111
64e21ede
RH
15112 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15113 macro to inline function.
15114 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15115
38842f45
RH
15116 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15117 not <math/math_private.h>.
15118
c64bf5fe
DM
151192012-03-08 David S. Miller <davem@davemloft.net>
15120
15121 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15122 copyright year.
15123 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15124
82d86f28
TS
151252012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15126
15127 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15128 normalization.
15129 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15130 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15131
aea5d727
UD
151322012-03-08 Ulrich Drepper <drepper@gmail.com>
15133
15134 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15135 be defined individually, they must be defined as a block. Define
15136 S for printing a string instead of hidint the different by using a
15137 macro for adding the 'l'.
15138 * stdio-common/tst-fphex-wide.c: Adjust.
15139
70bca0a3
MP
151402012-03-07 Marek Polacek <polacek@redhat.com>
15141
15142 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15143
65b81130
MP
151442012-03-08 Marek Polacek <polacek@redhat.com>
15145
15146 [BZ #13806]
15147 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15148 * stdio-common/tst-fphex.c: Define a few macros to make the
15149 test reusable. Use them.
15150 * stdio-common/tst-fphex-wide.c: New file.
15151
07037eeb
JM
151522012-03-08 Joseph Myers <joseph@codesourcery.com>
15153
a7a93d50
JM
15154 [BZ #6911]
15155 * manual/macros.texi (gnusystems): New macro.
15156 (nongnusystems): Likewise.
15157 (gnulinuxhurdsystems): Likewise.
15158 (gnuhurdsystems): Likewise..
15159 (gnulinuxsystems): Likewise.
15160 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15161 variants of the GNU system, not "GNU system".
15162 * manual/conf.texi: Likewise.
15163 * manual/errno.texi: Likewise. Update example of errno macro
15164 expansion.
15165 * manual/filesys.texi: Likewise.
15166 (getumask): Document as specific to GNU/Hurd.
15167 * manual/install.texi: Likewise. Reword some references to
15168 GNU/Linux.
15169 * manual/intro.texi: Likewise.
15170 * manual/io.texi: Likewise.
15171 (File Name Portability): Detail which constraints are inapplicable
15172 to all GNU systems and which are only inapplicable to GNU/Hurd.
15173 * manual/job.texi: Likewise.
15174 * manual/llio.texi: Likewise.
15175 (O_NOCTTY): Document as present on GNU/Linux.
15176 * manual/maint.texi: Likewise.
15177 * manual/memory.texi: Likewise.
15178 * manual/pattern.texi: Likewise.
15179 * manual/pipe.texi: Likewise.
15180 * manual/process.texi: Likewise.
15181 * manual/resource.texi: Likewise.
15182 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15183 child on GNU/Hurd.
15184 * manual/setjmp.texi: Likewise.
15185 * manual/signal.texi: Likewise.
15186 * manual/startup.texi: Likewise.
15187 * manual/stdio.texi: Likewise.
15188 * manual/terminal.texi: Likewise.
15189 (ONLCR): Document as POSIX.
15190 (OXTABS): Document availability on GNU/Linux as XTABS.
15191 (ONOEOT): Document availability separately from other bits.
15192 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15193 * manual/time.texi: Likewise.
15194 * manual/users.texi: Likewise.
15195 * INSTALL: Regenerated.
15196 * sysdeps/gnu/errlist.c: Regenerated.
15197
07037eeb
JM
15198 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15199 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15200 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15201 puts.
15202 * configure: Regenerated.
15203
d1d3431a
JM
152042012-03-07 Joseph Myers <joseph@codesourcery.com>
15205
af6a1e37
JM
15206 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15207 default includes instead of AC_HEADER_CHECK.
15208 * sysdeps/i386/configure: Regenerated.
15209
d1d3431a
JM
15210 [BZ #10716]
15211 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15212 * math/s_cacoshf.c (__cacoshf): Likewise.
15213 * math/s_cacoshl.c (__cacoshl): Likewise.
15214 * math/s_casinh.c (__casinh): Set signs of result from argument.
15215 * math/s_casinhf.c (__casinhf): Likewise.
15216 * math/s_casinhl.c (__casinhl): Likewise.
15217 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15218 (casinh_test): Add more tests.
15219 * sysdeps/i386/fpu/libm-test-ulps: Update.
15220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15221
482ff4da
UD
152222012-03-07 Ulrich Drepper <drepper@gmail.com>
15223
872fda05
UD
15224 * po/zh_TW.po: Update from translation team.
15225
a4300c7a
UD
15226 * login/Makefile (distribute): Remove variable.
15227 * catgets/Makefile: Likewise.
15228 * mach/Makefile: Likewise.
15229 * malloc/Makefile: Likewise.
15230 * misc/Makefile: Likewise.
15231 * iconv/Makefile: Likewise.
15232 * nscd/Makefile: Likewise.
15233 * hurd/Makefile: Likewise.
15234 * manual/Makefile: Likewise.
15235 * locale/Makefile: Likewise.
15236 * intl/Makefile: Likewise.
15237 * conform/Makefile: Likewise.
15238 * nss/Makefile: Likewise.
15239 * time/Makefile: Likewise.
15240 * soft-fp/Makefile: Likewise.
15241 * dirent/Makefile: Likewise.
15242 * gmon/Makefile: Likewise.
15243 * po/Makefile: Likewise.
15244 * rt/Makefile: Likewise.
15245 * socket/Makefile: Likewise.
15246 * math/Makefile: Likewise.
15247 * signal/Makefile: Likewise.
15248 * debug/Makefile: Likewise.
15249 * elf/Makefile: Likewise.
15250 * timezone/Makefile: Likewise.
15251 * stdlib/Makefile: Likewise.
15252 * iconvdata/Makefile: Likewise.
15253 * sunrpc/Makefile: Likewise.
15254 * io/Makefile: Likewise.
15255 * argp/Makefile: Likewise.
15256 * inet/Makefile: Likewise.
15257 * hesiod/Makefile: Likewise.
15258 * grp/Makefile: Likewise.
15259 * csu/Makefile: Likewise.
15260 * wctype/Makefile: Likewise.
15261 * crypt/Makefile: Likewise.
15262 * libio/Makefile: Likewise.
15263 * string/Makefile: Likewise.
15264 * nis/Makefile: Likewise.
15265 * resolv/Makefile: Likewise.
15266 * stdio-common/Makefile: Likewise.
15267 * wcsmbs/Makefile: Likewise.
15268 * dlfcn/Makefile: Likewise.
15269 * posix/Makefile: Likewise.
15270
3b7c4e74 15271 [BZ #6959]
482ff4da
UD
15272 * timezone/Makefile: Don't install timezone files, just the programs
15273 and scripts.
15274
f72ed77d
UD
152752012-03-06 Ulrich Drepper <drepper@gmail.com>
15276
a000466f
UD
15277 * nss/databases.def: Add missing gshadow entry.
15278
f72ed77d
UD
15279 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15280
a53b7a4e
MP
152812012-03-06 Marek Polacek <polacek@redhat.com>
15282
15283 [BZ #13726]
15284 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15285 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15286 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15287 * stdio-common/tst-long-dbl-fphex.c: New file.
15288
e9258400
DM
152892012-03-06 David S. Miller <davem@davemloft.net>
15290
15291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15292 (set_obp_int): New function.
15293 (get_obp_int): New function.
15294 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15295 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15296 Avoid unused variable warnings on 'val' and use builtin_expect.
15297 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15298 __builtin_expect.
e9258400
DM
15299 (INLINE_CLONE_SYSCALL): Likewise.
15300
3bd2c723
DM
153012012-03-05 David S. Miller <davem@davemloft.net>
15302
15303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15304
bbb78d03
AS
153052012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15306
884c5db4
AS
15307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15308
bbb78d03
AS
15309 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15310 only for |x| >= 40.
15311 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15312
1c9f702a 153132012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15314
15315 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15316 Replace gettimeofday with __vdso_gettimeofday.
15317
7be16f82
RM
15318 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15319 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15320 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15321
15322 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15323 time with __vdso_time.
15324
ed58a00f
JM
153252012-03-05 Joseph Myers <joseph@codesourcery.com>
15326
15327 * manual/lang.texi (size_t): Note types to which size_t may be
15328 equivalent with the GNU C Library, but do not describe when
15329 differences between them are significant.
15330
30ee4ced
AJ
153312012-03-05 Andreas Jaeger <aj@suse.de>
15332
15333 * sysdeps/i386/fpu/libm-test-ulps: Update.
15334
b7cd39e8
JM
153352012-03-05 Joseph Myers <joseph@codesourcery.com>
15336
15337 [BZ #3976]
15338 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15339 (__ieee754_pow): Save and restore rounding mode and use
15340 round-to-nearest for main computations.
15341 * math/libm-test.inc (pow_test_tonearest): New function.
15342 (pow_test_towardzero): Likewise.
15343 (pow_test_downward): Likewise.
15344 (pow_test_upward): Likewise.
15345 (main): Call the new functions.
15346 * sysdeps/i386/fpu/libm-test-ulps: Update.
15347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15348
15349 [BZ #3976]
15350 * math/libm-test.inc (cosh_test_tonearest): New function.
15351 (cosh_test_towardzero): Likewise.
15352 (cosh_test_downward): Likewise.
15353 (cosh_test_upward): Likewise.
15354 (sinh_test_tonearest): Likewise.
15355 (sinh_test_towardzero): Likewise.
15356 (sinh_test_downward): Likewise.
15357 (sinh_test_upward): Likewise.
15358 (main): Call the new functions.
15359 * sysdeps/i386/fpu/libm-test-ulps: Update.
15360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15361
6c6a98c9
TV
153622012-03-05 Tom de Vries <tom@codesourcery.com>
15363
15364 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15365 default stack guard is set in last bytes.
15366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15367
21bb2d2e 153682012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15369
21bb2d2e 15370 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15371
21bb2d2e
AJ
15372 [BZ #13656]
15373 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15374 possibly allocate from heap instead of stack.
15375 * stdio-common/bug-vfprintf-nargs.c: New file.
15376 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15377
c6922934
AS
153782012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15379
15380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15381
bc957d53
MP
153822012-03-03 Marek Polacek <polacek@redhat.com>
15383
15384 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15385 * math/math_private.h: Likewise.
15386 * stdlib/tst-strtod.c: Likewise.
15387 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15388 * sysdeps/x86_64/bits/atomic.h: Likewise.
15389
6358490d
DM
153902012-03-02 David S. Miller <davem@davemloft.net>
15391
15392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15396 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15397 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15398 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15399 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15400
01ae168d
RM
154012012-03-02 Roland McGrath <roland@hack.frob.com>
15402
d9a17c07
RM
15403 [BZ #13792]
15404 * manual/examples/README: New file, says the example source files
15405 can be used under GPL>=2.
15406 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15407 line containing just "*/".
15408 * manual/examples/add.c: Add copyright header (GPL>=2).
15409 * manual/examples/argp-ex1.c: Likewise.
15410 * manual/examples/argp-ex2.c: Likewise.
15411 * manual/examples/argp-ex3.c: Likewise.
15412 * manual/examples/argp-ex4.c: Likewise.
15413 * manual/examples/atexit.c: Likewise.
15414 * manual/examples/db.c: Likewise.
15415 * manual/examples/dir.c: Likewise.
15416 * manual/examples/dir2.c: Likewise.
15417 * manual/examples/execinfo.c: Likewise.
15418 * manual/examples/filecli.c: Likewise.
15419 * manual/examples/filesrv.c: Likewise.
15420 * manual/examples/fmtmsgexpl.c: Likewise.
15421 * manual/examples/genpass.c: Likewise.
15422 * manual/examples/inetcli.c: Likewise.
15423 * manual/examples/inetsrv.c: Likewise.
15424 * manual/examples/isockad.c: Likewise.
15425 * manual/examples/longopt.c: Likewise.
15426 * manual/examples/memopen.c: Likewise.
15427 * manual/examples/memstrm.c: Likewise.
15428 * manual/examples/mkfsock.c: Likewise.
15429 * manual/examples/mkisock.c: Likewise.
15430 * manual/examples/mygetpass.c: Likewise.
15431 * manual/examples/pipe.c: Likewise.
15432 * manual/examples/popen.c: Likewise.
15433 * manual/examples/rprintf.c: Likewise.
15434 * manual/examples/search.c: Likewise.
15435 * manual/examples/select.c: Likewise.
15436 * manual/examples/setjmp.c: Likewise.
15437 * manual/examples/sigh1.c: Likewise.
15438 * manual/examples/sigusr.c: Likewise.
15439 * manual/examples/stpcpy.c: Likewise.
15440 * manual/examples/strdupa.c: Likewise.
15441 * manual/examples/strftim.c: Likewise.
15442 * manual/examples/strncat.c: Likewise.
15443 * manual/examples/subopt.c: Likewise.
15444 * manual/examples/swapcontext.c: Likewise.
15445 * manual/examples/termios.c: Likewise.
15446 * manual/examples/testopt.c: Likewise.
15447 * manual/examples/testpass.c: Likewise.
15448 * manual/examples/timeval_subtract.c: Likewise.
15449
01ae168d
RM
15450 [BZ #13792]
15451 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15452 function to ...
15453 * manual/timeval_subtract.c.texi: ... here, new file.
15454
49efa33d
DM
154552012-03-02 David S. Miller <davem@davemloft.net>
15456
15457 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15458
28afd92d
JM
154592012-03-02 Joseph Myers <joseph@codesourcery.com>
15460
804360ed
JM
15461 [BZ #3976]
15462 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15463 (__sin): Save and restore rounding mode and use round-to-nearest
15464 for all computations.
15465 (__cos): Save and restore rounding mode and use round-to-nearest
15466 for all computations.
15467 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15468 <fenv.h>.
15469 (tan): Save and restore rounding mode and use round-to-nearest for
15470 all computations.
15471 * math/libm-test.inc (cos_test_tonearest): New function.
15472 (cos_test_towardzero): Likewise.
15473 (cos_test_downward): Likewise.
15474 (cos_test_upward): Likewise.
15475 (sin_test_tonearest): Likewise.
15476 (sin_test_towardzero): Likewise.
15477 (sin_test_downward): Likewise.
15478 (sin_test_upward): Likewise.
15479 (tan_test_tonearest): Likewise.
15480 (tan_test_towardzero): Likewise.
15481 (tan_test_downward): Likewise.
15482 (tan_test_upward): Likewise.
15483 (main): Call the new functions.
15484 * sysdeps/i386/fpu/libm-test-ulps: Update.
15485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15486
a6d06d7b
JM
15487 [BZ #10135]
15488 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15489 small n, then large n, before computing and testing k+n.
15490 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15491 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15492 Likewise.
15493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15494 Likewise.
15495 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15496 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15497 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15498 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15499 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15500 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15501 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15502 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15503 * math/libm-test.inc (scalbn_test): Add more tests.
15504 (scalbln_test): Likewise.
15505
07e12bb3
JM
15506 * manual/filesys.texi (mode_t): Describe constraints on size and
15507 signedness, not exact equivalence to a particular type.
15508 (ino_t): Likewise.
15509 (ino64_t): Likewise.
15510 (dev_t): Likewise.
15511 (nlink_t): Likewise.
15512 (blkcnt_t): Likewise.
15513 (blkcnt64_t): Likewise.
15514 * manual/llio.texi (off_t): Likewise.
15515
28afd92d
JM
15516 [BZ #3976]
15517 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15518 (__ieee754_exp): Save and restore rounding mode and use
15519 round-to-nearest for all computations.
15520 * math/libm-test.inc (exp_test_tonearest): New function.
15521 (exp_test_towardzero): Likewise.
15522 (exp_test_downward): Likewise.
15523 (exp_test_upward): Likewise.
15524 (main): Call the new functions.
15525 * sysdeps/i386/fpu/libm-test-ulps: Update.
15526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15527
b1eeb65d
CD
155282012-03-01 Chris Demetriou <cgd@google.com>
15529
15530 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15531 have predictable order.
15532
53362a4b
DM
155332012-03-01 David S. Miller <davem@davemloft.net>
15534
3c969083
DM
15535 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15536
759707de
DM
15537 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15538 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15539 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15540 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15541
dfdb8ff2
DM
15542 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15543 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15544 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15546 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15547 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15548 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15549 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15550 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15551
ead89f96
DM
15552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15553
7f66bd07
DM
15554 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15555 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15556 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15557
53362a4b
DM
15558 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15559 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15560 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15561 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15562 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15563 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15564 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15565 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15566 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15567 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15568 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15569 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15571 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15572 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15573 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15574 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15575 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15576 * sysdeps/sparc/elf/configure: Regenerated.
15577
7b1902cb
JM
155782012-03-01 Joseph Myers <joseph@codesourcery.com>
15579
bec039bc
JM
15580 * configure.in (AS, LD): Require binutils 2.20 or later.
15581 * configure: Regenerated.
15582 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15583 as required minimum version.
15584 * INSTALL: Regenerated.
15585
7b1902cb
JM
15586 [BZ #2541]
15587 [BZ #4108]
15588 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15589 before squaring exponent.
15590 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15591 bottom long double and 27 bits of top long double before squaring
15592 exponent.
15593 * math/libm-test.inc (erfc_test): Add more tests.
15594 * sysdeps/i386/fpu/libm-test-ulps: Update.
15595 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15597
f775c276
KT
155982012-03-01 Kai Tietz <ktietz@redhat.com>
15599
15600 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15601 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15602 containing bit-fields.
15603 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15604 * soft-fp/single.h (_FP_UNION_S): Likewise.
15605 * soft-fp/double.h (_FP_UNION_D): Likewise.
15606
5b8a4d4a
JM
156072012-02-29 Joseph Myers <joseph@codesourcery.com>
15608
0bab47b6
JM
15609 [BZ #13786]
15610 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15611 not include ../strcmp.S.
15612 [USE_AS_STRNCASECMP_L]: Likewise.
15613 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15614 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15615 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15616 (__strncasecmp_l_ia32): Define as alias to
15617 __strncasecmp_l_nonascii.
15618
0fcad3e2
JM
15619 [BZ #5794]
15620 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15621 * sysdeps/i386/fpu/libm-test-ulps: Update.
15622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15623
5b8a4d4a
JM
15624 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15626
8fdceb2e
JL
156272012-02-29 Jeff Law <law@redhat.com>
15628
15629 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15630 out of bounds read.
15631
1f393a11
MP
156322012-02-29 Marek Polacek <polacek@redhat.com>
15633
15634 [BZ #13706]
15635 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15636 * elf/Makefile: Add rules to run tst-unused-dep.out.
15637
8847f037
DM
156382012-02-28 David S. Miller <davem@davemloft.net>
15639
15640 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15641 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15642 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15643 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15644 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15645 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15646
169d7f11
JM
156472012-02-29 Joseph Myers <joseph@codesourcery.com>
15648
15649 * math/libm-test.inc (llround_test): Move one test from
15650 lround_test. Use TEST_f_L in moved test.
15651 (lround_test): Move misplaced test to llround_test. Add testcase
15652 from bug 2561.
15653
39adf059
UD
156542012-02-28 Ulrich Drepper <drepper@gmail.com>
15655
15656 * sysdeps/x86_64/fpu/e_expf.S: New file.
15657 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15658
71b5d1c5
SB
156592012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15660
15661 [BZ #13637]
15662 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15663 of remain_len that may cause incomplete multi-byte character and
15664 false match.
15665 * posix/bug-regex33.c: New file.
15666 * posix/Makefile (tests): Add bug-regex33.
15667
1f77f049
JM
156682012-02-28 Joseph Myers <joseph@codesourcery.com>
15669
15670 * manual/macros.texi: New file.
15671 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15672 * manual/libc.texinfo: Include macros.texi.
15673 * manual/creatute.texi: Likewise.
15674 * manual/install.texi: Likewise.
15675 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15676 @glibcadj{} in references to the GNU C Library.
15677 * manual/charset.texi: Likewise.
15678 * manual/conf.texi: Likewise.
15679 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15680 when not using those macros.
15681 * manual/creature.texi: Likewise.
15682 * manual/crypt.texi: Likewise.
15683 * manual/errno.texi: Likewise.
15684 * manual/filesys.texi: Likewise.
15685 * manual/header.texi: Likewise.
15686 * manual/install.texi: Likewise.
15687 * manual/intro.texi: Likewise.
15688 * manual/io.texi: Likewise.
15689 * manual/job.texi: Likewise.
15690 * manual/lang.texi: Likewise.
15691 * manual/libc.texiinfo: Likewise.
15692 * manual/llio.texi: Likewise.
15693 * manual/locale.texi: Likewise.
15694 * manual/maint.texi: Likewise.
15695 * manual/math.texi: Likewise.
15696 * manual/memory.texi: Likewise.
15697 * manual/message.texi: Likewise.
15698 * manual/nss.texi: Likewise.
15699 * manual/pattern.texi: Likewise.
15700 * manual/process.texi: Likewise.
15701 * manual/resource.texi: Likewise.
15702 * manual/search.texi: Likewise.
15703 * manual/setjmp.texi: Likewise.
15704 * manual/signal.texi: Likewise.
15705 * manual/socket.texi: Likewise.
15706 * manual/startup.texi: Likewise.
15707 * manual/stdio.texi: Likewise.
15708 * manual/string.texi: Likewise.
15709 * manual/sysinfo.texi: Likewise.
15710 * manual/syslog.texi: Likewise.
15711 * manual/terminal.texi: Likewise.
15712 * manual/time.texi: Likewise.
15713 * manual/users.texi: Likewise.
15714 * INSTALL: Regenerated.
15715 * NOTES: Regenerated.
d40c5d54 15716 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15717
450bf206
AS
157182012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15719
15720 * include/dirent.h: Include <dirstream.h> before
15721 <dirent/dirent.h>.
15722
741a235b
DM
157232012-02-28 David S. Miller <davem@davemloft.net>
15724
15725 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15726 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15727 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15728 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15729
d6b5aa58
DM
157302012-02-27 David S. Miller <davem@davemloft.net>
15731
1aff59a3
DM
15732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15734 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15735 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15736
d6b5aa58
DM
15737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15738 frame pointer instead of stack pointer relative arg slot.
15739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15740 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15741 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15742
433f48bf
CD
157432012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15744
15745 [BZ #3992]
15746 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15747
d674b76d
DM
157482012-02-27 David S. Miller <davem@davemloft.net>
15749
15750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15754 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15755 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15756 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15757 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15758
0e7727f7
JM
157592012-02-27 Joseph Myers <joseph@codesourcery.com>
15760
15761 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15762 later. Allow versions 5-9.
43be4ca2 15763 * configure: Regenerated.
0e7727f7
JM
15764 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15765 required minimum version and 4.6 as recommended version. Do not
15766 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15767 * INSTALL: Regenerated.
0e7727f7 15768
a78bc654
DM
157692012-02-27 David S. Miller <davem@davemloft.net>
15770
428d5830
DM
15771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15775 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15776 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15777 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15778 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15779
a78bc654
DM
15780 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15781 manipulate bits before adding and subtracting TWO112[sx].
15782 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15783
4579f81c
RM
157842012-02-27 Roland McGrath <roland@hack.frob.com>
15785
36c8acb4
RM
15786 [BZ #13775]
15787 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15788 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15789 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15790 being in POSIX, because they are in 1003.1-2008.
15791
84ad622b
RM
15792 * rt/tst-aio.c: Include <fcntl.h>.
15793 * rt/tst-aio7.c: Likewise.
15794 * rt/tst-aio64.c: Likewise.
15795
4579f81c
RM
15796 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15797
abd923db
JM
157982012-02-27 Joseph Myers <joseph@codesourcery.com>
15799
15800 * manual/install.texi (--with-headers): Describe headers as
15801 interface headers, not private headers.
15802 (Specific advice for GNU/Linux systems): Describe use of headers
15803 from "make headers_install", not private headers from older
15804 kernels.
43be4ca2 15805 * INSTALL: Regenerated.
abd923db
JM
15806 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15807 Change to 2.6.19.
15808 * sysdeps/unix/sysv/linux/configure: Regenerated.
15809
6664049b
JM
15810 * manual/llio.texi (fclean): Remove documentation.
15811
bb8b6697
JM
15812 * manual/Makefile (libc-texi-generated): New variable. Include
15813 version.texi.
15814 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15815 $(libc-texi-generated), not duplicated list of files.
15816 (version.texi, stamp-version): New rules.
15817 (realclean): Remove $(libc-texi-generated), not individual files
15818 from that list. Do not remove dir-add.texinfo.
15819 * manual/libc.texinfo: Comment out uses of edition numbers and
15820 references to printed manual. Remove last-updated dates.
15821 (EDITION): Comment out.
15822 (ISBN): Likewise.
15823 (VERSION, UPDATED): Remove.
15824 (version.texi): Include.
15825
12e5c3b9
AS
158262012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15827
15828 * sysdeps/posix/spawni.c: Include <signal.h>.
15829 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15830 * sysdeps/pthread/aio_fsync.c: Likewise.
15831
4efeffc1 158322012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15833
ba63ba08
UD
15834 * conform/Makefile (tests): Run only when not cross-compiling and
15835 when fast-check is not defined.
15836
d94a4670
UD
15837 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15838 * conform/data/limits.h-data: Fixes for POSIX2008.
15839 * conform/run-conformtest.sh: Run all tests.
15840 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15841 headers.
15842 * include/bits/dlfcn.h: Likewise.
15843 * include/langinfo.h: Likewise.
15844 * include/monetary.h: Likewise.
15845 * include/sys/poll.h: Likewise.
15846
15847 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15848 for __USE_GNU.
15849 * posix/spawn.h: Define __need_sigset_t.
15850 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15851 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15852 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15853 to get sigevent_t only.
15854 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15855 only for __USE_GNU.
15856 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15857 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15858 process_vm_writev only for __USE_GNU.
15859 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15860
15861 * conform/Makefile: For now ignore errors from run-conformtest.
15862 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15863 POSIX to avoid namespace pollution. Don't prepend headers.
15864 * conform/data/aio.h-data: Fixes for POSIX testing.
15865 * conform/data/fcntl.h-data: Likewise.
15866 * conform/data/glob.h-data: Likewise.
15867 * conform/data/grp.h-data: Likewise.
15868 * conform/data/pthread.h-data: Likewise.
15869 * conform/data/pwd.h-data: Likewise.
15870 * conform/data/signal.h-data: Likewise.
15871 * conform/data/spawn.h-data: Likewise.
15872 * conform/data/stdio.h-data: Likewise.
15873 * conform/data/stdlib.h-data: Likewise.
15874 * conform/data/stropts.h-data: Likewise.
15875 * conform/data/sys/mman.h-data: Likewise.
15876 * conform/data/sys/stat.h-data: Likewise.
15877 * conform/data/sys/types.h-data: Likewise.
15878 * conform/data/sys/wait.h-data: Likewise.
15879 * conform/data/time.h-data: Likewise.
15880 * conform/data/unistd.h-data: Likewise.
15881 * conform/data/utime.h-data: Likewise.
15882
15883 * io/sys/stat.h: fchmod was always in POSIX.
15884 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15885 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15886 * rt/aio.h: Define __need_timespec before including <time.h>.
15887 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15888 struct. Add forward declaration of pthread_attr_t and use it in
15889 sigevent.
15890 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15891 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15892 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15893 always remove CLK_TCK definition.
15894
c20105c3
AS
158952012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15896
15897 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15898
7a270350
UD
158992012-02-25 Ulrich Drepper <drepper@gmail.com>
15900
31341567
UD
15901 * conform/run-conformtest.sh: New file.
15902 * conform/Makefile: Run run-conformtest for tests.
15903 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15904 support.
15905
15906 * conform/data/uchar.h-data: New file.
15907 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15908 * conform/data/arpa/inet.h-data: Likewise.
15909 * conform/data/assert.h-data: Likewise.
15910 * conform/data/complex.h-data: Likewise.
15911 * conform/data/cpio.h-data: Likewise.
15912 * conform/data/ctype.h-data: Likewise.
15913 * conform/data/dirent.h-data: Likewise.
15914 * conform/data/dlfcn.h-data: Likewise.
15915 * conform/data/errno.h-data: Likewise.
15916 * conform/data/fcntl.h-data: Likewise.
15917 * conform/data/float.h-data: Likewise.
15918 * conform/data/fmtmsg.h-data: Likewise.
15919 * conform/data/fnmatch.h-data: Likewise.
15920 * conform/data/ftw.h-data: Likewise.
15921 * conform/data/glob.h-data: Likewise.
15922 * conform/data/grp.h-data: Likewise.
15923 * conform/data/iconv.h-data: Likewise.
15924 * conform/data/inttypes.h-data: Likewise.
15925 * conform/data/langinfo.h-data: Likewise.
15926 * conform/data/libgen.h-data: Likewise.
15927 * conform/data/limits.h-data: Likewise.
15928 * conform/data/locale.h-data: Likewise.
15929 * conform/data/math.h-data: Likewise.
15930 * conform/data/monetary.h-data: Likewise.
15931 * conform/data/mqueue.h-data: Likewise.
15932 * conform/data/ndbm.h-data: Likewise.
15933 * conform/data/net/if.h-data: Likewise.
15934 * conform/data/netdb.h-data: Likewise.
15935 * conform/data/netinet/in.h-data: Likewise.
15936 * conform/data/nl_types.h-data: Likewise.
15937 * conform/data/poll.h-data: Likewise.
15938 * conform/data/pthread.h-data: Likewise.
15939 * conform/data/pwd.h-data: Likewise.
15940 * conform/data/regex.h-data: Likewise.
15941 * conform/data/sched.h-data: Likewise.
15942 * conform/data/search.h-data: Likewise.
15943 * conform/data/semaphore.h-data: Likewise.
15944 * conform/data/setjmp.h-data: Likewise.
15945 * conform/data/signal.h-data: Likewise.
15946 * conform/data/spawn.h-data: Likewise.
15947 * conform/data/stdarg.h-data: Likewise.
15948 * conform/data/stdio.h-data: Likewise.
15949 * conform/data/stdlib.h-data: Likewise.
15950 * conform/data/string.h-data: Likewise.
15951 * conform/data/strings.h-data: Likewise.
15952 * conform/data/stropts.h-data: Likewise.
15953 * conform/data/sys/ipc.h-data: Likewise.
15954 * conform/data/sys/mman.h-data: Likewise.
15955 * conform/data/sys/msg.h-data: Likewise.
15956 * conform/data/sys/resource.h-data: Likewise.
15957 * conform/data/sys/select.h-data: Likewise.
15958 * conform/data/sys/sem.h-data: Likewise.
15959 * conform/data/sys/shm.h-data: Likewise.
15960 * conform/data/sys/socket.h-data: Likewise.
15961 * conform/data/sys/stat.h-data: Likewise.
15962 * conform/data/sys/statvfs.h-data: Likewise.
15963 * conform/data/sys/time.h-data: Likewise.
15964 * conform/data/sys/timeb.h-data: Likewise.
15965 * conform/data/sys/times.h-data: Likewise.
15966 * conform/data/sys/types.h-data: Likewise.
15967 * conform/data/sys/uio.h-data: Likewise.
15968 * conform/data/sys/un.h-data: Likewise.
15969 * conform/data/sys/utsname.h-data: Likewise.
15970 * conform/data/sys/wait.h-data: Likewise.
15971 * conform/data/syslog.h-data: Likewise.
15972 * conform/data/tar.h-data: Likewise.
15973 * conform/data/termios.h-data: Likewise.
15974 * conform/data/utime.h-data: Likewise.
15975 * conform/data/utmpx.h-data: Likewise.
15976 * conform/data/varargs.h-data: Likewise.
15977 * conform/data/wchar.h-data: Likewise.
15978 * conform/data/wctype.h-data: Likewise.
15979 * conform/data/wordexp.h-data: Likewise.
15980
15981 * include/stropts.h: New file.
15982 * include/uchar.h: New file.
15983 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15984 * include/assert.h: Likewise.
15985 * include/ctype.h: Likewise.
15986 * include/dirent.h: Likewise.
15987 * include/dlfcn.h: Likewise.
15988 * include/fcntl.h: Likewise.
15989 * include/fnmatch.h: Likewise.
15990 * include/glob.h: Likewise.
15991 * include/grp.h: Likewise.
15992 * include/libio.h: Likewise.
15993 * include/locale.h: Likewise.
15994 * include/math.h: Likewise.
15995 * include/net/if.h: Likewise.
15996 * include/netdb.h: Likewise.
15997 * include/netinet/in.h: Likewise.
15998 * include/pthread.h: Likewise.
15999 * include/pwd.h: Likewise.
16000 * include/regex.h: Likewise.
16001 * include/sched.h: Likewise.
16002 * include/search.h: Likewise.
16003 * include/setjmp.h: Likewise.
16004 * include/signal.h: Likewise.
16005 * include/stdio.h: Likewise.
16006 * include/stdlib.h: Likewise.
16007 * include/string.h: Likewise.
16008 * include/sys/cdefs.h: Likewise.
16009 * include/sys/mman.h: Likewise.
16010 * include/sys/msg.h: Likewise.
16011 * include/sys/resource.h: Likewise.
16012 * include/sys/select.h: Likewise.
16013 * include/sys/socket.h: Likewise.
16014 * include/sys/stat.h: Likewise.
16015 * include/sys/statvfs.h: Likewise.
16016 * include/sys/time.h: Likewise.
16017 * include/sys/times.h: Likewise.
16018 * include/sys/uio.h: Likewise.
16019 * include/sys/utsname.h: Likewise.
16020 * include/sys/wait.h: Likewise.
16021 * include/termios.h: Likewise.
16022 * include/time.h: Likewise.
16023 * include/ulimit.h: Likewise.
16024 * include/unistd.h: Likewise.
16025 * include/utime.h: Likewise.
16026 * include/wchar.h: Likewise.
16027 * include/wctype.h: Likewise.
16028 * include/wordexp.h: Likewise.
16029
16030 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16031
7a270350
UD
16032 * time/time.h: TIME_UTC must be a macro.
16033 Make timespec_get available for ISO C11 only as well.
16034
7724defc
UD
160352012-02-24 Ulrich Drepper <drepper@gmail.com>
16036
16037 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16038 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16039
6b1d1d46
JM
160402012-02-24 Joseph Myers <joseph@codesourcery.com>
16041
16042 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16043
0f8bbd69
JM
160442012-02-24 Joseph Myers <joseph@codesourcery.com>
16045
16046 * manual/texinfo.tex: Update to version 2012-01-19.16.
16047
66ab80bc
JM
160482012-02-24 Joseph Myers <joseph@codesourcery.com>
16049
16050 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16051
74981cc5
RM
160522012-02-24 Roland McGrath <roland@hack.frob.com>
16053
ee968201
RM
16054 [BZ #13738]
16055 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16056 * manual/fdl-1.3.texi: New file.
16057 * manual/fdl-1.1.texi: File removed.
16058
74981cc5
RM
16059 [BZ #13738]
16060 * manual/libc.texinfo (FDL_VERSION): New @set.
16061 Use it for mention of FDL in cover text.
16062 (Documentation License): Use it in @include file name.
16063
7bb764bc
JM
160642012-02-22 Joseph Myers <joseph@codesourcery.com>
16065 Roland McGrath <roland@hack.frob.com>
16066
16067 [BZ #5461]
16068 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16069 not LONG_LONG_MAX and LONG_LONG_MIN.
16070 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16071 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16072 name.
16073 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16074
6cbeae47
JM
160752012-02-22 Joseph Myers <joseph@codesourcery.com>
16076
16077 [BZ #2547]
16078 [BZ #11365]
16079 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16080 manipulate bits before adding and subtracting TWO23[sx].
16081 * math/libm-test.inc (nearbyint_test): Add more tests.
16082
fe45ce09
JM
160832012-02-22 Joseph Myers <joseph@codesourcery.com>
16084
16085 [BZ #2548]
16086 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16087 bits before adding and subtracting TWO23[sx].
16088 * math/libm-test.inc (rint_test): Add more tests.
16089 (rint_test_tonearest): Likewise.
16090 (rint_test_towardzero): Likewise.
16091 (rint_test_downward): Likewise.
16092 (rint_test_upward: Likewise.
16093
ff3b3d82
JM
160942012-02-22 Joseph Myers <joseph@codesourcery.com>
16095
16096 [BZ #10110]
16097 * include/stdc-predef.h: New file. Extracted from features.h.
16098 * include/features.h: Include stdc-predef.h.
16099 * Makefile (headers): Add stdc-predef.h.
16100 * CONFORMANCE (Compiler limitations): Update.
16101
ef0aab35
JM
161022012-02-22 Joseph Myers <joseph@codesourcery.com>
16103
16104 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16105
58639409
DM
161062012-02-21 David S. Miller <davem@davemloft.net>
16107
16108 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16109 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16110
c0e70b25
DM
161112012-02-20 David S. Miller <davem@davemloft.net>
16112
16113 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16114 using a normal save/restore sequence, rather than allocating a
16115 dummy stack frame just to store a frame pointer and restore.
16116 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16117
fb06851d
JM
161182012-02-21 Joseph Myers <joseph@codesourcery.com>
16119
16120 * manual/install.texi: Fix stray word in line-wrapped comment.
16121
7a8b71c3
DM
161222012-02-20 David S. Miller <davem@davemloft.net>
16123
d510c123
DM
16124 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16125 both binutils and gcc support GOTDATA.
16126
0722d7c2
DM
16127 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16128 "rd %pc" in the PIC register setup sequences.
16129
3d2b3019
DM
16130 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16131 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16132 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16133 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16134 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16135 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16136 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16137 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16139 (SYSCALL_ERROR_HANDLER): Likewise.
16140 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16141 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16143 (SYSCALL_ERROR_HANDLER): Likewise.
16144
c80098a9
DM
16145 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16146 (HAVE_GCC_GOTDATA): New.
16147 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16148 relocation support in both binutils and gcc.
16149 * sysdeps/sparc/elf/configure: Regenerate.
16150
3a2545a0
DM
16151 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16152 * sysdeps/sparc/sparc32/elf/configure: Delete.
16153 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16154 * sysdeps/sparc/sparc64/elf/configure: Delete.
16155 * sysdeps/sparc/elf/configure.in: New file.
16156 * sysdeps/sparc/elf/configure: Generate.
16157
7a8b71c3
DM
16158 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16159 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16160 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16161 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16162 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16163
f1e86fca
JM
161642012-02-21 Joseph Myers <joseph@codesourcery.com>
16165
16166 * manual/install.texi: Do not mention specific glibc version
16167 numbers.
16168 * manual/libc.texinfo (VERSION, UPDATED): Update.
16169 (@copying): Use @copyright{} and range of years.
16170
0e7dfaef
JM
161712012-02-21 Joseph Myers <joseph@codesourcery.com>
16172
16173 [BZ #13695]
16174 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16175 [crti.S not in sysdirs] (generated): Do not append.
16176 [crti.S not in sysdirs] (omit-deps): Likewise.
16177 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16178 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16179 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16180 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16181 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16182 Likewise.
16183 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16184 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16185 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16186 * csu/defs.awk: Remove file.
16187 * sysdeps/generic/initfini.c: Likewise.
16188 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16189 variable.
16190 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16191 Likewise.
16192
599af3ca
JM
161932012-02-20 Joseph Myers <joseph@codesourcery.com>
16194
16195 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16196 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16197 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16198 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16199 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16200 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16201 <bits/epoll.h>.
16202 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16203 (__EPOLL_PACKED): Define to empty if not defined by
16204 <bits/epoll.h>.
16205 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16207 bits/epoll.h.
16208
0e499750
JM
162092012-02-20 Joseph Myers <joseph@codesourcery.com>
16210
16211 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16212 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16213 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16214 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16215 <bits/timerfd.h>.
16216 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16218 bits/timerfd.h.
16219
5ad91f6e
JM
162202012-02-20 Joseph Myers <joseph@codesourcery.com>
16221
16222 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16223 in C locale.
16224 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16225 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16226 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16228
06b99b02
AJ
162292012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16230
16231 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16232 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16233
7638c0fd
AS
162342012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16235
16236 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16237 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16238 defined.
16239 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16240 Likewise.
16241 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16242 entry for 2.16.
16243
92221550
AJ
162442012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16245
16246 * math/w_acos.c: Use non-signaling floating-point comparisons.
16247 * math/w_acosf.c: Likewise.
16248 * math/w_acosh.c: Likewise.
16249 * math/w_acoshf.c: Likewise.
16250 * math/w_acoshl.c: Likewise.
16251 * math/w_acosl.c: Likewise.
16252 * math/w_asin.c: Likewise.
16253 * math/w_asinf.c: Likewise.
16254 * math/w_asinl.c: Likewise.
16255 * math/w_atanh.c: Likewise.
16256 * math/w_atanhf.c: Likewise.
16257 * math/w_atanhl.c: Likewise.
16258 * math/w_exp2.c: Likewise.
16259 * math/w_exp2f.c: Likewise.
16260 * math/w_exp2l.c: Likewise.
16261 * math/w_j0.c: Likewise.
16262 * math/w_j0f.c: Likewise.
16263 * math/w_j0l.c: Likewise.
16264 * math/w_j1.c: Likewise.
16265 * math/w_j1f.c: Likewise.
16266 * math/w_j1l.c: Likewise.
16267 * math/w_jn.c: Likewise.
16268 * math/w_jnf.c: Likewise.
16269 * math/w_log.c: Likewise.
16270 * math/w_log10.c: Likewise.
16271 * math/w_log10f.c: Likewise.
16272 * math/w_log10l.c: Likewise.
16273 * math/w_log2.c: Likewise.
16274 * math/w_log2f.c: Likewise.
16275 * math/w_log2l.c: Likewise.
16276 * math/w_logf.c: Likewise.
16277 * math/w_logl.c: Likewise.
16278 * math/w_sqrt.c: Likewise.
16279 * math/w_sqrtf.c: Likewise.
16280 * math/w_sqrtl.c: Likewise.
16281 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16282 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16283 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16284 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16285 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16286
ebaf36eb
JM
162872012-02-19 Joseph Myers <joseph@codesourcery.com>
16288
16289 [BZ #9739]
16290 * manual/string.texi (strnlen): Use correct parameter name in
16291 equivalent expression.
16292
71c254a6
JM
162932012-02-19 Joseph Myers <joseph@codesourcery.com>
16294
16295 [BZ #11174]
16296 * manual/users.texi (seteuid): Consistently use neweuid for
16297 argument name.
16298
16d2c631
JM
162992012-02-19 Joseph Myers <joseph@codesourcery.com>
16300
16301 [BZ #13704]
16302 * manual/nss.texi (Services in the NSS configuration): Correct
16303 list of services in example configuration file.
16304
cd837b09
NB
163052012-02-19 Nick Bowler <nbowler@draconx.ca>
16306
16307 [BZ #11322]
16308 * manual/arith.texi: Remove statements about negative zero
16309 behaving identically to zero.
16310
02c4bbad
JM
163112012-02-18 Joseph Myers <joseph@codesourcery.com>
16312
16313 [BZ #5993]
16314 * manual/install.texi: Do not document upgrading from libc5.
16315
366842e7
JM
163162012-02-18 Joseph Myers <joseph@codesourcery.com>
16317
16318 [BZ #4596]
16319 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16320
dd54084d
DM
163212012-02-18 David S. Miller <davem@davemloft.net>
16322
16323 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16324 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16325 %o7 across the call.
16326 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16327 instead.
16328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16329 SETUP_PIC_REG_LEAF.
16330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16331 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16332 * sysdeps/sparc/crtn.S: Likewise.
16333
2bcc53a3
UD
163342012-02-17 Ulrich Drepper <drepper@gmail.com>
16335
16336 * aout/Makefile: Remove.
16337
09c093b5
RK
163382012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16339
16340 [BZ #13058]
16341 * manual/examples/argp-ex1.c (main): Format definition in GNU
16342 style.
16343 * manual/examples/argp-ex2.c (main): Likewise.
16344 * manual/examples/argp-ex3.c (main): Likewise.
16345 * manual/examples/argp-ex4.c (main): Likewise.
16346 * manual/examples/longopt.c (main): Use new-style prototype
16347 definition.
16348 * manual/examples/strncat.c (main): Specify return type and use
16349 (void) for arguments.
16350 * manual/examples/subopt.c (main): Use char **argv argument.
16351
2ee633a2
JM
163522012-02-17 Joseph Myers <joseph@codesourcery.com>
16353
16354 [BZ #5077]
16355 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16356 rounding modes.
16357
0520adde
FB
163582012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16359
16360 [BZ #6907]
16361 * manual/string.texi (strchr): Change when strchrnul is
16362 recommended.
16363
3f4081cd
DGM
163642012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16365
16366 [BZ #174]
16367 * manual/locale.texi (setlocale): Document LOCPATH.
16368
d1b10e78
JM
163692012-02-17 Joseph Myers <joseph@codesourcery.com>
16370
16371 [BZ #10210]
16372 * manual/process.texi (execle): Move @dots{} before last argument.
16373
79c6869c
PB
163742012-02-17 Paul Bolle <pebolle@tiscali.nl>
16375
16376 [BZ #12047]
16377 * manual/charset.texi (Generic Charset Conversion): Fix typo
16378 (LC_TYPE -> LC_CTYPE).
16379
cc6e48bc
NB
163802012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16381
16382 [BZ #5805]
16383 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16384 (scalbnf): Likewise.
16385 (scalbnl): Likewise.
16386 (scalbln): Likewise.
16387 (scalblnf): Likewise.
16388 (scalblnl): Likewise.
16389 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16390 (vwarnx): Likewise.
16391 (verr): Likewise.
16392 (verrx): Likewise.
16393 * manual/filesys.texi (telldir): Use braces around return type.
16394 * manual/llio.texi (mmap): Add space after comma.
16395 (mmap64): Likewise.
16396 * manual/math.texi (jn): Use @var{} on parameter names.
16397 (jnf): Likewise.
16398 (jnl): Likewise.
16399 (yn): Likewise.
16400 (ynf): Likewise.
16401 (ynl): Likewise.
16402 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16403 line.
16404 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16405 "...".
16406 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16407 (sched_get_priority_max): Likewise.
16408 * manual/signal.texi (sigvec): Add space after comma.
16409 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16410 names.
16411 (if_indextoname): Likewise.
16412 (if_freenameindex): Likewise.
16413 (sendto): Use ',' instead of '.' in prototype.
16414 * manual/startup.texi (syscall): Use @dots{} instead of literal
16415 "...".
16416 * manual/stdio.texi (__fpending): Separate initial words of
16417 paragraph from @deftypefun line.
16418 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16419 "...".
16420 (vsyslog): Use @var{} on parameter names.
16421 * manual/terminal.texi (stty): Use @var{} on parameter names.
16422 * manual/users.texi (getutmp): Use @var{} on parameter names.
16423 (getutmpx): Likewise.
16424
5b23062f
JM
164252012-02-17 Joseph Myers <joseph@codesourcery.com>
16426
16427 [BZ #6884]
16428 * manual/stdio.texi (fopen): Fix typos in description of
16429 ",ccs=STRING".
16430
8dee4833
AJ
164312012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16432
16433 [BZ #4026]
16434 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16435 get clock_id definition.
16436
9078ce93
TS
164372012-02-17 Thomas Schwinge <thomas@schwinge.name>
16438
16439 [BZ #4822]
16440 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16441 (madvise): Cast every argument to void on its own.
16442
3835c55f
JM
164432012-02-17 Joseph Myers <joseph@codesourcery.com>
16444
16445 [BZ #9902]
16446 * manual/startup.texi (Exit Status): Fix typo.
16447
35c47e37
JM
164482012-02-17 Joseph Myers <joseph@codesourcery.com>
16449
16450 [BZ #10140]
16451 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16452 * manual/examples/argp-ex2.c: Likewise.
16453 * manual/examples/argp-ex3.c: Likewise.
16454
e3b69ca7
RH
164552012-02-16 Richard Henderson <rth@redhat.com>
16456
16457 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16458 * sysdeps/s390/s390-32/initfini.c: Remove.
16459 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16460 * sysdeps/s390/s390-64/initfini.c: Remove.
16461
df83af67
KK
164622012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16463
16464 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16465 compiler output for sysdeps/generic/initfini.c.
16466 * sysdeps/sh/elf/initfini.c: Remove file.
16467
f63f3380
DM
164682012-02-16 David S. Miller <davem@davemloft.net>
16469
fb59b3a4
DM
16470 [BZ #11494]
16471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16472
f63f3380
DM
16473 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16474 * sysdeps/sparc/crti.S: New file.
16475 * sysdeps/sparc/crtn.S: New file.
16476 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16477 * sysdeps/sparc/sparc64/Makefile: Likewise.
16478
df6a4a4a
MF
164792012-02-15 Mike Frysinger <vapier@gentoo.org>
16480
6dd8f3dc 16481 [BZ #3335]
df6a4a4a
MF
16482 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16483
1cac7236
RM
164842012-02-15 Roland McGrath <roland@hack.frob.com>
16485
d2c736f8
RM
16486 [BZ #4822]
16487 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16488
1cac7236
RM
16489 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16490 (write, read, close): Likewise.
16491 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16492
8e475601
JM
164932012-02-15 Joseph Myers <joseph@codesourcery.com>
16494
16495 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16496 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16497 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16498 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16499 <bits/signalfd.h>.
16500 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16502 bits/signalfd.h.
16503
ed656b40
MP
165042012-02-14 Marek Polacek <polacek@redhat.com>
16505
16506 * sysdeps/x86_64/crti.S: New file.
16507 * sysdeps/x86_64/crtn.S: New file.
16508 * sysdeps/x86_64/elf/initfini.c: Remove file.
16509
2a979d3a
JM
165102012-02-13 Joseph Myers <joseph@codesourcery.com>
16511
16512 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16513 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16514 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16515 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16516 <bits/inotify.h>.
16517 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16519 bits/inotify.h.
16520
2a418ac3
JM
165212012-02-13 Joseph Myers <joseph@codesourcery.com>
16522
16523 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16524 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16525 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16526 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16527 <bits/eventfd.h>.
16528 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16530 bits/eventfd.h.
16531
fb779be7
TS
165322012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16533
e19e83c5
RM
16534 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16535 __feraiseexcept instead of feraiseexcept.
7c35ffed 16536
fb779be7
TS
16537 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16538 nanosleep invocations.
16539 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16540 strings, and add error checking for a nanosleep invocations.
16541
59ba27a6
PE
165422012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16543
16544 Replace FSF snail mail address with URLs, as per GNU coding standards.
16545 Most of the snail mail addresses were wrong anyway, and omitting
16546 them makes the source code easier to maintain. Almost all of the
16547 changes are to license notices and to locale LC_IDENTIFICATION
16548 addresses, except for this one:
16549 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16550 not its snail mail address.
16551
57b957eb
RH
165522012-02-09 Richard Henderson <rth@twiddle.net>
16553
af850b1c
RH
16554 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16555 of kernel-features.h.
16556
57b957eb
RH
16557 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16558
6b73181a
MP
165592012-02-08 Marek Polacek <polacek@redhat.com>
16560
16561 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16562 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16563 * sysdeps/gnu/_G_config.h: Likewise.
16564 * sysdeps/generic/_G_config.h: Likewise.
16565
26ecc33a
AS
165662012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16567
6c6dbc63
AS
16568 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16569 tests.
16570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16571
e216c012
AS
16572 * sysdeps/powerpc/powerpc32/crti.S: New file.
16573 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16574 * sysdeps/powerpc/powerpc64/crti.S: New file.
16575 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16576
26ecc33a
AS
16577 * Makeconfig (have-initfini): Don't set.
16578 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16579 * configure.in (nopic_initfini): Don't substitute.
16580 * config.h.in (HAVE_INITFINI): Don't #undef.
16581 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16582 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16583
3add8e13
JM
165842012-02-08 Joseph Myers <joseph@codesourcery.com>
16585
16586 Support crti.S and crtn.S provided directly by architectures.
16587 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16588 [crti.S in sysdirs] (omit-deps): Likewise.
16589 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16590 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16591 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16592 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16593 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16594 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16595 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16596 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16597 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16598 compiler output for sysdeps/generic/initfini.c.
16599 * sysdeps/i386/elf/Makefile: Remove file.
16600 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16601
a22f12b4
MP
166022012-02-07 Marek Polacek <polacek@redhat.com>
16603
16604 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16605 * sysdeps/gnu/_G_config.h: Likewise.
16606 * sysdeps/mach/hurd/_G_config.h: Likewise.
16607
148cf100
MP
166082012-02-07 Marek Polacek <polacek@redhat.com>
16609
16610 * math/Makefile (tests): Add tst-CMPLX2.
16611 * math/tst-CMPLX2.c: New file.
16612
cfdc0dd7
AS
166132012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16614
84ba42c4
AS
16615 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16616
cfdc0dd7
AS
16617 * math/libm-test.inc (jn_test): Add missing L suffix.
16618
622c86f4
MP
166192012-02-06 Marek Polacek <polacek@redhat.com>
16620
16621 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16622 * sysdeps/i386/fpu/e_powf.S: Likewise.
16623 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16624 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16625 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16626 * sysdeps/i386/fpu/e_pow.S: Likewise.
16627 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16628 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16629 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16630 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16631 * sysdeps/i386/fpu/e_log2.S: Likewise.
16632 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16633 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16634 * sysdeps/i386/fpu/e_powl.S: Likewise.
16635 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16636 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16637 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16638 * sysdeps/i386/fpu/e_logl.S: Likewise.
16639 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16640 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16641 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16642 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16643 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16644 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16645 * sysdeps/i386/fpu/e_log.S: Likewise.
16646 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16647 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16648 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16649 * sysdeps/i386/fpu/e_logf.S: Likewise.
16650 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16651 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16652 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16653 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16654 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16655 * sysdeps/i386/fpu/e_log10.S: Likewise.
16656 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16657 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16658 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16659 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16660 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16661 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16662 * sysdeps/i386/asm-syntax.h: Likewise.
16663 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16664 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16665 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16666 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16667 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16668 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16669 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16670 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16671 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16672 * sysdeps/powerpc/sysdep.h: Likewise.
16673 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16674 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16675
d4a54ac6
JM
166762012-02-06 Joseph Myers <joseph@codesourcery.com>
16677
16678 [BZ #411]
16679 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16680
314054ea
JM
166812012-02-06 Joseph Myers <joseph@codesourcery.com>
16682
16683 * sysdeps/i386/sysdep.h: Include <features.h>.
16684 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16685 version.
16686
d8e0ca50
JM
166872012-02-05 Joseph Myers <joseph@codesourcery.com>
16688
16689 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16690 Define.
16691 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16692 LOAD_PIC_REG_STR.
16693
b1da7dd9
JM
166942012-02-03 Joseph Myers <joseph@codesourcery.com>
16695
16696 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16697 (SETUP_PIC_REG): Use GET_PC_THUNK.
16698 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16699 macro.
16700
9a1d9254
JM
167012012-02-03 Joseph Myers <joseph@codesourcery.com>
16702
16703 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16704 for non-PIC compilation.
16705 (SETUP_PIC_REG): Add .p2align directive.
16706 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16707 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16708 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16709 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16710 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16711 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16712 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16713 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16714 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16715 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16716 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16717 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16718 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16719 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16720 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16721 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16722 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16723 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16724 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16725 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16726 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16727 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16728 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16729 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16730 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16731 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16732 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16733 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16734 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16735 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16736 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16737 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16738 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16739 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16740 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16741 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16742 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16743 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16744 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16745 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16746 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16747
65dc3b75
JM
167482012-02-03 Joseph Myers <joseph@codesourcery.com>
16749
16750 * math/tst-CMPLX.c: Include <stdio.h>.
16751
d55bf177
JM
167522012-01-31 Joseph Myers <joseph@codesourcery.com>
16753
16754 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16755 float.
16756 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16757 * sysdeps/sparc/bits/mathdef.h: Likewise.
16758
69db4f8f
MP
167592012-01-31 Marek Polacek <polacek@redhat.com>
16760
16761 * libio/libio.h: Don't define _PARAMS.
16762 * locale/programs/config.h: Don't define PARAMS.
16763 * stdlib/strtol_l.c: Likewise.
16764 (__strtol_l): Remove PARAMS from the prototype.
16765
41b81892
UD
167662012-01-31 Ulrich Drepper <drepper@gmail.com>
16767
3b49edc0
UD
16768 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16769 names. Just use the correct names. Remove unnecessary wrapper
16770 functions.
16771 * malloc/arena.c: Likewise.
16772 * malloc/hooks.c: Likewise.
16773
41b81892
UD
16774 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16775 ARENA_TEST says not to. Simplify test for creation of a new arena.
16776 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16777
27a25b6e
UD
167782012-01-30 Ulrich Drepper <drepper@gmail.com>
16779
16780 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16781 into tail calls.
16782 (update_get_addr): New function.
16783 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16784 GET_ADDR_MODULE parameter.
16785
c8a89e7d
JM
167862012-01-30 Joseph Myers <joseph@codesourcery.com>
16787
16788 * crypt/cert.c: Remove __STDC__ conditionals.
16789 * crypt/crypt-entry.c: Likewise.
16790 * crypt/crypt_util.c: Likewise.
16791 * libio/filedoalloc.c: Likewise.
16792 * libio/fileops.c: Likewise.
16793 * libio/genops.c: Likewise.
16794 * libio/iofclose.c: Likewise.
16795 * libio/iofdopen.c: Likewise.
16796 * libio/iofopen.c: Likewise.
16797 * libio/iofopen64.c: Likewise.
16798 * libio/iogetdelim.c: Likewise.
16799 * libio/iopopen.c: Likewise.
16800 * libio/obprintf.c: Likewise.
16801 * libio/oldfileops.c: Likewise.
16802 * libio/oldiofclose.c: Likewise.
16803 * libio/oldiofdopen.c: Likewise.
16804 * libio/oldiofopen.c: Likewise.
16805 * libio/oldiopopen.c: Likewise.
16806 * libio/wfiledoalloc.c: Likewise.
16807 * libio/wgenops.c: Likewise.
16808 * locale/programs/xmalloc.c: Likewise.
16809 * misc/syslog.c: Likewise.
16810 * stdio-common/xbug.c: Likewise.
16811 * string/memchr.c: Likewise.
16812 * string/memcmp.c: Likewise.
16813 * string/memrchr.c: Likewise.
16814 * string/rawmemchr.c: Likewise.
16815 * sysdeps/posix/getcwd.c: Likewise.
16816 * time/strftime_l.c: Likewise.
16817
3b100462
JM
168182012-01-30 Joseph Myers <joseph@codesourcery.com>
16819
16820 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16821 * config.make.in (config-cflags-sse2avx): Define.
16822 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16823 Fix typo.
16824
607998af
CM
168252012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16826
16827 * scripts/config.guess: Update from upstream config git repository.
16828 * scripts/config.sub: Likewise.
16829
3601428f
CM
168302012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16831
3ac8b282
CM
16832 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16833 (EM_NUM): Update.
16834 (R_TILEPRO_*, R_TILEGX_*): New macros.
16835
e034841e
CM
16836 * scripts/firstversions.awk: Fix bug in version range handling.
16837
540d7568
CM
16838 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16839
3601428f
CM
16840 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16841
463de862
CM
16842 * include/sys/epoll.h: New file.
16843 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16844 libc_hidden_def.
16845
73139a76
UD
168462012-01-28 Ulrich Drepper <drepper@gmail.com>
16847
96bc5b45
UD
16848 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16849 Avoid unnecessary __WORDSIZE == 64 test.
16850 (fmaxf): Use VEX format if possible.
16851 (fmax): Likewise.
16852 (fminf): Likewise.
16853 (fmin): Likewise.
16854
56f6f6a2
UD
16855 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16856 * math/math_private.h: Remove libc_fegetround* and
16857 libc_fesetround*.
16858 * sysdeps/i386/configure.in: Check for -msse2avx.
16859 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16860 also if SSE2AVX is defined.
16861 Remove libc_fegetround* and libc_fesetround*.
16862 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16863 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16864 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16865 of HAS_YMM_USABLE.
16866 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16867 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16868 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16869 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16870 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16871
73139a76
UD
16872 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16873
d73f93a4
AZ
168742012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16875
16876 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16877 size is not set.
16878 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16879
6ee65ed6
UD
168802012-01-27 Ulrich Drepper <drepper@gmail.com>
16881
16882 [BZ #13618]
16883 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16884 relocation.
16885 * Makeconfig (libm): Define.
16886 * elf/Makefile: Add rules to build and run tst-relsort1.
16887 * elf/tst-relsort1.c: New file.
16888 * elf/tst-relsort1mod1.c: New file.
16889 * elf/tst-relsort1mod2.c: New file.
16890
8db21882
JM
168912012-01-27 Joseph Myers <joseph@codesourcery.com>
16892
16893 * math/s_ldexp.c: Remove __STDC__ conditionals.
16894 * math/s_ldexpf.c: Likewise.
16895 * math/s_ldexpl.c: Likewise.
16896 * math/s_nextafter.c: Likewise.
16897 * math/s_nexttowardf.c: Likewise.
16898 * math/s_significand.c: Likewise.
16899 * math/s_significandf.c: Likewise.
16900 * math/s_significandl.c: Likewise.
16901 * math/w_jnl.c: Likewise.
16902 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16903 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16904 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16905 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16906 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16907 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16908 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16909 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16910 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16911 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16912 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16913 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16914 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16915 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16916 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16917 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16918 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16919 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16920 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16921 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16922 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16923 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16924 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16925 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16926 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16927 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16928 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16929 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16930 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16931 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16932 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16933 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16934 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16935 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16936 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16937 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16938 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16939 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16940 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16941 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16942 * sysdeps/ieee754/k_standard.c: Likewise.
16943 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16944 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16945 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16946 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16947 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16948 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16949 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16950 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16951 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16952 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16953 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16954 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16955 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16956 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16957 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16958 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16959 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16960 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16961 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16962 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16963 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16964 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16965 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16966 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16967 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16968 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16972 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16974 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16977 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16978 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16979 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16980 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16981 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16982 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16983 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16984 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16985 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16986 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16987 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16989 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16991 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16992 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16995 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16998 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17000 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17001 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17002 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17003 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17004 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17005 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17006 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17007 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17008 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17009 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17010 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17011 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17012 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17013 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17014 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17015 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17016 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17017 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17018 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17019 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17020 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17021 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17022 * sysdeps/ieee754/s_matherr.c: Likewise.
17023 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17024 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17025 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17026 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17027
965a54a4
JM
170282012-01-26 Joseph Myers <joseph@codesourcery.com>
17029
17030 * crypt/md5.h: Remove __STDC__ conditionals.
17031 * libio/libioP.h: Likewise.
17032 * locale/programs/config.h: Likewise.
17033 * sysdeps/generic/sysdep.h: Likewise.
17034 * sysdeps/i386/asm-syntax.h: Likewise.
17035 * sysdeps/s390/asm-syntax.h: Likewise.
17036 * sysdeps/unix/sysdep.h: Likewise.
17037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17039
7071ad79
JM
170402012-01-26 Joseph Myers <joseph@codesourcery.com>
17041
17042 * libio/libio.h: Remove __STDC__ conditionals.
17043 * malloc/obstack.h: Likewise.
17044 * math/complex.h: Likewise.
17045 * math/math.h: Likewise.
17046 * sysdeps/generic/_G_config.h: Likewise.
17047 * sysdeps/gnu/_G_config.h: Likewise.
17048 * sysdeps/mach/hurd/_G_config.h: Likewise.
17049 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17050 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17051 * sysdeps/sparc/bits/mathdef.h: Likewise.
17052
afc5ed09
UD
170532012-01-26 Ulrich Drepper <drepper@gmail.com>
17054
17055 [BZ #13583]
17056 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17057 Clean up HAS_* macros.
afc5ed09 17058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17059 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17060 possible.
17061 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17062 HAS_AVX.
17063 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17064 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17065 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17066 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17067 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17068
bdb6de1d
JM
170692012-01-25 Joseph Myers <joseph@codesourcery.com>
17070
17071 * elf/tst-unique3.cc (gets): Remove declaration.
17072 * elf/tst-unique3lib.cc (gets): Likewise.
17073 * elf/tst-unique3lib2.cc (gets): Likewise.
17074 * elf/tst-unique4.cc (gets): Likewise.
17075
b15549e6
UD
170762012-01-24 Ulrich Drepper <drepper@gmail.com>
17077
17078 * include/stdio.h: Add C++ protection. Add gets declarations and
17079 definitions.
17080 * debug/tst-chk1.c: Don't declare gets here.
17081 * stdio-common/tst-gets.c: Likewise.
17082
a037381f
JM
170832012-01-24 Joseph Myers <joseph@codesourcery.com>
17084
17085 * posix/glob: Remove directory.
17086
f1d4aa75
JM
170872012-01-24 Joseph Myers <joseph@codesourcery.com>
17088
17089 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17090
81c0c964
PT
170912012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17092
17093 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17094 of the non-standard EPFNOSUPPORT.
17095
0ea698ae
ST
170962011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17097
17098 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17099 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17100 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17101
d220b117
UD
171022012-01-21 Ulrich Drepper <drepper@gmail.com>
17103
17104 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17105
3e1aa84e
UD
171062012-01-20 Ulrich Drepper <drepper@gmail.com>
17107
17108 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17109 transient errors.
17110 * nscd/grpcache.c (cache_addgr): Likewise.
17111 * nscd/hstcache.c (cache_addhst): Likewise.
17112 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17113 * nscd/pwdcache.c (cache_addpw): Likewise.
17114 * nscd/servicescache.c (cache_addserv): Likewise.
17115
400aa020
UD
171162012-01-16 Ulrich Drepper <drepper@gmail.com>
17117
d77e7869
UD
17118 * malloc/malloc.c: Various cleanups.
17119 * malloc/hooks.c: Likewise.
17120
400aa020
UD
17121 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17122 * stdlib/bug-fmtmsg1.c: New file.
17123
17124 * stdlib/fmtmsg.c (init): Add missing unlock.
17125 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17126
e0a309cf
MP
171272012-01-12 Marek Polacek <polacek@redhat.com>
17128
17129 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17130 and _GNU_SOURCE.
17131
929d11c7
WS
171322012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17133
17134 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17135 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17136 macro to ensure uniqueness of label name.
17137 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17138 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17139
41d0e869
UD
171402012-01-11 Ulrich Drepper <drepper@gmail.com>
17141
0cc5ed3b
UD
17142 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17143
41d0e869
UD
17144 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17145 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17146 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17147 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17148
a47a831a
UD
171492012-01-10 Ulrich Drepper <drepper@gmail.com>
17150
daa891c0
UD
17151 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17152
17153 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17154 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17155 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17156
e58ef0f2
UD
17157 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17158
a47a831a 17159 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17160 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17161 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17162 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17163
17164 * math/bits/math-finite.h: Add ldexp support.
17165
a0bfc9c7
MP
171662012-01-10 Marek Polacek <polacek@redhat.com>
17167
17168 * locale/programs/localedef.h (show_archive_content): Add noreturn
17169 attribute.
17170
d6e97a1d
UD
171712012-01-09 Ulrich Drepper <drepper@gmail.com>
17172
17173 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17174
d5835c26
UD
171752012-01-08 Ulrich Drepper <drepper@gmail.com>
17176
e5f484c6
UD
17177 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17178
d5835c26
UD
17179 * io/Makefile (headers): Add bits/poll2.h.
17180
d1f741e9
WS
171812011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17182
17183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17184 typo #include statement.
17185
ec09c1c4
UD
171862012-01-08 Ulrich Drepper <drepper@gmail.com>
17187
17188 * include/sys/cdefs.h: Define __attribute_alloc_size.
17189 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17190 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17191 * elf/pldd.c: Likewise.
17192 * iconv/iconv_charmap.c: Likewise.
17193 * iconv/iconvconfig.c: Likewise.
17194 * iconv/strtab.c: Likewise.
17195 * locale/programs/locale.c: Likewise.
17196 * locale/programs/localedef.h: Likewise.
17197 * locale/programs/simple-hash.c: Likewise.
17198 * nscd/nscd.h: Likewise.
17199 * nss/makedb.c: Likewise.
17200 * sysdeps/generic/ldconfig.h: Likewise.
17201 * locale/programs/localedef.c: Remove xmalloc prototype.
17202 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17203
20b38e03
PP
172042012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17205
17206 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17207 appropriate.
17208
a0da5fe1
UD
172092012-01-08 Ulrich Drepper <drepper@gmail.com>
17210
1d5a644a 17211 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17212 * math/tst-CMPLX.c: New file.
1d5a644a 17213
8784a6db
UD
17214 * math/complex.h (CMPLXL): Fix typo.
17215
d9a216c0
UD
17216 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17217 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17218 GLIBC_2.16.
17219 * debug/tst-chk1.c: Add poll and ppoll tests.
17220 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17221 * include/sys/poll.h: Add hidden proto for ppoll.
17222 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17223 * sysdeps/mach/hurd/ppoll.c: Likewise.
17224 * io/ppoll.c: Likewise.
17225 * debug/poll_chk.c: New file.
17226 * debug/ppoll_chk.c: New file.
17227 * include/bits/poll2.h: New file.
17228 * io/bits/poll2.h: New file.
17229
ac097f5c
UD
17230 [BZ #1350]
17231 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17232
2119dcfa
UD
17233 * configure.in: static is always set to yes. Remove.
17234 * config.make.in: Don't set build-static.
17235 * Makeconfig: Remove use of build-static.
17236 * dlfcn/Makefile: Likewise.
17237 * elf/Makefile: Likewise.
17238 * math/Makefile: Likewise.
17239 * misc/Makefile: Likewise.
17240 * nptl/Makefile: Likewise.
17241 * sysdeps/mach/hurd/Makefile: Likewise.
17242
121766a9
UD
17243 * configure.in: PWD_P is not used anymore.
17244 * config.make.in: Remove PWD_P entry.
17245
51a1d39c 17246 * configure.in: Remove last remnants of RANLIB.
8720d066 17247 No need to check for signed size_t anymore.
215f4bdc
UD
17248 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17249 and IA-64.
3857022a 17250 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17251 * aclocal.m4: Likewise.
17252
d3ed7225
UD
17253 * wcsmbs/mbrtoc16.c: Implement using towc function.
17254 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17255 * wcsmbs/wcsmbsload.c: Likewise.
17256 * iconv/gconv_simple.c: Likewise.
17257 * iconv/gconv_int.h: Likewise.
17258 * iconv/gconv_builtin.h: Likewise.
17259 * iconv/iconv_prog.c: Remove CHAR16 handling.
17260
17261 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17262
17263 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17264
a0da5fe1
UD
17265 * configure.in: Remove --with-elf and --enable-bounded options.
17266 Dont set base_machine for ia64. More non-ELF conditions removed.
17267 Remove testing and setting of leading underscore information.
17268 * config.make.in (build-bounded): Set to no.
17269 * config.h.in: Remove NO_UNDERSCORES entry.
17270 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17271 them.
17272 * csu/start.c: Remove !NO_UNDERSCORE code.
17273 * locale/localeinfo.h: Likewise.
17274 * sysdeps/generic/machine-gmon.h: Likewise.
17275 * sysdeps/generic/sysdep.h: Likewise.
17276 * sysdeps/i386/sysdep.h: Likewise.
17277 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17278 * sysdeps/mach/sysdep.h: Likewise.
17279 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17281 * sysdeps/sh/sysdep.h: Likewise.
17282 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17283 * sysdeps/unix/i386/sysdep.S: Likewise.
17284 * sysdeps/unix/sparc/start.c: Likewise.
17285 * sysdeps/unix/sparc/sysdep.S: Likewise.
17286 * sysdeps/unix/sparc/sysdep.h: Likewise.
17287 * sysdeps/unix/start.c: Likewise.
17288 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17289 * sysdeps/x86_64/sysdep.h: Likewise.
17290
df78418a
UD
172912012-01-07 Ulrich Drepper <drepper@gmail.com>
17292
a784e502
UD
17293 [BZ #13553]
17294 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17295 for non-gcc.
17296 * argp/argp-fmtstream.h: Use const instead __const.
17297 * argp/argp.h: Likewise.
17298 * assert/assert.h: Likewise.
17299 * bits/fenv.h: Likewise.
17300 * bits/sched.h: Likewise.
17301 * bits/sigset.h: Likewise.
17302 * bits/sigthread.h: Likewise.
17303 * catgets/nl_types.h: Likewise.
17304 * conform/data/pthread.h-data: Likewise.
17305 * crypt/crypt-private.h: Likewise.
17306 * crypt/crypt.h: Likewise.
17307 * crypt/crypt_util.c: Likewise.
17308 * ctype/ctype.h: Likewise.
17309 * debug/execinfo.h: Likewise.
17310 * debug/mbsnrtowcs_chk.c: Likewise.
17311 * debug/mbsrtowcs_chk.c: Likewise.
17312 * debug/wcsnrtombs_chk.c: Likewise.
17313 * debug/wcsrtombs_chk.c: Likewise.
17314 * debug/wcstombs_chk.c: Likewise.
17315 * dirent/dirent.h: Likewise.
17316 * dlfcn/dlfcn.h: Likewise.
17317 * elf/neededtest4.c: Likewise.
17318 * grp/grp.h: Likewise.
17319 * gshadow/gshadow.h: Likewise.
17320 * iconv/gconv.h: Likewise.
17321 * iconv/gconv_int.h: Likewise.
17322 * iconv/gconv_simple.c: Likewise.
17323 * iconv/iconv.h: Likewise.
17324 * iconv/loop.c: Likewise.
17325 * iconv/skeleton.c: Likewise.
17326 * include/aio.h: Likewise.
17327 * include/aliases.h: Likewise.
17328 * include/argz.h: Likewise.
17329 * include/arpa/inet.h: Likewise.
17330 * include/assert.h: Likewise.
17331 * include/dirent.h: Likewise.
17332 * include/dlfcn.h: Likewise.
17333 * include/execinfo.h: Likewise.
17334 * include/fcntl.h: Likewise.
17335 * include/fenv.h: Likewise.
17336 * include/glob.h: Likewise.
17337 * include/grp.h: Likewise.
17338 * include/libintl.h: Likewise.
17339 * include/mntent.h: Likewise.
17340 * include/netdb.h: Likewise.
17341 * include/pwd.h: Likewise.
17342 * include/rpc/netdb.h: Likewise.
17343 * include/sched.h: Likewise.
17344 * include/search.h: Likewise.
17345 * include/shadow.h: Likewise.
17346 * include/signal.h: Likewise.
17347 * include/stdio.h: Likewise.
17348 * include/stdlib.h: Likewise.
17349 * include/string.h: Likewise.
17350 * include/sys/socket.h: Likewise.
17351 * include/sys/stat.h: Likewise.
17352 * include/sys/statfs.h: Likewise.
17353 * include/sys/statvfs.h: Likewise.
17354 * include/sys/syslog.h: Likewise.
17355 * include/sys/time.h: Likewise.
17356 * include/sys/uio.h: Likewise.
17357 * include/time.h: Likewise.
17358 * include/unistd.h: Likewise.
17359 * include/utmp.h: Likewise.
17360 * include/wchar.h: Likewise.
17361 * include/wctype.h: Likewise.
17362 * inet/aliases.h: Likewise.
17363 * inet/arpa/inet.h: Likewise.
17364 * inet/netinet/ether.h: Likewise.
17365 * inet/netinet/in.h: Likewise.
17366 * intl/libintl.h: Likewise.
17367 * io/bits/fcntl2.h: Likewise.
17368 * io/fcntl.h: Likewise.
17369 * io/ftw.h: Likewise.
17370 * io/sys/poll.h: Likewise.
17371 * io/sys/stat.h: Likewise.
17372 * io/sys/statfs.h: Likewise.
17373 * io/sys/statvfs.h: Likewise.
17374 * io/utime.h: Likewise.
17375 * libio/bits/stdio.h: Likewise.
17376 * libio/bits/stdio2.h: Likewise.
17377 * libio/libio.h: Likewise.
17378 * libio/libioP.h: Likewise.
17379 * libio/stdio.h: Likewise.
17380 * locale/lc-ctype.c: Likewise.
17381 * locale/locale.h: Likewise.
17382 * login/utmp.h: Likewise.
17383 * malloc/arena.c: Likewise.
17384 * malloc/malloc.c: Likewise.
17385 * malloc/malloc.h: Likewise.
17386 * malloc/mcheck.c: Likewise.
17387 * malloc/mtrace.c: Likewise.
17388 * math/bits/mathcalls.h: Likewise.
17389 * math/fenv.h: Likewise.
17390 * math/math_private.h: Likewise.
17391 * misc/bits/error.h: Likewise.
17392 * misc/bits/syslog.h: Likewise.
17393 * misc/err.h: Likewise.
17394 * misc/error.h: Likewise.
17395 * misc/fstab.h: Likewise.
17396 * misc/mntent.h: Likewise.
17397 * misc/regexp.h: Likewise.
17398 * misc/search.h: Likewise.
17399 * misc/sgtty.h: Likewise.
17400 * misc/sys/mman.h: Likewise.
17401 * misc/sys/syslog.h: Likewise.
17402 * misc/sys/uio.h: Likewise.
17403 * misc/sys/xattr.h: Likewise.
17404 * misc/ttyent.h: Likewise.
17405 * nis/rpcsvc/ypclnt.h: Likewise.
17406 * nss/nss.h: Likewise.
17407 * posix/bits/unistd.h: Likewise.
17408 * posix/fnmatch.h: Likewise.
17409 * posix/glob.h: Likewise.
17410 * posix/sched.h: Likewise.
17411 * posix/spawn.h: Likewise.
17412 * posix/sys/wait.h: Likewise.
17413 * posix/unistd.h: Likewise.
17414 * posix/wordexp.h: Likewise.
17415 * pwd/pwd.h: Likewise.
17416 * resolv/netdb.h: Likewise.
17417 * resource/sys/resource.h: Likewise.
17418 * rt/aio.h: Likewise.
17419 * rt/bits/mqueue2.h: Likewise.
17420 * rt/mqueue.h: Likewise.
17421 * shadow/shadow.h: Likewise.
17422 * signal/signal.h: Likewise.
17423 * socket/send.c: Likewise.
17424 * socket/sendto.c: Likewise.
17425 * socket/sys/socket.h: Likewise.
17426 * stdio-common/printf.h: Likewise.
17427 * stdlib/bits/stdlib.h: Likewise.
17428 * stdlib/fmtmsg.h: Likewise.
17429 * stdlib/monetary.h: Likewise.
17430 * stdlib/stdlib.h: Likewise.
17431 * stdlib/ucontext.h: Likewise.
17432 * streams/stropts.h: Likewise.
17433 * string/argz.h: Likewise.
17434 * string/bits/string2.h: Likewise.
17435 * string/string.h: Likewise.
17436 * string/strings.h: Likewise.
17437 * sunrpc/rpc/auth.h: Likewise.
17438 * sunrpc/rpc/auth_des.h: Likewise.
17439 * sunrpc/rpc/clnt.h: Likewise.
17440 * sunrpc/rpc/netdb.h: Likewise.
17441 * sunrpc/rpc/pmap_clnt.h: Likewise.
17442 * sunrpc/rpc/xdr.h: Likewise.
17443 * sysdeps/generic/inttypes.h: Likewise.
17444 * sysdeps/generic/net/if.h: Likewise.
17445 * sysdeps/generic/sys/swap.h: Likewise.
17446 * sysdeps/gnu/net/if.h: Likewise.
17447 * sysdeps/gnu/utmpx.h: Likewise.
17448 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17449 * sysdeps/i386/i486/bits/string.h: Likewise.
17450 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17451 * sysdeps/s390/bits/string.h: Likewise.
17452 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17453 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17454 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17455 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17456 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17457 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17458 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17459 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17460 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17461 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17462 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17463 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17464 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17465 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17466 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17467 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17468 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17469 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17470 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17471 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17472 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17473 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17474 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17475 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17476 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17477 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17478 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17479 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17480 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17481 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17482 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17483 * sysvipc/sys/ipc.h: Likewise.
17484 * sysvipc/sys/msg.h: Likewise.
17485 * sysvipc/sys/sem.h: Likewise.
17486 * sysvipc/sys/shm.h: Likewise.
17487 * termios/termios.h: Likewise.
17488 * time/sys/time.h: Likewise.
17489 * time/time.h: Likewise.
17490 * wcsmbs/bits/wchar2.h: Likewise.
17491 * wcsmbs/uchar.h: Likewise.
17492 * wcsmbs/wchar.h: Likewise.
17493 * wctype/wctype.h: Likewise.
17494
0269750c
UD
17495 [BZ #13551]
17496 * Makeconfig: Remove all but ELF support including AIX support.
17497 * Makerules: Likewise.
17498 * config.h.in: Likewise.
17499 * config.make.in: Likewise.
17500 * configure: Likewise.
17501 * configure.in: Likewise.
17502 * csu/Makefile: Likewise.
17503 * csu/version.c: Likewise.
17504 * debug/Makefile: Likewise.
17505 * dlfcn/Makefile: Likewise.
17506 * elf/Makefile: Likewise.
17507 * extra-lib.mk: Likewise.
17508 * iconv/Makefile: Likewise.
17509 * include/libc-symbols.h: Likewise.
17510 * include/shlib-compat.h: Likewise.
17511 * resolv/Makefile: Likewise.
17512 * resolv/res_libc.c: Likewise.
17513 * rt/Makefile: Likewise.
17514 * sysdeps/i386/asm-syntax.h: Likewise.
17515 * sysdeps/i386/sysdep.h: Likewise.
17516 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17517 * sysdeps/mach/sysdep.h: Likewise.
17518 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17519 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17520 * sysdeps/s390/asm-syntax.h: Likewise.
17521 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17522 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17523 * sysdeps/sh/sysdep.h: Likewise.
17524 * sysdeps/unix/sparc/sysdep.h: Likewise.
17525 * sysdeps/wordsize-32/divdi3.c: Likewise.
17526 * sysdeps/x86_64/sysdep.h: Likewise.
17527
00bbd29b
UD
17528 * argp/Versions: Remove _argp_unlock_xxx.
17529
17530 [BZ #13559]
17531 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17532 * abilist/libBrokenLocale.abilist: Likewise.
17533 * abilist/libanl.abilist: Likewise.
17534 * abilist/libc.abilist: Likewise.
17535 * abilist/libcrypt.abilist: Likewise.
17536 * abilist/libdl.abilist: Likewise.
17537 * abilist/libm.abilist: Likewise.
17538 * abilist/libnsl.abilist: Likewise.
17539 * abilist/libpthread.abilist: Likewise.
17540 * abilist/libresolv.abilist: Likewise.
17541 * abilist/librt.abilist: Likewise.
17542 * abilist/libthread_db.abilist: Likewise.
17543 * abilist/libutil.abilist: Likewise.
17544 * abilist/libnss_db.abilist: New file.
17545
17546 * scripts/abilist.awk: Add support for indirect functions.
17547
a2693a0e
UD
17548 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17549
3f05895f
UD
17550 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17551
ecb6fb48
UD
17552 * shlib-versions: Remove entries for ports architectures.
17553
664f8cb9
UD
17554 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17555 files in ports.
17556 * elf/stackguard-macros.h: Remove support for IA-64.
17557 * elf/tst-auditmod1.c: Likewise.
17558 * sysdeps/generic/ldsodefs.h: Likewise.
17559
7ae81d88
UD
17560 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17561 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17562 configure files.
17563
bdeba135
UD
17564 [BZ #13552]
17565 * configure.in: Remove --enable-omitfp support.
17566 * FAQ.in: Adjust.
17567 * config.make.in: Likewise.
17568 * Makeconfig: Likewise.
17569 * manual/install.texi: Likewise.
17570
d75a0a62
UD
17571 In case anyone cares, the IA-64 architecture could move to ports.
17572 * sysdeps/ia64/*: Removed.
17573 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17574 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17575
dcc9756b
UD
17576 [BZ #13555]
17577 * configure.in: Remove entries for unsupported architectures.
17578
d3761ebc 17579 [BZ #13533]
9954432e
UD
17580 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17581 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17582 routines.
17583 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17584 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17585 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17586 fall back to using wcrtomb.
17587 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17588 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17589 renaming.
17590 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17591 * wcsmbs/tst-c16c32-1.c: New file.
17592
17593 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17594 local variable.
17595
c3a87236
UD
17596 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17597
28926a1b
UD
17598 * elf/tst-unique3.cc: Add explicit declaration of gets.
17599 * elf/tst-unique3lib.cc: Likewise.
17600 * elf/tst-unique3lib2.cc: Likewise.
17601 * elf/tst-unique4.cc: Likewise.
17602
df78418a
UD
17603 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17604
8ecd6b2a
JM
176052012-01-06 Joseph Myers <joseph@codesourcery.com>
17606
17607 [BZ #13566]
17608 * assert/assert.h (static_assert): Don't define for C++.
17609 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17610 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17611
9f115170
UD
176122012-01-03 Ulrich Drepper <drepper@gmail.com>
17613
5e0d0300
UD
17614 * iconv/loop.c (single loop): Fix assertion in storing of
17615 remaining bytes.
17616
9f115170
UD
17617 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17618
81fb02b0
UD
176192012-01-01 Ulrich Drepper <drepper@gmail.com>
17620
17621 * posix/getconf.c: Update copyright year.
17622 * nss/getent.c: Likewise.
a316c1f6 17623 * nss/makedb.c: Likewise.
81fb02b0
UD
17624 * iconv/iconvconfig.c: Likewise.
17625 * iconv/iconv_prog.c: Likewise.
17626 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17627 * elf/pldd.c: Likewise.
17628 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17629 * catgets/gencat.c: Likewise.
17630 * csu/version.c: Likewise.
17631 * elf/ldd.bash.in: Likewise.
17632 * elf/sprof.c (print_version): Likewise.
17633 * locale/programs/locale.c: Likewise.
17634 * locale/programs/localedef.c: Likewise.
a316c1f6 17635 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17636 * nscd/nscd.c (print_version): Likewise.
17637 * debug/xtrace.sh: Likewise.
17638 * malloc/memusage.sh: Likewise.
17639 * malloc/mtrace.pl: Likewise.
17640 * debug/catchsegv.sh: Likewise.
17641
2ba92745
JJ
176422011-12-30 Jakub Jelinek <jakub@redhat.com>
17643
17644 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17645 pure attribute.
17646
dadebdae
UD
176472011-12-24 Ulrich Drepper <drepper@gmail.com>
17648
d3761ebc 17649 [BZ #13533]
db6af3eb
UD
17650 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17651 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17652 transformations.
17653 * iconv/gconv_int.h: Likewise.
17654 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17655 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17656 from libc for GLIBC_2.16.
17657 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17658 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17659 * wcsmbs/uchar.h: Really define mbstate_t.
17660 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17661 * wcsmbs/c16rtomb.c: New file.
17662 * wcsmbs/mbrtoc16.c: New file.
17663 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17664 for C/POSIX locale.
17665 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17666 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17667
dadebdae
UD
17668 * wcsmbs/wchar.h: Add missing __restrict.
17669
67371b56
UD
176702011-12-23 Ulrich Drepper <drepper@gmail.com>
17671
74033a25
UD
17672 [BZ #13532]
17673 * time/Makefile (routines): Add timespec_get.
17674 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17675 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17676 timespec for ISO C11.
17677 * time/timespec_get.c: New file.
17678 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17679 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17680
380d7e87
UD
17681 [BZ #13531]
17682 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17683 * stdlib/stdlib.h: Declare aligned_alloc.
17684 * Versions.def: Add GLIBC_2.16 for libc.
17685 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17686
4e9e7a35
UD
17687 [BZ 13527]
17688 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17689 ISO C11.
17690
380d7e87 17691 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17692 code.
17693
03a71829
UD
17694 [BZ #13528]
17695 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17696
839e283e
UD
17697 [BZ #13529]
17698 * assert/assert.h (static_assert): Define.
17699
ce5294e2 17700 * version.h: Update for 2.16 development version.
90fa7312 17701
8d44e150 17702 [BZ #13526]
d7809905
UD
17703 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17704 _ISOC11_SOURCE.
17705
c0da14cd
UD
17706 * version.h (RELEASE): Bump for 2.15 release.
17707 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17708
530a3249
MP
17709 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17710 Patch by Marek Polacek <mpolacek@redhat.com>.
17711
67371b56
UD
17712 * bits/byteswap.h: Protect long long constants with __extension__.
17713 * sysdeps/i386/bits/byteswap.h: Likewise.
17714 * sysdeps/ia64/bits/byteswap.h: Likewise.
17715 * sysdeps/s390/bits/byteswap.h: Likewise.
17716 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17717
15db4de1
LD
177182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17719
17720 [BZ #13540]
bbe315ea
LD
17721 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17722 destination buffer.
15db4de1
LD
17723 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17724
2b2596b1
MP
177252011-12-23 Marek Polacek <polacek@redhat.com>
17726
17727 * elf/dl-addr.c (determine_info): Add inline keyword.
17728 * elf/tst-auditmod4b.c (check_avx): Likewise.
17729 * elf/tst-auditmod6b.c (check_avx): Likewise.
17730 * elf/tst-auditmod6c.c (check_avx): Likewise.
17731 * elf/tst-auditmod7b.c (check_avx): Likewise.
17732
70c6c246
UD
177332011-12-23 Ulrich Drepper <drepper@gmail.com>
17734
17735 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17736 !__SSE_MATH__.
17737
c044cf14
LD
177382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17739
15db4de1 17740 [BZ #13540]
c044cf14
LD
17741 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17742 processing for last bytes.
17743
6b13d9d9
BH
177442011-08-06 Bruno Haible <bruno@clisp.org>
17745
d455f537
BH
17746 [BZ #13061]
17747 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17748 U+0385, not to U+1FEE.
17749
6b13d9d9
BH
17750 [BZ #13062]
17751 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17752 entry for U+00A5 U+0301.
17753
db910efd
UD
177542011-12-22 Ulrich Drepper <drepper@gmail.com>
17755
27deeafc
UD
17756 [BZ #13166]
17757 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17758 buffer for the output is too small.
17759
aed9d171
UD
17760 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17761 optimization.
17762
db910efd
UD
17763 [BZ #13185]
17764 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17765 SSE flags if possible.
17766
2bd779ae
LD
177672011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17768
e7f9dac3 17769 [BZ #13540]
2bd779ae
LD
17770 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17771 processing for last bytes.
17772
154bfc16
JM
177732011-12-22 Joseph Myers <joseph@codesourcery.com>
17774
17775 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17776 (syscall-list-default-options, syscall-list-default-condition)
17777 (syscall-list-includes): Define.
17778 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17779 list of ABIs and options and #if conditions for each ABI. Do not
17780 handle common syscalls between ABIs specially.
17781 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17782 Remove.
17783 (syscall-list-variants, syscall-list-32bit-options)
17784 (syscall-list-32bit-condition, syscall-list-64bit-options)
17785 (syscall-list-64bit-condition): Define.
17786 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17787 (syscall-list-variants, syscall-list-32bit-options)
17788 (syscall-list-32bit-condition, syscall-list-64bit-options)
17789 (syscall-list-64bit-condition): Define.
17790 * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
17796 Remove.
17797 (syscall-list-variants, syscall-list-32bit-options)
17798 (syscall-list-32bit-condition, syscall-list-64bit-options)
17799 (syscall-list-64bit-condition): Define.
17800
21eaf3a5
UD
178012011-12-22 Ulrich Drepper <drepper@gmail.com>
17802
16c6f992
UD
17803 * locale/iso-639.def: Add brx entry.
17804
41043168
UD
17805 [BZ #13328]
17806 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17807 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17808
21eaf3a5
UD
17809 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17810 __feraiseexcept_renamed.
17811
e3a851a2
UD
178122011-12-21 Ulrich Drepper <drepper@gmail.com>
17813
4920765e
UD
17814 [BZ #13538]
17815 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17816 EPOLLET with unsigned values.
17817 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17818 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17819
e3a851a2
UD
17820 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17821 to large cancellation.
17822 * math/s_cacoshf.c: Likewise.
17823 * math/s_cacoshl.c: Likewise.
17824
b27e24b8
RK
178252011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17826
17827 [BZ #13305]
aebefeee 17828 [BZ #12786]
b27e24b8
RK
17829 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17830 * math/s_cacoshf.c: Likewise.
17831 * math/s_cacoshl.c: Likewise.
17832
ee190f67
UD
178332011-12-21 Ulrich Drepper <drepper@gmail.com>
17834
17835 [BZ #13439]
17836 * iconv/gconv.h: Define __GCONV_SWAP.
17837 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17838 * iconvdata/utf-16.c: Likewise.
17839 * iconvdata/utf-32.c: Likewise.
17840
707f25df
AS
178412011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17842
17843 [BZ #13524]
17844 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17845 numerator after shifting it by one limb.
17846
d2daaa1e
RÁE
178472011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17848
17849 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17850 under [__USE_EXTERN_INLINES].
17851
a4647e72
UD
178522011-12-17 Ulrich Drepper <drepper@gmail.com>
17853
17854 [BZ #13446]
17855 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17856
f0b264f1
AZ
178572011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17858
17859 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17860 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17861 optimized code.
17862 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17863 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17864 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17865 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17866 for strncasecmp/strncasecmp_l compilation.
17867 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17868 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17869
8ef4f244
MP
178702011-12-08 Marek Polacek <mpolacek@redhat.com>
17871
17872 [BZ #13484]
17873 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17874 of __asm__.
17875
97ac2654
UD
178762011-12-17 Ulrich Drepper <drepper@gmail.com>
17877
17878 [BZ #13506]
17879 * time/tzfile.c (__tzfile_read): Check values from file header.
17880
91d2a845
WS
178812011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17882
17883 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17884 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17885 * powerpc/powerpc32/dl-start.S: Likewise.
17886 * powerpc/powerpc32/elf/start.S: Likewise.
17887 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17888 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17889 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17890 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17891 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17892 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17893 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17894 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17895 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17896 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17897 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17898 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17899 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17900 * powerpc/powerpc32/memset.S: Likewise.
17901 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17902 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17903 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17904 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17905 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17906 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17907 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17908 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17909 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17910 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17911 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17912 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17913 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17914
a1267ba1
AZ
179152011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17916
17917 * math/libm-test.inc: Added more nearbyint tests.
17918 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17919 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17920 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17921 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17922
ad8ac1bd
RL
179232011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17924
17925 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17926 FD_CLOEXEC.
17927
1d3e4b61
UD
179282011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17929
17930 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17931 Add wcscpy-ssse3 wcscpy-c.
17932 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17933 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17934 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17935 * sysdeps/x86_64/wcschr.S: New file.
17936 * sysdeps/x86_64/wcsrchr.S: New file.
17937 * string/test-strcmp.c: Remove checking of wcscmp function for
17938 wrong alignments.
17939 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17940 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17941 wcsrchr-sse2 wcsrchr-c.
17942 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17943 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17944 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17945 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17946 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17947 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17948 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17949 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17950 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17951 * wcsmbc/wcschr.c (WCSCHR): New macro.
17952
5b330a2d
UD
179532011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17954
17955 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17956 * wcsmbs/test-wcsrchr.c: New file.
17957 * string/test-strrchr.c: Add wcsrchr support.
17958 (WIDE): New macro.
17959 * wcsmbs/test-wcscpy.c: New file.
17960 * string/test-strcpy.c: Add wcscpy support.
17961 (WIDE): New macro.
26428b7c 17962
f039c043
UD
179632011-12-10 Ulrich Drepper <drepper@gmail.com>
17964
17965 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17966 the inner loop.
17967
850fb039
AS
179682011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17969
17970 [BZ #13472]
17971 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17972
4efbd5cb
UD
179732011-12-04 Ulrich Drepper <drepper@gmail.com>
17974
52ff5dd0 17975 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17976 Minor optimizations.
52ff5dd0 17977
4efbd5cb
UD
17978 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17979 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17980 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17981
8a426e12
UD
179822011-12-03 Ulrich Drepper <drepper@gmail.com>
17983
aff2453d
UD
17984 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17985 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17986 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17987 for gcc to avoid warnings.
17988 * inet/Makefile (tests): Add tst-checks.
17989 * inet/tst-checks.c: New file.
17990
17991 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17992 warning.
17993
17994 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17995 __wmemcmp_sse2.
17996
17997 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17998 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17999
8a426e12
UD
18000 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18001
9bea3473
UD
180022011-12-02 Ulrich Drepper <drepper@gmail.com>
18003
3a965496
UD
18004 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18005 problem.
18006
9bea3473
UD
18007 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18008
f101631b
UD
180092011-11-29 Joseph Myers <joseph@codesourcery.com>
18010
18011 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18012 conditional on GCC version.
18013 (__arch_compare_and_exchange_val_8_acq)
18014 (__arch_compare_and_exchange_val_16_acq)
18015 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18016 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18017 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18018
a98275aa
UD
180192011-12-02 Joseph Myers <joseph@codesourcery.com>
18020
18021 * sysdeps/sh/backtrace.c: New file.
18022
d4cc29a2
AS
180232011-12-02 Andreas Schwab <schwab@redhat.com>
18024
18025 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18026 parenthesis.
18027
6257af2d
AS
180282011-12-01 Andreas Schwab <schwab@redhat.com>
18029
18030 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18031 falling back to utime.
18032
b5f44c1a
AS
180332011-11-30 Andreas Schwab <schwab@redhat.com>
18034
18035 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18036 expectations for float.
18037
f3a6cc0a
AS
180382011-11-29 Andreas Schwab <schwab@redhat.com>
18039
18040 * locale/weight.h (findidx): Add parameter len.
18041 * locale/weightwc.h (findidx): Likewise.
18042 * posix/fnmatch_loop.c (FCT): Adjust caller.
18043 * posix/regcomp.c (build_equiv_class): Likewise.
18044 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18045 * posix/regexec.c (check_node_accept_bytes): Likewise.
18046 * string/strcoll_l.c (STRCOLL): Likewise.
18047 * string/strxfrm_l.c (STRXFRM): Likewise.
18048
9d65ea3a
UD
180492011-11-17 Ulrich Drepper <drepper@gmail.com>
18050
18051 * Makefile.in: Remove CVSOPT handling.
18052 * configure.in: Remove use of AC_REVISION.
18053 * iconvdata/Makefile (distribute): No need to filter out CVS.
18054 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18055 handling.
18056
5583a086
AS
180572011-11-16 Andreas Schwab <schwab@redhat.com>
18058
18059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18060 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18061 [USE_AS_STRNCASECMP_L]: Likewise.
18062 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18063 NO_TLS_DIRECT_SEG_REFS.
18064 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18065 Fix argument offsets for non-PIC.
18066 [USE_AS_STRNCASECMP_L]: Likewise.
18067 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18068 NO_TLS_DIRECT_SEG_REFS.
18069
d62a8200
UD
180702011-11-15 Ulrich Drepper <drepper@gmail.com>
18071
9d65ea3a 18072 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18073 O_CLOEXEC.
18074 * locale/loadlocale.c (_nl_load_locale): Likewise.
18075
09f93bd3
AS
180762011-11-15 Andreas Schwab <schwab@redhat.com>
18077
446514f9
AS
18078 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18079 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18080 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18081 (SYSCALL_GETTIME): Set errno on error.
18082
09f93bd3
AS
18083 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18084 count references to noai6ai_cached.
18085
312be3f9
UD
180862011-11-15 Ulrich Drepper <drepper@gmail.com>
18087
18088 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18089
18090 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18091 FD_CLOEXEC for /proc/self/maps.
18092
18093 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18094 FD_CLOEXEC for /proc/meminfo.
18095
18096 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18097 gai.conf.
18098
18099 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18100 FD_CLOEXEC for given file.
18101
18102 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18103
18104 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18105 FD_CLOEXEC for /etc/hosts.
18106 (_gethtent): Likewise.
18107
18108 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18109
18110 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18111 cancellation and set FD_CLOEXEC for /etc/netgroup.
18112
18113 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18114 reading /etc/publickey.
18115
18116 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18117 allow cancellation when reading /etc/group.
18118
18119 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18120 cancellation.
18121 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18122
18123 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18124 when using data file.
18125
18126 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18127
18128 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18129 (write_nis_obj): Use "c" and "e" in fopen.
18130
18131 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18132
18133 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18134
18135 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18136
18137 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18138
18139 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18140 locale.alias.
18141
18142 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18143
18144 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18145
18146 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18147
18148 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18149 file parsing and set FD_CLOEXEC.
18150
82af0fa8
UD
181512011-11-14 Ulrich Drepper <drepper@gmail.com>
18152
18153 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18154
a5fb313c
AS
181552011-11-14 Andreas Schwab <schwab@redhat.com>
18156
18157 * malloc/arena.c (arena_get2): Don't call reused_arena when
18158 _int_new_arena failed.
18159
6abf3465
UD
181602011-11-14 Ulrich Drepper <drepper@gmail.com>
18161
18162 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18163 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18164 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18165 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18166 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18167 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18168 to compile strcasecmp and strncasecmp.
18169 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18170 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18171
18172 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18173
76e3966e
UD
181742011-11-13 Ulrich Drepper <drepper@gmail.com>
18175
18176 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18177 locale-defines.sym to gen-as-const-headers.
18178 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18179 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18180 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18181 to compile strcasecmp and strncasecmp.
18182 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18183 strcasecmp_l and strncasecmp_l.
18184 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18185 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18186 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18187 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18188 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18189 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18190 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18191 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18192 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18193 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18194 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18195
ab26144e
UD
181962011-11-12 Ulrich Drepper <drepper@gmail.com>
18197
7edb22ef
UD
18198 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18199 result of SYSDEP_GETTIME_CPU to retval.
18200 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18201 parameter list to macro. Remove trailing semicolon. Adjust users.
18202
9694fc44
UD
18203 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18204 variable.
18205
8ad89ef8
UD
18206 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18207 mantissa words.
18208 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18209
0c822ef9
UD
18210 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18211 from unused variable.
18212
874e0564
UD
18213 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18214 DWARF definitions.
18215 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18216 for assembling.
18217
3a2edc79
UD
18218 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18219 over namespaces.
18220
f3c2577f
UD
18221 * sunrpc/rpc_prot.c (rejected): Fix case value.
18222
294ce126
UD
18223 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18224 unsigned long long int to avoid warnings in shift.
18225
5e2b63c6
UD
18226 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18227 of use of trans.
18228 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18229 variable tmp.
18230
e7f4b08e
UD
18231 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18232 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18233 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18234
ab26144e
UD
18235 * nis/nis_table.c (nis_list): Use variable of correct type for
18236 result of __follow_path call.
18237
8a6d5255
AZ
182382011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18239
18240 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18241 of math functions ceil, trunc, floor, round, and sqrt, when
18242 avaliable on the platform.
18243 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18244 name clash.
18245 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18246 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18247 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18248
aaddc98c
MP
182492011-10-30 Marek Polacek <mpolacek@redhat.com>
18250
18251 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18252 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18253
95b7042b
RM
182542011-11-11 Roland McGrath <roland@hack.frob.com>
18255
18256 * include/unistd.h: Fix __readlink return type.
18257 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18258
57769839
UD
182592011-11-11 Ulrich Drepper <drepper@gmail.com>
18260
18261 * stdlib/ucontext.h: Undo last change for makecontext.
18262
edc5984d
AS
182632011-11-11 Andreas Schwab <schwab@redhat.com>
18264
98591e58
AS
18265 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18266
edc5984d
AS
18267 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18268 * setjmp/setjmp.h: Mark functions as non-leaf.
18269 * setjmp/bits/setjmp2.h: Likewise.
18270 * stdlib/ucontext.h: Likewise.
18271
77cdc054
AS
182722011-11-10 Andreas Schwab <schwab@redhat.com>
18273
18274 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18275 (reused_arena): Don't check arena limit.
18276 (arena_get2): Atomically check arena limit.
18277
fe72eebd
UD
182782011-11-08 Ulrich Drepper <drepper@gmail.com>
18279
5f078c32
UD
18280 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18281 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18282
fe72eebd
UD
18283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18284 instructions.
18285
ae1bc2fa
AS
182862011-11-07 Andreas Schwab <schwab@redhat.com>
18287
7583a88d
AS
18288 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18289 handler when locking.
18290
ae1bc2fa
AS
18291 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18292 Fix size of allocated buffer.
18293
10fb0bfa
AS
182942011-11-04 Andreas Schwab <schwab@redhat.com>
18295
998832a4
AS
18296 [BZ #10103]
18297 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18298 declarations for long double functions.
18299 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18300
10fb0bfa
AS
18301 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18302
3d7ba52b
AS
183032011-11-03 Andreas Schwab <schwab@redhat.com>
18304
a9ae54a1
AS
18305 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18306 installed.
18307
3d7ba52b
AS
18308 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18309 is disabled.
18310
bc8db248
ST
183112011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18312
18313 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18314
45b96dd6
AS
183152011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18316
647776f6
AS
18317 * include/alloca.h (stackinfo_alloca_round): Define.
18318 (extend_alloca): Use it.
18319 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18320 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18321 here.
18322
d91a8b93
AS
18323 * scripts/check-local-headers.sh: Ignore libaudit.h.
18324
45b96dd6
AS
18325 * nscd/Makefile (extra-objs): Make recursively expanded.
18326
432d41ce
UD
183272011-11-01 Ulrich Drepper <drepper@gmail.com>
18328
34372fc6
UD
18329 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18330 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18331
fadb59f8
UD
18332 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18333 * posix/tst-rfc3484-2.c: Likewise.
18334 * posix/tst-rfc3484-3.c: Likewise.
18335
78239589
UD
18336 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18337 process_vm_writev.
18338 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18339 process_vm_writev.
18340 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18341 process_vm_writev from libc using GLIBC_2.15 version.
18342
432d41ce
UD
18343 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18344
02f9c6cf
PP
183452011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18346
18347 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18348 stack usage.
18349
3a2c0242
UD
183502011-10-31 Ulrich Drepper <drepper@gmail.com>
18351
f4ec4833
UD
18352 [BZ #13367]
18353 * nss/getent.c (initgroups_keys): Show error message in case no group
18354 names are given.
18355
3a2c0242
UD
18356 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18357 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18358 __bump_nl_timestamp.
18359 * nscd/connections (nscd_init): When host database is served open
18360 netlink socket and request notification about configuration changes.
18361 (main_loop_poll): Track netlink file descriptor and bump timestamp
18362 in case data becomes available.
18363 (main_loop_epoll): Likewise.
18364 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18365 (database_pers_head): Add extra_data fileds.
18366 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18367 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18368 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18369 Adjust caller.
18370 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18371 in6ai data, call __free_in6ai.
18372 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18373 Add -DHAVE_NETLINK.
18374 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18375 interface information. Reuse previous data if netlink timestamp
18376 is not changed.
18377 (__bump_nl_timestamp): New function.
18378 (__free_in6ai): New function.
18379
636064eb
UD
183802011-10-30 Ulrich Drepper <drepper@gmail.com>
18381
18382 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18383 close_not_cancel_no_status here.
18384 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18385
9beb2334
UD
183862011-10-29 Ulrich Drepper <drepper@gmail.com>
18387
6ef76f3b
UD
18388 [BZ #13276]
18389 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18390 return value.
18391
0ffc4f3e 18392 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18393 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18394 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18395
cb95113e
UD
183962011-07-03 Andreas Jaeger <aj@suse.de>
18397
18398 [BZ #10709]
18399 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18400 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18401 * math/libm-test.inc (sin_test): Add test case.
18402
a1b560ff
UD
184032011-10-29 Ulrich Drepper <drepper@gmail.com>
18404
c9aaface
UD
18405 [BZ #13337]
18406 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18407 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18408
d272e7f1
UD
18409 * elf/chroot_canon.c (chroot_canon): Cleanups.
18410
1bc33071
UD
18411 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18412
1760874d
TJ
18413 [BZ #13335]
18414 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18415 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18416
51d91b18
UD
18417 * string/test-strchr.c: Make usable for strchrnul testing.
18418 * string/test-strchrnul.c: New file.
18419 * string/Makefile (strop-tests): Add strchrnul.
18420
a1b560ff 18421 * po/it.po: Update from translation team.
b611fb81 18422 * po/es.po: Likewise.
a1b560ff 18423
a5b81e1f
UD
184242011-10-28 Ulrich Drepper <drepper@gmail.com>
18425
fd52bc6d
UD
18426 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18427 the three constants needed as parameters. Drop the others.
18428 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18429 __m128i_strloadu_tolower.
52e4b9eb
UD
18430 Create and initialize variable zero and use it in all the places
18431 where _mm_setzero_si128 was used.
fd52bc6d 18432
a5b81e1f
UD
18433 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18434 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18435 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18436 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18437 anymore.
18438 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18439 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18440 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18441 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18442 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18443 __mpranred, __mptan.
18444 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18445 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18446 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18447 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18448 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18449 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18450 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18451 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18452 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18453
b4343346
AS
184542011-10-28 Andreas Schwab <schwab@redhat.com>
18455
0c92d8a8
AS
18456 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18457 redefine if SHARED.
18458 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18459
b4343346
AS
18460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18461 wide char related routines to wcsmbs subdir.
18462
3871f58f
AS
184632011-10-27 Andreas Schwab <schwab@redhat.com>
18464
18465 [BZ #13344]
18466 * misc/sys/cdefs.h (__THROWNL): Define.
18467 * posix/unistd.h: Use __THREADNL instead of __THREAD
18468 for memory synchronization functions.
18469
94d44d9f
RM
184702011-10-26 Roland McGrath <roland@hack.frob.com>
18471
21b64b15 18472 [BZ #13349]
94d44d9f
RM
18473 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18474 doesn't exist.
18475 * manual/stdio.texi (Obstack Streams): Node removed.
18476
f6ce9294
AS
184772011-10-26 Andreas Schwab <schwab@redhat.com>
18478
80479147
AS
18479 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18480 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18481 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18482
f6ce9294
AS
18483 * math/math_private.h (math_force_eval): Allow non-addressable
18484 arguments.
18485 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18486
618280a1
UD
184872011-10-25 Ulrich Drepper <drepper@gmail.com>
18488
e0016b11
UD
18489 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18490 file is not needed.
18491
18492 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18493 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18494 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18495 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18496 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18497 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18498 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18499 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18500 Add AVX variants.
18501 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18502 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18503 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18504 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18505 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18506 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18507 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18508 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18509 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18510 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18511 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18512 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18513 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18514 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18515 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18516 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18517 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18518 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18519 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18520
18521 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18522 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18523
618280a1
UD
18524 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18525 place. Use VEX encoding when compiling for AVX.
18526
37822576
AS
185272011-10-25 Andreas Schwab <schwab@redhat.com>
18528
1f1e1947
AS
18529 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18530 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18531
37822576
AS
18532 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18533
31ea014d
UD
185342011-10-25 Ulrich Drepper <drepper@gmail.com>
18535
d7826aa1 18536 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18537 useless if() expression.
d7826aa1
UD
18538 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18539 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18540 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18541 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18542 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18543 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18544 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18545 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18546 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18547 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18548 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18549 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18550 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18551 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18552 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18553 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18554 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18555 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18556 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18557
31ea014d
UD
18558 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18559
16437fec
AS
185602011-10-25 Andreas Schwab <schwab@redhat.com>
18561
18562 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18563 condition.
18564 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18565
31d3cc00
UD
185662011-10-25 Ulrich Drepper <drepper@gmail.com>
18567
18568 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18569 .text section. Avoid duplicate constants.
18570 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18572 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18573 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18574 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18575 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18576 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18578 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18579 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18580 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18581 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18582 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18583 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18584 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18585 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18586 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18587 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18588 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18590 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18591 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18592 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18593 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18594 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18595 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18596 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18597 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18598 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18599 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18600 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18601 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18602 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18603 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18604 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18605 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18606 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18607 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18608 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18609 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18610 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18611 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18612 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18613 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18614 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18615
58985aa9
UD
186162011-10-24 Ulrich Drepper <drepper@gmail.com>
18617
202c9deb
UD
18618 * sysdeps/x86_64/dla.h: Move to ...
18619 * sysdeps/x86_64/fpu/dla.h: ...here.
18620 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18621 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18622
af968f62
UD
18623 * config.make.in: Add have-mfma4 entry.
18624 * configure.in: Substitute libc_cv_cc_fma4.
18625 * math/Makefile (dbl-only-routines): Add sincostab.
18626 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18627 Use __sincostab not sincos.
18628 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18629 name is a macro.
18630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18631 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18632 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18634 using __copysign.
18635 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18636 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18637 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18638 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18639 and __inv.
18640 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18641 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18642 __copysign.
18643 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18644 define aliases when function name is a macro.
18645 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18646 sysdeps/ieee754/dbl-64/sincos.tbl.
18647 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18648 fma4-enabled routines.
18649 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18650 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18651 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18652 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18653 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18654 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18655 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18656 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18657 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18658 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18659 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18660 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18661 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18662 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18663 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18664 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18665 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18666 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18667 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18668 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18669 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18670 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18671 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18672 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18673 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18674 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18675 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18676 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18677 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18678 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18679
58985aa9
UD
18680 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18681 rename.
18682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18683 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18685 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18687 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18690
a201fbcf
AS
186912011-10-24 Andreas Schwab <schwab@redhat.com>
18692
18693 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18694
fc2ee42a
LD
186952011-10-23 Ulrich Drepper <drepper@gmail.com>
18696
bb3129bd
UD
18697 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18698
0275fff8
UD
18699 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18700 prediction.
18701 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18702
2fa2ae85
UD
18703 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18704 Remove unused variable magic_bits.
18705 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18706
fc2ee42a
LD
18707 * string/strnlen.c: Define and use STRNLEN macro.
18708 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18709 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18710 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18711 * wcsmbs/wcslen.c: Define and use WCSLEN.
18712 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18713 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18714 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18715 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18716 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18717 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18718 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18719
ce7dd29f
LD
187202011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18721
18722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18723 strnlen-sse2-no-bsf.
18724 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18725 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18726 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18727 Add strnlen support.
18728 (USE_AS_STRNLEN): New macro.
18729 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18730 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18731 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18732 * sysdeps/x86_64/wcslen.S: New file.
18733
979c70a3
MZ
187342011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18735
18736 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18737 XMM-moves are used for copying on small sizes.
18738
2d09f82f
LD
187392011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18740
18741 * wcsmbs/Makefile (strop-tests): Add wcschr.
18742 * wcsmbs/test-wcschr.c: New file.
18743 * string/test-strchr.c: Update.
18744 Add wcschr support.
18745 (WIDE): New macro.
18746
619fccca
LD
187472011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18748
2d09f82f 18749 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18750 * wcsmbs/test-wcslen.c: New file.
18751 * string/test-strlen.c: Update.
18752 Add wcslen support.
18753 (WIDE): New macro.
18754
09f699ea
UD
187552011-10-23 Ulrich Drepper <drepper@gmail.com>
18756
18757 * po/it.po: Update from translation team.
18758
95584d3b
LD
187592011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18760
18761 * sysdeps/x86_64/wcscmp.S: Update.
18762 Fix wrong comparison semantics.
18763 wcscmp shall use signed comparison not unsigned.
18764 Don't use substraction to avoid overflow bug.
18765 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18766 * wcsmbc/wcscmp.c: Likewise.
18767 * string/test-strcmp.c: Likewise.
18768 Add new tests to check cases with negative values.
18769
c8b3296b
UD
187702011-10-23 Ulrich Drepper <drepper@gmail.com>
18771
18772 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18773 * sysdeps/x86_64/dla.h: ...here. New file.
18774 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18781 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18782 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18783
246ad57a
AS
187842011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18785
18786 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18787 __ynl_finite aliases.
18788
a1a87169
UD
187892011-10-22 Ulrich Drepper <drepper@gmail.com>
18790
0d355eb7
UD
18791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18792
a1a87169
UD
18793 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18794 define DLA_FMA.
18795 [DLA_FMA] (EMULV): Use DLA_FMA.
18796 [DLA_FMA] (MUL12): Use EMULV.
18797 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18798 that are not needed.
18799 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18800 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18801 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18803 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18804 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18806
ee2aafe0
AS
188072011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18808
18809 * math/s_nan.c: Undef __nan.
18810 * math/s_nanf.c: Undef __nanf.
18811 * math/s_nanl.c: Undef __nanl.
18812 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18813 "math_private.h".
18814
bc62c2fb
UD
188152011-10-22 Ulrich Drepper <drepper@gmail.com>
18816
77425c63
UD
18817 * math/s_catan.c: Add branch predictions.
18818 * math/s_catanf.c: Likewise.
18819 * math/s_catanh.c: Likewise.
18820 * math/s_catanhf.c: Likewise.
18821 * math/s_catanhl.c: Likewise.
18822 * math/s_catanl.c: Likewise.
18823 * math/s_cexp.c: Likewise.
18824 * math/s_cexpf.c: Likewise.
18825 * math/s_cexpl.c: Likewise.
18826 * math/s_clog.c: Likewise.
18827 * math/s_clog10.c: Likewise.
18828 * math/s_clog10f.c: Likewise.
18829 * math/s_clog10l.c: Likewise.
18830 * math/s_clogf.c: Likewise.
18831 * math/s_clogl.c: Likewise.
18832 * math/s_csqrt.c: Likewise.
18833 * math/s_csqrtf.c: Likewise.
18834 * math/s_csqrtl.c: Likewise.
18835 * math/s_ctanf.c: Likewise.
18836 * math/s_ctanh.c: Likewise.
18837 * math/s_ctanhf.c: Likewise.
18838 * math/s_ctanhl.c: Likewise.
18839 * math/s_ctanl.c: Likewise.
18840
bc62c2fb
UD
18841 * math/math_private.h: Define __nan, __nanf, __nanl.
18842 * math/s_cacosh.c: Include <math_private.h>.
18843 * math/s_cacoshl.c: Likewise.
18844 * math/s_casinh.c: Likewise.
18845 * math/s_casinhf.c: Likewise.
18846 * math/s_casinhl.c: Likewise.
18847 * math/s_ccos.c: Rely entire on ccosh.
18848 * math/s_ccosf.c: Rely entire on ccoshf.
18849 * math/s_ccosl.c: Rely entirely on ccoshl.
18850 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18851 Remove tests for FE_INVALID.
18852 * math/s_ccoshf.c: Likewise.
18853 * math/s_ccoshl.c: Likewise.
18854 * math/s_csin.c: Likewise.
18855 * math/s_csinf.c: Likewise.
18856 * math/s_csinh.c Likewise.
18857 * math/s_csinhf.c: Likewise.
18858 * math/s_csinhl.c: Likewise.
18859 * math/s_csinl.c: Likewise.
18860 * math/s_ctan.c: Likewise.
18861 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18862 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18863 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18864
8ec250a4
UD
188652011-10-21 Ulrich Drepper <drepper@gmail.com>
18866
c196fed8
UD
18867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18868 compilation problems.
18869
8ec250a4
UD
18870 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18871 __builtin_expect.
18872
8d4f46c6
UD
188732011-10-20 Ulrich Drepper <drepper@gmail.com>
18874
ed72b654
UD
18875 * sysdeps/i386/configure.in: Test for -mfma4 option.
18876 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18877 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18878 COMMON_CPUID_INDEX_80000001.
18879 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18880 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18881 use it if FMA3 is not supported.
18882 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18883
8d4f46c6
UD
18884 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18885 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18886
d45c60c2
AS
188872011-10-20 Andreas Schwab <schwab@redhat.com>
18888
18889 [BZ #12892]
18890 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18891 it would create a cycle with a link time dependency.
18892
d9a4d2ab
UD
188932011-10-19 Ulrich Drepper <drepper@gmail.com>
18894
855d1560
UD
18895 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18896 instruction.
18897 * string/Makefile (strop-tests): Add rawmemchr.
18898 * string/test-rawmemchr.c: New file.
18899
d9a4d2ab
UD
18900 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18901 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18902 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18903 when compiling str{,n}casecmp and when AVX is available. Hook up
18904 new optimized code in initializers.
18905
8f3b1ffe
AS
189062011-10-19 Andreas Schwab <schwab@redhat.com>
18907
18908 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18909 __feraiseexcept instead of feraiseexcept.
18910
d38f1dba
UD
189112011-10-18 Ulrich Drepper <drepper@gmail.com>
18912
d9a8d0ab
UD
18913 * math/math_private.h: Define defaults for libc_fetestexcept and
18914 libc_feupdateenv.
18915 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18916 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18917 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18918 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18919 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18920 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18921 libc_fetestexcept and libc_feupdateenv.
18922
4855e3dd
UD
18923 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18924 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18925 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18926 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18927 libc_feholdexcept_setround.
18928
581d30e3
UD
18929 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18930 Add s_nearbyint-c and s_nearbyintf-c.
18931 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18932 nearbyintf inlines.
18933 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18934 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18935 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18936 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18937
d38f1dba
UD
18938 * math/math_private.h: Define defaults for libc_fegetround,
18939 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18940 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18941 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18942 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18943 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18944 standard functions.
18945 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18946 Remove comments and hacks for old compiler versions.
18947 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18948 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18949 libc_feholdexceptl.
18950
caa6c9d8
AS
189512011-10-18 Andreas Schwab <schwab@redhat.com>
18952
18953 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18954 (__feraiseexcept_renamed): Add __NTH.
18955 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18956 namespace violations.
18957
97c066e6
UD
189582011-10-17 Ulrich Drepper <drepper@gmail.com>
18959
99ce7b04
UD
18960 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18961
1004d182
UD
18962 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18963
228a984d
UD
18964 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18965 recently added interfaces.
18966 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18967
c8553a6a
UD
18968 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18969 about macro parameter expansion.
18970
ed22dcf6
UD
18971 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18972 __NO_MATH_INLINES is defined. Cleanups.
18973
18974 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18975 and __floorf is target has SSE4.1.
18976 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18977 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18978 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18979 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18980
b171c137
UD
18981 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18982 name.
18983 (floorf): Likewise.
18984
97c066e6
UD
18985 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18986
629f62ef
AS
189872011-10-17 Andreas Schwab <schwab@redhat.com>
18988
49a43d80
AS
18989 * misc/sys/cdefs.h: Fix last change.
18990
629f62ef
AS
18991 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18992 database lookup.
18993
e453f6cd
UD
189942011-10-16 Ulrich Drepper <drepper@gmail.com>
18995
aa78043a
UD
18996 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18997
ad0f5cad
UD
18998 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18999 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19000 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19001 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19002 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19003 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19004 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19005 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19006 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19007 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19008 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19009 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19010 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19011 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19012 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19013 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19014 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19015 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19016 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19017 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19018 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19019 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19020
19021 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19022 ceil, ceilf, floor, floorf.
19023
19024 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19025 Perform IRELATIVE relocations last.
19026
e453f6cd
UD
19027 * elf/do-rel.h: Add another parameter nrelative, replacing the
19028 local variable with the same name. Change name of the function
19029 to end in Rel or Rela (uppercase).
19030 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19031 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19032 elf_dynamic_do_##reloc function.
19033
fd5bdc09
UD
190342011-10-15 Ulrich Drepper <drepper@gmail.com>
19035
79b195b5
UD
19036 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19037 is sufficient, at least on modern CPUs.
19038
d4a28569
UD
19039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19040
b61099b5
UD
19041 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19042 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19043
bcf01e6d
UD
19044 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19045 __expl_finite.
19046 * math/bits/math-finite.h: Add entries for exp.
19047 * math/e_expl.c: Add __*_finite alias.
19048 * sysdeps/i386/fpu/e_exp.S: Likewise.
19049 * sysdeps/i386/fpu/e_expf.S: Likewise.
19050 * sysdeps/i386/fpu/e_expl.c: Likewise.
19051 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19052 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19053 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19054 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19055 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19056 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19057 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19058
ba1a0d59
UD
19059 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19060 is sufficient, at least on modern CPUs.
19061
fd5bdc09
UD
19062 * ctype/ctype-info.c (__ctype_init): Define.
19063 * include/ctype.h (__ctype_init): Declare.
19064 (__ctype_b_loc): The variable is always initialized.
19065 (__ctype_toupper_loc): Likewise.
19066 (__ctype_tolower_loc): Likewise.
19067 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19068 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19069
7872cfb0
AS
190702011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19071
b468825a
AS
19072 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19073
7872cfb0
AS
19074 * configure.in: Also look in $cxxmachine/include for C++ system
19075 headers.
19076
be13f7bf
LD
190772011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19078
19079 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19080 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19081 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19082 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19083 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19084 (USE_AS_WMEMCMP): New macro.
19085 Fixing indents.
19086 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19087 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19088 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19089 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19091 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19092 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19093 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19094 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19095 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19096 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19097 (USE_AS_WMEMCMP): New macro.
19098 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19099 * sysdeps/string/test-memcmp.c: Update.
19100 Fix simple_wmemcmp.
19101 Add new tests.
19102 * wcsmbs/wmemcmp.c: Update.
19103 (WMEMCMP): New macro.
19104 Fix overflow bug.
19105
556a2007
AJ
191062011-10-12 Andreas Jaeger <aj@suse.de>
19107
19108 [BZ #13268]
19109 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19110
538faaa7
UD
191112011-10-15 Ulrich Drepper <drepper@gmail.com>
19112
ab6737ff
UD
19113 * libio/iofwide.c (do_length): Avoid warning.
19114
538faaa7
UD
19115 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19116
396a21b1
UD
191172011-10-14 Ulrich Drepper <drepper@gmail.com>
19118
cdf2901f
UD
19119 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19120
38ad40ce
UD
19121 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19122 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19123 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19124 * sysdeps/i386/i686/fpu/e_log.S: New file.
19125 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19126 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19127
396a21b1
UD
19128 * ctype/ctype.h: Add support for inlined isXXX functions when
19129 compiling C++ code.
19130
6b1f68c9
AS
191312011-10-14 Andreas Schwab <schwab@redhat.com>
19132
349290c0
AS
19133 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19134
6b1f68c9
AS
19135 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19136
f2282d42
RM
191372011-10-13 Roland McGrath <roland@hack.frob.com>
19138
19139 [BZ #13291]
19140 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19141
5298ffa8
AS
191422011-10-13 Andreas Schwab <schwab@redhat.com>
19143
714fad23
AS
19144 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19145 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19146 feraiseexcept.
19147
81dcc7fb
AS
19148 * sysdeps/x86_64/memrchr.S: Check for zero size.
19149
5298ffa8
AS
19150 * string/stratcliff.c: Add memrchr tests.
19151
951fbcec
LD
191522011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19153
19154 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19155 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19156 rawmemchr-sse2 rawmemchr-sse2-bsf.
19157 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19158 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19159 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19160 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19161 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19162 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19163 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19164 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19165 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19166 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19167 * string/memrchr.c (MEMRCHR): New macro.
19168
0ac5ae23
UD
191692011-10-12 Ulrich Drepper <drepper@gmail.com>
19170
19171 Add integration with gcc's -ffinite-math-only and optimize wrapper
19172 functions in libm.
19173 * Versions.def: Define GLIBC_2.15 version for libm.
19174 * math/Makefile (headers): Add bits/math-finite.h.
19175 * math/bits/math-finite.h: New file.
19176 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19177 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19178 * math/e_acoshl.c: Add __*_finite alias.
19179 * math/e_acosl.c: Likewise.
19180 * math/e_asinl.c: Likewise.
19181 * math/e_atan2l.c: Likewise.
19182 * math/e_atanhl.c: Likewise.
19183 * math/e_coshl.c: Likewise.
19184 * math/e_exp10.c: Likewise.
19185 * math/e_exp10f.c: Likewise.
19186 * math/e_exp10l.c: Likewise.
19187 * math/e_exp2l.c: Likewise.
19188 * math/e_fmodl.c: Likewise.
19189 * math/e_gammal_r.c: Likewise.
19190 * math/e_hypotl.c: Likewise.
19191 * math/e_j0l.c: Likewise.
19192 * math/e_j1l.c: Likewise.
19193 * math/e_jnl.c: Likewise.
19194 * math/e_lgammal_r.c: Likewise.
19195 * math/e_log10l.c: Likewise.
19196 * math/e_log2l.c: Likewise.
19197 * math/e_logl.c: Likewise.
19198 * math/e_powl.c: Likewise.
19199 * math/e_sinhl.c: Likewise.
19200 * math/e_sqrtl.c: Likewise.
19201 * math/e_scalb.c: Completely rewritten and optimized.
19202 * math/e_scalbf.c: Likewise.
19203 * math/e_scalbl.c: Likewise.
19204 * math/w_acos.c: Likewise.
19205 * math/w_acosf.c: Likewise.
19206 * math/w_acosl.c: Likewise.
19207 * math/w_acosh.c: Likewise.
19208 * math/w_acoshf.c: Likewise.
19209 * math/w_acoshl.c: Likewise.
19210 * math/w_asin.c: Likewise.
19211 * math/w_asinf.c: Likewise.
19212 * math/w_asinl.c: Likewise.
19213 * math/w_atan2.c: Likewise.
19214 * math/w_atan2f.c: Likewise.
19215 * math/w_atan2l.c: Likewise.
19216 * math/w_atanh.c: Likewise.
19217 * math/w_atanhf.c: Likewise.
19218 * math/w_atanhl.c: Likewise.
19219 * math/w_exp10.c: Likewise.
19220 * math/w_exp10f.c: Likewise.
19221 * math/w_exp10l.c: Likewise.
19222 * math/w_fmod.c: Likewise.
19223 * math/w_fmodf.c: Likewise.
19224 * math/w_fmodl.c: Likewise.
19225 * math/w_j0.c: Likewise.
19226 * math/w_j0f.c: Likewise.
19227 * math/w_j0l.c: Likewise.
19228 * math/w_j1.c: Likewise.
19229 * math/w_j1f.c: Likewise.
19230 * math/w_j1l.c: Likewise.
19231 * math/w_jn.c: Likewise.
19232 * math/w_jnf.c: Likewise.
19233 * math/w_log.c: Likewise.
19234 * math/w_logf.c: Likewise.
19235 * math/w_logl.c: Likewise.
19236 * math/w_log10.c: Likewise.
19237 * math/w_log10f.c: Likewise.
19238 * math/w_log10l.c: Likewise.
19239 * math/w_log2.c: Likewise.
19240 * math/w_log2f.c: Likewise.
19241 * math/w_log2l.c: Likewise.
19242 * math/w_pow.c: Likewise.
19243 * math/w_powf.c: Likewise.
19244 * math/w_powl.c: Likewise.
19245 * math/w_remainder.c: Likewise.
19246 * math/w_remainderf.c: Likewise.
19247 * math/w_remainderl.c: Likewise.
19248 * math/w_scalb.c: Likewise.
19249 * math/w_scalbf.c: Likewise.
19250 * math/w_scalbl.c: Likewise.
19251 * math/w_sqrt.c: Likewise.
19252 * math/w_sqrtf.c: Likewise.
19253 * math/w_sqrtl.c: Likewise.
19254 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19255 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19256 used.
19257 * math/math_private.h: Declare __kernel_standard_f.
19258 * math/w_cosh.c: Remove cruft and optimize a bit.
19259 * math/w_coshf.c: Likewise.
19260 * math/w_coshl.c: Likewise.
19261 * math/w_exp2.c: Likewise.
19262 * math/w_exp2f.c: Likewise.
19263 * math/w_exp2l.c: Likewise.
19264 * math/w_hypot.c: Likewise.
19265 * math/w_hypotf.c: Likewise.
19266 * math/w_hypotl.c: Likewise.
19267 * math/w_lgamma.c: Likewise.
19268 * math/w_lgamma_r.c: Likewise.
19269 * math/w_lgammaf.c: Likewise.
19270 * math/w_lgammaf_r.c: Likewise.
19271 * math/w_lgammal.c: Likewise.
19272 * math/w_lgammal_r.c: Likewise.
19273 * math/w_sinh.c: Likewise.
19274 * math/w_sinhf.c: Likewise.
19275 * math/w_sinhl.c: Likewise.
19276 * math/w_tgamma.c: Likewise.
19277 * math/w_tgammaf.c: Likewise.
19278 * math/w_tgammal.c: Likewise.
19279 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19280 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19281 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19282 Minor optimizations. Pretty printing. Remove cruft.
19283 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19284 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19285 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19286 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19287 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19288 * sysdeps/i386/fpu/e_asin.S: Likewise.
19289 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19290 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19291 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19292 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19293 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19294 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19295 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19296 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19297 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19298 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19299 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19300 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19301 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19302 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19303 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19304 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19305 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19306 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19307 * sysdeps/i386/fpu/e_log.S: Likewise.
19308 * sysdeps/i386/fpu/e_log10.S: Likewise.
19309 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19310 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19311 * sysdeps/i386/fpu/e_log2.S: Likewise.
19312 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19313 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19314 * sysdeps/i386/fpu/e_logf.S: Likewise.
19315 * sysdeps/i386/fpu/e_logl.S: Likewise.
19316 * sysdeps/i386/fpu/e_pow.S: Likewise.
19317 * sysdeps/i386/fpu/e_powf.S: Likewise.
19318 * sysdeps/i386/fpu/e_powl.S: Likewise.
19319 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19320 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19321 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19322 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19323 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19324 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19325 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19326 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19327 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19328 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19329 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19330 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19331 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19332 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19333 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19334 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19335 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19336 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19337 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19338 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19339 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19340 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19341 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19342 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19343 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19344 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19345 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19346 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19347 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19348 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19349 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19350 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19351 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19352 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19353 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19354 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19355 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19356 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19357 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19358 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19359 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19360 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19361 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19362 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19363 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19364 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19365 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19366 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19367 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19368 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19369 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19370 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19371 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19372 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19373 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19374 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19375 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19376 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19377 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19378 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19379 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19380 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19381 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19382 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19383 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19384 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19385 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19386 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19387 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19388 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19389 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19390 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19391 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19392 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19393 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19394 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19395 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19396 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19397 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19398 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19399 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19400 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19401 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19402 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19403 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19404 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19405 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19406 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19407 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19408 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19409 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19410 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19411 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19412 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19413 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19414 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19415 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19416 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19417 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19418 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19419 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19420 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19421 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19422 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19423 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19424 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19425 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19426 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19427 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19428 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19429 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19430 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19431 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19432 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19433 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19434 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19435 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19436 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19437 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19438 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19439 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19440 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19441 (__isnanf): Likewise.
19442 (__isinf_ns): Likewise.
19443 (__isinf_nsf): Likewise.
19444 (__finite): Likewise.
19445 (__finitef): Likewise.
19446 (__ieee754_sqrt): Define as macro.
19447 (__ieee754_sqrtf): Define as macro.
19448 (__ieee754_sqrtl): Define as macro.
19449 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19450 inlined copy.
19451 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19452 __FINITE_MATH_ONLY__ consistent.
19453 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19454
12cc2fcd
AS
194552011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19456
a843a204
AS
19457 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19458 of rawmemchr.
19459
12cc2fcd
AS
19460 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19461
c853acd5
UD
194622011-10-09 Ulrich Drepper <drepper@gmail.com>
19463
19464 * po/ja.po: Update from translation team.
19465
c658d255
RM
194662011-10-08 Roland McGrath <roland@hack.frob.com>
19467
110946e4
RM
19468 * locale/programs/locarchive.c (prepare_address_space): New function.
19469 (create_archive, enlarge_archive, open_archive): Use it.
19470
50604220
RM
19471 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19472 inside [SHARED], where it is used.
19473
c658d255
RM
19474 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19475
19476 * nss/getent.c (netgroup_keys): Remove unused variable.
19477 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19478
6a621eb7
UD
194792011-10-08 Ulrich Drepper <drepper@gmail.com>
19480
7edb55ce
UD
19481 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19482 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19484 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19485 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19486 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19487 * math/Makefile (libm-calls): Add s_isinf_ns.
19488 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19489 * math/multc3.c: Likewise.
19490 * math/s_casin.c: Likewise.
19491 * math/s_casinf.c: Likewise.
19492 * math/s_casinl.c: Likewise.
19493 * math/s_ccos.c: Likewise.
19494 * math/s_ccosf.c: Likewise.
19495 * math/s_ccosl.c: Likewise.
19496 * math/s_ctan.c: Likewise.
19497 * math/s_ctanf.c: Likewise.
19498 * math/s_ctanh.c: Likewise.
19499 * math/s_ctanhf.c: Likewise.
19500 * math/s_ctanhl.c: Likewise.
19501 * math/s_ctanl.c: Likewise.
19502 * math/w_fmod.c: Likewise.
19503 * math/w_fmodf.c: Likewise.
19504 * math/w_fmodl.c: Likewise.
19505 * math/w_remainder.c: Likewise.
19506 * math/w_remainderf.c: Likewise.
19507 * math/w_remainderl.c: Likewise.
19508 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19509 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19510 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19511 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19512 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19513 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19514 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19515 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19516
187da0ae
UD
19517 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19518 of the number.
19519 * stdio-common/printf_fphex.c: Likewise.
19520 * stdio-common/printf_size.c: Likewise.
19521
9277c064
UD
19522 * math/e_exp10.c: Include math_private.h using <...> not "...".
19523 * math/e_exp10f.c: Likewise.
19524 * math/e_exp10l.c: Likewise.
19525 * math/e_exp2l.c: Likewise.
19526 * math/e_j0l.c: Likewise.
19527 * math/e_j1l.c: Likewise.
19528 * math/e_jnl.c: Likewise.
19529 * math/e_lgammal_r.c: Likewise.
19530 * math/e_rem_pio2l.c: Likewise.
19531 * math/e_scalb.c: Likewise.
19532 * math/e_scalbf.c: Likewise.
19533 * math/e_scalbl.c: Likewise.
19534 * math/k_cosl.c: Likewise.
19535 * math/k_sinl.c: Likewise.
19536 * math/k_tanl.c: Likewise.
19537 * math/s_cacoshf.c: Likewise.
19538 * math/s_catan.c: Likewise.
19539 * math/s_catanf.c: Likewise.
19540 * math/s_catanh.c: Likewise.
19541 * math/s_catanhf.c: Likewise.
19542 * math/s_catanhl.c: Likewise.
19543 * math/s_catanl.c: Likewise.
19544 * math/s_ccosh.c: Likewise.
19545 * math/s_ccoshf.c: Likewise.
19546 * math/s_ccoshl.c: Likewise.
19547 * math/s_cexp.c: Likewise.
19548 * math/s_cexpf.c: Likewise.
19549 * math/s_cexpl.c: Likewise.
19550 * math/s_clog.c: Likewise.
19551 * math/s_clog10.c: Likewise.
19552 * math/s_clog10f.c: Likewise.
19553 * math/s_clog10l.c: Likewise.
19554 * math/s_clogf.c: Likewise.
19555 * math/s_clogl.c: Likewise.
19556 * math/s_csin.c: Likewise.
19557 * math/s_csinf.c: Likewise.
19558 * math/s_csinh.c: Likewise.
19559 * math/s_csinhf.c: Likewise.
19560 * math/s_csinhl.c: Likewise.
19561 * math/s_csinl.c: Likewise.
19562 * math/s_csqrt.c: Likewise.
19563 * math/s_csqrtf.c: Likewise.
19564 * math/s_csqrtl.c: Likewise.
19565 * math/s_ctan.c: Likewise.
19566 * math/s_ctanf.c: Likewise.
19567 * math/s_ctanh.c: Likewise.
19568 * math/s_ctanhf.c: Likewise.
19569 * math/s_ctanhl.c: Likewise.
19570 * math/s_ctanl.c: Likewise.
19571 * math/s_ldexp.c: Likewise.
19572 * math/s_ldexpf.c: Likewise.
19573 * math/s_ldexpl.c: Likewise.
19574 * math/s_significand.c: Likewise.
19575 * math/s_significandf.c: Likewise.
19576 * math/s_significandl.c: Likewise.
19577 * math/w_acos.c: Likewise.
19578 * math/w_acosf.c: Likewise.
19579 * math/w_acosh.c: Likewise.
19580 * math/w_acoshf.c: Likewise.
19581 * math/w_acoshl.c: Likewise.
19582 * math/w_acosl.c: Likewise.
19583 * math/w_asin.c: Likewise.
19584 * math/w_asinf.c: Likewise.
19585 * math/w_asinl.c: Likewise.
19586 * math/w_atan2.c: Likewise.
19587 * math/w_atan2f.c: Likewise.
19588 * math/w_atan2l.c: Likewise.
19589 * math/w_atanh.c: Likewise.
19590 * math/w_atanhf.c: Likewise.
19591 * math/w_atanhl.c: Likewise.
19592 * math/w_cosh.c: Likewise.
19593 * math/w_coshf.c: Likewise.
19594 * math/w_coshl.c: Likewise.
19595 * math/w_dremf.c: Likewise.
19596 * math/w_exp10.c: Likewise.
19597 * math/w_exp10f.c: Likewise.
19598 * math/w_exp10l.c: Likewise.
19599 * math/w_exp2.c: Likewise.
19600 * math/w_exp2f.c: Likewise.
19601 * math/w_fmod.c: Likewise.
19602 * math/w_fmodf.c: Likewise.
19603 * math/w_fmodl.c: Likewise.
19604 * math/w_hypot.c: Likewise.
19605 * math/w_hypotf.c: Likewise.
19606 * math/w_hypotl.c: Likewise.
19607 * math/w_j0.c: Likewise.
19608 * math/w_j0f.c: Likewise.
19609 * math/w_j0l.c: Likewise.
19610 * math/w_j1.c: Likewise.
19611 * math/w_j1f.c: Likewise.
19612 * math/w_j1l.c: Likewise.
19613 * math/w_jn.c: Likewise.
19614 * math/w_jnf.c: Likewise.
19615 * math/w_jnl.c: Likewise.
19616 * math/w_lgamma.c: Likewise.
19617 * math/w_lgamma_r.c: Likewise.
19618 * math/w_lgammaf.c: Likewise.
19619 * math/w_lgammaf_r.c: Likewise.
19620 * math/w_lgammal.c: Likewise.
19621 * math/w_lgammal_r.c: Likewise.
19622 * math/w_log.c: Likewise.
19623 * math/w_log10.c: Likewise.
19624 * math/w_log10f.c: Likewise.
19625 * math/w_log10l.c: Likewise.
19626 * math/w_log2.c: Likewise.
19627 * math/w_log2f.c: Likewise.
19628 * math/w_log2l.c: Likewise.
19629 * math/w_logf.c: Likewise.
19630 * math/w_logl.c: Likewise.
19631 * math/w_pow.c: Likewise.
19632 * math/w_powf.c: Likewise.
19633 * math/w_powl.c: Likewise.
19634 * math/w_remainder.c: Likewise.
19635 * math/w_remainderf.c: Likewise.
19636 * math/w_remainderl.c: Likewise.
19637 * math/w_scalb.c: Likewise.
19638 * math/w_scalbf.c: Likewise.
19639 * math/w_scalbl.c: Likewise.
19640 * math/w_sinh.c: Likewise.
19641 * math/w_sinhf.c: Likewise.
19642 * math/w_sinhl.c: Likewise.
19643 * math/w_sqrt.c: Likewise.
19644 * math/w_sqrtf.c: Likewise.
19645 * math/w_sqrtl.c: Likewise.
19646 * math/w_tgamma.c: Likewise.
19647 * math/w_tgammaf.c: Likewise.
19648 * math/w_tgammal.c: Likewise.
19649
6a621eb7
UD
19650 * po/ja.po: Update from translation team.
19651
bf582445
AJ
196522011-09-29 Andreas Jaeger <aj@suse.de>
19653
f9efbf3a
AJ
19654 [BZ #13179]
19655 * sunrpc/netname.c (netname2host): Fix logic.
19656
bf582445
AJ
19657 [BZ #6779]
19658 [BZ #6783]
19659 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19660 correctly.
19661 * math/w_remainder.c (__remainder): Likewise.
19662 * math/w_remainderf.c (__remainderf): Likewise.
19663 * math/libm-test.inc (remainder_test): Add test cases.
19664
48693bea
AK
196652011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19666
19667 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19668 sdiv_qrnnd.
19669
42622229
LD
196702011-10-07 Ulrich Drepper <drepper@gmail.com>
19671
19672 * string/test-memcmp.c: Avoid unncessary #defines.
19673 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19674
093ecf92
LD
196752011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19676
19677 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19678 Use new sse2 version for core i3 - i7 as it's faster
19679 than sse42 version.
19680 (bit_Prefer_PMINUB_for_stringop): New.
19681 * sysdeps/x86_64/rawmemchr.S: Update.
19682 Replace with faster SSE2 version.
19683 * sysdeps/x86_64/memrchr.S: New file.
19684 * sysdeps/x86_64/memchr.S: Update.
19685 Replace with faster SSE2 version.
19686
fde56e5c
MP
196872011-09-12 Marek Polacek <mpolacek@redhat.com>
19688
19689 * elf/dl-load.c (lose): Add cast to avoid warning.
19690
21fd49a9
UD
196912011-10-07 Ulrich Drepper <drepper@gmail.com>
19692
5a06e643
UD
19693 * po/ca.po: Update from translation team.
19694
684ae515
UD
19695 * inet/getnetgrent_r.c: Hook up nscd.
19696 * nscd/Makefile (routines): Add nscd_netgroup.
19697 (nscd-modules): Add netgroupcache.
19698 (CFLAGS-netgroupcache.c): Define.
19699 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19700 (cache_search): Add const to second parameter.
19701 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19702 INNETGR.
19703 (dbs): Add netgrdb entry.
19704 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19705 (verify_persistent_db): Handle netgrdb.
19706 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19707 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19708 GETFDNETGR.
19709 (netgroup_response_header): Define.
19710 (innetgroup_response_header): Define.
19711 (datahead): Add netgroup_response_header and innetgroup_response_header
19712 elements.
19713 * nscd/nscd.conf: Add entries for netgroup cache.
19714 * nscd/nscd.h (dbtype): Add netgrdb.
19715 (_PATH_NSCD_NETGROUP_DB): Define.
19716 (netgroup_iov_disabled): Declare.
19717 (xmalloc, xcalloc, xrealloc): Move declarations here.
19718 (cache_search): Adjust prototype.
19719 Add netgroup-related prototypes.
19720 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19721 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19722 (__nscd_innetgr): Declare.
19723 * nscd/selinux.c (perms): Use access_vector_t as element type and
19724 add netgroup-related initializers.
19725 * nscd/netgroupcache.c: New file.
19726 * nscd/nscd_netgroup.c: New file.
19727 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19728 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19729 For four parameters use innetgr.
19730 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19731 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19732 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19733 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19734
21fd49a9
UD
19735 * nscd/connections.c (register_traced_file): Don't register file
19736 for disabled databases.
19737
054c0457
UD
197382011-10-06 Ulrich Drepper <drepper@gmail.com>
19739
32b63198
UD
19740 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19741
054c0457
UD
19742 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19743 from tree and freeing node.
19744
64031225
JO
197452011-09-25 Jiri Olsa <jolsa@redhat.com>
19746
19747 * nss/nsswitch.c (__nss_database_lookup): Handle
19748 nss_parse_service_list out of memory case.
19749
0490345c
JO
197502011-09-15 Jiri Olsa <jolsa@redhat.com>
19751
19752 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19753 out of memory case.
19754
3a62d00d
AS
197552011-10-04 Andreas Schwab <schwab@redhat.com>
19756
19757 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19758 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19759 pass it down.
19760 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19761 elf_machine_rela, elf_machine_lazy_rel.
19762 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19763 (ELF_DYNAMIC_DO_REL): Likewise.
19764 (ELF_DYNAMIC_DO_RELA): Likewise.
19765 (ELF_DYNAMIC_RELOCATE): Likewise.
19766 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19767 to ELF_DYNAMIC_DO_REL.
19768 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19769 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19770 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19771 elf_machine_rela.
19772 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19773 skip_ifunc, don't call ifunc function if non-zero.
19774 (elf_machine_rela): Likewise.
19775 (elf_machine_lazy_rel): Likewise.
19776 (elf_machine_lazy_rela): Likewise.
19777 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19778 (elf_machine_lazy_rel): Likewise.
19779 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19780 Likewise.
19781 (elf_machine_lazy_rel): Likewise.
19782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19783 Likewise.
19784 (elf_machine_lazy_rel): Likewise.
19785 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19786 (elf_machine_lazy_rel): Likewise.
19787 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19788 (elf_machine_lazy_rel): Likewise.
19789 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19790 (elf_machine_lazy_rel): Likewise.
19791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19792 (elf_machine_lazy_rel): Likewise.
19793 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19794 (elf_machine_lazy_rel): Likewise.
19795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19796 (elf_machine_lazy_rel): Likewise.
19797
68577918
UD
197982011-09-28 Ulrich Drepper <drepper@gmail.com>
19799
19800 * nss/nss_files/files-init.c (_nss_files_init): Use static
19801 initialization for all the *_traced_file variables.
19802
68822d74
AS
198032011-09-28 Andreas Schwab <schwab@redhat.com>
19804
19805 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19806
2056100b
RM
198072011-09-27 Roland McGrath <roland@hack.frob.com>
19808
19809 [BZ #13226]
19810 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19811
32c76b63
AS
198122011-09-27 Andreas Schwab <schwab@redhat.com>
19813
19814 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19815 Reread the line before reparsing it.
19816
bf972c9d
AS
198172011-09-26 Andreas Schwab <schwab@redhat.com>
19818
19819 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19820
e057a1b5
JM
198212011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19822 Maxim Kuvyrkov <maxim@codesourcery.com>
19823 Joseph Myers <joseph@codesourcery.com>
19824
19825 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19826 if needed for __stack_chk_guard.
19827
bc7e1c36
RM
198282011-09-19 Roland McGrath <roland@hack.frob.com>
19829
ecb1482f
RM
19830 * sysdeps/posix/spawni.c (script_execute): Always define it.
19831 It will be optimized away if unused.
19832 (maybe_script_execute): New function.
19833 (__spawni): Call it.
19834
bc7e1c36
RM
19835 * Makerules: Don't include tls.make.
19836 (config-tls): Always set to thread.
19837 * tls.make.c: File removed.
19838
1c3b002b
MF
198392011-09-19 Mike Frysinger <vapier@gentoo.org>
19840
19841 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19842 * config.make.in (CPPFLAGS-config): New substituted variable.
19843
2840865d
UD
198442011-09-15 Ulrich Drepper <drepper@gmail.com>
19845
88738eb6
UD
19846 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19847
cbf645a6 19848 [BZ #13192]
2840865d
UD
19849 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19850 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19851
b402e91a
RM
198522011-09-15 Roland McGrath <roland@hack.frob.com>
19853
19854 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19855 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19856 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19857 (CALL_FAIL): Likewise.
19858 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19859 (CALL_FAIL): Macro removed.
19860 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19861
4c1a1f71
UD
198622011-09-15 Ulrich Drepper <drepper@gmail.com>
19863
19864 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19865 for __FINITE_MATH_ONLY__ == 1.
19866
edc121be
AS
198672011-09-15 Andreas Schwab <schwab@redhat.com>
19868
19869 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19870 __ieee754_sqrt instead of sqrt.
19871 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19872 __ieee754_sqrtf instead of sqrtf.
19873 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19874 __floorf instead of floorf.
19875 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19876 __floorf, __truncf instead of floorf, truncf.
19877
cd205654
UD
198782011-09-14 Ulrich Drepper <drepper@gmail.com>
19879
ee4d0315
UD
19880 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19881
cd205654
UD
19882 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19883 __extern_always_inline.
19884 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19885 32-bit.
19886
48b67d71
AS
198872011-09-14 Andreas Schwab <schwab@redhat.com>
19888
19889 * elf/rtld.c (dl_main): Also relocate in dependency order when
19890 doing symbol dependency testing.
19891
1ae12c75
AS
198922011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19893
19894 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19895 Always define `refsym'.
19896
995a80df
AS
198972011-09-13 Andreas Schwab <schwab@redhat.com>
19898
e529793b
AS
19899 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19900 (__FD_ELT): Renamed from __FDELT.
19901 * misc/bits/select2.h (__FD_ELT): Likewise.
19902 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19903 __FD_MASK instead of __FDELT, __FDMASK.
19904 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19905 Likewise.
19906 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19907 Likewise.
19908
52d4fef8
AS
19909 * elf/Makefile (gen-ldd): Fix pattern.
19910
995a80df
AS
19911 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19912 (init_tls): Likewise.
19913
8682f8b0
UD
199142011-09-12 Ulrich Drepper <drepper@gmail.com>
19915
19916 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19917
de82006d
AS
199182011-09-12 Andreas Schwab <schwab@redhat.com>
19919
a7c8e6a1
AS
19920 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19921 `struct cmsghdr *' instead of `void *'.
19922 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19923 Likewise.
19924
0f31fe77
AS
199252011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19926
19927 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19928 if non-absolute.
19929 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19930 ldd_rewrite_script.
0f31fe77 19931
32b4c839
UD
199322011-09-11 Ulrich Drepper <drepper@gmail.com>
19933
83cd1420
UD
19934 * configure.in: Remove --with-tls option.
19935 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19936 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19937 out in case it is missing.
19938 * sysdeps/ia64/elf/configure.in: Likewise.
19939 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19940 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19941 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19942 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19943 * sysdeps/sh/elf/configure.in: Likewise.
19944 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19945 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19946 * sysdeps/x86_64/elf/configure.in: Likewise.
19947 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19948 * sysdeps/mach/hurd/tls.h: Likewise.
19949
633f745d
UD
19950 [BZ #13067]
19951 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19952
f318beb8
UD
19953 [BZ #13090]
19954 * configure.in: Fix use of AC_INIT.
19955
32b4c839
UD
19956 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19957
3ce1f295
UD
199582011-09-10 Ulrich Drepper <drepper@gmail.com>
19959
bb016596
UD
19960 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19961 __set_errno.
8e58439c
UD
19962 * malloc/hooks.c: Likewise.
19963
aebae053 19964 [BZ #11929]
02d46fc4
UD
19965 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19966 variables statically.
19967 (narenas): Initialize.
19968 (list_lock): Initialize.
bb016596
UD
19969 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19970 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19971 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19972 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19973 Add initializers to main_arena and mp_.
19974 (malloc_state): Remove pagesize member. Change all users to use
19975 GLRO(dl_pagesize).
19976
19977 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19978 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19979 is always initialized.
19980
22a89187
UD
19981 * malloc/malloc.c: Removed unused configurations and dead code.
19982 * malloc/arena.c: Likewise.
19983 * malloc/hooks.c: Likewise.
02d46fc4 19984 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19985
d063d164
UD
19986 * include/tls.h: Removed. USE___THREAD must always be defined.
19987 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19988 * elf/dl-libc.c: Likewise.
19989 * elf/dl-tsd.c: Likewise.
19990 * include/errno.h: Likewise.
19991 * include/netdb.h: Likewise.
19992 * include/resolv.h: Likewise.
19993 * inet/herrno-loc.c: Likewise.
19994 * inet/herrno.c: Likewise.
19995 * malloc/arena.c: Likewise.
19996 * malloc/hooks.c: Likewise.
19997 * malloc/malloc.c: Likewise.
19998 * resolv/res-state.c: Likewise.
19999 * resolv/res_libc.c: Likewise.
20000 * sysdeps/i386/dl-machine.h: Likewise.
20001 * sysdeps/ia64/dl-machine.h: Likewise.
20002 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20003 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20004 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20005 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20006 * sysdeps/sh/dl-machine.h: Likewise.
20007 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20008 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20009 * sysdeps/unix/i386/sysdep.S: Likewise.
20010 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20011 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20012 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20013 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20014 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20015 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20016 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20017 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20020 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20021 * sysdeps/x86_64/dl-machine.h: Likewise.
20022 * tls.make.c: Likewise.
20023
3ce1f295
UD
20024 * configure.in: Remove --with-__thread option. Make tests for
20025 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20026 tls_model attribute fail if no support is available. Remove
20027 USE_IN_LIBIO.
20028 * Makeconfig: Adjust for dropped configure option. All features are
20029 now mandatory.
20030 * Makerules: Likewise.
20031 * Versions.def: Likewise.
20032 * argp/argp-fmtstream.c: Likewise.
20033 * argp/argp-fmtstream.h: Likewise.
20034 * argp/argp-help.c: Likewise.
20035 * assert/assert.c: Likewise.
20036 * config.h.in: Likewise.
20037 * config.make.in: Likewise.
20038 * configure: Likewise.
20039 * configure.in: Likewise.
20040 * csu/Versions: Likewise.
20041 * csu/init.c: Likewise.
20042 * elf/tst-audit2.c: Likewise.
20043 * elf/tst-tls10.c: Likewise.
20044 * elf/tst-tls10.h: Likewise.
20045 * elf/tst-tls11.c: Likewise.
20046 * elf/tst-tls12.c: Likewise.
20047 * elf/tst-tls14.c: Likewise.
20048 * elf/tst-tlsmod11.c: Likewise.
20049 * elf/tst-tlsmod12.c: Likewise.
20050 * elf/tst-tlsmod13.c: Likewise.
20051 * elf/tst-tlsmod13a.c: Likewise.
20052 * elf/tst-tlsmod14a.c: Likewise.
20053 * elf/tst-tlsmod15b.c: Likewise.
20054 * elf/tst-tlsmod16a.c: Likewise.
20055 * elf/tst-tlsmod16b.c: Likewise.
20056 * elf/tst-tlsmod7.c: Likewise.
20057 * elf/tst-tlsmod8.c: Likewise.
20058 * elf/tst-tlsmod9.c: Likewise.
20059 * gmon/gmon.c: Likewise.
20060 * grp/fgetgrent_r.c: Likewise.
20061 * grp/putgrent.c: Likewise.
20062 * hurd/fopenport.c: Likewise.
20063 * include/libc-symbols.h: Likewise.
20064 * include/tls.h: Likewise.
20065 * intl/gettextP.h: Likewise.
20066 * intl/loadinfo.h: Likewise.
20067 * locale/global-locale.c: Likewise.
20068 * locale/localeinfo.h: Likewise.
20069 * mach/devstream.c: Likewise.
20070 * malloc/arena.c: Likewise.
20071 * malloc/set-freeres.c: Likewise.
20072 * misc/err.c: Likewise.
20073 * misc/getttyent.c: Likewise.
20074 * misc/mntent_r.c: Likewise.
20075 * posix/getopt.c: Likewise.
20076 * posix/wordexp.c: Likewise.
20077 * pwd/fgetpwent_r.c: Likewise.
20078 * resolv/Versions: Likewise.
20079 * resolv/res_hconf.c: Likewise.
20080 * shadow/fgetspent_r.c: Likewise.
20081 * shadow/putspent.c: Likewise.
20082 * stdio-common/printf_fphex.c: Likewise.
20083 * stdio-common/tmpfile.c: Likewise.
20084 * stdlib/abort.c: Likewise.
20085 * stdlib/fmtmsg.c: Likewise.
20086 * sunrpc/auth_unix.c: Likewise.
20087 * sunrpc/clnt_perr.c: Likewise.
20088 * sunrpc/clnt_tcp.c: Likewise.
20089 * sunrpc/clnt_udp.c: Likewise.
20090 * sunrpc/clnt_unix.c: Likewise.
20091 * sunrpc/openchild.c: Likewise.
20092 * sunrpc/svc_simple.c: Likewise.
20093 * sunrpc/svc_tcp.c: Likewise.
20094 * sunrpc/svc_udp.c: Likewise.
20095 * sunrpc/svc_unix.c: Likewise.
20096 * sunrpc/xdr.c: Likewise.
20097 * sunrpc/xdr_array.c: Likewise.
20098 * sunrpc/xdr_rec.c: Likewise.
20099 * sunrpc/xdr_ref.c: Likewise.
20100 * sunrpc/xdr_stdio.c: Likewise.
20101
1248c1c4
PB
201022011-09-09 Ulrich Drepper <drepper@gmail.com>
20103
20104 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20105
201062011-07-03 Andreas Jaeger <aj@suse.de>
20107
20108 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20109 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20110 regenerate with gen-libm-tests.pl.
20111
201122010-05-12 Petr Baudis <pasky@suse.cz>
20113
20114 [BZ #11589]
20115 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20116 around j0() zero points by switching to j1().
20117 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20118 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20119 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20120 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20121
f22e1074
UD
201222011-09-09 Ulrich Drepper <drepper@gmail.com>
20123
f19009c1
UD
20124 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20125 instead of 0.
20126 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20127 instead of 0.
f19009c1
UD
20128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20129 Patch in part by Pavel Roskin <proski@gnu.org>.
20130
3f8cc204
UD
20131 [BZ #13138]
20132 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20133 realloc.
20134 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20135 Free memory block if necessary.
20136
f22e1074
UD
20137 [BZ #12847]
20138 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20139 be NULL. Don't lock in this case.
20140
0a2349f9
RM
201412011-09-09 Roland McGrath <roland@hack.frob.com>
20142
20143 * elf/elf.h (ELFOSABI_GNU): New macro.
20144 (ELFOSABI_LINUX): Define to that.
20145
f3cdd467
DZ
201462011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20147
20148 * string/strncat.c (strncat): Undef the symbol in case it has been
20149 defined in bits/string.h.
20150
74718d13
UD
201512011-09-09 Ulrich Drepper <drepper@gmail.com>
20152
633e9e0f
UD
20153 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20154
0a2349f9 20155 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20156 link map.
20157
f9924780
AJ
201582011-08-17 Andreas Jaeger <aj@suse.de>
20159
20160 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20161
7f5517aa
PP
201622011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20163 Ian Lance Taylor <iant@google.com>
20164
20165 * math/libm-test.inc (lround_test): New testcase.
20166 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20167
762011fe
UD
201682011-09-08 Ulrich Drepper <drepper@gmail.com>
20169
92963737
UD
20170 * Makefile: Remove support for automatic cvs check-ins.
20171 * Makerules: Likewise.
20172 * config.make.in: Likewise.
20173 * configure.in: Likewise.
20174 * intl/Makefile: Likewise.
20175 * locale/Makefile: Likewise.
20176 * po/Makefile: Likewise.
20177 * posix/Makefile: Likewise.
20178 * sysdeps/gnu/Makefile: Likewise.
20179 * sysdeps/mach/hurd/Makefile: Likewise.
20180 * sysdeps/sparc/sparc32/Makefile: Likewise.
20181
b0727fd8
JS
20182 [BZ #13118]
20183 * posix/Makefile (bug-regex32-ENV): Define.
20184 Patch by John Stanley <jpsinthemix@verizon.net>.
20185
a0f33f99
UD
20186 * misc/Makefile (headers): Add bits/select2.h.
20187 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20188 * misc/bits/select2.h: New file.
20189 * include/bits/select2.h: New file.
20190 * debug/Makefile (routines): Add fdelt_chk.
20191 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20192 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20193 FD_ISSET.
20194 * debug/fdelt_chk.c: New file.
20195
762011fe
UD
20196 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20197 * wcsmbs/test-wmemcmp.c: Likewise.
20198 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20199 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20200
202012011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20202
20203 * string/Makefile (strop-tests): Add memcmp.
20204 * string/test-wmemcmp.c: New file.
20205 * string/test-memcmp.c: Add wmemcmp support.
20206
7f513ec8
RM
202072011-09-08 Roland McGrath <roland@hack.frob.com>
20208
0442afb4
RM
20209 [BZ #13153]
20210 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20211 2011-07-19 change.
20212
7f513ec8
RM
20213 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20214 garbage value in a __mach_port_mod_refs call in the cases of the
20215 task-self and thread-self ports.
20216
a12b2239
ST
202172011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20218
20219 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20220
610f9ab4
AS
202212011-09-08 Andreas Schwab <schwab@redhat.com>
20222
7f513ec8 20223 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20224
48882a1a
LD
202252011-09-07 Ulrich Drepper <drepper@gmail.com>
20226
b49865be
UD
20227 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20228
fdc86bc9
UD
20229 * elf/dl-libc.c (dlerror_run): Pass back error code from
20230 dl_catch_error.
20231
c966526a
UD
20232 [BZ #13123]
20233 * elf/dl-load.c (lose): Free l_origin if it is valid.
20234
48882a1a
LD
20235 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20236 names.
20237 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20238 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20239 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20240 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20241 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20242 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20243
77a2a8b4
AZ
202442011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20245
20246 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20247 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20248 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20249 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20250 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20251 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20252 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20253 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20254 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20255 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20256
24f579d8
AM
202572011-08-15 Alan Modra <amodra@gmail.com>
20258
20259 [BZ #13092]
20260 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20261 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20262 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20263 ppc_mcount to static-only-routines.
20264 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20265 __mcount_internal.
20266 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20267 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20268
3d4837df
UD
202692011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20270
20271 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20272 for finite and infinity parameters.
20273
22700377
WS
202742011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20275
20276 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20277 and add nop instructions for throughput optimization.
20278 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20279
5025581e
WS
202802011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20281
20282 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20283 aligned copy for power7 with vector-scalar instructions.
20284 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20285
08a300c9
L
202862011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20287
20288 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20289 AVX check.
20290
59178ef9
AS
202912011-09-07 Andreas Schwab <schwab@redhat.com>
20292
20293 [BZ #13144]
20294 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20295 last change.
20296
e38ba7ab
UD
202972011-09-07 Ulrich Drepper <drepper@gmail.com>
20298
20299 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20300 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20301 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20302 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20303 clock_gettime.
20304
d53a73ac
UD
203052011-09-06 Ulrich Drepper <drepper@gmail.com>
20306
fc8bffcc
UD
20307 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20308 Forgot to demangle the pointer.
20309
ceaa0c5d
UD
20310 * sysdeps/i386/sysdep.h: Define atom_text_section.
20311 * sysdeps/x86_64/sysdep.h: Likewise.
20312 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20313 section with atom_text_section.
20314 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20315 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20316 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20317 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20318 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20319
a77d3c17
UD
20320 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20321 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20322 already be defined. Change to take two parameters and don't assign
20323 result to variable. Adjust all users.
20324 Define INTERNAL_GETTIME if not already defined.
20325 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20326 call.
20327 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20328 HAVE_CLOCK_GETTIME_VSYSCALL.
20329 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20330
d53a73ac
UD
20331 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20332 gettimeofday vsyscall, just use time.
20333
a8f84144
AS
203342011-09-06 Andreas Schwab <schwab@redhat.com>
20335
20336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20337 <errno.h>.
20338
ef606249
UD
203392011-09-06 Ulrich Drepper <drepper@gmail.com>
20340
20341 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20342 syscall on x86-64.
20343 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20344 syscall.
20345 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20346 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20347 syscall if possible.
20348
6585cb60
UD
203492011-09-05 Ulrich Drepper <drepper@gmail.com>
20350
20351 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20352 e_ident. Don't pass to find_mapsXX.
20353 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20354
a5f524e4
LD
203552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20356
20357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20358 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20359 * sysdeps/x86_64/multiarch/strchr.S: Update.
20360 Check bit_slow_BSF bit.
20361 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20362 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20363 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20364
554881ef
UD
203652011-09-05 Ulrich Drepper <drepper@gmail.com>
20366
d96de963
UD
20367 [BZ #13134]
20368 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20369 before glibc 2.15.
20370 (tryshell): Define.
20371 (__spawni): Change last parameter to be flag. Test
20372 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20373 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20374 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20375 * posix/spawni.c: Likewise.
20376 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20377 * posix/spawnp.c: Likewise. Change normal version to use
20378 SPAWN_XFLAGS_USE_PATH.
20379 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20380 SPAWN_XFLAGS_TRY_SHELL.
20381
d48e5868
UD
20382 [BZ #13150]
20383 * posix/glob.h: Remove gcc 1.x support.
20384
554881ef
UD
20385 [BZ #13068]
20386 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20387
693fb948
LD
203882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20389
20390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20391 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20392 strrchr-sse2-bsf
20393 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20394 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20395 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20396 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20397 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20398 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20399
1b48c537
UD
204002011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20401
49d42c37
UD
20402 * sysdeps/x86_64/wcscmp.S: New file.
20403
1b48c537
UD
20404 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20405 wcscmp-c wcscmp-sse2
20406 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20407 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20408 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20409 * wcsmbs/wcscmp.c: Allow renaming.
20410
15c95c5d
DM
204112011-09-05 David S. Miller <davem@davemloft.net>
20412
20413 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20414 stack slot, rather than the struct return pointer slot.
20415 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20416 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20418 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20419
2f0ad8f3
UD
204202011-09-05 Ulrich Drepper <drepper@gmail.com>
20421
d88ae418
UD
20422 * po/ja.po: Update from translation team.
20423
2f0ad8f3
UD
20424 [BZ #13144]
20425 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20426 kernel in 64-bit binaries.
20427
5f4318d1
DM
204282011-09-01 David S. Miller <davem@davemloft.net>
20429
20430 * elf/elf.h (HWCAP_SPARC_*): Move to..
20431 * sysdeps/sparc/sysdep.h: this new file and add new values.
20432 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20433 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20434 _DL_HWCAP_COUNT to 24.
20435 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20436 entries.
20437 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20438 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20439 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20440 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20441 instead of magic constants.
20442 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20443
3ba57516
DM
204442011-08-31 David S. Miller <davem@davemloft.net>
20445
20446 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20447 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20448 Reimplement to do errno handling inline.
20449 (SYSCALL_ERROR_HANDLER): New macro.
20450 (__SYSCALL_STRING): Do not do errno handling in asm.
20451 (__CLONE_SYSCALL_STRING): Delete.
20452 (__INTERNAL_SYSCALL_STRING): Delete.
20453 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20454 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20455 (PSEUDO): Reimplement to do errno handling inline.
20456 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20457 (SYSCALL_ERROR_HANDLER): New macro.
20458 (__SYSCALL_STRING): Do not do errno handling in asm.
20459 (__CLONE_SYSCALL_STRING): Delete.
20460 (__INTERNAL_SYSCALL_STRING): Delete.
20461 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20462 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20463 i386.
20464 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20465 (inline_syscall*): Add 'err' argument.
20466 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20467 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20468 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20469 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20470
20471 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20472 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20473
2bc17433
AS
204742011-08-30 Andreas Schwab <schwab@redhat.com>
20475
20476 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20477
fbeb5f4d
JO
204782011-08-29 Jiri Olsa <jolsa@redhat.com>
20479
20480 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20481 directive.
20482
ad69cc26
DM
204832011-08-24 David S. Miller <davem@davemloft.net>
20484
20485 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20486
39dd69df
AS
204872011-08-24 Andreas Schwab <schwab@redhat.com>
20488
20489 * elf/Makefile: Add rules to build and run unload8 test.
20490 * elf/unload8.c: New file.
20491 * elf/unload8mod1.c: New file.
20492 * elf/unload8mod1x.c: New file.
20493 * elf/unload8mod2.c: New file.
20494 * elf/unload8mod3.c: New file.
20495
20496 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20497 it wasn't used.
20498
2c0b250a
DM
204992011-08-23 David S. Miller <davem@davemloft.net>
20500
20501 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20502 subtract stack bias.
20503 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20504 %sp not %fp in calculations.
20505 (_JMPBUF_UNWINDS_ADJ): Likewise.
20506
22044b48
DM
20507 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20508 (aio_suspend): Call it to force an exception region around the
20509 AIO_MISC_WAIT() invocation.
20510
2cae4995
AS
205112011-08-23 Andreas Schwab <schwab@redhat.com>
20512
20513 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20514 backslash.
20515
873a772e
AJ
205162011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20517
20518 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20519 protection macro.
20520 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20521 and <dl-machine.h>.
20522 (Elf64_FuncDesc): Remove.
20523
25ad0df1
DM
205242011-08-22 David S. Miller <davem@davemloft.net>
20525
20526 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20527 sigaltstack check, add missing cfi directives.
20528 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20529 missing cfi directives, and sigaltstack handling.
20530
e888bcbe
AS
205312011-08-16 Andreas Schwab <schwab@redhat.com>
20532
20533 [BZ #11724]
20534 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20535 object is seen twice.
20536 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20537
20538 * elf/Makefile (distribute): Add tst-initorder2.c.
20539 (tests): Add tst-initorder2.
20540 (modules-names): Add tst-initorder2a tst-initorder2b
20541 tst-initorder2c tst-initorder2d. Add rules to build them.
20542 ($(objpfx)tst-initorder2.out): New rule.
20543 * elf/tst-initorder2.c: New file.
20544 * elf/tst-initorder2.exp: New file.
20545
87162f46
AS
205462011-08-22 Andreas Schwab <schwab@redhat.com>
20547
70538b7f
AS
20548 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20549
f55ffe58
AS
20550 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20551 dependencies back to end of function.
20552
87162f46
AS
20553 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20554 $(elfobjdir)/ld.so.
20555
91b392a4
UD
205562011-08-21 Ulrich Drepper <drepper@gmail.com>
20557
20558 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20559 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20560 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20561 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20562 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20563 of __vdso_gettimeofday.
20564 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20565 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20566 attribute_hidden.
20567 (_libc_vdso_platform_setup): Remove initialization of
20568 __vdso_gettimeofday and __vdso_time.
20569
5c43483f
UD
205702011-08-20 Ulrich Drepper <drepper@gmail.com>
20571
775a77e7
UD
20572 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20573 and fgetc_unlocked.
20574 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20575 getc_unlocked.
89f447ed 20576
49c74ba9
UD
20577 * elf/dl-open.c (add_to_global): Report additions to the global scope
20578 for LD_DEBUG=scopes.
20579 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20580 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20581
5c43483f
UD
20582 [BZ #13114]
20583 * stdio-common/Makefile (tests): Add bug24.
20584 * stdio-common/bug24.c: New file.
20585
a101b025
AJ
205862011-08-19 Andreas Jaeger <aj@suse.de>
20587
20588 [BZ #13114]
20589 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20590 non-existant file when using close-on-exec mode.
20591
c88f1766
UD
205922011-08-20 Ulrich Drepper <drepper@gmail.com>
20593
0276a718
UD
20594 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20595 the very first instruction.
20596
c88f1766
UD
20597 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20598 the CFI state in the end.
20599 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20600 inclusion of dl-trampoline.h.
20601 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20602
51ccffa0
AS
206032011-08-19 Andreas Schwab <schwab@redhat.com>
20604
94d7165f
AS
20605 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20606 expectations for long double.
20607
51ccffa0
AS
20608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20609 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20610
fd708658 206112011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20612
20613 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20614 artificual limit depends upon the system page size.
20615
44f0a71e
UD
206162011-08-17 Ulrich Drepper <drepper@gmail.com>
20617
20618 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20619 * resolv/Makefile: Define CFLAGS-libresolv.
20620
8de79a24
AS
206212011-08-17 Andreas Schwab <schwab@redhat.com>
20622
20623 * nss/makedb.c (compute_tables): Make variables used in nested
20624 function static.
20625
27724598
UD
206262011-08-17 Ulrich Drepper <drepper@gmail.com>
20627
c5305d88
UD
20628 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20629 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20630 if buffer was too small.
20631
27724598
UD
20632 * elf/pldd.c (main): Attach to all threads in the process.
20633 Rewrite /proc handling to use *at functions.
20634
076fe015
UD
206352011-08-16 Ulrich Drepper <drepper@gmail.com>
20636
174baab3
UD
20637 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20638 specifies first scope to show.
20639 (dl_open_worker): Update callers. Move printing scope of new
20640 object to before the relocation.
44f0a71e 20641 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20642 * sysdeps/generic/ldsodefs.h: Update declaration.
20643
076fe015
UD
20644 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20645 string for the scope number.
20646
a60df2c3
UD
206472011-08-14 Ulrich Drepper <drepper@gmail.com>
20648
20649 * nscd/servicescache.c (cache_addserv): Make sure written is always
20650 initialized.
20651
5e4287d1
RM
206522011-08-14 Roland McGrath <roland@hack.frob.com>
20653
85ae0589
RM
20654 * sysdeps/i386/i486/bits/atomic.h
20655 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20656 statement expression, so as to suppress "set but not used" warning.
20657 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20658
69f63097
RM
20659 * string/strncat.c (STRNCAT): Use prototype definition.
20660
675456ef
RM
20661 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20662 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20663 -Iprograms here.
20664 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20665 (localedef-modules): Add localedef.
20666 (locale-modules): Add locale.
20667
5e4287d1
RM
20668 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20669 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20670 to avoid a warning.
20671
9c96ff23
DM
206722011-08-14 David S. Miller <davem@davemloft.net>
20673
20674 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20675 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20676
f9ddf089
UD
206772011-08-13 Ulrich Drepper <drepper@gmail.com>
20678
44f0a71e 20679 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20680 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20681 * elf/rtld.c (dl_main): Set l_name of vDSO.
20682 Call _dl_show_scope when DL_DEBUG_SCOPES.
20683 (process_dl_debug): Recognize scopes flag and also set it for all.
20684 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20685 Declare _dl_show_scope.
20686
1dc27704
UD
20687 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20688 (do_dlopen): Pass caller_dlopen to dl_open.
20689 (__libc_dlopen_mode): Initialize caller_dlopen.
20690
f9ddf089
UD
20691 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20692 of libc. Make tolower call locale-independent. Optimize a bit by
20693 using isdigit instead of isalnum.
20694 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20695
9ac533d3
UD
206962011-08-12 Ulrich Drepper <drepper@gmail.com>
20697
20698 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20699 was a dependency or dynamically loaded.
20700
89edf2e9
UD
207012011-08-11 Ulrich Drepper <drepper@gmail.com>
20702
8e999d29
UD
20703 * intl/l10nflist.c: Allow architecture-specific pop function.
20704 * sysdeps/x86_64/l10nflist.c: New file.
20705
89edf2e9
UD
20706 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20707 classification.
20708
14d96785
AS
207092011-08-10 Andreas Schwab <schwab@redhat.com>
20710
20711 * include/dirent.h: Add libc_hidden_proto for scandirat and
20712 scandirat64. Don't declare __scandirat64.
20713 * dirent/scandirat.c: Add libc_hidden_def.
20714 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20715 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20716
6761ac04
DM
207172011-08-10 David S. Miller <davem@davemloft.net>
20718
20719 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20720 enum.
20721 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20722 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20723 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20724
c55fbd1e
UD
207252011-08-09 Ulrich Drepper <drepper@gmail.com>
20726
20727 * Versions.def [libc]: Add GLIBC_2.15.
20728 * dirent/Makefile (routines): Add scandirat and scandirat64.
20729 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20730 GLIBC_2.15.
20731 * dirent/dirent.h: Declare scandirat and scandirat64.
20732 * dirent/scandirat.c: New file.
20733 * dirent/scandirat64.c: New file.
20734 * sysdeps/wordsize-64/scandirat.c: New file.
20735 * sysdeps/wordsize-64/scandirat64.c: New file.
20736 * dirent/opendir.c: Define opendirat.
20737 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20738 using scandirat.
20739 * dirent/scandir64.c: Adjust for scandir.c change.
20740 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20741 __scandirat64, and __scandir_cancel_handler.
20742 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20743 additional parameter and use openat instead of open (outside of ld.so).
20744 Add new __opendir as wrapper around __opendirat.
20745 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20746 here without requiring old scandirat implementation.
20747
879165f2
UD
207482011-08-08 Ulrich Drepper <drepper@gmail.com>
20749
20750 * dirent/scandir.c (cancel_handler): Renamed to
20751 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20752 defined. Adjust users.
20753 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20754 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20755
cb7e923b
UD
207562011-08-04 Ulrich Drepper <drepper@gmail.com>
20757
16292edd
UD
20758 * string/test-string.h (IMPL): Use __STRING to expand name and then
20759 stringify it.
20760
cb7e923b
UD
20761 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20762 of cleanups.
20763
cff82933
LD
207642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20765
20766 * string/Makefile: Update.
20767 (strop-tests): Append strncat.
20768 * string/test-wcscmp.c: New file.
20769 New comprehensive test for wcscmp.
20770 * string/test-strcmp.c: Update.
20771 (WIDE): New define.
20772
9be9bfcc
AS
207732011-07-22 Andreas Schwab <schwab@redhat.com>
20774
20775 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20776 line.
20777
2e96f1c7
AS
207782011-07-26 Andreas Schwab <schwab@redhat.com>
20779
20780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20781 encoding to ACE if AI_IDN.
20782
85188888
JJ
207832011-08-01 Jakub Jelinek <jakub@redhat.com>
20784
20785 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20786 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20787
5fa16e9b
LD
207882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20789
20790 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20791 Fix overflow bug in strncat.
20792 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20793
20794 * string/test-strncat.c: Update.
20795 Add new tests for checking overflow bugs.
20796
207972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20798
20799 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20800 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20801 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20802 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20803 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20804 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20805 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20806 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20807 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20808
20809 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20810 (USE_AS_STRCAT): Define.
20811 Add strcat and strncat support.
20812 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20813
8c1a459f
AS
208142011-07-25 Andreas Schwab <schwab@redhat.com>
20815
20816 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20817 __n bigger than INT_MAX+1.
20818 (__strncmp_g): Likewise.
20819
bba33c28
UD
208202011-07-23 Ulrich Drepper <drepper@gmail.com>
20821
798be72d
UD
20822 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20823 * libio/stido.h: Likewise.
20824
8accd4dc
UD
20825 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20826 (AF_NFC): Define.
20827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20828 (AF_NFC): Define.
20829
cbff0d96
UD
20830 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20831 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20832 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20833 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20834 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20835
9191c04a
UD
20836 [BZ #13021]
20837 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20838 installed.
20839
bba33c28
UD
20840 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20841 typo.
20842 (_dl_x86_64_save_sse): Likewise.
20843
90f139dd
UD
208442011-07-22 Ulrich Drepper <drepper@gmail.com>
20845
1aae088a
UD
20846 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20847 OSXSAVE.
20848 (_dl_x86_64_save_sse): Likewise.
20849
8e2045f5
UD
20850 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20851
90f139dd
UD
20852 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20853
1d002f25
AS
208542011-07-21 Andreas Schwab <schwab@redhat.com>
20855
20856 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20857 change.
20858 (_dl_x86_64_save_sse): Use correct AVX check.
20859
21137f89
UD
208602011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20861
20862 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20863 bug in strncpy/strncat.
20864 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20865
a65c0b7a
UD
208662011-07-21 Ulrich Drepper <drepper@gmail.com>
20867
20868 * string/tester.c (test_strcat): Add tests for different alignments
20869 of source and destination.
20870 (test_strncat): Likewise.
20871
6986b98a
UD
208722011-07-20 Ulrich Drepper <drepper@gmail.com>
20873
90bb2039
UD
20874 [BZ #12852]
20875 * posix/glob.c (glob): Check passed in values before using them in
20876 expressions to avoid some overflows.
20877 (glob_in_dir): Likewise.
20878
5644ef54
UD
20879 [BZ #13007]
20880 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20881 check for AVX enablement so that we don't crash with old kernels and
20882 new hardware.
20883 * elf/tst-audit4.c: Add same checks here.
20884 * elf/tst-audit6.c: Likewise.
20885
20886 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20887
bfc9dc9b
AS
208882011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20889
20890 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20891
702e64bb
UD
208922011-07-20 Ulrich Drepper <drepper@gmail.com>
20893
20894 * po/cs.po: Update from translation team.
20895 * po/bg.po: Likewise.
20896
295e904f
MP
208972011-07-12 Marek Polacek <mpolacek@redhat.com>
20898
20899 * misc/sys/cdefs.h: Add support for const attribute.
20900 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20901 to gnu_dev_{major,minor,makedev} functions.
20902
3ff94596
MP
209032011-07-20 Marek Polacek <mpolacek@redhat.com>
20904
20905 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20906
28b59fca
AS
209072011-07-20 Andreas Schwab <schwab@redhat.com>
20908
20909 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20910 strlen results.
20911
19df733e
AK
209122011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20913
20914 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20915 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20916 register in order to avoid conflicts with the soft frame pointer
20917 being held in r11 when necessary.
20918 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20919 (INTERNAL_VSYSCALL_NCS): Likewise.
20920
c8835729
MP
209212011-07-14 Marek Polacek <mpolacek@redhat.com>
20922
20923 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20924 * elf/dl-fini.c (_dl_fini): Adjust caller.
20925 * elf/dl-close.c (_dl_close_worker): Likewise.
20926 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20927
b902330c
MP
209282011-07-15 Marek Polacek <mpolacek@redhat.com>
20929
8991e135
MP
20930 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20931 "aux_cache->nlibs < 0".
20932
b902330c
MP
20933 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20934 in the reload-count case.
20935
99710781
LD
209362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20937
20938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20939 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20940 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20941 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20942 * sysdeps/x86_64/multiarch/strcat.S: New file.
20943 * sysdeps/x86_64/multiarch/strncat.S: New file.
20944 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20945 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20946 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20947 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20948 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20949 (USE_AS_STRCAT): Define.
20950 Add strcat and strncat support.
20951 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20952 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20953 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20954 * string/strncat.c: Update.
20955 (USE_AS_STRNCAT): Define.
20956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20957 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20958 and i7.
20959 * sysdeps/x86_64/multiarch/init-arch.h
20960 (bit_Prefer_PMINUB_for_stringop): New.
20961 (index_Prefer_PMINUB_for_stringop): Likewise.
20962 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20963 bit_Prefer_PMINUB_for_stringop.
20964
7dc6bd90
UD
209652011-07-19 Ulrich Drepper <drepper@gmail.com>
20966
20967 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20968 buffer64.
20969 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20970 of casting of buffer.
20971 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20972 buffer32 and buffer64.
20973 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20974 writes instead of casting of buffer.
20975 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20976 buffer32.
20977 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20978 casting of buffer.
20979
e0e72284
AS
209802011-07-19 Andreas Schwab <schwab@redhat.com>
20981
20982 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20983
feb1eb0b
UD
209842011-07-19 Ulrich Drepper <drepper@gmail.com>
20985
20986 * nscd/nscd.c (termination_handler): Don't do anything for a database
20987 if it has not yet been initialized.
20988
298711ff
UD
209892011-07-18 Ulrich Drepper <drepper@gmail.com>
20990
20991 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20992
209932011-07-15 Marek Polacek <mpolacek@redhat.com>
20994
20995 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20996
f9d68389
UD
209972011-07-18 Ulrich Drepper <drepper@gmail.com>
20998
20999 * po/nl.po: Update from translation team.
21000 * po/sv.po: Likewise.
21001
db290cf5
RM
210022011-07-16 Roland McGrath <roland@hack.frob.com>
21003
21004 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21005 now disallowed by GCC.
5c550700 21006
fd5e21c7
RM
21007 * configure.in (use-default-link): Default to yes if a test -shared
21008 link meets our qualifications.
21009 * configure: Regenerated.
21010
5c550700
RM
21011 * config.make.in (output-format): New variable.
21012 * configure.in: Check for ld --print-output-format support.
21013 * configure: Regenerated.
21014 * Makerules ($(common-objpfx)format.lds)
21015 [$(output-format) != unknown]: Just use $(output-format),
21016 instead of the linker-script munging.
21017
9fa2c032
RM
210182011-07-14 Roland McGrath <roland@hack.frob.com>
21019
a6928d51
RM
21020 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21021 of $(common-objpfx)shlib.lds.
21022 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21023
661607b3
RM
21024 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21025 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21026
9fa2c032
RM
21027 * configure.in (-z relro check): Adjust test code to add a large
21028 writable data section after it.
21029 * configure: Regenerated.
21030
defe9061
RM
210312011-07-11 Roland McGrath <roland@hack.frob.com>
21032
21033 * configure.in (-z relro check): Fix test code to make the variable
21034 truly const.
21035 * configure: Regenerated.
21036
319b9ad4
UD
210372011-07-11 Ulrich Drepper <drepper@gmail.com>
21038
21039 * nscd/nscd.h (struct traced_file): Define.
21040 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21041 elements. Add traced_files.
21042 (inotify_fd): Declare.
21043 (register_traced_file): Declare.
21044 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21045 (inotify_fd): Export.
21046 (resolv_conf_descr): Remove.
21047 (nscd_init): Move inotify descriptor creation to main.
21048 Don't register files for notification here.
21049 (register_traced_file): New function.
21050 (invalidate_cache): Don't use reset_res to determine whether to call
21051 res_init, go through the list of registered files.
21052 (main_loop_poll): The inotify descriptors are now stored in the
21053 structures for the traced files.
21054 (main_loop_epoll): Likewise
21055 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21056 to __nss_disable_nscd.
21057 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21058 for a database anymore. Check the records for all the registered
21059 files instead.
21060 * nss/Makefile (libnss_files-routines): Add files-init.
21061 (libnss_db-routines): Add db-init.
21062 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21063 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21064 * nss/nss_db/db-init.c: New file.
21065 * nss/nss_files/files-init.c: New file.
21066 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21067 __nss_lookup_function.
21068 (__nss_lookup_function): Call nss_load_library.
21069 (nss_load_all_libraries): New function.
21070 (__nss_disable_nscd): Take parameter with callback function for files
21071 to register. Set is_nscd. Load all the DSOs for the NSS modules
21072 used for the cached services.
21073 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21074 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21075 options for features to all the files in nscd.
21076
21077 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21078
23bee3e8
RM
210792011-07-10 Roland McGrath <roland@hack.frob.com>
21080
21081 * csu/elf-init.c (__libc_csu_init): Comment typo.
21082
46a5b7f0
UD
210832011-07-09 Ulrich Drepper <drepper@gmail.com>
21084
21085 * po/pl.po: Update from translation team.
21086 * po/ja.po: Likewise.
21087 * po/ru.po: Likewise.
21088 * po/ko.po: Likewise.
21089 * po/fr.po: Likewise.
21090
d30cf5bb
RM
210912011-07-09 Roland McGrath <roland@hack.frob.com>
21092
113ddea4
RM
21093 * configure.in (.ctors/.dtors header and trailer check):
21094 Use an empirical test on a built program.
21095 * configure: Regenerated.
21096
574920b4
RM
21097 * configure.in (-z relro check): Use an empirical test on a built DSO.
21098 Detect, but do not require, on ia64.
21099 * configure: Regenerated.
21100
d30cf5bb
RM
21101 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21102 Update tests that use readelf to use $READELF instead.
21103 * configure: Regenerated.
21104
8538fdb3
UD
211052011-07-08 Ulrich Drepper <drepper@gmail.com>
21106
21107 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21108 if the result is not used.
21109
04d08991
AJ
211102011-07-05 Andreas Jaeger <aj@suse.de>
21111
21112 [BZ#9696]
21113 * stdlib/tst-strtod.c: Add testcase.
21114
de283087
AD
211152011-07-07 Ulrich Drepper <drepper@gmail.com>
21116
4e5f31c8 21117 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21118 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21119 The latter has a higher limit. Take additional parameter to pass to
21120 the new function.
21121 (__pathconf): Pass file to __statfs_link_max.
21122 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21123 __statfs_link_max.
21124 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21125 __statfs_link_max.
21126
de283087
AD
21127 [BZ #12868]
21128 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21129 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21130 Handle Lustre.
21131 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21132 (__statfs_filesize_max): Likewise.
21133 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21134
c75fa153
AJ
211352011-07-05 Andreas Jaeger <aj@suse.de>
21136
21137 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21138
1a544854
UD
211392011-07-06 Marek Polacek <mpolacek@redhat.com>
21140
21141 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21142 `status' variable.
21143 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21144 Likewise.
21145
6f0eec67
UD
211462011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21147
21148 * Makefile (strop-tests): Add strncat.
21149 * string/test-strncat.c: New file.
21150
aae30307
UD
211512011-06-30 Marek Polacek <mpolacek@redhat.com>
21152
21153 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21154
c0cfb5eb
UD
211552011-06-21 Andreas Jaeger <aj@suse.de>
21156
21157 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21158 Copy rule from iconvdata/Makefile.
21159
01636b21
UD
211602011-07-06 Ulrich Drepper <drepper@gmail.com>
21161
21162 [BZ #12922]
21163 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21164 but no long options are defined, just return 'W'.
21165
9895c8bc
UD
211662011-06-22 Marek Polacek <mpolacek@redhat.com>
21167
21168 [BZ #9696]
21169 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21170
5d4cf042
UD
211712011-07-06 Ulrich Drepper <drepper@gmail.com>
21172
21173 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21174 netgroups to read.
960e5535 21175 (innetgr): Likewise.
5d4cf042 21176
751eb97e
RM
211772011-07-05 Roland McGrath <roland@hack.frob.com>
21178
21179 * config.make.in (install_root): Default to $(DESTDIR).
21180
f15f1e45
UD
211812011-07-05 Ulrich Drepper <drepper@gmail.com>
21182
21183 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21184
4e34ac6a
RM
211852011-07-02 Roland McGrath <roland@hack.frob.com>
21186
5e9b6af4
RM
21187 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21188
84f9ea0f
RM
21189 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21190 containing directory rather than embedding absolute directory names.
21191
ea5ee9f7
RM
21192 * scripts/check-local-headers.sh: Rewritten using awk.
21193 Match by word, not by line. Print error messages for matches.
21194 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21195
1b74661a
RM
21196 * Makerules [shlib-lds-flags empty]:
21197 ($(common-objpfx)libc_pic.opts): New target.
21198 ($(common-objpfx)libc_pic.os.clean): New target.
21199 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21200
21201 * config.make.in (OBJCOPY): New variable.
21202 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21203 * configure: Regenerated.
21204
f781ef40
RM
21205 * config.make.in (use-default-link): New variable.
21206 * configure.in (use_default_link): Grok --with-default-link to set it.
21207 * configure: Regenerated.
21208 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21209 (shlib-lds, shlib-lds-flags): Define to empty.
21210
2d4fa81e
RM
21211 * Makerules (shlib-lds): New variable.
21212 (shlib-lds-flags): New variable.
21213 (build-shlib, build-moduile, build-module-asneeded): Use it.
21214 ($(common-objpfx)libc.so): Use $(shlib-lds).
21215 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21216 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21217
31fffa6b
RM
21218 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21219 DT_FLAGS/DT_FLAGS_1 with zero flags.
21220
4e34ac6a
RM
21221 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21222 linker script munging.
21223
fcfc776b
UD
212242011-07-02 Ulrich Drepper <drepper@gmail.com>
21225
21226 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21227 as 128-bit value.
21228 * crypt/sha512.c (sha512_process_block): Perform total addition using
21229 128-bit if possible.
21230 (__sha512_finish_ctx): Likewise.
21231 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21232 as 64-bit value.
21233 * crypt/sha256.c (SWAP64): Define.
21234 (sha256_process_block): Perform total addition using 64-bit if
21235 possible.
21236 (__sha256_finish_ctx): Likewise.
21237
99231d9a
UD
212382011-07-01 Ulrich Drepper <drepper@gmail.com>
21239
21240 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21241 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21242 * nscd/hstcache.c (cache_addhst): Likewise.
21243 * nscd/grpcache.c (cache_addgr): Likewise.
21244 * nscd/aicache.c (addhstaiX): Likewise
21245 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21246
445b4a53
TK
212472011-07-01 Thorsten Kukuk <kukuk@suse.de>
21248
21249 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
6d4d8e8e
AS
212552011-07-01 Andreas Schwab <schwab@redhat.com>
21256
21257 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21258 domain only when needed.
21259
89f654c5
AS
212602011-06-30 Andreas Schwab <schwab@redhat.com>
21261
21262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21263 is always restored.
21264
cf3b23ff
UD
212652011-06-29 Ulrich Drepper <drepper@gmail.com>
21266
21267 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21268 are re-adding the entry.
21269 * nscd/servicescache.c (cache_addserv): Likewise.
21270
751626f9
AJ
212712011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21272
21273 * sysdeps/generic/dl-irel.h: fix protection against multiple
21274 inclusions.
21275 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21276
9113ea1f
UD
212772011-06-28 Ulrich Drepper <drepper@gmail.com>
21278
5c0b8d90
UD
21279 [BZ #12935]
21280 * malloc/memusage.sh: Fix quoting in message.
21281 * debug/xtrace.sh: Likewise.
21282
9113ea1f
UD
21283 * configure.in: Remove support for --experimental-malloc option, make
21284 it the default.
21285 * config.make.in: Likewise.
21286 * malloc/Makefile: Likewise.
21287
a4172181
AS
212882011-06-27 Andreas Schwab <schwab@redhat.com>
21289
21290 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21291 two-byte characters.
21292
78a7eee7
RM
212932011-06-27 Roland McGrath <roland@hack.frob.com>
21294
62bede13
RM
21295 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21296 AC_CACHE_CHECK invocation.
21297 * configure: Regenerated.
21298
78a7eee7
RM
21299 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21300
5ce33a62
UD
213012011-06-27 Ulrich Drepper <drepper@gmail.com>
21302
034807a9
UD
21303 [BZ #12350]
21304 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21305 bit from old_res_options.
21306
4902da17
UD
21307 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21308
5ce33a62
UD
21309 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21310 value type for setfct.
21311
c2344f56
L
213122011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21313
21314 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21315 __gettimeofday instead of gettimeofday.
21316
68468076
UD
213172011-06-26 Ulrich Drepper <drepper@gmail.com>
21318
21319 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21320
acb0d739
L
213212011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21322
21323 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21324
21325 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21326 info.
21327
8912479f
L
213282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21329
21330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21331 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21332 strcpy-sse2-unaligned strncpy-sse2-unaligned
21333 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21334 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21335 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21336 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21337 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21338 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21339 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21340 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21341 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21342 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21343 (STRCPY): Support SSE2 and SSSE3 versions.
21344
d5495a11
UD
213452011-06-24 Ulrich Drepper <drepper@gmail.com>
21346
21347 [BZ #12874]
21348 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21349 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21350 kernels which artificially limit size of requests.
21351
0b1cbaae
L
213522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21353
21354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21355 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21356 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21357 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21358 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21359 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21360 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21361 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21362 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21363 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21364 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21365 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21366 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21367 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21368 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21370 Enable unaligned load optimization for Intel Core i3, i5 and i7
21371 processors.
21372 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21373 Define.
21374 (index_Fast_Unaligned_Load): Define.
21375 (HAS_FAST_UNALIGNED_LOAD): Define.
21376
07f494a0
MP
213772011-06-23 Marek Polacek <mpolacek@redhat.com>
21378
21379 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21380
fa3fc0fe
UD
213812011-06-22 Ulrich Drepper <drepper@gmail.com>
21382
21383 [BZ #12907]
21384 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21385 until it is clear that the information is realy needed.
21386 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21387
e12df166
AS
213882011-06-22 Andreas Schwab <schwab@redhat.com>
21389
21390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21391
852eb34d
UD
213922011-06-22 Ulrich Drepper <drepper@gmail.com>
21393
84e2a551
UD
21394 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21395 /sys/devices/system/cpu/online if it is usable.
21396
852eb34d
UD
21397 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21398 reading the information from the /proc filesystem to once a second.
21399
6e502e19
UD
214002011-06-21 Andreas Jaeger <aj@suse.de>
21401
21402 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21403 NULL after inclusion of kernel headers.
21404
75d39ff2
UD
214052011-06-21 Ulrich Drepper <drepper@gmail.com>
21406
51f9aa6a
UD
21407 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21408 calls to internal_setent.
21409
c0244a9d
UD
21410 [BZ #12885]
21411 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21412 addresses using gethostbyname4_r ignore IPv4 addresses.
21413
c5e3c2ae
UD
21414 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21415 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21416
75d39ff2
UD
21417 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21418
42675c6f
DM
214192011-06-20 David S. Miller <davem@davemloft.net>
21420
21421 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21422 inclusions.
21423 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21424
21425 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21426 (elf_irel): Use it.
21427 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21428 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21429 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21430 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21431 * sysdeps/x86_64/dl-irel.h: Likewise.
21432
21433 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21434 * elf/dl-sym.c: Likewise.
21435
57912a71
UD
214362011-06-15 Ulrich Drepper <drepper@gmail.com>
21437
21438 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21439 need to dereference resplen2.
21440
ee22793d
AS
214412011-06-14 Andreas Schwab <schwab@redhat.com>
21442
21443 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21444
a9e836b0
UD
214452011-06-15 Ulrich Drepper <drepper@gmail.com>
21446
77fb9117
UD
21447 * Makeconfig: Define vardbdir and inst_vardbdir.
21448 * nss/Makefile: Add rules to install db-Makefile.
21449
40c1b22c
UD
21450 * nss/nss_db/db-XXX.c: Cleanup.
21451
9f2da732
UD
21452 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21453 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21454 GLIBC_PRIVATE.
21455 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21456 * nss/makedb.c: Implement -g option to specify that value strings
21457 are generated and should not be added to table iterated over for
21458 get*ent calls.
21459 * nss/nss_db/db-initgroups.c: New file.
21460
82e9a1f7
UD
21461 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21462 interface.
21463
c41af17e
UD
21464 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21465 (internal_getgrouplist): Adjust to name change.
21466 Update use_initgroups_entry if this is not the first call.
21467 * nss/databases.def: Add initgroups entry.
21468
a9e836b0
UD
21469 * nss/makedb.c (compute_tables): Check result of multiple hash table
21470 sizes to minimize maximum chain length.
21471
2666d441
UD
214722011-06-14 Ulrich Drepper <drepper@gmail.com>
21473
21474 * Versions.def: Add entry for libnss_db.
21475 * shlib-versions: Likewise.
21476 * nss/Makefile: Add rules to build libnss_db.
21477 * nss/Versions: Add libnss_db information. Organize libnss_files
21478 entries better.
21479 * nss/db-Makefile: Add gshadow support. Change rules for the new
21480 makedb progra. Some minor improvements to generate smaller files.
21481 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21482 here from...
21483 * nss/makedb.c: ...here.
21484 Improve database format to be smaller and require less memory at
21485 runtime.
21486 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21487 db anymore.
21488 * nss/nss_db/db-netgrp.c: Likewise.
21489 * nss/nss_db/db-open.c: Likewise.
21490 * nss/nss_files/flies-XXX.x: Adjust comments.
21491 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21492 * nss/nss_files/files-grp.c: Likewise.
21493 * nss/nss_files/files-hosts.c: Likewise.
21494 * nss/nss_files/files-network.c: Likewise.
21495 * nss/nss_files/files-proto.c: Likewise.
21496 * nss/nss_files/files-pwd.c: Likewise.
21497 * nss/nss_files/files-rpc.c: Likewise.
21498 * nss/nss_files/files-service.c: Likewise.
21499 * nss/nss_files/files-sgrp.c: Likewise.
21500 * nss/nss_files/files-spwd.c: Likewise.
21501 * nss/nss_db/db-alias.c: Removed.
21502 * nss/nss_db/dummy-db.h: Removed.
21503
9ee76b5a
UD
215042011-06-02 Ulrich Drepper <drepper@gmail.com>
21505
21506 * nss/makedb.c: Rewritten to not use database library.
21507 * nss/Makefile: Update to build new makedb program.
21508
c71ca1f8
AJ
215092011-06-14 Andreas Jaeger <aj@suse.de>
21510
21511 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21512 memset declaration.
21513
3154bfb8
UD
215142011-06-10 Andreas Schwab <schwab@redhat.com>
21515
21516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21517 tmpbuf.
21518
b350afab
RM
215192011-06-10 Roland McGrath <roland@hack.frob.com>
21520
decd4e50
RM
21521 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21522 * elf/Makefile ($(objpfx)ld.so): Likewise.
21523
5615eaf2
RM
21524 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21525 Don't list ld.so twice in dependencies.
21526
21527 * posix/bug-regex31.c: Include <stdlib.h>.
21528
21529 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21530
21531 * nis/nss_compat/compat-spwd.c
21532 (getspent_next_nss_netgr): Remove unused variable.
21533 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21534
21535 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21536 nonmembers" output to use the right array.
21537
21538 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21539
21540 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21541
21542 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21543 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21544 * catgets/gencat.c (read_input_file): Likewise.
21545 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21546
21547 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21548 variable definition inside #if's controlling its use.
21549
21550 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21551
21552 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21553
21554 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21555
21556 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21557 unreachable code.
21558
21559 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21560
b68e08db
RM
21561 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21562 * configure: Regenerated.
21563
b350afab
RM
21564 * Makerules: Revert last change.
21565 * elf/Makefile: Likewise.
21566
28368601
RM
215672011-06-09 Roland McGrath <roland@hack.frob.com>
21568
21569 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21570 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21571 (reloc-link): Likewise.
21572
11988f8f
UD
215732011-06-09 Ulrich Drepper <drepper@gmail.com>
21574
21575 * elf/Makefile: Add rules to build pldd.
21576 * elf/pldd.c: New file.
21577 * elf/pldd-xx.c: New file.
21578
e80fab37
UD
215792011-06-07 Ulrich Drepper <drepper@gmail.com>
21580
21581 * version.h: Update for 2.15 development version.
21582
9b849836
DM
215832011-06-07 David S. Miller <davem@davemloft.net>
21584
21585 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21586 ifuncs.
21587 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21588 elf_machine_lazy_rel): Likewise.
21589 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21590 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21591 elf_machine_lazy_rel): Likewise.
21592 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21593 dl_hwcap via passed in argument.
21594 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21595 Likewise.
21596
5a31b283
AK
215972011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21598
21599 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21600
069e52f8
RM
216012011-06-06 Roland McGrath <roland@hack.frob.com>
21602
21603 [BZ #12849]
21604 * manual/fdl-1.1.texi: New file, verbatim from:
21605 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21606 * manual/lgpl-2.1.texi: New file, verbatim from:
21607 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21608 * manual/Makefile (licenses): New variable, list those new file names.
21609 (texis): Use it.
21610 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21611
21612 * manual/fdl.texi: File removed.
21613 * manual/lesser.texi: File removed.
21614 * manual/libc.texinfo (Copying, Documentation License):
21615 Use new @include file names, put @appendix directive before @include.
21616
f16846a5
JJ
216172011-06-04 Jakub Jelinek <jakub@redhat.com>
21618
21619 [BZ #12841]
21620 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21621 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21622 (mq_open): Add __NTH.
21623
3d29045b
L
216242011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21625
21626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21627 Assume Intel Core i3/i5/i7 processor if AVX is available.
21628
8c297311
UD
216292011-05-31 Ulrich Drepper <drepper@gmail.com>
21630
21631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21632 typo.
21633
c8fc0c91
UD
216342011-05-31 Andreas Schwab <schwab@redhat.com>
21635
21636 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21637 memory. Use alloca_account. Fix memory leak when retrying.
21638
5b27a807
UD
216392011-05-31 Ulrich Drepper <drepper@gmail.com>
21640
356f8bc6
UD
21641 * version.h (RELEASE): Bump for 2.14 release.
21642 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21643
5b27a807
UD
21644 * config.make.in (RANLIB): Remove entry.
21645
01f16ab0
UD
216462011-05-30 Ulrich Drepper <drepper@gmail.com>
21647
41fce8bd
UD
21648 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21649 (libc.pot): Work around missing support for .ksh extension in xgettext.
21650
4769ae77
UD
21651 [BZ #12684]
21652 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21653 if both request failed.
21654 (send_dg): In case of server errors clear resplen or *resplen2.
21655
6b1e7d19
UD
21656 [BZ #12454]
21657 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21658 when there are multiple maps.
21659 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21660 (_dl_fini): Remove test here.
21661
01f16ab0
UD
21662 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21663
b1ebd700
UD
216642011-05-29 Ulrich Drepper <drepper@gmail.com>
21665
7ae22829
UD
21666 [BZ #12350]
21667 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21668 bit from old_res_options.
21669 (gaih_inet): Likewise.
21670
553149f6 21671 [BZ #11099]
18a84741 21672 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21673 as signed.
21674
652ffab1
UD
21675 * resolv/res_init.c (res_setoptions): Make the code more compact.
21676
16985fd0
UD
21677 [BZ #11558]
21678 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21679 set RES_USEVC.
21680
0464f746
UD
21681 [BZ #11634]
21682 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21683
7d17596c
UD
21684 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21685
cf6bbbd7
UD
21686 [BZ #11781]
21687 * malloc/malloc.h: Declare malloc hook variables as volatile.
21688
13f1ab36
UD
21689 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21690 in last patch.
21691
b1ebd700
UD
21692 [BZ #11799]
21693 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21694 raise in the comment.
80e2212d
UD
21695 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21697 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21698
ce67228d
UD
216992011-05-28 Ulrich Drepper <drepper@gmail.com>
21700
8887a920
UD
21701 [BZ #12811]
21702 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21703 grow the buffers more if it already has to be sufficient.
21704 (build_wcs_upper_buffer): Likewise.
21705 * posix/regexec.c (check_matching): Likewise.
21706 (clean_state_log_if_needed): Likewise.
21707 (extend_buffers): Don't enlarge buffers beyond size of the input
21708 buffer.
21709 Patches mostly by Emil Wojak <emil@wojak.eu>.
21710 * posix/bug-regex32.c: New file.
21711 * posix/Makefile (tests): Add bug-regex32.
21712
4f031072
UD
21713 * locale/findlocale.c (_nl_find_locale): Return right away if
21714 _nl_explode_name failed.
21715 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21716
d0478f0c
UD
21717 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21718
de81b246
UD
21719 * debug/xtrace.sh: Unify messages.
21720 * malloc/memusage.sh: Likewise.
21721
c738465a
UD
21722 [BZ #12813]
21723 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21724 time symbol from vDSO. Substitute with vsyscall if not available.
21725 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21726 __vdso_time.
21727
f1f929d7
UD
21728 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21729 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21730 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21731 Add sendmmsg and internal_sendmmsg.
21732 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21733 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21734 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21735
ce67228d
UD
21736 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21737 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21738 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21739
e57420c6
UD
217402011-05-27 Ulrich Drepper <drepper@gmail.com>
21741
a8509ca5
UD
21742 [BZ #12813]
21743 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21744 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21745 available.
21746 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21747 __vdso_getcpu.
21748
e57420c6
UD
21749 [BZ #12814]
21750 * iconvdata/Makefile (tests): Add bug-iconv9.
21751 * iconvdata/bug-iconv9.c: New file.
21752
4d07db15
AS
217532011-05-27 Andreas Schwab <schwab@redhat.com>
21754
21755 [BZ #12814]
21756 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21757
ea486f69
JJ
217582011-05-25 Jakub Jelinek <jakub@redhat.com>
21759
21760 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21761 (struct user_regs_struct): Change intcs field back to cs.
21762
6f038433
UD
217632011-05-25 Ulrich Drepper <drepper@gmail.com>
21764
21765 * po/ja.po: Update from translation team.
21766
67f86a25
UD
217672011-05-23 Ulrich Drepper <drepper@gmail.com>
21768
21769 [BZ #12795]
21770 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21771 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21772
def7fbd6
AS
217732011-05-20 Andreas Schwab <schwab@redhat.com>
21774
21775 * stdlib/longlong.h: Update from GCC.
21776
f50ef8f1
AS
217772011-05-23 Andreas Schwab <schwab@redhat.com>
21778
21779 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21780 parameter name.
21781 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21782 Add parameter name.
21783 (__sysconf): Pass it down.
21784
de7ce8f1
UD
217852011-05-22 Ulrich Drepper <drepper@gmail.com>
21786
f2962a71
UD
21787 [BZ #12671]
21788 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21789 some situations.
21790 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21791 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21792 add in in __libc_use_alloca calls. Adjust callers.
21793 (glob): Use malloc in some situations.
21794
de7ce8f1
UD
21795 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21796 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21797 pltexit.
21798
aec84f53
UD
217992011-05-21 Ulrich Drepper <drepper@gmail.com>
21800
05bb4a68
UD
21801 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21802 and CLOCK_BOOTTIME_ALARM.
21803
7ea72f99
UD
21804 [BZ #12782]
21805 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21806 is returned.
21807
7e4afad5
UD
21808 * string/_strerror.c (__strerror_r): Print negative errors as signed
21809 numbers.
21810
8e211fec
UD
21811 [BZ #12777]
21812 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21813 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21814 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21815
f7d82dc9
UD
21816 * configure.in: Fix typo in redirection and correct removal of test
21817 files in two cases.
21818
cc9e536d
UD
21819 [BZ #12788]
21820 * locale/setlocale.c (new_composite_name): Fix test to check for
21821 identical name of all categories.
21822
aec84f53
UD
21823 [BZ #12792]
21824 * libio/filedoalloc.c (local_isatty): New function.
21825 (_IO_file_doallocate): Use local_isatty.
21826 * stdio-common/perror.c (perror): In case a new stream is used
21827 forward the stream error.
21828 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21829 error flag.
21830
78e64fdc
RT
218312011-05-20 Ulrich Drepper <drepper@gmail.com>
21832
34a9094f
UD
21833 [BZ #11869]
21834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21835 alloca.
21836 * include/alloca.h (extend_alloca_account): Define.
21837
78e64fdc
RT
21838 [BZ #11857]
21839 * posix/regex.h: Fix comments with documentation of user-accessible
21840 fields after compilation and describe correct free'ing of pattern
21841 after re_compile_pattern.
21842 Patch by Reuben Thomas <rrt@sc3d.org>.
21843
457bddfc
RA
218442011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21845
21846 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21847 and -mno-altivec to prevent the compiler from using Altivec and/or
21848 VSX instructions when the corresponding registers are not available.
21849
a4527b51
AS
218502011-05-19 Andreas Schwab <schwab@redhat.com>
21851
21852 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21853
ed690b2f
UD
218542011-05-19 Ulrich Drepper <drepper@gmail.com>
21855
21856 * libio/freopen.c (freopen): Use __dup2, not dup2.
21857 * libio/freopen64.c (freopen64): Likewise.
21858
8db73634
L
218592011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21860
21861 [BZ #12775]
21862 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21863 * math/Makefile (tests): Add test-powl.
21864 (CFLAGS-test-powl.c): Define.
21865 * math/test-powl.c: New file.
21866
0a197a9d
L
218672011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21868
21869 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21870
ee30c380
UD
218712011-05-17 Ulrich Drepper <drepper@gmail.com>
21872
21873 [BZ #11837]
21874 * iconvdata/gb18030.c: Update to GB18020-2005.
21875
6ce75379
UD
218762011-05-16 Ulrich Drepper <drepper@gmail.com>
21877
a4b89fd8
AR
21878 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21879 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21880 Patch by Aharon Robbins <arnold@skeeve.com>.
21881
ea389b12
UD
21882 [BZ #11892]
21883 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21884 on the stack.
21885
68a3f91f
UD
21886 [BZ #11895]
21887 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21888 through underflows.
21889
15cc7dd1
UD
21890 [BZ #12766]
21891 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21892 point to strings before performing equality test for error_one_per_line
21893 mode.
21894
f3799213
UD
21895 [BZ #11697]
21896 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21897
d79a9c94
UD
21898 [BZ #11820]
21899 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21900 (struct user_fpregs_struct): Avoid __uint*_t types.
21901
56e5eb46
UD
21902 [BZ #6420]
21903 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21904 symbol info. Use it instead of calling _dl_addr locally.
21905 (lock_and_info): New function.
21906 (tr_freehook): Call lock_and_info and pass symbol info as additional
21907 parameter to tr_where.
21908 (tr_mallochook): Likewise.
21909 (tr_reallochook): Likewise.
21910 (tr_memalignhook): Likewise.
21911
6ce75379
UD
21912 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21913 used and couldn't be at all thread-safe.
21914
f8a3b5bf
UD
219152011-05-15 Ulrich Drepper <drepper@gmail.com>
21916
94b7cc37
UD
21917 * libio/freopen.c (freopen): Don't close old file descriptor
21918 before the new one is opened. Instead dup the new file descriptor
21919 to the old one after the new stream is created.
21920 * libio/freopen64.c (freopen64): Likewise.
21921 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21922 * libio/fileops.c (_IO_new_file_close_it): Handle new
21923 _IO_FLAGS2_NOCLOSE flag.
21924 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21925 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21926 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21927 _IO_FLAGS2_NOCLOSE flag.
21928 * include/unistd.h: Add hidden_proto for dup3.
21929 Define __have_dup3.
21930 * io/dup3.c: Define hidden symbol.
21931 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21932
bd25564e
UD
21933 [BZ #7101]
21934 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21935 when an incomplete long option is used.
21936 * posix/tst-getopt_long1.c: New file.
21937 * posix/Makefile (tests): Add tst-getopt_long1.
21938
c84cfef4
UD
21939 [BZ #10138]
21940 * scripts/config.guess: Update from autoconf-2.68.
21941 * scripts/config.sub: Likewise.
21942
3b85df27
UD
21943 [BZ #10157]
21944 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21945 tests into ...
21946 (has_cpuclock): ...this. New function.
21947 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21948 macro here based on has_cpuclock code.
21949
15a856b1
UD
21950 [BZ #10149]
21951 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21952 First byte (not low byte) is now always NUL.
21953 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21954
05f399e6
UD
21955 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21956 Use non-cancelable interfaces.
21957
10a52685 21958 [BZ #9809]
94ecc67d
UD
21959 * locale/iso-639.def: Add entry for Sorani.
21960
f8a3b5bf
UD
21961 [BZ #11901]
21962 * include/stdlib.h: Move include protection to the right place.
21963 Define abort_msg_s. Declare __abort_msg with it.
21964 * stdlib/abort.c (__abort_msg): Adjust type.
21965 * assert/assert.c (__assert_fail_base): New function. Majority
21966 of code from __assert_fail. Allocate memory for __abort_msg with
21967 mmap.
21968 (__assert_fail): Now call __assert_fail_base.
21969 * assert/assert-perr.c: Remove bulk of implementation. Use
21970 __assert_fail_base.
21971 * include/assert.hL Declare __assert_fail_base.
21972 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21973 mmap.
21974 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21975
1af4e298
UD
219762011-05-14 Ulrich Drepper <drepper@gmail.com>
21977
f8a3b5bf 21978 [BZ #11952]
d26dfc60
MG
21979 [BZ #12453]
21980 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21981 until all modules are registered in the DTV.
21982 * elf/Makefile: Add rules to build and run tst-tls19.
21983 * elf/tst-tls19.c: New file.
21984 * elf/tst-tls19mod1.c: New file.
21985 * elf/tst-tls19mod2.c: New file.
21986 * elf/tst-tls19mod3.c: New file.
21987 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21988
2fc54d6f
UD
21989 [BZ #12083]
21990 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21991 correctly.
21992
98d76b46
UD
21993 [BZ #12601]
21994 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21995 two-byte sequence errors.
21996 * iconvdata/Makefile (tests): Add bug-iconv8.
21997 * iconvdata/bug-iconv8.c: New file.
21998
da3c19ef
UD
21999 [BZ #12626]
22000 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22001 buf2 definition.
22002
ca408c15
UD
22003 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22004
d6f67f7d
UD
22005 [BZ #12432]
22006 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22007 (dummy_getcfa): New function.
22008 (init): Get _Unwind_GetCFA address, use dummy if not found.
22009 (backtrace_helper): In recursion check, also check whether CFA changes.
22010 (__backtrace): Completely initialize arg.
22011
1af4e298 22012 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22013 storing incomplete byte sequence in state object. Avoid testing for
22014 guaranteed too small input if we know there is enough data available.
1af4e298 22015
da62f81b
AS
220162011-05-11 Andreas Schwab <schwab@redhat.com>
22017
22018 * Makeconfig (+link-pie): Indent.
22019 * Rules (binaries-pie): Define if $(have-fpie) and
22020 $(build-shared).
22021 (binaries-shared): Also filter out $(binaries-pie).
22022 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22023 * nscd/Makefile (others-pie): Add nscd.
22024 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22025 ($(objpfx)nscd): Remove command override.
22026 * login/Makefile (others-pie): Add pt_chown.
22027 ($(objpfx)pt_chown): Remove command override.
22028 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22029 remove command overrides.
22030
fcabc0f8
UD
220312011-05-13 Ulrich Drepper <drepper@gmail.com>
22032
20030ae6
UD
22033 * libio/tst_putwc.c: Fix error messages.
22034
fcabc0f8
UD
22035 [BZ #12724]
22036 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22037 currently writing and seek to current position when not.
22038 * libio/Makefile (tests): Add bug-fclose1.
22039 * libio/bug-fclose1.c: New file.
22040
320a5dc0
PB
220412011-05-12 Ulrich Drepper <drepper@gmail.com>
22042
22043 [BZ #12511]
22044 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22045 don't set DF_1_NODELETE here.
22046 (do_lookup_x): When entering new entry test for copy relocation
22047 and if necessary set DF_1_NODELETE flag.
22048 * elf/tst-unique4.cc: New file.
22049 * elf/tst-unique4.h: New file.
22050 * elf/tst-unique4lib.cc: New file.
22051 * elf/Makefile: Add rules to build and run tst-unique4.
22052 Patch by Piotr Bury <pbury@goahead.com>.
22053
22836f52
UD
220542011-05-11 Ulrich Drepper <drepper@gmail.com>
22055
f574184a
UD
22056 [BZ #12052]
22057 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22058
e1fb097f
UD
22059 [BZ #12625]
22060 * misc/mntent_r.c (addmntent): Flush the stream after the output
22061
22836f52
UD
22062 [BZ #12393]
22063 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22064 (is_trusted_path_normalize): Skip initial colon. Append slash
22065 to empty buffer. Duplicate is_trusted_path code but allow
22066 constructed patch to be prefix.
22067 (is_dst): Allow $ORIGIN followed by /.
22068 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22069 Correct testing of result of is_trusted_path_normalize
22070 (decompose_rpath): Fix warning.
22071
7b3b0b2a
UD
220722011-05-10 Ulrich Drepper <drepper@gmail.com>
22073
22074 [BZ #11257]
22075 * grp/initgroups.c (internal_getgrouplist): When we found the service
22076 list through the initgroups entry in nsswitch.conf do not always
22077 continue on a successful lookup. Don't always use the
eac80ce2 22078 __nss_group_database value if it is set.
7b3b0b2a
UD
22079 * nss/nsswitch.conf (initgroups): Change action for successful db
22080 lookup to continue for compatibility.
22081
2a81eaa5
UD
220822011-05-09 Ulrich Drepper <drepper@gmail.com>
22083
be97a69e
UD
22084 [BZ #11532]
22085 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22086 and CP774 modules.
22087 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22088 and CP774 modules.
22089 * iconvdata/tst-tables.sh: Likewise.
22090 * iconvdata/cp770.c: New file.
22091 * iconvdata/cp771.c: New file.
22092 * iconvdata/cp772.c: New file.
22093 * iconvdata/cp773.c: New file.
22094 * iconvdata/cp774.c: New file.
22095 * iconvdata/testdata/CP770: New file.
22096 * iconvdata/testdata/CP770..UTF8: New file.
22097 * iconvdata/testdata/CP771: New file.
22098 * iconvdata/testdata/CP771..UTF8: New file.
22099 * iconvdata/testdata/CP772: New file.
22100 * iconvdata/testdata/CP772..UTF8: New file.
22101 * iconvdata/testdata/CP773: New file.
22102 * iconvdata/testdata/CP773..UTF8: New file.
22103 * iconvdata/testdata/CP774: New file.
22104 * iconvdata/testdata/CP774..UTF8: New file.
22105
22106 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22107 END CHARMAP line.
22108 * iconvdata/gen-8bit-gap.sh: Likewise.
22109 * iconvdata/gen-8bit.sh: Likewise.
22110
c1e9e399
UD
22111 * locale/iso-639.def: Add ary entry.
22112
24c55fb3 22113 [BZ #11258]
96b4b1b0
UD
22114 * locale/C-translit.h.in: Add U20A1 transliteration.
22115
bdc2f971
KB
22116 [BZ #12178]
22117 * locale/iso-639.def: Add wae entry.
22118 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22119
2952b117
UD
22120 [BZ #12545]
22121 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22122 for n.
22123
2a81eaa5
UD
22124 [BZ #12711]
22125 * locale/C-translit.h.in: Add entry for U20B9.
22126 Patch by pravin.d.s@gmail.com.
22127
28377d1b
UD
221282011-05-08 Ulrich Drepper <drepper@gmail.com>
22129
7fb90fb8
UD
22130 [BZ #12713]
22131 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22132 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22133 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22134 in rtld. Use *stat64.
7fb90fb8 22135 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22136 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22137 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22138 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22139 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22140 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22141 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22142 __fstatat64 macros.
7fb90fb8
UD
22143 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22144 * dirent/rewinddir.c: Add libc_hidden_def.
22145 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22146 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22147
28377d1b
UD
22148 * include/dirent.h (__alloc_dir): Add flags parameter.
22149 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22150 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22151 __alloc_dir.
22152 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22153 from fdopendir if O_CLOEXEC is already set.
22154
66bdbaa4
AM
221552011-03-15 Alan Modra <amodra@gmail.com>
22156
22157 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22158 l_tls_firstbyte_offset non-zero. Save padding offset in
22159 l_tls_firstbyte_offset for later use.
22160 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22161 freeing static tls block.
22162
95721191
JN
221632011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22164
22165 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22166 where #ifdef was intended. The intent is to prevent ARG_MAX from
22167 being defined by the kernel headers.
22168
f87dfb1f
UD
221692011-05-07 Ulrich Drepper <drepper@gmail.com>
22170
22171 [BZ #12734]
22172 * resolv/resolv.h: Define RES_NOTLDQUERY.
22173 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22174 no-tld-query and set RES_NOTLDQUERY.
22175 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22176 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22177 modern BIND to search name as TLD unless forbidden.
22178
47c3cd7a
UD
221792011-05-07 Petr Baudis <pasky@suse.cz>
22180 Ulrich Drepper <drepper@gmail.com>
22181
22182 [BZ #12393]
22183 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22184 (is_trusted_path): ...to here.
c1e9ea35 22185 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22186 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22187 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22188
8a35c912
PP
221892011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22190
22191 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22192 __BEGIN/__END_DECLS.
22193
acd41f47
UD
221942011-05-06 Ulrich Drepper <drepper@gmail.com>
22195
22196 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22197 NSS_STATUS_NOTFOUND if no record was found.
22198
597df647
AS
221992011-05-05 Andreas Schwab <schwab@redhat.com>
22200
22201 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22202 (headers-not-in-tirpc): Remove rpc/netdb.h
22203 * resolv/netdb.h: Revert last change.
22204
b9af1301
PP
222052011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22206
22207 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22208 circular dependency between libgcc.a and libc.a.
22209
4e34d5f5
AS
222102011-05-05 Andreas Schwab <schwab@redhat.com>
22211
22212 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22213 * nis/Makefile: Don't install rpcsvc/*.
22214 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22215 instead of <rpc/types.h>.
22216 (MAXHOSTNAMELEN): Define.
22217
00ee369c
AS
222182011-05-03 Andreas Schwab <schwab@redhat.com>
22219
22220 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22221
0b592a30
MB
222222011-04-28 Maciej Babinski <mbabinski@google.com>
22223
22224 [BZ #12714]
22225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22226 gethostbyname4_r when IPv6 results are possible.
22227
6e04cbbe
UD
222282011-05-02 Ulrich Drepper <drepper@gmail.com>
22229
22230 [BZ #12723]
22231 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22232 _PC_PIPE_BUF handling.
22233
e4ecafe0
BH
222342011-04-30 Bruno Haible <bruno@clisp.org>
22235
22236 [BZ #12717]
22237 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22238 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22239 to 'int'.
22240 * inet/getnameinfo.c (getnameinfo): Likewise.
22241
125ee683
UD
222422011-04-29 Ulrich Drepper <drepper@gmail.com>
22243
22244 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22245 to groups setting in database lookup.
22246 * nss/nsswitch.conf: Add initgroups entry.
22247
b722481a
EB
222482011-04-22 Ulrich Drepper <drepper@gmail.com>
22249
22250 [BZ #12685]
22251 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22252 mode string.
22253 Patch by Eric Blake <eblake@redhat.com>.
22254
4df46dbd
L
222552011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22256
22257 * sunrpc/Makefile (need-export-routines): Add svc_run.
22258 (routines): Remove svc_run.
22259 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22260 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22261 * sunrpc/svc_run.c (svc_run): Likewise.
22262 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22263
e84142d2
UD
222642011-04-21 Ulrich Drepper <drepper@gmail.com>
22265
22266 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22267 problem in reallocation in last patch.
22268
877175d8
UD
222692011-04-20 Ulrich Drepper <drepper@gmail.com>
22270
22271 * sunrpc/Makefile: Move inclusion of Rules.
22272
ab8eed78
UD
222732011-04-19 Ulrich Drepper <drepper@gmail.com>
22274
22275 * nss/nss_files/files-initgroups.c: New file.
22276 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22277 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22278 _nss_files_initgroups_dyn.
22279
e3d8f584
RS
222802011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22281
22282 * elf/elf.h (R_ARM_IRELATIVE): Define.
22283
af190f45
UD
222842011-04-19 Ulrich Drepper <drepper@gmail.com>
22285
22286 * po/ru.po: Update from translation team.
22287
53cf59ef
UD
222882011-04-17 Ulrich Drepper <drepper@gmail.com>
22289
22290 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22291 dependencies.
22292
4c559bcd
MF
222932011-02-06 Mike Frysinger <vapier@gentoo.org>
22294
22295 [BZ #12653]
22296 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22297 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22298 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22299 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22301
4420675c
AS
223022011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22303
22304 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22305 differing bytes.
22306 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22307 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22308 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22309
75ea32ab
UD
223102011-04-17 Ulrich Drepper <drepper@gmail.com>
22311
22312 [BZ #12420]
22313 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22314 storing it.
22315 * stdlib/bug-getcontext.c: New file.
22316 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22317
27390476
AK
223182011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22319
22320 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22321 instructions into .machine "z9-109".
22322 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22323 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22324
10442705
AK
223252011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22326
22327 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22328 between environment variables and auxiliary vector.
22329
7b57bfe5
UD
223302011-04-16 Ulrich Drepper <drepper@gmail.com>
22331
22332 * Makefile: Add rules to build linkobj/libc.so.
22333 * include/libc-symbols.h: Define libc_hidden_nolink.
22334 * include/rpc/auth.h: Mark functions which are to be hidden.
22335 * include/rpc/auth_des.h: Likewise.
22336 * include/rpc/auth_unix.h: Likewise.
22337 * include/rpc/clnt.h: Likewise.
22338 * include/rpc/des_crypt.h: Likewise.
22339 * include/rpc/key_prot.h: Likewise.
22340 * include/rpc/pmap_clnt.h: Likewise.
22341 * include/rpc/pmap_prot.h: Likewise.
22342 * include/rpc/pmap_rmt.h: Likewise.
22343 * include/rpc/rpc_msg.h: Likewise.
22344 * include/rpc/svc.h: Likewise.
22345 * include/rpc/svc_auth.h: Likewise.
22346 * include/rpc/xdr.h: Likewise.
22347 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22348 * nss/Makefile: Likewise.
22349 * sunrpc/Makefile: Don't install headers. Build library with normal
22350 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22351 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22352 for the compat linking library. Remove use of INTDEF/INTUSE.
22353 * sunrpc/auth_none.c: Likewise.
22354 * sunrpc/auth_unix.c: Likewise.
22355 * sunrpc/authdes_prot.c: Likewise.
22356 * sunrpc/authuxprot.c: Likewise.
22357 * sunrpc/clnt_gen.c: Likewise.
22358 * sunrpc/clnt_perr.c: Likewise.
22359 * sunrpc/clnt_raw.c: Likewise.
22360 * sunrpc/clnt_simp.c: Likewise.
22361 * sunrpc/clnt_tcp.c: Likewise.
22362 * sunrpc/clnt_udp.c: Likewise.
22363 * sunrpc/clnt_unix.c: Likewise.
22364 * sunrpc/des_crypt.c: Likewise.
22365 * sunrpc/des_soft.c: Likewise.
22366 * sunrpc/get_myaddr.c: Likewise.
22367 * sunrpc/key_call.c: Likewise.
22368 * sunrpc/key_prot.c: Likewise.
22369 * sunrpc/netname.c: Likewise.
22370 * sunrpc/pm_getmaps.c: Likewise.
22371 * sunrpc/pm_getport.c: Likewise.
22372 * sunrpc/pmap_clnt.c: Likewise.
22373 * sunrpc/pmap_prot.c: Likewise.
22374 * sunrpc/pmap_prot2.c: Likewise.
22375 * sunrpc/pmap_rmt.c: Likewise.
22376 * sunrpc/publickey.c: Likewise.
22377 * sunrpc/rpc_cmsg.c: Likewise.
22378 * sunrpc/rpc_common.c: Likewise.
22379 * sunrpc/rpc_dtable.c: Likewise.
22380 * sunrpc/rpc_prot.c: Likewise.
22381 * sunrpc/rpc_thread.c: Likewise.
22382 * sunrpc/rtime.c: Likewise.
22383 * sunrpc/svc.c: Likewise.
22384 * sunrpc/svc_auth.c: Likewise.
22385 * sunrpc/svc_authux.c: Likewise.
22386 * sunrpc/svc_raw.c: Likewise.
22387 * sunrpc/svc_run.c: Likewise.
22388 * sunrpc/svc_simple.c: Likewise.
22389 * sunrpc/svc_tcp.c: Likewise.
22390 * sunrpc/svc_udp.c: Likewise.
22391 * sunrpc/svc_unix.c: Likewise.
22392 * sunrpc/svcauth_des.c: Likewise.
22393 * sunrpc/xcrypt.c: Likewise.
22394 * sunrpc/xdr.c: Likewise.
22395 * sunrpc/xdr_array.c: Likewise.
22396 * sunrpc/xdr_float.c: Likewise.
22397 * sunrpc/xdr_intXX_t.c: Likewise.
22398 * sunrpc/xdr_mem.c: Likewise.
22399 * sunrpc/xdr_rec.c: Likewise.
22400 * sunrpc/xdr_ref.c: Likewise.
22401 * sunrpc/xdr_sizeof.c: Likewise.
22402 * sunrpc/xdr_stdio.c: Likewise.
22403
e6c61494
UD
224042011-04-10 Ulrich Drepper <drepper@gmail.com>
22405
22406 [BZ #12650]
22407 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22408 * sysdeps/ia64/dl-tls.h: Likewise.
22409 * sysdeps/powerpc/dl-tls.h: Likewise.
22410 * sysdeps/s390/dl-tls.h: Likewise.
22411 * sysdeps/sh/dl-tls.h: Likewise.
22412 * sysdeps/sparc/dl-tls.h: Likewise.
22413 * sysdeps/x86_64/dl-tls.h: Likewise.
22414 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22415
34fe483e
AS
224162011-03-14 Andreas Schwab <schwab@redhat.com>
22417
22418 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22419 rpath element also skip the following colon.
22420 (expand_dynamic_string_token): Add is_path parameter and pass
22421 down to DL_DST_REQUIRED and _dl_dst_substitute.
22422 (decompose_rpath): Call expand_dynamic_string_token with
22423 non-zero is_path. Ignore empty rpaths.
22424 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22425 with zero is_path.
22426
f12a32e6
AS
224272011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22428
22429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22430 Make cancelable.
22431
38a7d692
UD
224322011-04-09 Ulrich Drepper <drepper@gmail.com>
22433
22434 [BZ #12655]
22435 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22436 Patch by Filipe David Manana <fdmanana@apache.org>.
22437
e451d22b
AS
224382011-04-07 Andreas Schwab <schwab@redhat.com>
22439
22440 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22441 Maintain aligned stack.
22442 (CHECK_RSP): Remove unused macro.
22443
dedc7c7b
UD
224442011-04-03 Ulrich Drepper <drepper@gmail.com>
22445
22446 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22447 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22448
94521213
UD
224492011-04-02 Ulrich Drepper <drepper@gmail.com>
22450
22451 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22452
8cb700c0 22453 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22454
0354e355
L
224552011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22456
22457 [BZ #12518]
22458 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22459 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22460 * sysdeps/x86_64/memmove.c: New file.
22461 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22462 (memcpy): Renamed to ...
22463 (__new_memcpy): This.
22464 (memcpy): Provide GLIBC_2_14 memcpy.
22465 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22466 (memcpy): Provide GLIBC_2_2_5 memcpy.
22467
8593482f
UD
224682011-04-01 Ulrich Drepper <drepper@gmail.com>
22469
22470 [BZ #12631]
22471 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22472
81a5726b
AS
224732011-03-30 Andreas Schwab <schwab@redhat.com>
22474
22475 * misc/syncfs.c: New file.
22476 * misc/Makefile (routines): Add syncfs.
22477 * posix/unistd.h: Declare syncfs.
22478 * sysdeps/unix/syscalls.list: Add syncfs.
22479
00e5419f
AS
224802011-04-01 Andreas Schwab <schwab@redhat.com>
22481
22482 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22483 open_by_handle_at.
22484 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22485 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22487 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22489 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22490 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22491
748876bf
UD
224922011-04-01 Ulrich Drepper <drepper@gmail.com>
22493
658e451d
UD
22494 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22495 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22496 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22497 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22498 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22500 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22501
748876bf
UD
22502 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22503 sync_file_range.c with -fexceptions.
22504 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22505 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22506 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22507 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22508 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22509 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22510 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22511 sync_file_range as cancellation point
22512 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22513 now a wrapper around __call_sync_file_range with cancellation handling.
22514 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22515 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22516 function name to __call_sync_file_range.
22517 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22518 Add call_sync_file_range.
748876bf 22519
6e63d5e1
AS
225202011-04-01 Andreas Schwab <schwab@redhat.com>
22521
22522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22523 bits/timex.h.
6e63d5e1 22524
46998f74
UD
225252011-04-01 Ulrich Drepper <drepper@gmail.com>
22526
4c1423ed
UD
22527 * iconv/iconv.h: Fix typo in comment.
22528 * io/fcntl.h: Likewise.
22529 * libio/stdio.h: Likewise.
22530 * posix/spawn.h: Likewise.
22531 * posix/unistd.h: Likewise.
22532 * stdlib/stdlib.h: Likewise.
22533 * time/time.h: Likewise.
22534 * wcsmbs/wchar.h: Likewise.
22535
158648c0
UD
22536 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22537 open_by_handle): Add.
22538 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22539 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22540 Augment a few comments.
22541 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22542 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22543 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22544 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22545 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22546 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22547 open_by_handle.
22548
46998f74
UD
22549 * io/fcntl.h (AT_EMPTY_PATH): Define.
22550
83fe108b
UD
225512011-03-30 Ulrich Drepper <drepper@gmail.com>
22552
22553 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22554 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22555 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22556 to...
22557 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22558 * Versions.def: Add GLIBC_2.14.
22559 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22560 Export.
83fe108b 22561
bb242059
UD
225622011-03-22 Ulrich Drepper <drepper@gmail.com>
22563
22564 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22565 round counter.
22566 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22567
c97a1282
L
225682011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22569
22570 [BZ #12597]
22571 * string/test-strncmp.c (do_page_test): New function.
22572 (check2): Likewise.
22573 (test_main): Call check2.
22574 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22575
2a115601
UD
225762011-03-20 Ulrich Drepper <drepper@gmail.com>
22577
22578 [BZ #12587]
22579 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22580 Handle cache information in CPU leaf 4.
22581 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22582
8126d904
UD
225832011-03-18 Ulrich Drepper <drepper@gmail.com>
22584
042c49c6 22585 [BZ #12583]
8126d904
UD
22586 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22587 character representation.
22588 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22589
ccfe366e
RA
225902011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22591
22592 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22593 END(__isnan) to END(__isnanf) to match function entry point/label
22594 EALIGN(__isnanf,...).
22595
c6e13027
JJ
225962011-03-10 Jakub Jelinek <jakub@redhat.com>
22597
22598 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22599
33f85a3f
UD
226002011-03-10 Ulrich Drepper <drepper@gmail.com>
22601
028478fa
UD
22602 [BZ #12510]
22603 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22604 copy from the symbol referenced in the relocation to initialize the
22605 used variable.
22606 Patch by Piotr Bury <pbury@goahead.com>.
22607 * elf/Makefile: Add rules to build and tst-unique3.
22608 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22609 * elf/tst-unique3.cc: New file.
22610 * elf/tst-unique3.h: New file.
22611 * elf/tst-unique3lib.cc: New file.
22612 * elf/tst-unique3lib2.cc: New file.
22613
33f85a3f
UD
22614 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22615
03592fc7
MF
226162011-03-10 Mike Frysinger <vapier@gentoo.org>
22617
22618 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22619 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22620 to _start.
03592fc7 22621
6a5ee102
UD
226222011-03-06 Ulrich Drepper <drepper@gmail.com>
22623
22624 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22625 to-be-loaded object along a path to loader is ld.so.
22626
7e4ba49c
HJ
226272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22628 Ulrich Drepper <drepper@gmail.com>
22629
22630 * sysdeps/x86_64/memset.S: After aligning destination, code
22631 branches to different locations depending on the value of
22632 misalignment, when multiarch is enabled. Fix this.
22633
226342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22635
22636 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22637 Set _x86_64_preferred_memory_instruction for AMD processsors.
22638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22639 Set bit_Prefer_SSE_for_memop for AMD processors.
22640
13a804de
UD
226412011-03-04 Ulrich Drepper <drepper@gmail.com>
22642
22643 * libio/fmemopen.c (fmemopen): Optimize a bit.
22644
9d25c392
AS
226452011-03-03 Andreas Schwab <schwab@redhat.com>
22646
22647 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22648
a5543c6a
RM
226492011-03-03 Roland McGrath <roland@redhat.com>
22650
22651 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22652
012d35f7
DM
226532011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22654
7e4ba49c 22655 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22656 __bzero_ultra1 instead of __memset_ultra1.
22657
4bff6e01
AS
226582011-02-23 Andreas Schwab <schwab@redhat.com>
22659 Ulrich Drepper <drepper@gmail.com>
22660
22661 [BZ #12509]
22662 * include/link.h (struct link_map): Add l_orig_initfini.
22663 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22664 returning unsuccessfully.
22665 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22666 close of a file loaded at startup, restore the original l_initfini
22667 list.
22668 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22669 list, store the pointer.
22670 * elf/Makefile ($(objpfx)noload-mem): New rule.
22671 (noload-ENV): Define.
22672 (tests): Add $(objpfx)noload-mem.
22673 * elf/noload.c: Include <memcheck.h>.
22674 (main): Call mtrace. Close all opened handles.
22675
f2092faf
AS
226762011-02-17 Andreas Schwab <schwab@redhat.com>
22677
22678 [BZ #12454]
22679 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22680 dependencies are missing.
22681
6c8a2e88
ST
226822011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22683
f2092faf 22684 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22685 Hurd needs munmap.
22686 * sysdeps/mach/hurd/ifreq.h: New file.
22687
84a42118
PB
226882011-01-27 Petr Baudis <pasky@suse.cz>
22689 Ulrich Drepper <drepper@gmail.com>
22690
071f805e 22691 [BZ 12445]#
84a42118
PB
22692 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22693 to extend_alloca().
22694 * stdio-common/bug23.c: New file.
22695 * stdio-common/Makefile (tests): Add bug23.
22696
e23fe25b
AS
226972010-09-28 Andreas Schwab <schwab@redhat.com>
22698 Ulrich Drepper <drepper@gmail.com>
22699
22700 [BZ #12489]
22701 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22702 before performing relro protection. At old place add assertion
22703 to make sure nothing changed.
22704
d3f02e10
NS
227052011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22706 Glauber de Oliveira Costa <glommer@gmail.com>
22707
22708 * elf/elf.h: Add new ARM TLS relocs.
22709
d55fd7a5
RA
227102011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22711
22712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22713 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22714 cast from r3.
22715 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22716 'tests' variable.
22717 * sysdeps/wordsize-64/tst-writev.c: New file.
22718
2206397e
RA
227192011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22720
22721 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22722 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22723 insns in _dl_start to prevent a TOC reference before relocs are
22724 resolved.
22725
e9433893
UD
227262011-02-15 Ulrich Drepper <drepper@gmail.com>
22727
22728 [BZ #12469]
22729 * Makeconfig: Remove RANLIB definition.
22730 * Makerules: Don't use RANLIB.
22731 * aclocal.m4: Remove ranlib test.
22732 * configure.in: No need to check for ranlib.
22733 * elf/rtld-Rules: Don't use RANLIB.
22734
f75286c6
ST
227352011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22736
8e31c82d
ST
22737 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22738 protection macro.
22739 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22740 inclusion protection macro.
22741
f75286c6
ST
22742 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22743 SIGRTMIN and SIGRTMAX and print information in that case only when
22744 SIGRTMIN is defined.
22745
c1d0e639
JJ
227462011-02-11 Jakub Jelinek <jakub@redhat.com>
22747
22748 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22749 arginfo fn returning -1.
22750
22751 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22752 and thousands string is zero terminated.
22753
edf9294e
AS
227542011-02-03 Andreas Schwab <schwab@redhat.com>
22755
22756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22757 sysdeps/unix/sysv/linux/bits/socket.h.
22758
2b7e92df
ST
227592011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22760
edf9294e
AS
22761 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22762 (__CPU_COUNT): Remove old macros.
22763 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22764 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22765 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22766 (__sched_cpualloc, __sched_cpufree): Add declarations.
22767
a4c7ea7b
UD
227682011-02-05 Ulrich Drepper <drepper@gmail.com>
22769
22770 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22771 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22772 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22773 (readdhstai): Return value of addhstaiX call.
22774 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22775 (addgrbyX): Return value returned by cache_addgr.
22776 (readdgrbyname): Return value returned by addgrbyX.
22777 (readdgrbygid): Likewise.
22778 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22779 (addpwbyX): Return value returned by cache_addpw.
22780 (readdpwbyname): Return value returned by addhstbyX.
22781 (readdpwbyuid): Likewise.
22782 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22783 (addservbyX): Return value returned by cache_addserv.
22784 (readdservbyname): Return value returned by addservbyX:
22785 (readdservbyport): Likewise.
22786 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22787 (addhstbyX): Return value returned by cache_addhst.
22788 (readdhstbyname): Return value returned by addhstbyX.
22789 (readdhstbyaddr): Likewise.
22790 (readdhstbynamev6): Likewise.
22791 (readdhstbyaddrv6): Likewise.
22792 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22793 (readdinitgroups): Return value returned by addinitgroupsX.
22794 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22795 (prune_cache): Keep track of timeout value of re-added entries.
22796 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22797 * nscd/nscd.h: Adjust prototypes of readd* functions.
22798
a0bf67cc
RM
227992011-02-04 Roland McGrath <roland@redhat.com>
22800
22801 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22802 (nis_stats): Likewise.
22803 * nis/nis_modify.c (nis_modify): Likewise.
22804 * nis/nis_remove.c (nis_remove): Likewise.
22805 * nis/nis_add.c (nis_add): Likewise.
22806
22807 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22808
22809 * posix/fnmatch_loop.c: Add some consts.
22810
22811 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22812
435b95eb
L
228132011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22814
22815 [BZ #12460]
22816 * config.make.in (config-cflags-novzeroupper): Define.
22817 * configure.in: Substitute libc_cv_cc_novzeroupper.
22818 * elf/Makefile (AVX-CFLAGS): Define.
22819 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22820 (CFLAGS-tst-auditmod4a.c): Likewise.
22821 (CFLAGS-tst-auditmod4b.c): Likewise.
22822 (CFLAGS-tst-auditmod6b.c): Likewise.
22823 (CFLAGS-tst-auditmod6c.c): Likewise.
22824 (CFLAGS-tst-auditmod7b.c): Likewise.
22825 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22826
8517b15e
UD
228272011-02-02 Ulrich Drepper <drepper@gmail.com>
22828
22829 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22830 function to the callback.
22831 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22832
10a656fe
AS
228332011-02-02 Andreas Schwab <schwab@redhat.com>
22834
22835 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22836 of errno.
22837
968dad0a
UD
228382011-01-19 Ulrich Drepper <drepper@gmail.com>
22839
9f94d2ea 22840 [BZ #11724]
968dad0a
UD
22841 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22842 of constructors.
22843 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22844 of destructors.
22845 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22846
22847 [BZ #11724]
22848 * elf/Makefile: Add rules to build and run new test.
22849 * elf/tst-initorder.c: New file.
22850 * elf/tst-initorder.exp: New file.
22851 * elf/tst-initordera1.c: New file.
22852 * elf/tst-initordera2.c: New file.
22853 * elf/tst-initordera3.c: New file.
22854 * elf/tst-initordera4.c: New file.
22855 * elf/tst-initorderb1.c: New file.
22856 * elf/tst-initorderb2.c: New file.
22857 * elf/tst-order-a1.c: New file.
22858 * elf/tst-order-a2.c: New file.
22859 * elf/tst-order-a3.c: New file.
22860 * elf/tst-order-a4.c: New file.
22861 * elf/tst-order-b1.c: New file.
22862 * elf/tst-order-b2.c: New file.
22863 * elf/tst-order-main.c: New file.
22864 New test case by George Gensure <werkt0@gmail.com>.
22865
86e92359
UD
228662010-10-01 Andreas Schwab <schwab@redhat.com>
22867
22868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22869 decoding ACE if AI_CANONIDN.
22870
5d5732b0
UD
228712011-01-18 Ulrich Drepper <drepper@gmail.com>
22872
22873 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22874
a77e8cbc
UD
228752011-01-17 Ulrich Drepper <drepper@gmail.com>
22876
6392473f
UD
22877 * version.h (RELEASE): Bump for 2.13 release.
22878 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22879
620a0529
UD
22880 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22881
18ba70a5
UD
22882 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22883 MADV_NOHUGEPAGE.
32465c3e
UD
22884 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22885 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22886 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22887 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22888 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22889 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22890
c0dafcf1
UD
22891 * posix/getconf.c: Update copyright year.
22892 * catgets/gencat.c: Likewise.
22893 * csu/version.c: Likewise.
22894 * debug/catchsegv.sh: Likewise.
22895 * debug/xtrace.sh: Likewise.
22896 * elf/ldconfig.c: Likewise.
22897 * elf/ldd.bash.in: Likewise.
22898 * elf/sprof.c (print_version): Likewise.
22899 * iconv/iconv_prog.c: Likewise.
22900 * iconv/iconvconfig.c: Likewise.
22901 * locale/programs/locale.c: Likewise.
22902 * locale/programs/localedef.c: Likewise.
22903 * malloc/memusage.sh: Likewise.
22904 * malloc/mtrace.pl: Likewise.
22905 * nscd/nscd.c (print_version): Likewise.
22906 * nss/getent.c: Likewise.
22907
a77e8cbc
UD
22908 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22909 PF_CAIF, and PF_ALG.
22910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22911
77e8bddf
AS
229122011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22913
1f20b93a
AS
22914 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22915 (modules-names): Use them.
22916 (ifunc-test-modules, ifunc-pie-tests): Define.
22917 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22918 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22919 (test-extras): Likewise.
22920 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22921 $(compile-command.c).
22922 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22923 (all-built-dso): Define.
22924 (check-textrel.out, check-execstack.out): Depend on it.
22925
77e8bddf
AS
22926 * configure.in: Don't override --enable-multi-arch.
22927
bc425b33
UD
229282011-01-15 Ulrich Drepper <drepper@gmail.com>
22929
22930 [BZ #6812]
22931 * nscd/hstcache.c (tryagain): Define.
22932 (cache_addhst): Return tryagain not notfound for temporary errors.
22933 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22934 failed.
22935
794c3ad3
UD
229362011-01-14 Ulrich Drepper <drepper@gmail.com>
22937
70181fdd
UD
22938 [BZ #10563]
22939 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22940 to make the syscall.
22941 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22942
794c3ad3
UD
22943 [BZ #12378]
22944 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22945 and fall back to matching as normal character if the string ends before
22946 the matching ']' is found. This is what POSIX requires.
22947 * posix/testfnm.c: Adjust test result.
22948 * posix/globtest.sh: Adjust test result. Add new test.
22949 * posix/tst-fnmatch.input: Likewise.
22950 * posix/tst-fnmatch2.c: Add new test.
22951
68dc9497
AS
229522010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22953
22954 * elf/Makefile (check-execstack): Revert last change. Depend on
22955 check-execstack.h.
22956 (check-execstack.h): New target.
22957 (generated): Add check-execstack.h.
22958 * elf/check-execstack.c: Include "check-execstack.h".
22959 (main): Revert last change.
22960 (handle_file): Return zero if GNU_STACK is absent and
22961 DEFAULT_STACK_PERMS doesn't include PF_X.
22962
451f001b
UD
229632011-01-13 Ulrich Drepper <drepper@gmail.com>
22964
cfa28e56
UD
22965 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22966 in child fails because the descriptor is already closed.
8cf8ce17
UD
22967 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22968 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22969 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22970
1086d70d
UD
22971 [BZ #12397]
22972 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22973 syscall.
22974
451f001b
UD
22975 [BZ #10484]
22976 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22977 temporary buffer used to handle multi lookups locally.
a85b5cb4 22978 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22979
08769175
UD
229802011-01-12 Ulrich Drepper <drepper@gmail.com>
22981
22982 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22983 loader is ld.so.
22984
5e49c52e
UD
229852011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22986
22987 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22988 alignment for SSE2.
22989
60522a5f
UD
229902011-01-12 Ulrich Drepper <drepper@gmail.com>
22991
22992 [BZ #12394]
22993 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22994 characters. When rounding increased number of integer digits recompute
22995 number of groups.
22996 * stdio-common/tst-grouping.c: New file.
22997 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22998
f257bbd7
UD
229992011-01-09 Ulrich Drepper <drepper@gmail.com>
23000
23001 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23002 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23003
23004 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23005 void.
23006 * bits/select.h: Likewise.
23007
fa9c15cb
UD
230082011-01-08 Ulrich Drepper <drepper@gmail.com>
23009
23010 * po/ja.po: Update from translation team.
23011
16c2895f
DM
230122011-01-04 David S. Miller <davem@sunset.davemloft.net>
23013
23014 [BZ #11155]
23015 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23016 implementation just like for lxstat, fxstatat, et al.
23017
2543fef2
JM
230182010-12-27 Jim Meyering <meyering@redhat.com>
23019
23020 [BZ #12348]
23021 * posix/regexec.c (build_trtable): Return failure indication upon
23022 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23023
98727dbe
UD
230242010-12-25 Ulrich Drepper <drepper@gmail.com>
23025
5bd6dc5c
UD
23026 [BZ #12201]
23027 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23028 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23029 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23030 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23031
97983464
UD
23032 [BZ #12207]
23033 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23034
98727dbe
UD
23035 [BZ #12204]
23036 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23037 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23038
4a531bb0
L
230392010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23040
23041 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23042 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23043 script has SORT_BY_INIT_PRIORITY.
23044 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23045 NO_CTORS_DTORS_SECTIONS is defined.
23046 * elf/soinit.c: Likewise.
23047 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23048 NO_CTORS_DTORS_SECTIONS is defined.
23049 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23050 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23051 * sysdeps/sh/init-first.c: Likewise.
23052 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23053
07eb4b71
UD
230542010-12-24 Ulrich Drepper <drepper@gmail.com>
23055
23056 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23057 always use the slow path.
23058
30950a5f
RA
230592010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23060
23061 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23062 similar rule which adds the sysdep directories to the header search in
23063 order to pick up the correct platform stackinfo.h.
23064 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23065 perform test if it is, otherwise return successfully without testing.
23066 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23067 DEFAULT_STACK_PERMS define in stackinfo.h.
23068 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23069 defined in stackinfo.h.
23070 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23071 DEFAULT_STACK_PERMS defined in stackinfo.h.
23072 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23073 * sysdeps/ia64/stackinfo.h: Likewise.
23074 * sysdeps/s390/stackinfo.h: Likewise.
23075 * sysdeps/sh/stackinfo.h: Likewise.
23076 * sysdeps/sparc/stackinfo.h: Likewise.
23077 * sysdeps/x86_64/stackinfo.h: Likewise.
23078 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23079 PF_X for powerpc64. Retain PF_X for powerpc32.
23080
db753e2c
UD
230812010-12-19 Ulrich Drepper <drepper@gmail.com>
23082
14b697f7
UD
23083 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23084 accurately.
db753e2c
UD
23085 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23086 GETDENTS_64BIT_ALIGNED.
23087
28300719
UD
230882010-12-14 Ulrich Drepper <dreper@gmail.com>
23089
14b697f7 23090 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23091
4f197237
AS
230922010-12-10 Andreas Schwab <schwab@redhat.com>
23093
dbb0472f
AS
23094 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23095 _GNU_SOURCE.
23096
4f197237
AS
23097 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23098 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23099 Remove __restrict.
23100 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23101 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23102
fb88ac72
UD
231032010-12-09 Ulrich Drepper <drepper@gmail.com>
23104
23105 [BZ #11655]
23106 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23107 are initialized.
23108
42acbb92
JJ
231092010-12-09 Jakub Jelinek <jakub@redhat.com>
23110
23111 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23112
c038d98d
UD
231132010-12-03 Ulrich Drepper <drepper@gmail.com>
23114
23115 * po/it.po: Update from translation team.
23116
3a4a2499
L
231172010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23118
23119 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23120 unused codes.
23121
1e24cf6e
UD
231222010-11-30 Ulrich Drepper <drepper@gmail.com>
23123
23124 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23125
a7690819
AS
231262010-11-24 Andreas Schwab <schwab@redhat.com>
23127
23128 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23129 specially.
23130 (gaih_getanswer_slice): Likewise.
23131
3bf8d1b1
JJ
231322010-10-20 Jakub Jelinek <jakub@redhat.com>
23133
23134 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23135
6db52fbb
PB
231362010-05-31 Petr Baudis <pasky@suse.cz>
23137
23138 [BZ #11149]
23139 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23140 silently even in the chroot mode.
23141
eaca7569
UD
231422010-11-22 Ulrich Drepper <drepper@gmail.com>
23143
23144 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23145 last patch a bit. Pretty printing
23146
3056dcdb
UD
231472010-05-31 Petr Baudis <pasky@suse.cz>
23148
23149 [BZ #10085]
23150 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23151 initialization of skip_initgroups_dyn.
23152
cf7c9078
UD
231532010-11-19 Ulrich Drepper <drepper@gmail.com>
23154
23155 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23156 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23157
a1fb5e3e
UD
231582010-11-16 Ulrich Drepper <drepper@gmail.com>
23159
23160 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23161
3540d66b
AS
231622010-11-11 Andreas Schwab <schwab@redhat.com>
23163
23164 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23165 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23166 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23167 ($(objpfx)tst-fnmatch-mem): New rule.
23168 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23169 * posix/tst-fnmatch.c (main): Call mtrace.
23170
13b69574
L
231712010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23172
23173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23174 Support Intel processor model 6 and model 0x2c.
23175
da93d214
LM
231762010-11-10 Luis Machado <luisgpm@br.ibm.com>
23177
23178 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23179 signed comparison.
23180
8ca52c6e
L
231812010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23182
23183 [BZ #12205]
23184 * string/test-strncasecmp.c (check_result): New function.
23185 (do_one_test): Use it.
23186 (check1): New function.
23187 (test_main): Use it.
23188 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23189 Support strcasecmp and strncasecmp.
23190
69da074d
UD
231912010-11-08 Ulrich Drepper <drepper@gmail.com>
23192
23193 [BZ #12194]
23194 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23195 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23196
ff02d528
L
231972010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23198
23199 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23200 IFUNC support.
23201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23202 memset-x86-64.
23203 * sysdeps/x86_64/multiarch/bzero.S: New file.
23204 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23205 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23206 * sysdeps/x86_64/multiarch/memset.S: New file.
23207 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23209 Set bit_Prefer_SSE_for_memop for Intel processors.
23210 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23211 Define.
23212 (index_Prefer_SSE_for_memop): Define.
23213 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23214
344d0b54
LM
232152010-11-04 Luis Machado <luisgpm@br.ibm.com>
23216
23217 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23218 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23219
c0dde15b
UD
232202010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23221
23222 [BZ #12191]
23223 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23224 (__x86_64_raw_data_cache_size_half): Likewise.
23225 (__x86_64_raw_shared_cache_size): Likewise.
23226 (__x86_64_raw_shared_cache_size_half): Likewise.
23227
23228 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23229 (__x86_64_raw_data_cache_size_half): Likewise.
23230 (__x86_64_raw_shared_cache_size): Likewise.
23231 (__x86_64_raw_shared_cache_size_half): Likewise.
23232 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23233 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23234 and __x86_64_raw_shared_cache_size_half. Round
23235 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23236 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23237 to multiple of 256 bytes.
23238
0e516e0e
MS
232392010-11-03 Ulrich Drepper <drepper@gmail.com>
23240
23241 [BZ #12167]
23242 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23243 of inacessible symlinks. Verify result of symlink before returning it.
23244 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23245 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23246
0e012e87
ER
232472010-10-28 Erich Ritz <erichritz@gmail.com>
23248
23249 * math/math.h (isinf): Fix typo in comment.
23250
de0ff7bc
UD
232512010-11-01 Ulrich Drepper <drepper@gmail.com>
23252
23253 * po/da.po: Update from translation team.
23254
fa41c84d
UD
232552010-10-26 Ulrich Drepper <drepper@gmail.com>
23256
23257 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23258 is added to the list.
23259
f0967738
AK
232602010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23261 Ulrich Drepper <drepper@gmail.com>
23262
23263 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23264 the global list here. Move code to...
23265 (_dl_add_to_namespace_list): ...here. New function.
23266 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23267 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23268 * elf/dl-load.c (lose): Don't remove the element from the list.
23269 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23270 (_dl_map_object): Likewise.
23271
232722010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23273
23274 [BZ #12159]
23275 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23276 into all bytes of SSE register.
23277 Patch by Richard Li <richardpku@gmail.com>.
23278
f0967738 232792010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23280
23281 [BZ #12140]
23282 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23283 perturbing.
23284
d0b9e94f
MB
232852010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23286
23287 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23288 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23289 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23290 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23292 submachine.
23293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23294
8e9f92e9
AS
232952010-10-22 Andreas Schwab <schwab@redhat.com>
23296
23297 * include/dlfcn.h (__RTLD_SECURE): Define.
23298 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23299 mode & __RTLD_SECURE instead.
23300 (open_path): Rename preloaded parameter to secure.
23301 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23302 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23303 * elf/dl-deps.c (openaux): Likewise.
23304 * elf/rtld.c (struct map_args): Remove is_preloaded.
23305 (map_doit): Don't use it.
23306 (dl_main): Likewise.
23307 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23308 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23309
bc96fbda
AS
233102010-09-09 Andreas Schwab <schwab@redhat.com>
23311
23312 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23313 (sysd-rules-targets): Remove duplicates.
23314 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23315 rtld-%.$o dependency.
23316
22cd1c9b
AS
233172010-10-18 Andreas Schwab <schwab@redhat.com>
23318
23319 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23320 _dl_map_object do it.
23321
18edac48
UD
233222010-10-19 Ulrich Drepper <drepper@gmail.com>
23323
23324 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23325 fast fma builtins, define the macros in the C99 standard.
23326 (FP_FAST_FMAF): Likewise.
23327 (FP_FAST_FMAL): Likewise.
23328 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23329
23330 * bits/mathdef.h: Update copyright year.
23331 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23332
d2050124
MM
233332010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23334
23335 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23336 builtins, define the macros in the C99 standard.
23337 (FP_FAST_FMAF): Likewise.
23338 (FP_FAST_FMAL): Likewise.
23339 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23340 multiply/add.
23341 (FP_FAST_FMAF): Likewise.
23342
475facd1
JJ
233432010-10-15 Jakub Jelinek <jakub@redhat.com>
23344
23345 [BZ #3268]
23346 * math/libm-test.inc (fma_test): Some new testcases.
23347 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23348 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23349 y and infinite z. Do multiplication by C already in long double.
23350 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23352 y and infinite z. Do bitwise or of inexact bit into u.d.
23353 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23354 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23355 * sysdeps/i386/fpu/s_fma.S: Removed.
23356 * sysdeps/i386/fpu/s_fmal.S: Removed.
23357
7c08a05c
JJ
233582010-10-16 Jakub Jelinek <jakub@redhat.com>
23359
23360 [BZ #3268]
23361 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23362 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23363 computation is not scheduled after fetestexcept. Fix value
23364 of minimum denormal long double.
23365
f3f7372d
JJ
233662010-10-14 Jakub Jelinek <jakub@redhat.com>
23367
23368 [BZ #3268]
23369 * math/libm-test.inc (fma_test): Add some more tests.
23370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23371 correctly.
23372
14d43591
AS
233732010-10-15 Andreas Schwab <schwab@redhat.com>
23374
23375 * scripts/data/localplt-s390-linux-gnu.data: New file.
23376 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23377
5e908464
JJ
233782010-10-13 Jakub Jelinek <jakub@redhat.com>
23379
23380 [BZ #3268]
23381 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23382 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23383 instead of dbl-64.
23384 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23385 inlines.
23386 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23388 if one of x and y is very large and the other is subnormal.
23389 * sysdeps/s390/fpu/s_fmaf.c: New file.
23390 * sysdeps/s390/fpu/s_fma.c: New file.
23391 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23392 * sysdeps/powerpc/fpu/s_fma.S: New file.
23393 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23394 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23395 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23396
233972010-10-12 Jakub Jelinek <jakub@redhat.com>
23398
23399 [BZ #3268]
23400 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23401 fma tests.
23402 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23403 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23404 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23405 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23406 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23407 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23409
b833d51f
UD
234102010-10-12 Ulrich Drepper <drepper@redhat.com>
23411
23412 [BZ #12078]
23413 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23414 * posix/bug-regex31.input: Add test case.
23415
1751705d
UD
234162010-10-11 Ulrich Drepper <drepper@gmail.com>
23417
e9b9cbf5
UD
23418 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23419 * posix/bug-regex31.input: New file.
23420
23421 [BZ #12078]
23422 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23423 (parse_sub_exp): Fix last change, use postorder.
23424
ef06edbe
UD
23425 * posix/bug-regex31.c: New file.
23426 * posix/Makefile: Add rules to build and run bug-regex31.
23427
a129c80d
UD
23428 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23429
23430 [BZ #12078]
23431 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23432
b76b818e
UD
23433 [BZ #12108]
23434 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23435 to have entries in sys_siglist.
23436
1751705d
UD
23437 [BZ #12093]
23438 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23439 be NULL.
23440
9ff8d36f
JJ
234412010-10-07 Jakub Jelinek <jakub@redhat.com>
23442
23443 [BZ #3268]
23444 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23445 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23446 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23447 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23448 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23449 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23450 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23451 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23452 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23453 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23454 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23455 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23456 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23457 * math/ftestexcept.c (fetestexcept): Likewise.
23458 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23459 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23460 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23461 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23462 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23463 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23464 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23465
af325969
UD
234662010-10-11 Ulrich Drepper <drepper@gmail.com>
23467
c579b202 23468 [BZ #12107]
af325969
UD
23469 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23470 newline.
23471
67a67b95
UD
234722010-10-06 Ulrich Drepper <drepper@gmail.com>
23473
23474 * string/bug-strstr1.c: New file.
23475 * string/Makefile: Add rules to build and run bug-strstr1.
23476
5fb308bc
EB
234772010-10-05 Eric Blake <eblake@redhat.com>
23478
23479 [BZ #12092]
23480 * string/str-two-way.h (two_way_long_needle): Always clear memory
23481 when skipping input due to the shift table.
23482
45db99c7
UD
234832010-10-03 Ulrich Drepper <drepper@gmail.com>
23484
3b111893
UD
23485 [BZ #12005]
23486 * malloc/mcheck.c: Handle large requests.
23487
45db99c7
UD
23488 [BZ #12077]
23489 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23490 for strncmp and strncasecmp.
23491 * string/stratcliff.c: Add tests for strcmp and strncmp.
23492 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23493
cf7a1eb8
NI
234942010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23495
23496 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23497 __set_fpscr.
23498
6484ba5e
AJ
234992010-09-30 Andreas Jaeger <aj@suse.de>
23500
23501 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23502 (CGROUP_SUPER_MAGIC): Define.
23503 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23504 Handle btrfs and cgroup file systems.
23505 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23506 Likewise.
23507
91c42559
LM
235082010-09-27 Luis Machado <luisgpm@br.ibm.com>
23509
23510 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23511 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23512
87a97932
AK
235132010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23514
23515 [BZ #12067]
23516 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23517 trying to locate the ELF header.
23518
c21cc9bc
AS
235192010-09-27 Andreas Schwab <schwab@redhat.com>
23520
23521 [BZ #11611]
23522 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23523 Mask out sign-bit copies when constructing f_fsid.
23524
315970f6
PB
235252010-09-24 Petr Baudis <pasky@suse.cz>
23526
23527 * debug/stack_chk_fail_local.c: Add missing licence exception.
23528 * debug/warning-nop.c: Likewise.
23529
1ac7a2c7
JM
235302010-09-15 Joseph Myers <joseph@codesourcery.com>
23531
23532 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23533 implementing getdents64 using getdents syscall, set d_type if
23534 __ASSUME_GETDENTS32_D_TYPE.
23535
56801c50
AS
235362010-09-16 Andreas Schwab <schwab@redhat.com>
23537
23538 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23539 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23540
dda51327
UD
235412010-09-21 Ulrich Drepper <drepper@redhat.com>
23542
23543 [BZ #12037]
23544 * posix/unistd.h: Undo change of feature selection for ftruncate from
23545 2010-01-11.
23546
8ffcee4a
UD
235472010-09-20 Ulrich Drepper <drepper@redhat.com>
23548
a545ecd9 23549 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23550 detection.
23551
e24f0a8b
AS
235522010-09-20 Andreas Schwab <schwab@redhat.com>
23553
23554 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23555 fanotify_mark.
23556 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23557
7291c56f
AS
235582010-09-14 Andreas Schwab <schwab@redhat.com>
23559
23560 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23561 variables after CHECK_SP call.
23562 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23563
bc5fb037
AS
235642010-09-13 Andreas Schwab <schwab@redhat.com>
23565 Ulrich Drepper <drepper@redhat.com>
23566
23567 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23568 re-relocationg ld.so.
23569 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23570 _dl_init_paths call.
23571 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23572 here anymore.
23573
e66e7419
UD
235742010-09-14 Ulrich Drepper <drepper@redhat.com>
23575
23576 * resolv/res_init.c (__res_vinit): Count the default server we added.
23577
c044aa75
CLT
235782010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23579 Ulrich Drepper <drepper@redhat.com>
23580
23581 [BZ #11968]
23582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23583 (____longjmp_chk): Use %ebx for saving value across system call.
23584 Add unwind info.
23585
32cf4069
AS
235862010-09-06 Andreas Schwab <schwab@redhat.com>
23587
23588 * manual/Makefile: Don't mix pattern rules with normal rules.
23589
817328ee
AS
235902010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23591
23592 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23593 operation.
23594 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23595 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23596 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23597 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23598 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23599 Likewise.
23600
29fddf61
UD
236012010-09-04 Ulrich Drepper <drepper@redhat.com>
23602
23603 [BZ #11979]
23604 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23605 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23606
0959ffc9
UD
236072010-09-02 Ulrich Drepper <drepper@redhat.com>
23608
23609 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23610 * sysdeps/x86_64/addmul_1.S: Likewise.
23611 * sysdeps/x86_64/lshift.S: Likewise.
23612 * sysdeps/x86_64/mul_1.S: Likewise.
23613 * sysdeps/x86_64/rshift.S: Likewise.
23614 * sysdeps/x86_64/sub_n.S: Likewise.
23615 * sysdeps/x86_64/submul_1.S: Likewise.
23616
ece29840
ST
236172010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23618
0959ffc9
UD
23619 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23620 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23621 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23622 * bits/sched.h [__need_schedparam]
ece29840 23623 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23624 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23625 (__defined_schedparam): Define to 1.
ece29840
ST
23626 (__sched_param): New structure, identical to sched_param.
23627 (__need_schedparam): Undefine.
23628
e53a31fe
MF
236292010-08-31 Mike Frysinger <vapier@gentoo.org>
23630
fdc0c10d
MF
23631 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23632 (epoll_create1): Declare.
23633
e53a31fe
MF
23634 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23635
a726d796
AS
236362010-08-31 Andreas Schwab <schwab@redhat.com>
23637
23638 [BZ #7066]
23639 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23640 shifting retval into place.
23641
2f3e3dc7
UD
236422010-09-01 Ulrich Drepper <drepper@redhat.com>
23643
f2933da9
UD
23644 * nis/rpcsvc/nis.h: Update copyright notice.
23645 * nis/rpcsvc/nis.x: Likewise.
23646 * nis/rpcsvc/nis_callback.h: Likewise.
23647 * nis/rpcsvc/nis_callback.x: Likewise.
23648 * nis/rpcsvc/nis_object.x: Likewise.
23649 * nis/rpcsvc/nis_tags.h: Likewise.
23650 * nis/rpcsvc/yp.h: Likewise.
23651 * nis/rpcsvc/yp.x: Likewise.
23652 * nis/rpcsvc/ypupd.h: Likewise.
23653 * nis/yp_xdr.c: Likewise.
23654 * nis/ypupdate_xdr.c: Likewise.
23655
2f3e3dc7
UD
23656 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23657 mainly the body of pmap_getport. Add parameters to specify timeouts.
23658 (pmap_getport): Use __libc_rpc_getport.
23659 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23660 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23661 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23662
f3dcc2f9
AS
236632010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23664
23665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23666 fanotify_mark.
23667
6d34eb5b
RM
236682010-08-27 Roland McGrath <roland@redhat.com>
23669
23670 * sysdeps/i386/i686/multiarch/Makefile
23671 (CFLAGS-varshift.c): New variable.
23672
9ea3de11
UD
236732010-08-27 Ulrich Drepper <drepper@redhat.com>
23674
c96d23fc
UD
23675 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23676 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23677
9ea3de11
UD
23678 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23679
23680 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23681
623aac7f
L
236822010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23683
23684 * sysdeps/x86_64/strlen.S: Unroll the loop.
23685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23686 strlen-sse2 strlen-sse2-bsf.
23687 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23688 __strlen_no_bsf if bit_Slow_BSF is set.
23689 (__strlen_sse42): Removed.
23690 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23691 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23692
8b2b7715
RM
236932010-08-25 Roland McGrath <roland@redhat.com>
23694
23695 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23696 * sysdeps/x86_64/multiarch/varshift.c: New file.
23697 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23698 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23699 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23700 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23701
e73015f2
L
237022010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23703
23704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23705 strlen-sse2 strlen-sse2-bsf.
23706 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23707 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23708 (__strlen_sse2): Removed.
23709 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23710 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23712 bit_Slow_BSF for Atom.
23713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23714 (index_Slow_BSF): Define.
23715 (HAS_SLOW_BSF): Define.
23716
df24a73e
UD
237172010-08-25 Ulrich Drepper <drepper@redhat.com>
23718
23719 [BZ #10851]
23720 * resolv/res_init.c (__res_vinit): When no server address at all
23721 is given default to loopback.
23722
f2ac4868
RM
237232010-08-24 Roland McGrath <roland@redhat.com>
23724
09055553
RM
23725 * configure.in: Remove config-name.h generation.
23726 * configure: Regenerated.
23727 * config-name.in: File removed.
23728 * scripts/config-uname.sh: New file.
23729 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23730 ($(objdir)config-name.h): New target.
23731
f2ac4868
RM
23732 * sunrpc/rpc_parse.h: Avoid nested comment.
23733
73f27d5e
RH
237342010-08-24 Richard Henderson <rth@redhat.com>
23735 Ulrich Drepper <drepper@redhat.com>
23736 H.J. Lu <hongjiu.lu@intel.com>
23737
23738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23740 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23741 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23742 _mm_alignr_epi8 with _mm_loadu_si128.
23743 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23744 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23745 (__m128i_shift_right): Removed.
23746 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23747 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23748 * sysdeps/x86_64/multiarch/varshift.h: New file.
23749 * sysdeps/x86_64/multiarch/varshift.S: New file.
23750
84b9230c
MF
237512010-08-21 Mike Frysinger <vapier@gentoo.org>
23752
23753 * configure.in: Move assembler checks to before sysdep dir checking.
23754
9bbd0ddc
PB
237552010-08-20 Petr Baudis <pasky@suse.cz>
23756
23757 * LICENSES: Sync the sunrpc license.
23758
9da4bb31
UD
237592010-08-19 Ulrich Drepper <drepper@redhat.com>
23760
a7ab6ec8
UD
23761 * sunrpc/auth_des.c: Update copyright notice once again.
23762 * sunrpc/auth_none.c: Likewise.
23763 * sunrpc/auth_unix.c: Likewise.
23764 * sunrpc/authdes_prot.c: Likewise.
23765 * sunrpc/authuxprot.c: Likewise.
23766 * sunrpc/bindrsvprt.c: Likewise.
23767 * sunrpc/clnt_gen.c: Likewise.
23768 * sunrpc/clnt_perr.c: Likewise.
23769 * sunrpc/clnt_raw.c: Likewise.
23770 * sunrpc/clnt_simp.c: Likewise.
23771 * sunrpc/clnt_tcp.c: Likewise.
23772 * sunrpc/clnt_udp.c: Likewise.
23773 * sunrpc/clnt_unix.c: Likewise.
23774 * sunrpc/des_crypt.c: Likewise.
23775 * sunrpc/des_soft.c: Likewise.
23776 * sunrpc/get_myaddr.c: Likewise.
23777 * sunrpc/getrpcport.c: Likewise.
23778 * sunrpc/key_call.c: Likewise.
23779 * sunrpc/key_prot.c: Likewise.
23780 * sunrpc/openchild.c: Likewise.
23781 * sunrpc/pm_getmaps.c: Likewise.
23782 * sunrpc/pm_getport.c: Likewise.
23783 * sunrpc/pmap_clnt.c: Likewise.
23784 * sunrpc/pmap_prot.c: Likewise.
23785 * sunrpc/pmap_prot2.c: Likewise.
23786 * sunrpc/pmap_rmt.c: Likewise.
23787 * sunrpc/rpc/auth.h: Likewise.
23788 * sunrpc/rpc/auth_unix.h: Likewise.
23789 * sunrpc/rpc/clnt.h: Likewise.
23790 * sunrpc/rpc/des_crypt.h: Likewise.
23791 * sunrpc/rpc/key_prot.h: Likewise.
23792 * sunrpc/rpc/netdb.h: Likewise.
23793 * sunrpc/rpc/pmap_clnt.h: Likewise.
23794 * sunrpc/rpc/pmap_prot.h: Likewise.
23795 * sunrpc/rpc/pmap_rmt.h: Likewise.
23796 * sunrpc/rpc/rpc.h: Likewise.
23797 * sunrpc/rpc/rpc_des.h: Likewise.
23798 * sunrpc/rpc/rpc_msg.h: Likewise.
23799 * sunrpc/rpc/svc.h: Likewise.
23800 * sunrpc/rpc/svc_auth.h: Likewise.
23801 * sunrpc/rpc/types.h: Likewise.
23802 * sunrpc/rpc/xdr.h: Likewise.
23803 * sunrpc/rpc_clntout.c: Likewise.
23804 * sunrpc/rpc_cmsg.c: Likewise.
23805 * sunrpc/rpc_common.c: Likewise.
23806 * sunrpc/rpc_cout.c: Likewise.
23807 * sunrpc/rpc_dtable.c: Likewise.
23808 * sunrpc/rpc_hout.c: Likewise.
23809 * sunrpc/rpc_main.c: Likewise.
23810 * sunrpc/rpc_parse.c: Likewise.
23811 * sunrpc/rpc_parse.h: Likewise.
23812 * sunrpc/rpc_prot.c: Likewise.
23813 * sunrpc/rpc_sample.c: Likewise.
23814 * sunrpc/rpc_scan.c: Likewise.
23815 * sunrpc/rpc_scan.h: Likewise.
23816 * sunrpc/rpc_svcout.c: Likewise.
23817 * sunrpc/rpc_tblout.c: Likewise.
23818 * sunrpc/rpc_util.c: Likewise.
23819 * sunrpc/rpc_util.h: Likewise.
23820 * sunrpc/rpcinfo.c: Likewise.
23821 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23822 * sunrpc/rpcsvc/key_prot.x: Likewise.
23823 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23824 * sunrpc/rpcsvc/mount.x: Likewise.
23825 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23826 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23827 * sunrpc/rpcsvc/rex.x: Likewise.
23828 * sunrpc/rpcsvc/rstat.x: Likewise.
23829 * sunrpc/rpcsvc/rusers.x: Likewise.
23830 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23831 * sunrpc/rpcsvc/spray.x: Likewise.
23832 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23833 * sunrpc/rtime.c: Likewise.
23834 * sunrpc/svc.c: Likewise.
23835 * sunrpc/svc_auth.c: Likewise.
23836 * sunrpc/svc_authux.c: Likewise.
23837 * sunrpc/svc_raw.c: Likewise.
23838 * sunrpc/svc_run.c: Likewise.
23839 * sunrpc/svc_simple.c: Likewise.
23840 * sunrpc/svc_tcp.c: Likewise.
23841 * sunrpc/svc_udp.c: Likewise.
23842 * sunrpc/svc_unix.c: Likewise.
23843 * sunrpc/svcauth_des.c: Likewise.
23844 * sunrpc/xcrypt.c: Likewise.
23845 * sunrpc/xdr.c: Likewise.
23846 * sunrpc/xdr_array.c: Likewise.
23847 * sunrpc/xdr_float.c: Likewise.
23848 * sunrpc/xdr_mem.c: Likewise.
23849 * sunrpc/xdr_rec.c: Likewise.
23850 * sunrpc/xdr_ref.c: Likewise.
23851 * sunrpc/xdr_sizeof.c: Likewise.
23852 * sunrpc/xdr_stdio.c: Likewise.
23853
9da4bb31
UD
23854 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23855 handling.
23856
bdaa77bc
AS
238572010-08-19 Andreas Schwab <schwab@redhat.com>
23858
23859 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23860
fe2f79db
LM
238612010-08-19 Luis Machado <luisgpm@br.ibm.com>
23862
23863 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23864 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23865 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23866 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23867 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23868 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23869 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23870 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23871 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23872 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23873 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23874 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23875 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23876 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23877
b9b42ee0
AB
238782010-07-26 Anton Blanchard <anton@samba.org>
23879
23880 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23881 * malloc/arena.c (heap_trim): Likewise.
23882
1c06ba31
UD
238832010-08-16 Ulrich Drepper <drepper@redhat.com>
23884
23885 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23886 here. Not...
23887 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23888 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23889
f8392f40
L
238902010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23891
23892 * sysdeps/i386/elf/Makefile: New file.
23893
3162f12e
AS
238942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23895
23896 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23897 from fanotify_init.
23898 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23899 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23900
28c90b2c
UD
239012010-08-15 Ulrich Drepper <drepper@redhat.com>
23902
23903 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23904 of strncasecmp_l.
1feccb6c 23905 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23906
ca6bb004
UD
239072010-08-14 Ulrich Drepper <drepper@redhat.com>
23908
e9f82e0d
UD
23909 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23910 strncase_l-nonascii.
23911 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23912 Add strncase_l-ssse3.
23913 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23914 * sysdeps/x86_64/strcmp.S: Likewise.
23915 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23916 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23917 * sysdeps/x86_64/strncase.S: New file.
23918 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23919 * sysdeps/x86_64/strncase_l.S: New file.
23920 * string/Makefile (strop-tests): Add strncasecmp.
23921 * string/test-strncasecmp.c: New file.
23922
23923 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23924 warning.
23925
ca6bb004
UD
23926 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23927 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23928
052fa7b3
AS
239292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23930
23931 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23932
962dba78
UD
239332010-08-12 Ulrich Drepper <drepper@redhat.com>
23934
23935 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23936 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23937 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23938
bebff237
AM
239392010-05-01 Alan Modra <amodra@gmail.com>
23940
23941 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23942 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23943 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23944 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23945 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23946 tidying. Don't tail-call __sigjmp_save for static lib.
23947 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23948 save location.
23949 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23950 (CALL_MCOUNT): Add eh info, and nop after bl.
23951 (TAIL_CALL_SYSCALL_ERROR): New macro.
23952 (PSEUDO_RET): Use it.
23953 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23954 Correct save location of integer regs and cr.
23955 (_dl_profile_resolve): Correct cr save location. Delete nops
23956 after bl when SHARED. Reduce cfi size a little by better
23957 placement of cfi directives.
23958 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23959 make a stack frame. Instead use parm save area as a temp.
23960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23961 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23963 Don't make a stack frame for parent, use parm save area.
23964 Increase child stack frame to 112 bytes. Don't save unused reg,
23965 and adjust reg usage. Set up cfi on error recovery and
23966 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23968 (__makecontext): Add dummy nop after jump to exit.
23969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23970 Use correct parm save area and cr save, reduce stack frame.
23971 Correct cfi for possible PSEUDO_RET frame setup.
23972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23973 Branch to local label emitted by PSEUDO_RET rather than
23974 __syscall_error.
23975
02637374
AS
239762010-08-12 Andreas Schwab <schwab@redhat.com>
23977
23978 [BZ #11904]
23979 * locale/programs/locale.c (print_assignment): New function.
23980 (show_locale_vars): Use it.
23981
c3e2f19b
UD
239822010-08-11 Ulrich Drepper <drepper@redhat.com>
23983
3cdaa6ad
UD
23984 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23985 field.
23986 (struct statfs64): Likewise.
23987 (_STATFS_F_FLAGS): Define.
23988 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23989 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23990 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23991 (ST_VALID): Define locally.
23992 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23993 __statvfs_getflags, use the provided value.
23994 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23995 __ASSUME_STATFS_F_FLAGS.
23996
754f7da3
UD
23997 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23998
10b3bedc
UD
23999 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24000 Add sys/fanotify.h.
24001 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24002 fanotify_mask for GLIBC_2.13.
24003 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24004 fanotify_init and fanotify_mark.
24005 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24006 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24007
c08fb0d7
UD
24008 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24009 Add prlimit.
24010 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24011 prlimit64 for GLIBC_2.13.
24012 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24013 prlimit64.
24014 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24015 syscall.
24016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24017 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24018 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24019 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24020 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24021 add prlimit alias.
24022 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24023
15bac72b
UD
24024 [BZ #11903]
24025 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24026 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24027
c3e2f19b
UD
24028 * nss/Makefile: Add rules to build and run tst-nss-test1.
24029 * shlib-versions: Add entry for libnss_test1.
24030 * nss/nss_test1.c: New file.
24031 * nss/tst-nss-test1.c: New file.
24032
24033 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24034 (__nss_configure_lookup): Set appropriate entry in
24035 __nss_configure_lookup to true.
24036 * nss/nsswitch.h: Define enum with indeces of databases in
24037 databases and __nss_database_custom arrays. Declare
24038 __nss_database_custom.
24039 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24040 to avoid using nscd when custom rules are installed.
24041 * nss/getXXbyYY_r.c: Likewise.
24042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24043
24044 * nss/nss_files/files-parse.c: Whitespace fixes.
24045
f15ce4d8
UD
240462010-08-09 Ulrich Drepper <drepper@redhat.com>
24047
24048 [BZ #11883]
24049 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24050 * posix/fnmatch_loop.c: Likewise.
24051
d22e4cc9
AK
240522010-07-17 Andi Kleen <ak@linux.intel.com>
24053
24054 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24055 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24056 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24057 * Versions.def [GLIBC_2.13]: Add.
24058
805bc17d
UD
240592010-08-06 Ulrich Drepper <drepper@redhat.com>
24060
24061 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24062 Also fail if tpwd after pwuid call is NULL.
24063
5a42321d
ST
240642010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24065
24066 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24067 when converting to ms.
24068
fd3ebeda
ST
240692010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24070
24071 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24072 EOPNOTSUPP errors with ENOTTY.
24073 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24074 EOPNOTSUPP errors with ENOTTY.
24075
73507d3a
UD
240762010-07-31 Ulrich Drepper <drepper@redhat.com>
24077
24078 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24079 Add strcasecmp_l-ssse3.
24080 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24081 strcasecmp.
24082 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24083 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24084 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24085
fe36dd02
UD
240862010-07-30 Ulrich Drepper <drepper@redhat.com>
24087
66f6765a
UD
24088 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24089
42e08a54
UD
24090 * string/Makefile (strop-tests): Add strcasecmp.
24091 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24092 strcasecmp_l-nonascii.
24093 (gen-as-const-headers): Add locale-defines.sym.
24094 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24095 * sysdeps/x86_64/strcasecmp.S: New file.
24096 * sysdeps/x86_64/strcasecmp_l.S: New file.
24097 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24098 * sysdeps/x86_64/locale-defines.sym: New file.
24099 * string/test-strcasecmp.c: New file.
24100
fe36dd02
UD
24101 * string/test-strcasestr.c: Test both ends of the range of characters.
24102 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24103
48cbc0d6
RM
241042010-07-29 Roland McGrath <roland@redhat.com>
24105
76e6d6bc 24106 [BZ #11856]
48cbc0d6
RM
24107 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24108
880113d9
UD
241092010-07-27 Ulrich Drepper <drepper@redhat.com>
24110
24111 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24112 for ld.so.
24113
deb9cabb
AS
241142010-07-27 Andreas Schwab <schwab@redhat.com>
24115
24116 * manual/memory.texi (Malloc Tunable Parameters): Document
24117 M_PERTURB.
24118
1c7570ff
RM
241192010-07-26 Roland McGrath <roland@redhat.com>
24120
24121 [BZ #11840]
24122 * configure.in (-fgnu89-inline check): Set and substitute
24123 gnu89_inline, not libc_cv_gnu89_inline.
24124 * configure: Regenerated.
24125 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24126
24fb0f88
UD
241272010-07-26 Ulrich Drepper <drepper@redhat.com>
24128
24129 * string/test-strnlen.c: New file.
24130 * string/Makefile (strop-tests): Add strnlen.
24131 * string/tester.c (test_strnlen): Add a few more test cases.
24132 * string/tst-strlen.c: Better error reporting.
24133
24134 * sysdeps/x86_64/strnlen.S: New file.
24135
8e96b93a
UD
241362010-07-24 Ulrich Drepper <drepper@redhat.com>
24137
24138 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24139 lower-latency instructions.
24140
dbc676d4
UD
241412010-07-23 Ulrich Drepper <drepper@redhat.com>
24142
24143 * string/test-strcasestr.c: New file.
24144 * string/test-strstr.c: New file.
24145 * string/Makefile (strop-tests): Add strstr and strcasestr.
24146 * string/str-two-way.h: Don't undefine MAX.
24147 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24148
f6a31e0e
AS
241492010-07-21 Andreas Schwab <schwab@redhat.com>
24150
24151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24152 strcasestr-nonascii.
24153 (CFLAGS-strcasestr-nonascii.c): Define.
24154 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24155 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24156 Remove unused attribute.
24157
5dbc3b6c
RM
241582010-07-20 Roland McGrath <roland@redhat.com>
24159
24160 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24161 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24162 ld.so.cache was broken. With it, there is no way to disable dsocaps
24163 like LD_HWCAP_MASK can disable hwcaps.
24164
23d101d8
EPM
241652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24166
24167 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24168
cc9f2e47
UD
241692010-07-16 Ulrich Drepper <drepper@redhat.com>
24170
24171 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24172 call in strcasestr.
24173 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24174 __strcasestr_sse42_nonascii.
24175 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24176 strcasestr-nonascii.c.
24177 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24178
77c1b069
LM
241792010-06-15 Luis Machado <luisgpm@br.ibm.com>
24180
24181 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24182 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24183 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24184 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24185
440566c3
UD
241862010-07-09 Ulrich Drepper <drepper@redhat.com>
24187
24188 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24189 fcntl.
24190
5be9d05d
AS
241912010-07-06 Andreas Schwab <schwab@redhat.com>
24192
c30b7ee2 24193 [BZ #11577]
5be9d05d
AS
24194 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24195 dl_signal_cerror.
24196
8a492a67
UD
241972010-07-06 Ulrich Drepper <drepper@redhat.com>
24198
24199 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24200 _PC_PIPE_BUF using F_GETPIPE_SZ.
24201
713df3d5
RM
242022010-07-05 Roland McGrath <roland@redhat.com>
24203
24204 * manual/arith.texi (Rounding Functions): Fix rint description
24205 implicit in round description.
24206
702e8f14
UD
242072010-07-02 Ulrich Drepper <drepper@redhat.com>
24208
24209 * elf/Makefile: Fix linking for a few tests to make recent linker
24210 happy.
24211
52ed8be9
AS
242122010-06-30 Andreas Schwab <schwab@redhat.com>
24213
24214 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24215 $(common-objpfx)libc_nonshared.a.
24216
f47c9a11
LM
242172010-06-21 Luis Machado <luisgpm@br.ibm.com>
24218
24219 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24220 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24221 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24222 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24223 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24224 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24225 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24226 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24241 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24242 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24243 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24244 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24245 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24246 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24247 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24248 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24249 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24250 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24251 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24252 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24267
6fb8cbcb
L
242682010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24269
24270 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24271 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24272 * string/memmove.c (memmove): Renamed to ...
24273 (MEMMOVE): ...this. Default to memmove.
24274 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24275 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24276 (END_CHK): Define.
24277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24278 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24279 mempcpy-ssse3-back memmove-ssse3-back.
24280 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24281 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24282 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24283 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24284 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24285 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24286 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24287 * sysdeps/x86_64/multiarch/memmove.c: New file.
24288 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24289 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24290 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24291 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24292 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24293 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24294 Define.
24295 (index_Fast_Copy_Backward): Define.
24296 (HAS_ARCH_FEATURE): Define.
24297 (HAS_FAST_REP_STRING): Define.
24298 (HAS_FAST_COPY_BACKWARD): Define.
24299
4e733bac 243002010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24301
24302 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24303 Restore proper fallback handling.
24304
63c4ed22
UD
243052010-06-19 Ulrich Drepper <drepper@redhat.com>
24306
ac2b484c
UD
24307 [BZ #11701]
24308 * posix/group_member.c (__group_member): Correct checking loop.
24309
63c4ed22
UD
24310 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24311 OOM in getpwuid_r correctly. Return error number when the caller
24312 should return, otherwise -1.
24313 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24314 call returning > 0 value.
24315 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24316
765ade4b
AS
243172010-06-07 Andreas Schwab <schwab@redhat.com>
24318
24319 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24320 libc_nonshared.a from targets in modules-names.
24321
80da2e09
KS
243222010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24323
24324 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24325 requires it.
24326
158db122
LM
243272010-06-10 Luis Machado <luisgpm@br.ibm.com>
24328
24329 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24330 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24331 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24332 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24333
caa78cf8
AS
243342010-06-02 Andreas Schwab <schwab@redhat.com>
24335
24336 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24337
b2ef2c01
UD
243382010-06-14 Ulrich Drepper <drepper@redhat.com>
24339
24340 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24341 and F_GETPIPE_SZ.
24342 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24343 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24344 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24346 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24347 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24348
fbd643b6
RM
243492010-06-14 Roland McGrath <roland@redhat.com>
24350
24351 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24352
f32f2869
JJ
243532010-06-07 Jakub Jelinek <jakub@redhat.com>
24354
24355 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24356 __REDIRECT followed by __THROW.
24357 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24358 * posix/getopt.h (getopt): Likewise.
24359
2a50c078
EPM
243602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24361
24362 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24363 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24364 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24365 in AT_FLAGS.
24366 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24367 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24368
eb5ad2eb
LM
243692010-05-28 Luis Machado <luisgpm@br.ibm.com>
24370
24371 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24372
3c88fe1e
L
243732010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24374
24375 [BZ #11640]
24376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24377 Properly check family and model.
24378
d2f73151
TY
243792010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24380
24381 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24382
ebd2e13d
LM
243832010-05-24 Luis Machado <luisgpm@br.ibm.com>
24384
24385 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24386
b32b8b45
UD
243872010-05-21 Ulrich Drepper <drepper@redhat.com>
24388
24389 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24390 symbol reference.
24391
9acbe24d
AS
243922010-05-19 Andreas Schwab <schwab@redhat.com>
24393
24394 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24395 symbol reference.
24396
f0ccf6ea
AS
243972010-05-21 Andreas Schwab <schwab@redhat.com>
24398
3d04ff3a
AS
24399 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24400 and internal_recvmmsg.
24401 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24402 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24403 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24404 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24405
f0ccf6ea
AS
24406 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24407 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24408 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24409
5b08ac57
AS
244102010-05-20 Andreas Schwab <schwab@redhat.com>
24411
24412 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24413
4828935d
LM
244142010-05-17 Luis Machado <luisgpm@br.ibm.com>
24415
24416 POWER7 optimizations.
24417 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24418 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24419
373d545e
UD
244202010-05-19 Ulrich Drepper <drepper@redhat.com>
24421
24422 * version.h: Update for 2.13 development version.
24423
21a2b1ae
AS
244242010-05-12 Andrew Stubbs <ams@codesourcery.com>
24425
24426 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24427 exceptions. Return 0.
24428
3f7dcb2b
RM
244292010-05-07 Roland McGrath <roland@redhat.com>
24430
24431 * elf/ldconfig.c (main): Add a const.
24432
5f24d53a 244332010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24434
a160f8d8
UD
24435 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24436 (args_options): Add no-idn option.
24437 (ahosts_keys_int): Add idn_flags to ai_flags.
24438 (parse_option): Handle 'i' option to clear idn_flags.
24439
5f24d53a
UD
24440 * malloc/malloc.c (_int_free): Possible race in the most recently
24441 added check. Only act on the data if no current modification
24442 happened.
265bb1ce
UD
24443
24444See ChangeLog.17 for earlier changes.
This page took 3.02958 seconds and 5 git commands to generate.